Well, I changed my rule per your advice:

BUS=="usb", SYMLINK+="mouse1",  SYSFS{manufacturer}=="Logitech", 
OPTIONS+="last_rule", PHYSDEVPATH=="*:00:02.0/usb2/2-10"

And it STILL doesn't work.  I've googled and read everything I can find.  It 
looks like my PHYSDEVPATH isn't correct.  I've got one rule for each of my 
two mice and it seems like the first one always matches, eventhough I've used 
different PHYSDEVPATH's...

Any ideas are much appreciated.

Mike.

On Thursday 05 April 2007 10:06, ds wrote:
> On 4/4/07, Mike Diehl <[EMAIL PROTECTED]> wrote:
> > My first try was a udev rule like:  (each on one line.)
> >
> > BUS=="usb" SYMLINK="mouse_1"  SYSFS{manufacturer}=="Logitech"
> > PHYSDEVPATH=="*:00:02.0/usb2/2-9" OPTIONS+="last_rule"
> >
> > BUS=="usb" SYMLINK="mouse_2"  SYSFS{manufacturer}=="Logitech"
> > PHYSDEVPATH=="*:00:02.0/usb2/2-10" OPTIONS+="last_rule"
>
> I just happened to have read a webpage on writing udev rules yesterday:
>      http://www.reactivated.net/writing_udev_rules.html
> First, it looks like the udev rules are supposed to be separated by
> comma, and second the symlink assignment key should use the += syntax.
>  I think your first rule should look like this:
>
> BUS=="usb", SYMLINK+="mouse_1",  SYSFS{manufacturer}=="Logitech",
> PHYSDEVPATH=="*:00:02.0/usb2/2-9", OPTIONS+="last_rule"
>
> Other than this, I cannot verify the accuracy of any of your values.
> When I get home I will see what my logitech mouse looks like in sysfs
>
> Hope this helps,
> --
> ds

-- 
Mike Diehl
-- 
gentoo-user@gentoo.org mailing list

Reply via email to