From owner-freebsd-stable@FreeBSD.ORG Sun Apr 19 21:29:06 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC3F61065672 for ; Sun, 19 Apr 2009 21:29:06 +0000 (UTC) (envelope-from rabe@uugrn.org) Received: from mail.uugrn.org (mail.uugrn.org [195.49.138.123]) by mx1.freebsd.org (Postfix) with ESMTP id 4E2948FC13 for ; Sun, 19 Apr 2009 21:29:06 +0000 (UTC) (envelope-from rabe@uugrn.org) Received: from rabe.uugrn.org (root@rabe.uugrn.org [195.49.138.102]) by mail.uugrn.org (8.14.3/8.14.3) with ESMTP id n3JLStOX071916 for ; Sun, 19 Apr 2009 23:29:05 +0200 (CEST) (envelope-from rabe@uugrn.org) Received: from daemon.ma.sigsys.de (rabe@rabe.uugrn.org [195.49.138.102]) by rabe.uugrn.org (8.14.3/8.13.8) with ESMTP id n3JLStlq071912 for ; Sun, 19 Apr 2009 23:28:55 +0200 (CEST) (envelope-from rabe@uugrn.org) Received: from daemon.ma.sigsys.de (localhost.ma.sigsys.de [127.0.0.1]) by daemon.ma.sigsys.de (8.14.3/8.14.3) with ESMTP id n3JLSdhd003013 for ; Sun, 19 Apr 2009 23:28:39 +0200 (CEST) (envelope-from rabe@uugrn.org) Received: (from rabe@localhost) by daemon.ma.sigsys.de (8.14.3/8.14.3/Submit) id n3JLSd5r003012 for freebsd-stable@freebsd.org; Sun, 19 Apr 2009 23:28:39 +0200 (CEST) (envelope-from rabe@uugrn.org) X-Authentication-Warning: daemon.ma.sigsys.de: rabe set sender to rabe@uugrn.org using -f Date: Sun, 19 Apr 2009 23:28:39 +0200 From: Raphael Becker To: freebsd-stable@freebsd.org Message-ID: <20090419212839.GA2054@ma.sigsys.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Getting Logitech USB Receiver ("Cordless Desktop") auto-detected on boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Apr 2009 21:29:06 -0000 --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: on uhub2 kbd1 at ukbd0 ums1: 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: port 0x60,0x64 irq 1 on acpi0 -atkbd0: irq 1 on atkbdc0 -kbd0 at atkbd0 -atkbd0: [GIANT-LOCKED] -atkbd0: [ITHREAD] [...] Trying to mount root from ufs:/dev/ufs/ROOT <------ !! ukbd0: on uhub2 -kbd2 at ukbd0 +kbd1 at ukbd0 ums1: 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: port 0xc480-0xc49f irq 16 at device = 26.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xc800-0xc81f irq 21 at device = 26.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xc880-0xc89f irq 18 at device = 26.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: 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: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered uhub4: on uhub3 uhub4: single transaction translator uhub4: 4 ports with 4 removable, self powered ums0: o= n uhub4 ums0: 3 buttons and Z dir. ulpt0: 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 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/--