It is currently Sun Mar 24, 2019 8:49 pm
All times are UTC + 8 hours

[Unofficial] libCEC and Python CEC

Re: [Unofficial] libCEC and Python CEC

Postby giciu » Thu Feb 16, 2017 4:57 am

Hi and sorry for reopen old post ;)

On my asustor AS-606T (ADM 2.6.6.RCF2) usb-cec not working. I buy usb-cec module via pulse-eight. XBMC not recognize it, and lsusb print:
Bus 003 Device 002: ID 2548:1002 unknown vendor 2548:unknown device 1002
Asustor Portal, Media Pack, XBMC and Python install from APP Central.

Any idea ?

Regards Giciu.
sorry for my terrible english..
giciu
 
Posts: 5
Joined: Mon Feb 10, 2014 4:00 am

Re: [Unofficial] libCEC and Python CEC

Postby father.mande » Thu Feb 16, 2017 5:51 am

Hi,

To use libcec with pulse-eigth module ... you need cdc-acm kernel module loaded ...

... so just load it (if available) before starting application ...
... this is how it works with Kodi17 for ex.

I don't have the module for ADM 2.7 (new kernel and GPL source BUT config.gz is provide ... so with the GPL source ... normally not a big job ...
Perhaps somebody have already do the job ... (even better is to require to Asustor)

Philippe.
AS5002T / AS202TE / AS1002T
APKG Download : https://www.father-mande.ovh/
In addition to this forum ; NOT to replace it
My Forum specific to my APKG : https://www.father-mande.ovh/phpBB3/
User avatar
father.mande
 
Posts: 639
Joined: Sat Sep 12, 2015 2:55 am

Re: [Unofficial] libCEC and Python CEC

Postby giciu » Thu Feb 16, 2017 6:45 am

@Philippe THX ;)

Asustor not supported usb-cec in AS-60 series, XBMC version in this series is 12.3.24 ;(
Linux kernel version 3.12.20 - i must download source kernel for this version, and compile cdc-acm? This can be done in asustor ?
After this I must install libcec_2.1.4-r3_any.apk and python-cec_0.2.2-r1_x86-64.apk from this post ?

Where search compiled version this packet. For I debian search in https://packages.debian.org/ but for Asustor ? Any idea?





Regards Giciu.
sorry for my terrible english..
giciu
 
Posts: 5
Joined: Mon Feb 10, 2014 4:00 am

Re: [Unofficial] libCEC and Python CEC

Postby father.mande » Thu Feb 16, 2017 6:29 pm

Hi,
giciu wrote:@Philippe THX ;)
Asustor not supported usb-cec in AS-60 series, XBMC version in this series is 12.3.24 ;(
Linux kernel version 3.12.20 - i must download source kernel for this version, and compile cdc-acm? This can be done in asustor ?
After this I must install libcec_2.1.4-r3_any.apk and python-cec_0.2.2-r1_x86-64.apk from this post ?
Where search compiled version this packet. For I debian search in https://packages.debian.org/ but for Asustor ? Any idea?
Regards Giciu.
sorry for my terrible english..


Did you search IN the apkg ... because I have some difficulty to understand (not the delivery of libcec ... but the fact that ... due to hardware (Intel IGP restriction) without the USB interface ... it's just for nothing ??? ... perhpas module are delivered ?

I don't know the AS-60x series ... so don't know if you have some chance to win ... Xbmc is now outdated ... so support from Xbmc team can be reduce at minimum ...

To generate a kernel module ... you need the complete set of tools require (gcc, make, etc. + some libraries (ncurse for ex.) to don't have a hard battle to set config environment
... some possibility exist on Asustor (using Entware for ex.) but I can't recommend to use them
You MUST know that you don't need to be ON the system to generate any module ... any system (near but more to have same gcc level for ex.) can be used
for my own I used an Ubuntu system to generate kernel modules (in fact a V.M. in Virtualbox or Vmware)

Last BUT MOST important : a kernel module MUST be generated for a specific kernel with the same "signature"
ex. if command uname -r display "3.10.20-al-2.5.3" as kernel release version ... the module MUST have the same (ex. here a module for the corresponding kernel)
Code: Select all
# strings fbdisk.ko | grep verm
vermagic=3.10.20-al-2.5.3 SMP preempt mod_unload modversions .....


Philippe.
AS5002T / AS202TE / AS1002T
APKG Download : https://www.father-mande.ovh/
In addition to this forum ; NOT to replace it
My Forum specific to my APKG : https://www.father-mande.ovh/phpBB3/
User avatar
father.mande
 
Posts: 639
Joined: Sat Sep 12, 2015 2:55 am

Re: [Unofficial] libCEC and Python CEC

Postby mafredri » Fri Feb 17, 2017 1:14 am

@giciu: Unfortunately, the XBMC released by Asustor is not built with CEC support enabled. This means that even if you can compile the kernel module, it will not work "out of the box".

To use CEC with XBMC you must create a program that listens to the CEC signals and sends commands (either via API or keyboard) to XBMC. I have previously written about this here (includes my own solution to the issue).

I doubt my packages work anymore, they haven't been updated in ages, but are available here.
Hi, I'm new here. Looking to be active in the community and help with development :).
Storage: AS-604T with 3GB RAM (Kingston KVR1333D3S8S9/2G)
User avatar
mafredri
 
Posts: 371
Joined: Sat Mar 22, 2014 8:41 am

Previous

Return to LibCEC

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest