Connecting and firing up a USB HSDPA modem on Fedora 9
I have an Opticon iCon 225 USB modem (GPRS/HSDPA) which I'm currently trying to get running on my laptop.
Running Fedora 9 on a 220.127.116.11-45.fc9.i686 kernel.
From what I've read, after plugging in, a new type of connection should appear in NetworkManager. Nothing like that happens, all I get is a window displaying the contents of the modem's built-in memory. Dmesg output is a mystery to me:
I have to admit I'm completely new to this stuff, never had to set up any modem at all - since my whole life was wlan/wired based :)
I hope you guys help me out a bit, thanks in advance!
When you run lsmod do USB _SERIAL_OPTION and USB _SERIAL show up;
See if the usb_storage driver is also running (lsmod | grep storage)
If the storage driver is running and hijacks the modem, you will not be able to get it to work. In principle this is a hardware design fault of the modem (it does not comply with the USB spec); unfortunately we're cursed with such things because the manufacturers happen to be able to get their stuff running under winduhs.
If the storage driver is running, try:
rmmod option usb_serial usb_storage
There may be a race between the usb_storage taking control and usb_serial+option taking control. There's a lot of bad history in there too; these modems were meant to provide a little flash storage which retailers could use to load up their software to set up your connection and stuff like that. (Well, it's more like hijack your browsers really - so I don't complain that ISPs don't support Linux.) Of 4 different retailers I've seen, they all say DON'T use the software on that storage device - so the point seems to be to annoy end-users. There is also the danger that the device is preloaded with malware (aside from the ISPs usual malware). Now why do things go horribly wrong in Linux? When the device is attached and probed it responds with "I'm a serial port" and soon after "I'm a storage device". Well, a device can't be both if you follow the USB spec. The exception (at least one example) would be if you advertise as a HID, then you can be probed to see which HID features you support. What the devices *should* have done is advertise as a USB hub, then the serial port and storage device could be individually probed. The alternative is to let two drivers control a single USB device - apparently you can do that on winduhs. I can't see anyone convincing Linus that it's an acceptable design.
Thank you both for your replies, the problem is solved now thanks to this guide.
pinniped, thanks for all that insightful information, I really like to get the idea of what is actually going on. That's exactly what had been happening when I plugged in the modem - the usbstorage module was being automatically loaded into the kernel and the whole procedure would just stop there. Before I found HSOconnect I blacklisted the usbstorage module, added an appropriate "options" entry for usb_serial (vendor= & product=) in modprobe.conf. Apart from getting the modem the be recognized properly (that's not really the right word since it is both a modem and flash drive..) and mounted on /dev/ttyUSB0 I couldn't get wvdial or comgt to communicate with it - the former would just spit out a "cannot communicate with modem" error, while the latter would try to scare me with a faulty SIM card..
Thanks again. :)
|All times are GMT -5. The time now is 04:55 AM.|