Skip to main content
Topic: Irtoy shows up as CDC Test device (Read 151 times) previous topic - next topic

Irtoy shows up as CDC Test device

I've had my IRToy working perfectly fine under arch linux using lirc until a few days ago.
Now it doesn't respond to commands.
I think the problem is the device mode, it show up as CDC Test:
Code: [Select]
$ dmesg
[ 2192.353572] usb 5-2.1: new full-speed USB device number 9 using xhci_hcd
[ 2192.456094] usb 5-2.1: New USB device found, idVendor=04d8, idProduct=fd08, bcdDevice= 0.02
[ 2192.456097] usb 5-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2192.456098] usb 5-2.1: Product: CDC Test
[ 2192.456100] usb 5-2.1: Manufacturer: Dangerous Prototypes
[ 2192.456101] usb 5-2.1: SerialNumber: 00000001
[ 2192.519651] ir_toy 5-2.1:1.1: version: hardware 2, firmware 22, protocol 1
[ 2192.519657] Registered IR keymap rc-rc6-mce
[ 2192.519679] rc rc0: Infrared Toy as /devices/pci0000:00/0000:00:07.1/0000:0c:00.3/usb5/5-2/5-2.1/5-2.1:1.1/rc/rc0
[ 2192.519722] rc rc0: lirc_dev: driver ir_toy registered at minor = 0, raw IR receiver, raw IR transmitter
[ 2192.519763] input: Infrared Toy as /devices/pci0000:00/0000:00:07.1/0000:0c:00.3/usb5/5-2/5-2.1/5-2.1:1.1/rc/rc0/input36

There is no /dev/ttyACM0 device, but instead a /dev/input/by-id/usb-Dangerous_Prototypes_CDC_Test_00000001-event-if01 device.

I've already tried to reflash the firmare, which worked but didn't change my situation. Does anyone know how to fix this or is there anything else I could try?

Re: Irtoy shows up as CDC Test device

Reply #1
Reflash with a PIC programmer,  see this


Re: Irtoy shows up as CDC Test device

Reply #3
There is no /dev/ttyACM0 device, but instead a /dev/input/by-id/usb-Dangerous_Prototypes_CDC_Test_00000001-event-if01 device.
It's not IRToys fault. Kernel 5.9 changed its behaviour. I got it working again by modifying /etc/lirc/lirc_options.conf like this:
driver = default
device = auto

see also https://wiki.archlinux.org/index.php/LIRC/Quick_start_guide