Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Solved USB CEC Adapter not creating ttyACM device

    Recalbox General
    usb cec adapter creating ttyacm
    2
    5
    666
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • timmerman
      timmerman last edited by timmerman

      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/input2

      cec-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-4

      opening 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 communications

      Some 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>

      1 Reply Last reply Reply Quote 0
      • timmerman
        timmerman last edited by timmerman

        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?

        1 Reply Last reply Reply Quote 0
        • timmerman
          timmerman last edited by

          I've created an issue on GitLab for this.

          paradadf 1 Reply Last reply Reply Quote 0
          • paradadf
            paradadf Staff @timmerman last edited by

            @timmerman thanks for debugging it! The changes have been merged to master.

            If your question was answered, please mark it as solved: Topic Tools -> Ask a question + Topic Tools -> Mark as Solved

            timmerman 1 Reply Last reply Reply Quote 0
            • timmerman
              timmerman @paradadf last edited by

              @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.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Want to support us ?

              95
              Online

              90.3k
              Users

              26.3k
              Topics

              181.8k
              Posts

              Copyright © 2021 recalbox.com