Discussion:
two devices on one USB channel
(too old to reply)
Sergey Matveychuk
2004-11-17 10:42:09 UTC
Permalink
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?
--
Sem.
Anish Mistry
2004-11-17 11:51:05 UTC
Permalink
Post by Sergey Matveychuk
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).
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.
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.
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
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
Sergey Matveychuk
2004-11-19 08:03:29 UTC
Permalink
Post by Anish Mistry
Post by Sergey Matveychuk
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).
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/63837
I've tried both patch from the PR, but both do not help me. Nothing
changed when I've applied the patches.
--
Sem.
Anish Mistry
2004-11-19 11:52:25 UTC
Permalink
Post by Sergey Matveychuk
Post by Anish Mistry
Post by Sergey Matveychuk
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).
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/63837
I've tried both patch from the PR, but both do not help me. Nothing
changed when I've applied the patches.
How about this patch?
http://am-productions.biz/docs/hid-update-part1.patch
--
Anish Mistry
Loading...