- copy sakis3g script from /usr/bin to /usr/local/bin. See the post http://superuser.com/questions/301922/new-udev-rule-is-ignored
- create an udev rule in a new file 10-switch-gsmmodem-to-modemmode.rules under /etc/udev/rules.d
# run sakis3g
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="1c9e", ATTR{idProduct}=="f000", RUN+="/usr/local/bin/sakis3g switchonly"
Plug in the GSM modem. The mode switch should be automatically. The udev rule mode switch operation can be monitored in /var/log/syslog.
No comments:
Post a Comment