On 10/30/08 09:35, Alan Coopersmith wrote: > Aaron Zang wrote: >> Howdy, >> I am trying to configure Xorg to use a /dev/usb/hid* device directly >> instead of /dev/kbd. >> >> What I did is to add the option part of the following to xorg.conf >> >>> Section "InputDevice" >>> Identifier "Keyboard0" >>> Driver "kbd" >> > Option "Device" "/dev/usb/hid2" >>> EndSection >> >> But it seems not enough to work. So what else should I add? > > On Solaris, the keyboard & mouse drivers in Xorg expect VUID events, > which are generated by streams modules sitting on top of the underlying > serial, PS/2 or usb driver. /dev/keyboard & /dev/mouse have these > automatically in place - but if you open an individual device like > /dev/usb/hid2 you need to tell Xorg to push the appropriate streams > module first with the "StreamsModule" option. An example for a mouse > is shown at: > http://docs.sun.com/app/docs/doc/819-0919/6n3ahk015?l=en&a=view > > For a keyboard, the streams module would instead be "usbkbm". >
Yeah, that's what I want to know. I sensed I should get usbkbm pushed, but I didn't know how. Thanks a lot. Aaron -- You know some birds are not meant to be caged, their feathers are just too bright.
