I am running Ubuntu 10.04 LTS on a Samsung n150 netbook. I have bought a vodafone pay-as-you-go mobile broadband dongle. It is a Huawei device.I have *usb_modeswitch* installed. I installed betavine from betavineUbuntuLink. The program loads but displays that no device is detected. I tried to use Sakis3G from sakis3Glink, using both the free and full versions, and all I get is a message that it failed to connect. I tried to create the mobile broadband connection by right clicking the connection manager and setting it up from there but the connection is never registered or displayed. When the computer is booted with the usb dongle it shows on the desktop as a mounted device, and when unmounted and re-inserted it does not appear on the desktop again, but does appear in Places as VMB_10.2.102.30707_RP171.This usb dongle did not come with a CD for installation on Windows. In Windows, the software installed automatically from the usb device. So I believe that a further complication with this relatively new device is that it gets loaded as a CD. I tried a method of going to gconf-editor to uncheck the automount and autorun and see if the usb switching will work there after (I did a reboot), but this did not help.When I boot the computer with the dongle it is shown on the desktop and places. When it is removed and re-inserted it shows up in places only. A green light flashes and occasionally a blue one as well. I ran lsusb after removing and re-inserting the usb dongle, which shows that the device is found:alex@alex-laptop:~/programFiles/MATLAB/bin$ lsusbBus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 003 Device 002: ID 0a5c:219c Broadcom Corp. Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 001 Device 008: ID 12d1:14d1 Huawei Technologies Co., Ltd. Bus 001 Device 005: ID 0ac8:c33f Z-Star Microelectronics Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubI then ran dmesg | tail to get the last kernel reports:alex@alex-laptop:~/programFiles/MATLAB/bin$ dmesg|tail[14373.720099] usb 1-7: new high speed USB device using ehci_hcd and address 8[14373.997592] usb 1-7: configuration #1 chosen from 1 choice[14374.182751] scsi6 : SCSI emulation for USB Mass Storage devices14374.184812] usb-storage: device found at 8[14374.184825] usb-storage: waiting for device to settle before scanning[14379.184566] usb-storage: device scan complete[14379.185273] scsi 6:0:0:0: CD-ROM            Vodafone CD ROM (Huawei)  2.31 PQ: 0 ANSI: 2[14379.197689] sr0: scsi-1 drive[14379.197986] sr 6:0:0:0: Attached scsi CD-ROM sr0[14379.198192] sr 6:0:0:0: Attached scsi generic sg1 type 5alex@alex-laptop:~/programFiles/MATLAB/bin$ It can be seen how the usb dongle device gets seen as a Vodafone CD ROM (Huawei) which I assume is the root of the troubles for betavine and sakis3g. I believe that the usual scenario is of seeing it as a drive and switching to broadband device and not as CD ROM and making that a mobile broadband device, but I could be wrong.Is there a course of action to be recommended to get this to work? Are there any alternative tests to perform to diagnose the exact problem?UPDATE: on the back of the usb modem it says Model: K3770, HSPA USB Stick, FCC ID: QISK3770UPDATE 2: On Ubuntuforums I found a thread, link to Unbuntu forum, and a post by foxy123 contained critical information. Enter the APN as SMART. You'll also need a username and password. Both username and password are: web Using sakis3g, and setting the extra options with this information assisted the final operation. This was done after following the post of ManWe.
Difficulty with mobile broadband device being recognized (registered as CD ROM)
ubuntu;mount;drivers;usb;networkmanager
If the modem is recognised, but fails to connect check these (rfkill control wireless devices blocking on your system):# get a list of devices and statesrfkill list# unblock all wireless devices. With one integrated card this is not enough# for some reason and I have to leave it on on Windows 7 to # get it to work on linuxrfkill unblock allTo fix mobile broadband with 12d1:14d1 id follow these instructions (not tested).Try creating this file to /etc/usb_modeswitch.d/12d1:14d1######################################################### Vodafone/Huawei K3770DefaultVendor= 0x12d1DefaultProduct=0x14d1TargetVendor=  0x12d1TargetProduct= 0x14c9MessageContent=55534243123456780000000000000011062000000100000000000000000000CheckSuccess=20or with this content################################################## ####### Huawei K3770DefaultVendor= 0x12d1DefaultProduct=0x14d1TargetVendor= 0x12d1TargetProduct= 0x1c05CheckSuccess=20MessageContent=55534243123456780000000000000011060000000000000000 000000000000After that test it with sudo usb_modeswitch -v 0x12d1 -p 0x14d1 -c /etc/usb_modeswitch.d/12d1:14d1And if it worked add to /lib/udev/rules.d/40-usb_modeswitch.rulesthese lines# Huawei Ek3770ATTRS{idVendor}==12d1, ATTRS{idProduct}==14d1, RUN+=usb_modeswitch '%b/%k'And I think you need usb-modeswitch version of at least 1.1.8I don't have your exact 3g-modem and if I'm not mistaken this stick is to be added to modeswitch databases at some point. You might get it to work with the devel version.usb-modeswitch - switch mode of multi-state USB devices ** Building instructions, tried on ubuntu lucid **@see http://www.draisberghof.de/usb_modeswitch/#downloadas root run something like this (do not run this unless you understand what it does):# remove usb-modeswitch installed from reposdpkg -r usb-modeswitchdpkg -r usb-modeswitch-datacd /tmpmkdir /tmp/compiledircd /tmp/compiledir# get newest modeswitch at the time of this answerwget http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-1.2.2.tar.bz2wget http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-data-20120120.tar.bz2# get required -dev files for compiling usb-modeswitchapt-get build-dep usb-modeswitch# install themtar -jxf usb-modeswitch-1.2.2.tar.bz2 cd usb-modeswitch-1.2.2make install cd ..tar -jxf usb-modeswitch-data-20120120.tar.bz2 cd usb-modeswitch-data-20120120make install cd ..