Hello,
I have some problem with Amlogic CEC device so I add an external CEC device (Puse Eight).
The problem is that I can not use it:
 
Code
		
					
				# cec-client -l
libCEC version: 3.0.1, git revision: defcd67
, compiled on Wed Dec 28 16:36:18 UTC 2016 by kszaq@FPGAWorker on Linux 3.10.0-327.36.3.el7.x86_64 (x86_64), features: P8_USB, P8_detect, AOCEC
ERROR:   [            3652] error opening serial port '/dev/ttyACM0': Couldn't lock the serial port
ERROR:   [            3656] could not open a connection (try 1)
ERROR:   [            6482] error opening serial port '/dev/ttyACM0': Couldn't lock the serial port
ERROR:   [            6482] could not open a connection (try 2)
ERROR:   [            8367] error opening serial port '/dev/ttyACM0': Couldn't lock the serial port
ERROR:   [            8367] could not open a connection (try 3)
ERROR:   [            9624] error opening serial port '/dev/ttyACM0': Couldn't lock the serial port
ERROR:   [            9624] could not open a connection (try 4)
Found devices: 2
device:              1
com port:            /dev/ttyACM0
vendor id:           2548
product id:          1002
firmware version:    65535
device:              2
com port:            AOCEC
vendor id:           0000
product id:          0000
firmware version:    5
type:                unknownI disable the built in CEC, is the second device port well? It will be somethig like this "/dev/ttyACM1".
I can not switch off the TV with this command:
Code
		
					
				# echo "standby 0" | cec-client -s AOCEC
opening a connection to the CEC adapter...
DEBUG:   [               1]    Broadcast (F): osd name set to 'Broadcast'
NOTICE:  [               1]    connection opened
DEBUG:   [               2]    processor thread started
DEBUG:   [               2]    << Broadcast (F) -> TV (0): POLL
TRAFFIC: [               2]    << f0
ERROR:   [             201]    Write: write failed !
TRAFFIC: [             201]    << f0
ERROR:   [             401]    Write: write failed !
DEBUG:   [             401]    >> POLL not sent
DEBUG:   [             401]    TV (0): device status changed into 'not present'
NOTICE:  [             402]    registering new CEC client - v3.0.1
DEBUG:   [             402]    detecting logical address for type 'recording device'
DEBUG:   [             402]    trying logical address 'Recorder 1'
DEBUG:   [             402]    << Recorder 1 (1) -> Recorder 1 (1): POLL
TRAFFIC: [             403]    << 11
ERROR:   [             601]    Write: write failed !
TRAFFIC: [             601]    << 11
ERROR:   [             801]    Write: write failed !
DEBUG:   [             801]    >> POLL not sent
DEBUG:   [             801]    using logical address 'Recorder 1'
DEBUG:   [             801]    Recorder 1 (1): device status changed into 'handled by libCEC'
DEBUG:   [             801]    Recorder 1 (1): power status changed from 'unknown' to 'on'
DEBUG:   [             801]    Recorder 1 (1): vendor = Pulse Eight (001582)
DEBUG:   [             802]    Recorder 1 (1): CEC version 1.4
DEBUG:   [             802]    AllocateLogicalAddresses - device '0', type 'recording device', LA '1'
DEBUG:   [             804]    Recorder 1 (1): osd name set to 'CECTester'
DEBUG:   [             805]    Recorder 1 (1): menu language set to 'eng'
DEBUG:   [             805]    AutodetectPhysicalAddress - autodetected physical address '1000'
DEBUG:   [             805]    Recorder 1 (1): physical address changed from ffff to 1000
DEBUG:   [             805]    << Recorder 1 (1) -> broadcast (F): physical adddress 1000
TRAFFIC: [             806]    << 1f:84:10:00:01
NOTICE:  [             972]    CEC client registered: libCEC version = 3.0.1, client version = 3.0.1, firmware version = 5, logical address(es) = Recorder 1 (1) , physical address: 1.0.0.0, git revision: defcd67
, compiled on Wed Dec 28 16:36:18 UTC 2016 by kszaq@FPGAWorker on Linux 3.10.0-327.36.3.el7.x86_64 (x86_64), features: P8_USB, P8_detect, AOCEC
DEBUG:   [             972]    << Recorder 1 (1) -> TV (0): OSD name 'CECTester'
DEBUG:   [             972]    << Recorder 1 (1) -> TV (0): POLL
TRAFFIC: [             972]    << 10
ERROR:   [            1171]    Write: write failed !
TRAFFIC: [            1171]    << 10
ERROR:   [            1371]    Write: write failed !
DEBUG:   [            1373]    >> POLL not sent
DEBUG:   [            1375]    not sending command 'set osd name': destination device 'TV' marked as not present
DEBUG:   [            1376]    << requesting power status of 'TV' (0)
DEBUG:   [            1377]    << Recorder 1 (1) -> TV (0): POLL
TRAFFIC: [            1379]    << 10
ERROR:   [            1581]    Write: write failed !
TRAFFIC: [            1581]    << 10
ERROR:   [            1781]    Write: write failed !
DEBUG:   [            1781]    >> POLL not sent
DEBUG:   [            1781]    not sending command 'give device power status': destination device 'TV' marked as not present
DEBUG:   [            1783]    << Recorder 1 (1) -> TV (0): POLL
TRAFFIC: [            1785]    << 10
ERROR:   [            1991]    Write: write failed !
TRAFFIC: [            1991]    << 10
ERROR:   [            2191]    Write: write failed !
DEBUG:   [            2192]    >> POLL not sent
NOTICE:  [            2193]    << putting 'TV' (0) in standby mode
DEBUG:   [            2193]    << Recorder 1 (1) -> TV (0): POLL
TRAFFIC: [            2195]    << 10
ERROR:   [            2401]    Write: write failed !
TRAFFIC: [            2402]    << 10
ERROR:   [            2601]    Write: write failed !
DEBUG:   [            2601]    >> POLL not sent
DEBUG:   [            2601]    not sending command 'standby': destination device 'TV' marked as not present
DEBUG:   [            2601]    unregistering all CEC clients
NOTICE:  [            2602]    unregistering client: libCEC version = 3.0.1, client version = 3.0.1, firmware version = 5, logical address(es) = Recorder 1 (1) , physical address: 1.0.0.0, git revision: defcd67
, compiled on Wed Dec 28 16:36:18 UTC 2016 by kszaq@FPGAWorker on Linux 3.10.0-327.36.3.el7.x86_64 (x86_64), features: P8_USB, P8_detect, AOCEC
DEBUG:   [            2602]    Recorder 1 (1): power status changed from 'on' to 'unknown'
DEBUG:   [            2602]    Recorder 1 (1): vendor = Unknown (000000)
DEBUG:   [            2602]    Recorder 1 (1): CEC version unknown
DEBUG:   [            2602]    Recorder 1 (1): osd name set to 'Recorder 1'
DEBUG:   [            2603]    Recorder 1 (1): device status changed into 'unknown'
DEBUG:   [            2604]    unregistering all CEC clientsHow could I use the external CEC? I am missing something?
Regards.
 
		 
		
		
	 
															
		