Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Dec 1999 14:51:05 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        "Viren R. Shah" <viren@rstcorp.com>
Cc:        freebsd-current@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: Using USB modules with an USB keyboard... 
Message-ID:  <199912080551.OAA25688@zodiac.mech.utsunomiya-u.ac.jp>
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> 

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Intel 82371AB/EB (PIIX4) USB control
>ler> irq 10 at device 7.2 on pci0
>Dec  7 19:57:33 frabjous /kernel: usb0: <Intel 82371AB/EB (PIIX4) USB controll
>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




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