In article <hnto1oFru7nU1@mid.individual.net>,
Ted Nolan <tednolan> <tednolan> wrote:
Is there some kind of harmless background probe I could run on the BSD box >>say every 10 seconds to check if there is a keyboard there? My (unverified) >>assumption is that switching the KVM back to BSD doesn't generate whatever >>USB signal is sent when you actually plug a new keyboard in so if it decided >>there was no keyboard during the time it was connected to windows, it won't >>correct that.
How does the KVM and keyboard appear to FreeBSD when working correctly?
# usbconfig list
# usbconfig show_ifdrv
John
groenveld@acm.org
Is there some kind of harmless background probe I could run on the BSD box >say every 10 seconds to check if there is a keyboard there? My (unverified) >assumption is that switching the KVM back to BSD doesn't generate whatever >USB signal is sent when you actually plug a new keyboard in so if it decided >there was no keyboard during the time it was connected to windows, it won't >correct that.
# usbconfig show_ifdrv[snip]
ugen1.2: <vendor 0x1a40 USB 2.0 Hub> at usbus1, cfg=0 md=HOST spd=HIGH >(480Mbps) pwr=SAVE (100mA)
ugen1.2.0: uhub7: <vendor 0x1a40 USB 2.0 Hub, class 9/0, rev 2.00/1.11, addr 2>
ugen1.3: <Logitech USB-PS/2 Optical Mouse> at usbus1, cfg=0 md=HOST
spd=LOW (1.5Mbps) pwr=ON (98mA)
ugen1.3.0: ums0: <Logitech USB-PS/2 Optical Mouse, class 0/0, rev
2.00/20.00, addr 3>
ugen1.4: <vendor 0x0d3d USBPS2> at usbus1, cfg=0 md=HOST spd=LOW
(1.5Mbps) pwr=ON (100mA)
ugen1.4.0: ukbd0: <EP1>
ugen1.4.1: ums1: <EP2>
Hmm, "man ukbd" suggests maybe the kbdcontrol command which I haven't looked >into might be useful..
In article <hnu572F43jU1@mid.individual.net>,
Ted Nolan <tednolan> <tednolan> wrote:
# usbconfig show_ifdrv[snip]
ugen1.2: <vendor 0x1a40 USB 2.0 Hub> at usbus1, cfg=0 md=HOST spd=HIGH >>(480Mbps) pwr=SAVE (100mA)
ugen1.2.0: uhub7: <vendor 0x1a40 USB 2.0 Hub, class 9/0, rev 2.00/1.11, addr 2>
ugen1.3: <Logitech USB-PS/2 Optical Mouse> at usbus1, cfg=0 md=HOST
spd=LOW (1.5Mbps) pwr=ON (98mA)
ugen1.3.0: ums0: <Logitech USB-PS/2 Optical Mouse, class 0/0, rev >>2.00/20.00, addr 3>
ugen1.4: <vendor 0x0d3d USBPS2> at usbus1, cfg=0 md=HOST spd=LOW
(1.5Mbps) pwr=ON (100mA)
ugen1.4.0: ukbd0: <EP1>
ugen1.4.1: ums1: <EP2>
Hmm, "man ukbd" suggests maybe the kbdcontrol command which I haven't looked >>into might be useful..
Possibly test for ukbd0 and if not present, usbconfig -d ugen1.2 reset
John
groenveld@acm.org
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 379 |
Nodes: | 16 (2 / 14) |
Uptime: | 43:29:39 |
Calls: | 8,141 |
Calls today: | 4 |
Files: | 13,085 |
Messages: | 5,857,951 |