Solved USB CEC Adapter not creating ttyACM device
-
Same problem as another user:
Another issue (same hardware as previous post), this time with libcec not creating /dev/tty* for my usb cec adaptor. Possible udev issue (missing rule)? Or kernel driver missing?
I have had this adaptor working on the last stable on another box.
Thanks again.dmesg | grep -i cec
[ 1.943138] usb 1-4: Product: CEC Adapter
[ 3.267137] input: Pulse-Eight CEC Adapter as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.2/0003:2548:1002.0001/input/input14
[ 3.267239] hid-generic 0003:2548:1002.0001: input,hidraw0: USB HID v1.10 Mouse [Pulse-Eight CEC Adapter] on usb-0000:00:14.0-4/input2cec-client
No device type given. Using 'recording device'
CEC Pa**er created - libCEC version 4.0.2
no serial port given. trying autodetect:
path: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-4
com port: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-4opening a connection to the CEC adapter...
DEBUG: [ 11] Broadcast (F): osd name set to 'Broadcast'
ERROR: [ 3514] error opening serial port '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4': Is a directory
ERROR: [ 3514] could not open a connection (try 1)
ERROR: [ 6349] error opening serial port '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4': Is a directory
ERROR: [ 6349] could not open a connection (try 2)
ERROR: [ 8239] error opening serial port '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4': Is a directory
ERROR: [ 8239] could not open a connection (try 3)
ERROR: [ 9499] error opening serial port '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4': Is a directory
ERROR: [ 9499] could not open a connection (try 4)
unable to open the device on port /sys/devices/pci0000:00/0000:00:14.0/usb1/1-4
NOTICE: [ 10504] connection opened
ERROR: [ 10504] could not start CEC communicationsSome devices that use ttyUSB work, but devices like an Arduino Mega or the CEC adapter which uses ttyACM don't work.
I'm on version 6.0. In the previous version everything worked.
<pre><code># dmesg | grep -i cec
[ 1.943138] usb 1-4: Product: CEC Adapter
[ 3.267137] input: Pulse-Eight CEC Adapter as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.2/0003:2548:1002.0001/input/input14
[ 3.267239] hid-generic 0003:2548:1002.0001: input,hidraw0: USB HID v1.10 Mouse [Pulse-Eight CEC Adapter] on usb-0000:00:14.0-4/input2</code></pre>
-
I found the problem. After recompiling with "CONFIG_USB_ACM=y" in the kernel config file everything works.
Can this be added into the new release? -
I've created an issue on GitLab for this.
-
@timmerman thanks for debugging it! The changes have been merged to master.
-
@paradadf said in USB CEC Adapter not creating ttyACM device:
@timmerman thanks for debugging it! The changes have been merged to master.
Great! Thanks @paradadf for your work.