Re: Huawei e122 - how to make symlink to usb modem?

2011-06-13 Thread Camaleón
On Sun, 12 Jun 2011 18:19:47 +0200, Kamil Jońca wrote: Camaleón noela...@gmail.com writes: 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 Erm. --8---cut

Re: Huawei e122 - how to make symlink to usb modem?

2011-06-12 Thread Camaleón
On Sun, 12 Jun 2011 06:55:45 +0200, Kamil Jońca wrote: I have e122 modem. I would have symlink to /dev/ttyUSBX. (modem device) But simple rule: --8---cut here---start-8--- SUBSYSTEM==tty,ATTRS{idVendor} == 12d1 , ATTRS{idProduct} == 1003, SYMLINK+=e122

Re: Huawei e122 - how to make symlink to usb modem?

2011-06-12 Thread Kamil Jońca
Camaleón noela...@gmail.com writes: On Sun, 12 Jun 2011 06:55:45 +0200, Kamil Jońca wrote: I have e122 modem. I would have symlink to /dev/ttyUSBX. (modem device) But simple rule: --8---cut here---start-8--- SUBSYSTEM==tty,ATTRS{idVendor} == 12d1 ,

Re: Huawei e122 - how to make symlink to usb modem?

2011-06-12 Thread Camaleón
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,

Re: Huawei e122 - how to make symlink to usb modem?

2011-06-12 Thread Kamil Jońca
Camaleón noela...@gmail.com writes: 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

[SOLVED] Re: Huawei e122 - how to make symlink to usb modem?

2011-06-12 Thread Kamil Jońca
kjo...@poczta.onet.pl (Kamil Jońca) writes: I have e122 modem. I would have symlink to /dev/ttyUSBX. (modem device) But simple rule: SUBSYSTEM==tty,ATTRS{idVendor} == 12d1 , ATTRS{idProduct} == 1003, SYMLINK+=e122 does not work. It was enough to put rule in

Huawei e122 - how to make symlink to usb modem?

2011-06-11 Thread Kamil Jońca
I have e122 modem. I would have symlink to /dev/ttyUSBX. (modem device) But simple rule: --8---cut here---start-8--- SUBSYSTEM==tty,ATTRS{idVendor} == 12d1 , ATTRS{idProduct} == 1003, SYMLINK+=e122 --8---cut