Re: [gentoo-user] Need to identify USB device by port

2007-04-05 Thread Mike Diehl
Here is the output of those command: mouse1: 19a20,22 > usbdev2.56_ep81 > usbdev2.56_ep00 > usbdev2.56 645a649 > mouse0 664a669 > his_mouse 671a677 > event2 19a20,22 > usbdev2.57_ep81 > usbdev2.57_e

Re: [gentoo-user] Need to identify USB device by port

2007-04-05 Thread Walter Dnes
On Thu, Apr 05, 2007 at 07:46:45PM -0600, Mike Diehl wrote > OPTIONS+="last_rule", PHYSDEVPATH=="*:00:02.0/usb2/2-10" > Any ideas are much appreciated. Are you sure both PHYSDEVPATHs contain "00:02.0"? Anyhow, let's dig into this a bit deeper... - go into text console mode (e.g. tty1)

Re: [gentoo-user] Need to identify USB device by port

2007-04-05 Thread Mike Diehl
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

Re: [gentoo-user] Need to identify USB device by port

2007-04-05 Thread ds
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" PHYSDEVPAT

[gentoo-user] Need to identify USB device by port

2007-04-04 Thread Mike Diehl
Hi all. I need to identify a device using udev by looking at which USB port it is plugged into. The device doesn't have a serial number and I've got two of the same type of device which I need to discriminage against. My first try was a udev rule like: (each on one line.) BUS=="usb" SYMLINK=