On Thu, Feb 07, 2008 at 11:05:04PM +0100, Kristoffer Ericson wrote: > On Thu, 7 Feb 2008 16:50:55 -0500 > Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > > > Hi Kristoffer, > > > > On Thu, Feb 07, 2008 at 10:33:34PM +0100, Kristoffer Ericson wrote: > > > Dmitry, (or anyone else) > > > > > > in what way is the phys = "blablabla/input0" important aside from > > > placement in /sys? Im asking because all my keyboard/touchscreen > > > end with input0 and wondering if I need to set one to /input1 atleast. > > > > > > > It is supposed to describe where physically the device is. So if you > > have a signle device sonnected to a controller you would alwaay use > > it. But if you have, for exabple, USB keyboard with embedded touchpad > > and USB presents it as 2 separate interfaces you will get input0 and > > input1. > > > > Yeah I think I get it. So seperate devices can all use input0 without any > issues. > Also another quick question, where should the device numbers exist? I mean > inside /sys. > I seem to need to create those devfiles myself as udev don't pick them up. >
The input device itself does not have a device number, only interfaces attached to it (evdev, mousedev, etc) have dev attribute. -- Dmitry