Aaron Zang wrote:
> I was advised to use the following in xorg.conf if I want to configure
> Xorg 1.3 to use a specific USB keyboard
> 
> Section "InputDevice"
>         Identifier  "Keyboard0"
>         Driver      "kbd"
>         Option      "Protocol" "VUID"
>         Option      "StreamModule" "usbkbm"

That should be "StreamsModule"   (note the s at the end of "Streams").
Typo in your e-mail or your conf file?

>         Option      "Device" "/dev/usb/hid0"
> EndSection
> 
> It worked on Xorg 1.3. But when I tried it on Xorg 1.5, the keyboard
> does not work and I found the following error in Xerrors:
> 
> (EE) Keyboard0: Unable to determine keyboard type: Inappropriate ioctl
> for device
> (EE) PreInit failed for input device "Keyboard0"
> 
> Did I miss something or the method changed?

It shouldn't have changed - is "/dev/usb/hid0" actually your keyboard?
Paths can change on hotplug or if you change the order the devices are
plugged into.

> I thought from version 1.5, Xorg makes use of HAL to discover keyboards
> and will
> open them directly. But the code in xf86-input-keyboard:

Xorg 1.5 and later try to use HAL, but fall back to /dev/kbd because HAL
won't tell it about input devices on Solaris until the putback for
6778270 input device support for Xorg1.5, which went into ON for build 115
this week.

-- 
        -Alan Coopersmith-           alan.coopersmith at sun.com
         Sun Microsystems, Inc. - X Window System Engineering


Reply via email to