View Single Post
  #2 (permalink)  
Old 09-Jul-2009, 16:56
deano_ferrari deano_ferrari is online now
Wise Penguin
 
Join Date: Jun 2008
Location: NZ
Posts: 1,851
deano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura about
Default Re: Setting up the MODEM ZTE MF636 in openSUSE 11.1

That manual step of loading the usbserial driver bound to your modem device can be automated via a simple udev rule of this type:

Quote:
SUBSYSTEM=="usb", SYSFS{idProduct}=="product", SYSFS{idVendor}=="vendor", RUN+="/sbin/modprobe usbserial vendor=0xproduct product=0xvendor"
So for your hardware (vendor=0x19d2 product=0x0031), you could create a file called /etc/udev/rules.d/95-ZTE-MF636.rules with this line contained:

Quote:
SUBSYSTEM=="usb", SYSFS{idProduct}=="0031", SYSFS{idVendor}=="19d2", RUN+="/sbin/modprobe usbserial vendor=0x19d2 product=0x0031"
Now when this device is plugged in, the hardware will be detected and this rule will be invoked.
Reply With Quote