[comp.windows.x] X input problems

brian@hpfclm.HP.COM (Brian Rauchfuss) (02/20/88)

     I have been using X on my hp 350 for about 6-months
with no problems, but today I tried to add a X0.display
file containing
/dev/crt
/dev/hilkbd
/dev/mouse

and now the output from my keyboard doesn't go to any
windows, it is sent to the background and ignored.  All
the mouse stuff work OK though.

     What is going on here?  I need the X0.display file
to keep X-windows from using my knob box as an input
device.

	Brian Rauchfuss

eugene@hpfcmr.HP.COM (Gene Dick) (02/23/88)

>
>What is going on here?  I need the X0.display file
>to keep X-windows from using my knob box as an input
>device.
>
>	Brian Rauchfuss
----------

The file name to use is *NOT* X0.display but should be

	/usr/lib/X/Xdevices

See page 4-1 of the manual.

elliott@hpfcdq.HP.COM (Ian Elliott) (02/23/88)

/ hpfcdq:comp.windows.x / brian@hpfclm.HP.COM (Brian Rauchfuss) /  6:13 pm  Feb 19, 1988 /

>      I have been using X on my hp 350 for about 6-months
> with no problems, but today I tried to add a X0.display
> file containing
> /dev/crt
> /dev/hilkbd
> /dev/mouse
>
> and now the output from my keyboard doesn't go to any
> windows, it is sent to the background and ignored.  All
> the mouse stuff work OK though.

You are using "/dev/hilkbd" instead of the appropriate "/dev/hil[1-7]" file
for the keyboard.  X uses the raw hil device, not the cooked "/dev/hilkbd"
device.

markc@hpcvlx.HP.COM (Mark Cook) (02/23/88)

>     I have been using X on my hp 350 for about 6-months
>with no problems, but today I tried to add a X0.display
>file containing
>/dev/crt
>/dev/hilkbd
>/dev/mouse
>
>and now the output from my keyboard doesn't go to any
>windows, it is sent to the background and ignored.  All
>the mouse stuff work OK though.
>
>     What is going on here?  I need the X0.display file
>to keep X-windows from using my knob box as an input
>device.
>
>	Brian Rauchfuss

I assume you mean X0.devices instead of X0.display.  Anyway, try replacing
the /dev/hilkbd entry with the appropriate /dev/hil[1-7] entry that represents
the raw keyboard device node.  the X server expects raw entries in X0.devices,
not cooked ones.  (I assume that your /dev/mouse is linked to /dev/hil6 or
whatever.)

This should solve your problem.

Regards,

Mark F. Cook - CWO/Tech. Support