Josua & Hendy,

I try to use udev script that I found here:
http://blankblondtank.wordpress.com/2009/09/03/koneksi-internet-smart-dengan-haier-ce-100-cdma-di-linux/

SYSFS{idVendor}=="201e", SYSFS{idProduct}=="2009", RUN+="/usr/bin/eject
%k"

But when I have this rules in the /etc/udev/rules.d/93-haier.rules
files, when I connect the modem to USB port, I still got it detected as
mass storage device. When I try to eject /dev/sr1, I got error that
/dev/sr1 does not exist.

So I just remove the file /etc/udev/rules.d/93-haier.rules, then create a bash 
script that will do:
eject /dev/sr1
pause
modprobe
pause
wvdial

At least, this work well in my Karmic Koala. I compiled my own option.ko
with the patch to recognize haier, but I still need modprobe after
eject. Without modprobe, the device /dev/ttyUSB0 is not exist.

-- 
Haier CE100 CDMA EVDO modem should be recognized by module option.ko (as it is 
supported)
https://bugs.launchpad.net/bugs/490068
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to