[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#358751: Remove "Option 'Device'"



On Sun, 26 Mar 2006 the mental interface of
Egor Tur told:

> > I had the same problem. I guess you also made a udev rule to create 
> > /dev/input/mx1000. But looking at the manpage Option "Device" is 
> > discouraged:
> > 
> >        Option "Device" "string"
> >               Specifies the device  note  through  which  the  device  can  be
> >               accessed.     This    will    generally    be    of   the   form
> >               "/dev/input/eventX", where X is some integer.  The mapping  from
> >               device node to hardware is system-dependent.
> >               Please note that use of this option is discouraged.
> >
> > So I changed this:
> > 
> > Section "InputDevice"
> >         Identifier      "Logitech MX1000"
> >         Driver          "evdev"
> >         Option          "CorePointer"
> >         Option          "Device"                "/dev/input/mx1000"
> > EndSection
> > 
> > into this:
> > 
> > Section "InputDevice"
> >         Identifier      "Logitech MX1000"
> >         Driver          "evdev"
> >         Option          "CorePointer"
> >         Option          "Name"                  "Logitech USB Receiver"
> > EndSection
> > 
> > And all was fine again.
> 
> It is interesting. What can I do if I have two identical mouse, for example, whith the same name?

Add

Option          "Phys"   "usb-*/input0"

to the section. You can find the values for your mices with:

# cat /proc/input/devices

Elimar

-- 
  Planung:
  Ersatz des Zufalls durch den Irrtum.
                                -unknown-



Reply to: