Grant Edwards:
...
>     $ ls -l /dev/uinput 
...
> What's the best way to make that available to specific users?
...

If you look att <kernel-source-tree>/Documentation/admin-guide/devices.txt
you have:

  10 char       Non-serial mice, misc features
...
                149 = /dev/input/mouse  Linux/SGI Irix emulation mouse
                150 = /dev/input/keyboard Linux/SGI Irix emulation keyboard
...
                223 = /dev/input/uinput         User level driver support for 
input
...
  13 char       Input core
                  0 = /dev/input/js0    First joystick
                  1 = /dev/input/js1    Second joystick
                    ...
                 32 = /dev/input/mouse0 First mouse
                 33 = /dev/input/mouse1 Second mouse
                    ...
                 63 = /dev/input/mice   Unified mouse
                 64 = /dev/input/event0 First event queue
                 65 = /dev/input/event1 Second event queue
                    ...

                Each device type has 5 bits (32 minors).

So I suggest you look how thoose files are handled, which seems to be
a similar problem.

Regards,
/Karl Hammar



Reply via email to