@Jeff91
Sorry for my lack of follow-ups to your problem but I had some problems with the LQ new post notification system (now resolved by Jeremy) and therefore missed some follow-up posts.
Glad you got it working and thanks for posting the link to your solution over on the ubuntu forums.
@The DON
We need more information please.
See Jeff91's earlier posts in this thread for the information needed (your hardware, distro, the output of
lsusb etc.)
Did you read jeff91's post linked above in #19 ? There's a long discussion over there, which covers pretty much everything.
Edit:
I just noticed the title of this thread is "
Using udev to tell Ubuntu to use the proper device on a multiple USB device"
I solved that like this for my Huawei:
Code:
tred@vaio:~$ cat /etc/udev/rules.d/99-sc-huawei-e169g.rules
SUBSYSTEM=="usb" SYSFS{idProduct}=="1001", SYSFS{idVendor}=="12d1", RUN+="/usr/sbin/e169g-switch"
tred@vaio:~$ cat /usr/sbin/e169g-switch
#!/bin/bash
# Switch off the CD rom, start modem-mode
/sbin/usb_modeswitch -v 12d1 -p 1001 -d 1
/sbin/usb_modeswitch -v 12d1 -p 1001 -H 1
echo Huawei-E169G switched to Modem Mode >> /var/log/messages
exit 0
tred@vaio:~$
Obviously, you'll need to change Vendor and Product ID's to suit your device if you are not using a Huawei E169G. You'll see these listed in the output of
lsusb when you have plugged your device in.
/Edit