Raphael Becker
2009-Apr-19 21:29 UTC
Getting Logitech USB Receiver ("Cordless Desktop") auto-detected on boot
Hi all, my Logitech USB Receiver isn't automatically detected by the kernel on system boot, not even a LED is glowing. The keyboard is detected and working perfectly by the system BIOS and is usable in BIOS and for the boot loader until the kernel is running. A workaround is disconnecting/reconnecting the USB connector to the PC, to get it detected by the kernel (after mounting root). ukbd0: <Logitech USB Receiver, class 0/0, rev 1.10/30.07, addr 2> on uhub2 kbd1 at ukbd0 ums1: <Logitech USB Receiver, class 0/0, rev 1.10/30.07, addr 2> on uhub2 ums1: 16 buttons and Z dir. My mainboard has PS/2 connectors for keyboard and mouse so I tried to workaround the USB-problems by disabling the devices in the kernel: nodevice atkbdc # AT keyboard controller nodevice atkbd # AT keyboard nodevice psm # PS/2 mouse But this makes no real difference for USB, just the kernel isn't detecting an "virtual" AT-Keyboard (which isn't really connected to ps/2): before: --- kernel with ps/2 and atkbd support now: +++ kernel without ps/2 and adkbd support --- HW_20090419220146/dmesg.boot 2009-04-19 22:01:46.000000000 +0200 +++ HW_20090419222851/dmesg.boot 2009-04-19 22:28:51.000000000 +0200 -FreeBSD 7.2-RC1 #0: Sat Apr 18 14:57:37 CEST 2009 +FreeBSD 7.2-RC1 #1: Sun Apr 19 22:19:26 CEST 2009 [...] -atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 -atkbd0: <AT Keyboard> irq 1 on atkbdc0 -kbd0 at atkbd0 -atkbd0: [GIANT-LOCKED] -atkbd0: [ITHREAD] [...] Trying to mount root from ufs:/dev/ufs/ROOT <------ !! ukbd0: <Logitech USB Receiver, class 0/0, rev 1.10/30.07, addr 2> on uhub2 -kbd2 at ukbd0 +kbd1 at ukbd0 ums1: <Logitech USB Receiver, class 0/0, rev 1.10/30.07, addr 2> on uhub2 ums1: 16 buttons and Z dir. I had to reconnect the USB (to type geli-passphrases), so before and now the ukbd0 is detected after mounting root. I guess most of you have USB keyboards and mouse. Is this problem very common? Is this related to mainboard / usb handling or related to the usb devices? Is this related to the usb connetor on the pc? (actually the receiver is connected to uhub2->usb2->uhci2) My board has about 4 different usb chips uhci0@pci0:0:26:0: class=0x0c0300 card=0x82771043 chip=0x29378086 rev=0x02 hdr=0x00 uhci1@pci0:0:26:1: class=0x0c0300 card=0x82771043 chip=0x29388086 rev=0x02 hdr=0x00 uhci2@pci0:0:26:2: class=0x0c0300 card=0x82771043 chip=0x29398086 rev=0x02 hdr=0x00 ehci0@pci0:0:26:7: class=0x0c0320 card=0x82771043 chip=0x293c8086 rev=0x02 hdr=0x00 All the USB stuff from dmesg: uhci0: <UHCI (generic) USB controller> port 0xc480-0xc49f irq 16 at device 26.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: <UHCI (generic) USB controller> on uhci0 usb0: USB revision 1.0 uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: <UHCI (generic) USB controller> port 0xc800-0xc81f irq 21 at device 26.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: <UHCI (generic) USB controller> on uhci1 usb1: USB revision 1.0 uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: <UHCI (generic) USB controller> port 0xc880-0xc89f irq 18 at device 26.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: <UHCI (generic) USB controller> on uhci2 usb2: USB revision 1.0 uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfe7fbc00-0xfe7fbfff irq 18 at device 26.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: <EHCI (generic) USB 2.0 controller> on ehci0 usb3: USB revision 2.0 uhub3: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3 uhub3: 6 ports with 6 removable, self powered uhub4: <vendor 0x2101 USB2.0 Hub, class 9/0, rev 2.00/5.08, addr 2> on uhub3 uhub4: single transaction translator uhub4: 4 ports with 4 removable, self powered ums0: <vendor 0x15ca USB Optical Mouse, class 0/0, rev 2.00/5.12, addr 3> on uhub4 ums0: 3 buttons and Z dir. ulpt0: <vendor 0x1a86 USB2.0-Print, class 0/0, rev 1.10/2.52, addr 4> on uhub4 ulpt0: using bi-directional mode (ums0 is not the logitec mouse) Why doesn't the kernel detect the Logitech USB Receiver? Any suggestions? TIA and Regards Raphael -- Raphael Becker <rabe@uugrn.org> http://rabe.uugrn.org/ GnuPG: E7B2 1D66 3AF2 EDC7 9828 6D7A 9CDA 3E7B 10CA 9F2D .........|.........|.........|.........|.........|.........|.........|.. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090419/19296bac/attachment.pgp