From owner-freebsd-current Tue Dec 7 21:46:33 1999 Delivered-To: freebsd-current@freebsd.org Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by hub.freebsd.org (Postfix) with ESMTP id 466C214BD4 for ; Tue, 7 Dec 1999 21:46:27 -0800 (PST) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:6svwZfkDWGcF7ym734RD7la9mDm8Q7Dz@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by outmail.utsunomiya-u.ac.jp (8.9.3/3.7Wpl2) with ESMTP id OAA06003; Wed, 8 Dec 1999 14:46:14 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id OAA25688; Wed, 8 Dec 1999 14:51:06 +0900 (JST) Message-Id: <199912080551.OAA25688@zodiac.mech.utsunomiya-u.ac.jp> To: "Viren R. Shah" Cc: freebsd-current@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: Using USB modules with an USB keyboard... In-reply-to: Your message of "Tue, 07 Dec 1999 21:24:51 EST." <199912080224.VAA00222@frabjous.viren.org> References: <199912080224.VAA00222@frabjous.viren.org> Date: Wed, 08 Dec 1999 14:51:05 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thank you for your detailed report. >I added your recommendations above to the kernel config file >(TWELVE). It didn't work. As can be seen from the dmesg below, when >the USB options are present in the kernel, ukbd0 is found. When USB >KLDs are used, uhid0 seems to grab the keyboard. > >[This is the dmesg from a kernel (ELEVEN) that works. The config file for this >includes all the USB options except for ums, which is loaded at bootup] > >As seen below, I have an USB mouse (ums0), and an USB keyboard (which >seems to register as an USB keyboard and a mouse -- ums1). The >keyboard does have a PS/2 mouse connector on it. This is the correct hehavior. If a USB device has more than one interface, it may require multiple drivers; one driver for each interface. >[This is the kernel (TWELVE) that has no USB options. All the USB modules are >loaded at bootup by the loader.conf scripts.] >Dec 7 19:57:33 frabjous /kernel: real memory = 134217728 (131072K bytes) >Dec 7 19:57:33 frabjous /kernel: avail memory = 127352832 (124368K bytes) >Dec 7 19:57:33 frabjous /kernel: Preloaded elf kernel "kernel" at 0xc02ae000. >Dec 7 19:57:33 frabjous /kernel: Preloaded elf module "vesa.ko" at 0xc02ae09c >. >Dec 7 19:57:33 frabjous /kernel: Preloaded elf module "cd9660.ko" at 0xc02ae1 >38. >Dec 7 19:57:33 frabjous /kernel: Preloaded elf module "procfs.ko" at 0xc02ae1 >d8. >Dec 7 19:57:33 frabjous /kernel: Preloaded elf module "green_saver.ko" at 0xc >02ae278. >Dec 7 19:57:33 frabjous /kernel: Preloaded elf module "usb.ko" at 0xc02ae31c. >Dec 7 19:57:33 frabjous /kernel: Preloaded elf module "ugen.ko" at 0xc02ae3b8 >. >Dec 7 19:57:33 frabjous /kernel: Preloaded elf module "uhid.ko" at 0xc02ae454 >. >Dec 7 19:57:33 frabjous /kernel: Preloaded elf module "ukbd.ko" at 0xc02ae4f0 >. >Dec 7 19:57:33 frabjous /kernel: Preloaded elf module "ulpt.ko" at 0xc02ae58c >. >Dec 7 19:57:33 frabjous /kernel: Preloaded elf module "ums.ko" at 0xc02ae628. >Dec 7 19:57:33 frabjous /kernel: Preloaded elf module "umass.ko" at 0xc02ae6c >4. >Dec 7 19:57:33 frabjous /kernel: link_elf: symbol cam_simq_alloc undefined >... >Dec 7 19:57:33 frabjous /kernel: uhci0: ler> irq 10 at device 7.2 on pci0 >Dec 7 19:57:33 frabjous /kernel: usb0: er> on uhci0 >Dec 7 19:57:33 frabjous /kernel: usb0: USB revision 1.0 >Dec 7 19:57:33 frabjous /kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1 >.00/1.00, addr 1 >Dec 7 19:57:33 frabjous /kernel: uhub0: 2 ports with 2 removable, self powere >d >Dec 7 19:57:33 frabjous /kernel: ums0: Logitech USB-PS/2 Mouse M-BA47, rev 1. >00/1.10, addr 2, iclass 3/1 >Dec 7 19:57:33 frabjous /kernel: ums0: 4 buttons and Z dir. >Dec 7 19:57:33 frabjous /kernel: uhid0: QTRONIX USB Keyboard and Mouse, rev 1 >.00/1.10, addr 3, iclass 3/1 >Dec 7 19:57:33 frabjous /kernel: ums1: QTRONIX USB Keyboard and Mouse, rev 1. >00/1.10, addr 3, iclass 3/1 >Dec 7 19:57:33 frabjous /kernel: ums1: 3 buttons [...] Ok, I got the picture. The fix is on the way. I will contact you later. Kazu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message