Re: two devices on one USB channel

From: Anish Mistry <mistry.7_at_osu.edu>
Date: Wed, 17 Nov 2004 06:51:05 -0500
On Wednesday 17 November 2004 05:42 am, Sergey Matveychuk wrote:
> I've bought a KVM switch (2computers->1display,mouse,keyboard(PS/2
> both)). It has one USB output (Windows sees USB mouse and USB keyboard).
>
> I've rebuilt my kernel with this options:
> options         KBD_INSTALL_CDEV
> device          uhci
> device          ohci
> device          usb
> device          ugen
> device          uhid
> device          umass
> device          ukbd            # Keyboard
> device          ums             # Mouse
>
> Keyboard is working now. But mouse don't.
>
> dmesg:
> usb1: OHCI version 1.0, legacy support
> usb1: SMM does not respond, resetting
> usb1: <OHCI (generic) USB controller> on ohci1
> usb1: USB revision 1.0
> uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 3 ports with 3 removable, self powered
> ukbd0: vendor 0x10d5 M02 1.6, rev 1.10/0.00, addr 2, iclass 3/1
> kbd1 at ukbd0
> ums0: vendor 0x10d5 M02 1.6, rev 1.10/0.00, addr 2, iclass 3/1
> ums0: 5 buttons and Z dir.
>
> usbdevs -vd:
> Controller /dev/usb0:
> addr 1: full speed, self powered, config 1, OHCI root hub(0x0000),
> nVidia(0x0000), rev 1.00
>    uhub0
>   port 1 powered
>   port 2 powered
>   port 3 powered
> Controller /dev/usb1:
> addr 1: full speed, self powered, config 1, OHCI root hub(0x0000),
> nVidia(0x0000), rev 1.00
>    uhub1
>   port 1 powered
>   port 2 addr 2: low speed, power 100 mA, config 1, M02 1.6(0x0116),
> vendor 0x10d5(0x10d5), rev 0.00
>     ukbd0
>     ums0
>   port 3 powered
>
> moused is runned by usbd (/usr/sbin/moused -p /dev/ums0 -I
> /var/run/moused.ums0.pid ; /usr/sbin/vidcontrol -m on).
>
> How can I fix it please?
The patch I posted here should fix your problem:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/63837

-- 
Anish Mistry

Received on Wed Nov 17 2004 - 10:48:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:22 UTC