Problems with 3GUSB modem

Issues related to hardware problems
User avatar
astray
Posts: 11
Joined: 2014/07/01 13:17:51

Re: Problems with 3GUSB modem

Post by astray » 2014/07/03 21:56:20

astray wrote:I make udev rule but it does not work:

Code: Select all

ACTION=="add", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1506", RUN+="modprobe usbserial vendor=0x12d1 product=0x1506"
When system restarted or modem reinserted ttyUSB* not coming.

When I am put Command alone it work perfect and ttyUSB appears!

Code: Select all

modprobe usbserial vendor=0x12d1 product=0x1506
What I am do wrong? Why udev not using rule?
Need to specify the full path:

Code: Select all

ACTION=="add", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1506", RUN+="/sbin/modprobe usbserial vendor=0x12d1 product=0x1506"

Post Reply