IR Toy does not work with new kernel - no /dev/ttyACM0
Matthew Ward via LIRC-list <[email protected]> Tue, 10 Aug 2021 08:52:37 -0500
| Newsgroups | gmane.comp.hardware.lirc |
|---|---|
| Message-ID | <[email protected]> |
--===============2725523219846950356== Content-Type: multipart/alternative; boundary="=_240895b568c126a77f14b9ce2a2114f1" --=_240895b568c126a77f14b9ce2a2114f1 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed as of the latest Raspberry Pi (buster) set up updates, it seems that the character device - /dev/ttyACM0 - has disappeared! it seems tangled up in some lirc stuff - yet i have NO lirc software installed on the system i'm testing the new updates on! this test system is a base install of the OS; no extras including lircd. before the update, i see: $ uname -rv 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 $ ls -al /dev | egrep -i 'irc|yac|yam|usb|ttys|serial' drwxr-xr-x 4 root root 80 Aug 9 13:24 serial lrwxrwxrwx 1 root root 7 Aug 9 13:24 serial0 -> ttyAMA0 lrwxrwxrwx 1 root root 5 Aug 9 13:24 serial1 -> ttyS0 crw-rw---- 1 root dialout 166, 0 Aug 9 13:24 ttyACM0 crw--w---- 1 root tty 204, 64 Aug 9 13:24 ttyAMA0 crw-rw---- 1 root dialout 4, 64 Aug 9 13:24 ttyS0 drwxr-xr-x 2 root root 60 Aug 9 13:24 usb but after the update: $ uname -rv 5.10.52-v7l+ #1441 SMP Tue Aug 3 18:11:56 BST 2021 $ ls -al /dev | egrep -i 'irc|yac|yam|usb|ttys|serial' crw-rw---- 1 root video 251, 0 Aug 9 18:53 lirc0 lrwxrwxrwx 1 root root 7 Aug 9 18:53 serial1 -> ttyAMA0 crw-rw---- 1 root dialout 204, 64 Aug 9 18:53 ttyAMA0 drwxr-xr-x 2 root root 60 Aug 9 18:53 usb dmesg shows some activity, discovering my IR Toy: [ 2.344697] usb 1-1.1: new full-speed USB device number 3 using xhci_hcd [ 2.495156] usb 1-1.1: New USB device found, idVendor=04d8, idProduct=fd08, bcdDevice= 0.02 [ 2.498236] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.501170] usb 1-1.1: Product: CDC Test [ 2.504112] usb 1-1.1: Manufacturer: Dangerous Prototypes [ 2.507168] usb 1-1.1: SerialNumber: 00000055 [ 5.231542] usbcore: registered new interface driver cdc_acm [ 5.231563] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 5.258551] ir_toy 1-1.1:1.1: version: hardware 2, firmware 22, protocol 1 [ 5.258638] Registered IR keymap rc-rc6-mce [ 5.283595] IR RC6 protocol handler initialized [ 5.325606] rc rc0: Infrared Toy as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.1/rc/rc0 [ 5.326305] rc rc0: lirc_dev: driver ir_toy registered at minor = 0, raw IR receiver, raw IR transmitter [ 5.327236] input: Infrared Toy as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.1/rc/rc0/input5 [ 5.591384] usbcore: registered new interface driver ir_toy but it seems to be setting up for some lirc (or something called "rc" ?) key mapping. something to control the Pi with using IR? i've seen folks set that up with their IR devices to control their Raspberry Pi; as a media center. but i use mine as an IR "blaster". in trying to debug this, i have kept the lircd software NOT installed yet on the Pi to try to find out where the ACM0 device is disappearing to. if it's MOVED - fine - just tell me the new name for the device. is this a kernel issue? or a *NEW* *IMPROVED* configuration item? -- We don't need no punctuation. We don't need no semi-col'. No hyphenation in the classroom. iPad leave those words alone. --=_240895b568c126a77f14b9ce2a2114f1 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= =3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen= eva,sans-serif'> <p>as of the latest Raspberry Pi (buster) set up updates, it seems that the= character device - /dev/ttyACM0 - has disappeared!</p> <p>it seems tangled up in some lirc stuff - yet i have NO lirc software ins= talled on the system i'm testing the new updates on! this test system= is a base install of the OS; no extras including lircd.</p> <p>before the update, i see:</p> <p><span style=3D"font-family: courier new, courier, monospace;">$ uname -r= v</span><br /><span style=3D"font-family: courier new, courier, monospace;"= >5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020</span></p> <p><span style=3D"font-family: courier new, courier, monospace;">$ ls -al /= dev | egrep -i 'irc|yac|yam|usb|ttys|serial'</span><br /><span style=3D"fon= t-family: courier new, courier, monospace;">drwxr-xr-x 4 root root 80 Aug 9= 13:24 serial</span><br /><span style=3D"font-family: courier new, courier,= monospace;">lrwxrwxrwx 1 root root 7 Aug 9 13:24 serial0 -> ttyAMA0</sp= an><br /><span style=3D"font-family: courier new, courier, monospace;">lrwx= rwxrwx 1 root root 5 Aug 9 13:24 serial1 -> ttyS0</span><br /><span styl= e=3D"font-family: courier new, courier, monospace;">crw-rw---- 1 root dialo= ut 166, 0 Aug 9 13:24 ttyACM0</span><br /><span style=3D"font-family: couri= er new, courier, monospace;">crw--w---- 1 root tty 204, 64 Aug 9 13:24 ttyA= MA0</span><br /><span style=3D"font-family: courier new, courier, monospace= ;">crw-rw---- 1 root dialout 4, 64 Aug 9 13:24 ttyS0</span><br /><span styl= e=3D"font-family: courier new, courier, monospace;">drwxr-xr-x 2 root root = 60 Aug 9 13:24 usb</span></p> <p>but after the update:</p> <p><span style=3D"font-family: courier new, courier, monospace;">$ uname -r= v</span><br /><span style=3D"font-family: courier new, courier, monospace;"= >5.10.52-v7l+ #1441 SMP Tue Aug 3 18:11:56 BST 2021</span></p> <p><span style=3D"font-family: courier new, courier, monospace;">$ ls -al /= dev | egrep -i 'irc|yac|yam|usb|ttys|serial'</span><br /><span style=3D"fon= t-family: courier new, courier, monospace;">crw-rw---- 1 root video 251, 0 = Aug 9 18:53 lirc0</span><br /><span style=3D"font-family: courier new, cour= ier, monospace;">lrwxrwxrwx 1 root root 7 Aug 9 18:53 serial1 -> ttyAMA0= </span><br /><span style=3D"font-family: courier new, courier, monospace;">= crw-rw---- 1 root dialout 204, 64 Aug 9 18:53 ttyAMA0</span><br /><span sty= le=3D"font-family: courier new, courier, monospace;">drwxr-xr-x 2 root root= 60 Aug 9 18:53 usb</span></p> <p>dmesg shows some activity, discovering my IR Toy:</p> <p><span style=3D"font-family: courier new, courier, monospace;">[ 2.344697= ] usb 1-1.1: new full-speed USB device number 3 using xhci_hcd</span><br />= <span style=3D"font-family: courier new, courier, monospace;">[ 2.495156] u= sb 1-1.1: New USB device found, idVendor=3D04d8, idProduct=3Dfd08, bcdDevic= e=3D 0.02</span><br /><span style=3D"font-family: courier new, courier, mon= ospace;">[ 2.498236] usb 1-1.1: New USB device strings: Mfr=3D1, Product=3D= 2, SerialNumber=3D3</span><br /><span style=3D"font-family: courier new, co= urier, monospace;">[ 2.501170] usb 1-1.1: Product: CDC Test</span><br /><sp= an style=3D"font-family: courier new, courier, monospace;">[ 2.504112] usb = 1-1.1: Manufacturer: Dangerous Prototypes</span><br /><span style=3D"font-f= amily: courier new, courier, monospace;">[ 2.507168] usb 1-1.1: SerialNumbe= r: 00000055</span><br /><span style=3D"font-family: courier new, courier, m= onospace;">[ 5.231542] usbcore: registered new interface driver cdc_acm</sp= an><br /><span style=3D"font-family: courier new, courier, monospace;">[ 5= =2E231563] cdc_acm: USB Abstract Control Model driver for USB modems and IS= DN adapters</span><br /><span style=3D"font-family: courier new, courier, m= onospace;">[ 5.258551] ir_toy 1-1.1:1.1: version: hardware 2, firmware 22, = protocol 1</span><br /><span style=3D"font-family: courier new, courier, mo= nospace;">[ 5.258638] Registered IR keymap rc-rc6-mce</span><br /><span sty= le=3D"font-family: courier new, courier, monospace;">[ 5.283595] IR RC6 pro= tocol handler initialized</span><br /><span style=3D"font-family: courier n= ew, courier, monospace;">[ 5.325606] rc rc0: Infrared Toy as /devices/platf= orm/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1= -1.1:1.1/rc/rc0</span><br /><span style=3D"font-family: courier new, courie= r, monospace;">[ 5.326305] rc rc0: lirc_dev: driver ir_toy registered at mi= nor =3D 0, raw IR receiver, raw IR transmitter</span><br /><span style=3D"f= ont-family: courier new, courier, monospace;">[ 5.327236] input: Infrared T= oy as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:0= 0.0/usb1/1-1/1-1.1/1-1.1:1.1/rc/rc0/input5</span><br /><span style=3D"font-= family: courier new, courier, monospace;">[ 5.591384] usbcore: registered n= ew interface driver ir_toy</span></p> <p>but it seems to be setting up for some lirc (or something called "rc" ?)= key mapping.</p> <p>something to control the Pi with using IR? i've seen folks set that up w= ith their IR devices to control their Raspberry Pi; as a media center. but = i use mine as an IR "blaster".</p> <p>in trying to debug this, i have kept the lircd software NOT installed ye= t on the Pi to try to find out where the ACM0 device is disappearing to.</p= > <p>if it's MOVED - fine - just tell me the new name for the device.</p> <p>is this a kernel issue? or a *NEW* *IMPROVED* configuration item?<= /p> <div id=3D"v1_rc_sig">-- <br /> <div class=3D"v1pre">We don't need no punctuation.<br />We don't need no se= mi-col'.<br />No hyphenation in the classroom.<br />iPad leave those words = alone.</div> </div> </body></html> --=_240895b568c126a77f14b9ce2a2114f1-- --===============2725523219846950356== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============2725523219846950356==--