Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2009 23:28:39 +0200
From:      Raphael Becker <rabe@uugrn.org>
To:        freebsd-stable@freebsd.org
Subject:   Getting Logitech USB Receiver ("Cordless Desktop") auto-detected on boot
Message-ID:  <20090419212839.GA2054@ma.sigsys.de>

next in thread | raw e-mail | index | archive | help

--TB36FDmn/VVEgNH/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 workin=
g=20
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
=20
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=20


--- 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=20
the ukbd0 is detected after mounting root. =20

I guess most of you have USB keyboards and mouse. Is this problem very comm=
on?=20
Is this related to mainboard / usb handling or related to the usb devices?=
=20
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=3D0x0c0300 card=3D0x82771043 chip=3D0x2937808=
6 rev=3D0x02 hdr=3D0x00
uhci1@pci0:0:26:1:      class=3D0x0c0300 card=3D0x82771043 chip=3D0x2938808=
6 rev=3D0x02 hdr=3D0x00
uhci2@pci0:0:26:2:      class=3D0x0c0300 card=3D0x82771043 chip=3D0x2939808=
6 rev=3D0x02 hdr=3D0x00
ehci0@pci0:0:26:7:      class=3D0x0c0320 card=3D0x82771043 chip=3D0x293c808=
6 rev=3D0x02 hdr=3D0x00

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> o=
n uhub4
ums0: 3 buttons and Z dir.
ulpt0: <vendor 0x1a86 USB2.0-Print, class 0/0, rev 1.10/2.52, addr 4> on uh=
ub4
ulpt0: using bi-directional mode
=20
(ums0 is not the logitec mouse)

Why doesn't the kernel detect the Logitech USB Receiver?=20
Any suggestions?


TIA and Regards
Raphael



--=20
Raphael Becker          <rabe@uugrn.org>          http://rabe.uugrn.org/
GnuPG:                E7B2 1D66 3AF2 EDC7 9828  6D7A 9CDA 3E7B 10CA 9F2D
=2E........|.........|.........|.........|.........|.........|.........|..

--TB36FDmn/VVEgNH/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFJ65eHnNo+exDKny0RAk9WAKDPvdAknLe0ffZksAE53swOx4rOHQCgxAfF
o03KkvTQcLhuMsIwKdIyGK0=
=IDA3
-----END PGP SIGNATURE-----

--TB36FDmn/VVEgNH/--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090419212839.GA2054>