On Sun, 12 Jun 2011 16:14:53 +0200, Kamil Jońca wrote:

> Camaleón <noela...@gmail.com> writes:
> 
>> What's the output for udevinfo on that device?

(...)

> Udevadm info starts with the device specified by the devpath and then
> walks up the chain of parent devices. It prints for every device found,
> all possible attributes in the udev rules key format. A rule to match,
> can be composed by the attributes of the device and the attributes from
> one single parent device.

(...)

Okay... then according to this doc:

http://reactivated.net/writing_udev_rules.html#udevinfo

You can't mix attributes from different parent devices, so

SUBSYSTEM=="tty"

cannot go with

ATTRS{idVendor} == "12d1"

You may try with:

SUBSYSTEMS=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1003", 
SYMLINK+="e122"

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.06.12.14.54...@gmail.com

Reply via email to