3G over USB


fahrstuhl

Member
Joined
May 29, 2008
Messages
368
Age
29
Location
Germany
The following is more of a documentation of my struggle with getting this to work than a how-to, so please read this USB 3G guide first and use google and your brain a lot. Also, we're toying with root-rights, opkg and writing to NAND. It's possible that things go horribly wrong. (They didn't for me, though.)


I'm not liable for any damage done by following this post.


So, a lot of the things mentioned in the guide above somehow didn't work for me. Instead of giving up, I've invested some hours into it and finally managed to make it work. I have a 4G Systems XS Stick P14 (1c9e:f000 in CD mode, 1c9e:9605 in modem mode) with an O2 germany data plan.


Things that didn't work:


Modeswitching with udev and modem-modeswitch


automatic driver loading


automatic connection setup with NetworkManager (I installed modem manager, but it didn't work)


So I used usbmodeswitch and pppd.


First, I installed usbmodeswitch (NOT usb-modeswitch) and usb-modeswitch-data via opkg (I don't know if pppd comes pre-installed with the Pandora. You might need to install it, too.).


(WARNING, WRITES TO NAND)



Code:
sudo opkg update

sudo opkg install usb-modeswitch-data

sudo opkg install usbmodeswitch


I plugged in the stick and looked up its vendor-id and product-id:

sudo lsusb

> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

> Bus 001 Device 007: ID 1c9e:f000





Then modeswitch with:

sudo usb_modeswitch -c /etc/usb_modeswitch.d/1c9e:f000



Check lsusb output again:

sudo lsusb

> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

> Bus 001 Device 007: ID 1c9e:9605



Load the driver:

sudo modprobe usbserial vendor=0x1c9e product=0x9605



Check if everything worked:

ls /dev/ttyUSB*

> /dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2 /dev/ttyUSB3



Setup /etc/ppp/peers/umts:



Code:
# File /etc/ppp/peers/umts

noauth

connect "/usr/sbin/chat -v -f /etc/chatscripts/umts"

defaultroute

/dev/ttyUSB3

115200

persist

debug

passive

noipdefault

usepeerdns

# Varies between carriers, some don't even need these.

user "o2"

password "o2"


Setup /etc/chatscripts/umts (Be sure to replace surfo2 according to your carrier. Google "<yourcarrier> APN"):



Code:
TIMEOUT         120

ABORT           'BUSY'

ABORT           'ERROR'

ABORT           'NO CARRIER'

''              'ATE1'

# Change according to your carrier

OK              AT+CGDCONT=1,"IP","surfo2"

OK              ATD*99***1#

# or OK         ATD*99#

CONNECT         \d\c
(Btw, if you use O2 germany, stay clear of using the internet APN and use surfo2. The internet APN might cost you 10€/MB)



Connect with:

sudo pon umts



Ping something to test the connection (Sometimes I need to run this a few times before it actually reaches something.):

ping -c3 openpandora.org

> 64 bytes from pithos.open-pandora.org (178.63.21.4): icmp_req=1 ttl=56 time=51.3 ms

> 64 bytes from pithos.open-pandora.org (178.63.21.4): icmp_req=2 ttl=56 time=49.7 ms

> 64 bytes from pithos.open-pandora.org (178.63.21.4): icmp_req=3 ttl=56 time=49.1 ms

>

> --- openpandora.org ping statistics ---

> 3 packets transmitted, 3 received, 0% packet loss, time 2002ms

> rtt min/avg/max/mdev = 49.112/50.069/51.312/0.938 ms



After I got this far I wrote a small bash-script I run manually everytime I want to go online with my surfstick:





Code:
#!/bin/bash

sudo killall pppd

sleep 1

sudo modprobe -r usbserial

sudo mknod /dev/ppp c 108 0

sudo usb_modeswitch -c /etc/usb_modeswitch.d/1c9e:f000

sleep 2

sudo modprobe usbserial vendor=0x1c9e product=0x9605

sleep 2

sudo pon umts

It's still a little unstable, having connection resets from time to time, but works for me.


If you're still stuck: Things that helped me a lot were google, the keywords "pppd, umts, linux" and several distribution wikis (Arch Linux wiki, Ubuntu wiki, gentoo wiki)
 
Last edited by a moderator:

MarioPandio

Well-Known Member
Joined
Aug 28, 2010
Messages
1,378
Location
Half way up the stair
Nice work Fahrstuhl, that will no doubt prove very useful to a few who have struggled to get theirs going. Congrats on the perseverance paying off :) If this works for others I suggest asking the mods to add this to the tweaks thread on the matter.
 

debernardis

Still Fresh
Joined
Oct 2, 2008
Messages
37
Thanks to your guide I've had success with my Onda MW833UP usb modem (branded by Wind Italy).


My shell script to enable the modem is:



Code:
#!/bin/sh

sudo modprobe -r usbserial

sudo usb_modeswitch -c /etc/usb_modeswitch.d/1ee8:0013

sleep 3

sudo modprobe usbserial
 

milkshake

Advanced Member
Joined
May 18, 2009
Messages
3,735
Age
36
Location
Rotherham, UK
OK when running this command:



Code:
sudo opkg install usbmodeswitch


I get the following erros...





Code:
Installing usbmodeswitch (1.1.2-r0.5) to root...

Collected errors:

* check_data_file_clashes: Package usbmodeswitch wants to install file /etc/usb_modeswitch.conf

But that file is already provided by package

* check_data_file_clashes: usb_modeswitch

* check_data_file_clashes: Package usbmodeswitch wants to install file /lib/udev/usb_modeswitch

But that file is already provided by package

* check_data_file_clashes: usb-modeswitch

* opkg_install_cmd: Cannot install package usbmodeswitch


which means when I try to run the command:



Code:
sudo usb_modeswitch -c /etc/usb_modeswitch.d/12d1:1446


it just spits out:





Code:
sudo: usb_modeswitch: command not found

:( I really want to get my HUAWEI E1750 to work with my pandy.
 
Last edited by a moderator:

alerino

Well-Known Member
Joined
Aug 11, 2007
Messages
3,200
if you tried to make it work in the past, usb_modeswitch might be installed, try getting rid of it, sudo opkg remove usb_modeswitch (include --force-depends if shit happens), then start all over again
 

milkshake

Advanced Member
Joined
May 18, 2009
Messages
3,735
Age
36
Location
Rotherham, UK
ok i fixed it i just did



Code:
sudo rm /etc/usb_modeswitch.conf

sudo rm /lib/udev/usb_modeswitch

and ran the install again and it worked ok :) now to see if I can run the command...
 

milkshake

Advanced Member
Joined
May 18, 2009
Messages
3,735
Age
36
Location
Rotherham, UK
ok so i ran the command



Code:
sudo usb_modeswitch -c /etc/usb_modeswitch.d/12d1:1446


which seemed to switch mode because when I run





Code:
ls /dev/ttyUSB*


I get





Code:
> /dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2


no /dev/ttyUSB3?? oh well I carry on...

when I Setup /etc/ppp/peers/umts I had to change /dev/ttyUSB3 to /dev/ttyUSB2 as I dont have /dev/ttyUSB3



all seems ok so far but when I run





Code:
sudo pon UMTS


i get





Code:
/usr/sbin/pppd: pppd is unable to open the /dev/ppp device device.

You need to create the /dev/ppp device node by executing the following command as root:

mknod /dev/ppp c 108 0




so I run





Code:
sudo mknod /dev/ppp c 108 0

sudo pon umts

doesn't give me any errors now but also does not successfully ping any website.


what have I done wrong? how can I fix it?
 

alerino

Well-Known Member
Joined
Aug 11, 2007
Messages
3,200
let's see some dmesg output, my huawei E160 assigns to ttyACM0, IIRC (i was mistaken)


rebooting also might help


unplugging the modem and sticking it in again too


my dmesg



Code:
[ 4471.829498] usb 1-2: new high speed USB device using ehci-omap and address 2

[ 4472.005187] usb 1-2: configuration #1 chosen from 1 choice

[ 4472.029327] scsi0 : SCSI emulation for USB Mass Storage devices

[ 4472.037139] usb 1-2: New USB device found, idVendor=12d1, idProduct=1003

[ 4472.043945] usb 1-2: New USB device strings: Mfr=2, Product=1, SerialNumber=0

[ 4472.051177] usb 1-2: Product: HUAWEI Mobile

[ 4472.055358] usb 1-2: Manufacturer: HUAWEI Technology

[ 4472.060424] usb 1-2: USB disconnect, address 2

[ 4472.066131] usb-storage: device found at 2

[ 4472.066131] usb-storage: waiting for device to settle before scanning

[ 4478.587310] usb 1-2: new high speed USB device using ehci-omap and address 3

[ 4478.762969] usb 1-2: configuration #1 chosen from 1 choice

[ 4478.781402] usb-storage: probe of 1-2:1.0 failed with error -5

[ 4478.788299] usb-storage: probe of 1-2:1.1 failed with error -5

[ 4486.603179] scsi3 : SCSI emulation for USB Mass Storage devices

[ 4486.642425] usb-storage: device found at 3

[ 4486.642456] usb-storage: waiting for device to settle before scanning

[ 4494.493835] scsi4 : SCSI emulation for USB Mass Storage devices

[ 4494.526153] usb 1-2: New USB device found, idVendor=12d1, idProduct=1003

[ 4494.532958] usb 1-2: New USB device strings: Mfr=2, Product=1, SerialNumber=0

[ 4494.540130] usb 1-2: Product: HUAWEI Mobile

[ 4494.544403] usb 1-2: Manufacturer: HUAWEI Technology

[ 4494.549560] usbcore: registered new interface driver usbserial

[ 4494.555511] usbserial: USB Serial support registered for generic

[ 4494.561737] usbcore: registered new interface driver usbserial_generic

[ 4494.568298] usbserial: USB Serial Driver core

[ 4494.595764] scsi 3:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2

[ 4494.605285] usb-storage: device scan complete

[ 4494.605377] usb-storage: device found at 3

[ 4494.605377] usb-storage: waiting for device to settle before scanning

[ 4494.696960] usbserial: USB Serial support registered for GSM modem (1-port)

[ 4494.704071] option 1-2:1.0: GSM modem (1-port) converter detected

[ 4494.710723] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0

[ 4494.717773] option 1-2:1.1: GSM modem (1-port) converter detected

[ 4494.724304] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1

[ 4494.731231] usbcore: registered new interface driver option

[ 4494.736877] option: USB Driver for GSM modems: v0.7.2

[ 4494.936248] Driver 'sr' needs updating - please use bus_type methods

[ 4494.971008] sr0: scsi-1 drive

[ 4494.974029] Uniform CD-ROM driver Revision: 3.20

[ 4494.979187] sr 3:0:0:0: Attached scsi CD-ROM sr0

[ 4495.025390] sr 3:0:0:0: Attached scsi generic sg0 type 5

[ 4499.607391] scsi 4:0:0:0: Direct-Access     HUAWEI   MMC Storage      2.31 PQ: 0 ANSI: 2

[ 4499.686004] sd 4:0:0:0: [sda] Attached SCSI removable disk

[ 4499.691955] sd 4:0:0:0: Attached scsi generic sg1 type 0

[ 4499.700775] usb-storage: device scan complete
 
Last edited by a moderator:

milkshake

Advanced Member
Joined
May 18, 2009
Messages
3,735
Age
36
Location
Rotherham, UK
just to let you guys know my dongle is a HUAWEI E1750


it works fine on my windows 7 install with the o2 connection manager software


in my setup files I have



Code:
# File /etc/ppp/peers/umts

noauth

connect "/usr/sbin/chat -v -f /etc/chatscripts/umts"

defaultroute

/dev/ttyUSB2

115200

persist

debug

passive

noipdefault

usepeerdns

# Varies between carriers, some don't even need these.

user "web"

password "web"


and for /etc/chatscripts/umts





Code:
TIMEOUT         120

ABORT           'BUSY'

ABORT           'ERROR'

ABORT           'NO CARRIER'

''              'ATE1'

# Change according to your carrier

OK              AT+CGDCONT=1,"IP","mobile.o2.co.uk"

OK              ATD*99#

# or OK         ATD*99***1#


CONNECT         \d\c

i have a mobile broadband simplicity contract any clues as to what im doing wrong or what I can do to get this working?


preffribly with the pandoras default connection manager software.
 

milkshake

Advanced Member
Joined
May 18, 2009
Messages
3,735
Age
36
Location
Rotherham, UK
when I run



Code:
sudo lsusb


I get output





Code:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 011: ID 12d1:1446 Huaweu Technologies Co., Ltd.


then run





Code:
sudo usb_modeswitch -c /etc/usb_modeswitch.d/12d1:1446


then run agin





Code:
sudo lsusb


it outputs this





Code:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 011: ID 12d1:1001 Huaweu Technologies Co., Ltd. E620 USB Modem

Even though its a E1750 model anyway I cant put the dmesg output because its immense and I dont have any internet connection on the pandora currently iv been typing all this manually on my pc :p


any other suggestions?
 
Last edited by a moderator:

alerino

Well-Known Member
Joined
Aug 11, 2007
Messages
3,200
show dmesg output


did you also follow this howto?


mine works with Network Manager :D


 
Last edited by a moderator:

milkshake

Advanced Member
Joined
May 18, 2009
Messages
3,735
Age
36
Location
Rotherham, UK
i did try the other guide aswell that does not work for me.


i just rebooted my pandora though and tried it again, same thing happens.. when I get my new wireless router at home ill post the dmesg output.
 

milkshake

Advanced Member
Joined
May 18, 2009
Messages
3,735
Age
36
Location
Rotherham, UK
ok i insert my stick and run sudo lsusb



Code:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 002: ID 12d1:1446 Huawei Technologies Co., Ltd.


i run the following command sudo dmesg






Code:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem


then run sudo dmesg again







does that help? can u help me?

Code:
2.813262] Bluetooth: HCI UART driver ver 2.2

[   12.817718] Bluetooth: HCI H4 protocol initialized

[   12.822570] Bluetooth: HCILL protocol initialized

[   12.827362] hci_h4p hci_h4p: Registering HCI H4P device

[   12.984436] mmci-omap mmci-omap.0: Failed to get debounce clock

[   13.093383] mmci-omap mmci-omap.1: Failed to get debounce clock

[   13.094512] mmci-omap mmci-omap.2: Failed to get debounce clock

[   13.094909] Registered led device: pandora::sd1

[   13.099578] Registered led device: pandora::sd2

[   13.104278] Registered led device: pandora::bluetooth

[   13.109497] Registered led device: pandora::wifi

[   13.114471] Registered led device: pandora::keypad_bl

[   13.119781] Registered led device: pandora::power

[   13.124877] Registered led device: pandora::charger

[   13.129974] usbcore: registered new interface driver usbhid

[   13.135650] usbhid: v2.6:USB HID core driver

[   13.140167] Advanced Linux Sound Architecture Driver Version 1.0.17.

[   13.146789] ASoC version 0.13.2

[   13.150115] OMAP3 Pandora SoC init

[   13.153717] TWL4030 Audio Codec init 

[   13.158966] asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok

[   13.165893] asoc: twl4030 <-> omap-mcbsp-dai-1 mapping ok

[   13.178955] ALSA device list:

[   13.181976]   #0: omap3pandora (twl4030)

[   13.186218] TCP cubic registered

[   13.189483] NET: Registered protocol family 17

[   13.194000] NET: Registered protocol family 15

[   13.198547] Bluetooth: L2CAP ver 2.11

[   13.202209] Bluetooth: L2CAP socket layer initialized

[   13.207366] Bluetooth: SCO (Voice Link) ver 0.6

[   13.211944] Bluetooth: SCO socket layer initialized

[   13.217041] Bluetooth: RFCOMM socket layer initialized

[   13.222290] Bluetooth: RFCOMM TTY layer initialized

[   13.227233] Bluetooth: RFCOMM ver 1.10

[   13.230987] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

[   13.236358] Bluetooth: HIDP (Human Interface Emulation) ver 1.2

[   13.242858] RPC: Registered udp transport module.

[   13.247589] RPC: Registered tcp transport module.

[   13.252441] ThumbEE CPU extension supported.

[   13.256744] Disabling unused clock "sr2_fck"

[   13.256744] Disabling unused clock "sr1_fck"

[   13.256774] Disabling unused clock "mcbsp_fck"

[   13.256774] Disabling unused clock "mcbsp_fck"

[   13.256805] Disabling unused clock "mcbsp_fck"

[   13.256805] Disabling unused clock "mcbsp_ick"

[   13.256835] Disabling unused clock "mcbsp_ick"

[   13.256835] Disabling unused clock "mcbsp_ick"

[   13.256866] Disabling unused clock "gpt2_ick"

[   13.256866] Disabling unused clock "gpt3_ick"

[   13.256866] Disabling unused clock "gpt4_ick"

[   13.256896] Disabling unused clock "gpt5_ick"

[   13.256896] Disabling unused clock "gpt6_ick"

[   13.256927] Disabling unused clock "gpt7_ick"

[   13.256927] Disabling unused clock "gpt8_ick"

[   13.256958] Disabling unused clock "gpt9_ick"

[   13.256958] Disabling unused clock "wdt3_ick"

[   13.256988] Disabling unused clock "wdt3_fck"

[   13.256988] Disabling unused clock "gpio2_dbck"

[   13.257019] Disabling unused clock "gpio3_dbck"

[   13.257019] Disabling unused clock "gpio5_dbck"

[   13.257049] Disabling unused clock "gpt9_fck"

[   13.257049] Disabling unused clock "gpt8_fck"

[   13.257049] Disabling unused clock "gpt7_fck"

[   13.257080] Disabling unused clock "gpt6_fck"

[   13.257080] Disabling unused clock "gpt5_fck"

[   13.257110] Disabling unused clock "gpt4_fck"

[   13.257141] Disabling unused clock "gpt3_fck"

[   13.257141] Disabling unused clock "gpt2_fck"

[   13.257171] Disabling unused clock "gpt1_ick"

[   13.257171] Disabling unused clock "wdt1_ick"

[   13.257202] Disabling unused clock "wdt2_ick"

[   13.257202] Disabling unused clock "wdt2_fck"

[   13.257202] Disabling unused clock "gpio1_dbck"

[   13.257232] Disabling unused clock "gpt1_fck"

[   13.257232] Disabling unused clock "cam_ick"

[   13.257263] Disabling unused clock "cam_mclk"

[   13.257263] Disabling unused clock "des1_ick"

[   13.257293] Disabling unused clock "sha11_ick"

[   13.257293] Disabling unused clock "rng_ick"

[   13.257324] Disabling unused clock "aes1_ick"

[   13.257354] Disabling unused clock "ssi_ick"

[   13.257385] Disabling unused clock "mailboxes_ick"

[   13.257385] Disabling unused clock "mcbsp_ick"

[   13.257385] Disabling unused clock "mcbsp_ick"

[   13.257415] Disabling unused clock "gpt10_ick"

[   13.257415] Disabling unused clock "gpt11_ick"

[   13.257446] Disabling unused clock "uart2_ick"

[   13.257446] Disabling unused clock "i2c_ick"

[   13.257476] Disabling unused clock "hdq_ick"

[   13.257476] Disabling unused clock "mspro_ick"

[   13.257507] Disabling unused clock "des2_ick"

[   13.257507] Disabling unused clock "sha12_ick"

[   13.257507] Disabling unused clock "aes2_ick"

[   13.257537] Disabling unused clock "icr_ick"

[   13.257537] Disabling unused clock "pka_ick"

[   13.257568] Disabling unused clock "ssi_ssr_fck"

[   13.257568] Disabling unused clock "hdq_fck"

[   13.257598] Disabling unused clock "uart2_fck"

[   13.257598] Disabling unused clock "mcbsp_fck"

[   13.257629] Disabling unused clock "mcbsp_fck"

[   13.257629] Disabling unused clock "i2c_fck"

[   13.257659] Disabling unused clock "mspro_fck"

[   13.257659] Disabling unused clock "gpt11_fck"

[   13.257659] Disabling unused clock "gpt10_fck"

[   13.257690] Disabling unused clock "iva2_ck"

[   13.257720] Disabling unused clock "dpll4_m6x2_ck"

[   13.257720] Disabling unused clock "dpll4_m5x2_ck"

[   13.257751] Disabling unused clock "dpll3_m3x2_ck"

[   13.257751] Disabling unused clock "sys_clkout1"

[   13.257781] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1

[   13.296875] Console: switching to colour frame buffer device 100x30

[   13.335571] mmc0: host does not support reading read-only switch. assuming write-enable.

[   13.343750] mmc0: new high speed SDHC card at address 0001

[   13.349670] mmcblk0: mmc0:0001 00000 15986688KiB 

[   13.354705]  mmcblk0: p1

[   13.486114] twl4030_rtc twl4030_rtc: setting system clock to 2011-02-10 16:28:19 UTC (1297355299)

[   13.592498] UBIFS: mounted UBI device 0, volume 0, name "rootfs"

[   13.598632] UBIFS: file system size:   507451392 bytes (495558 KiB, 483 MiB, 3933 LEBs)

[   13.606719] UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)

[   13.614074] UBIFS: media format:       w4/r0 (latest is w4/r0)

[   13.619995] UBIFS: default compressor: lzo

[   13.624114] UBIFS: reserved for root:  0 bytes (0 KiB)

[   13.630767] VFS: Mounted root (ubifs filesystem).

[   13.635681] Freeing init memory: 148K

[   13.968536] mmc1: host does not support reading read-only switch. assuming write-enable.

[   13.976745] mmc1: new high speed SDHC card at address 0002

[   13.982727] mmcblk1: mmc1:0002       8058880KiB 

[   13.987701]  mmcblk1: p1

[   20.851654] ads7846 spi1.0: touchscreen, irq 254

[   20.856933] input: touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input5

[   25.461761] FAT: invalid media value (0xb9)

[   25.466003] VFS: Can't find a valid FAT filesystem on dev mmcblk1.

[   25.556396] FAT: bogus number of reserved sectors

[   25.561157] VFS: Can't find a valid FAT filesystem on dev mmcblk0.

[   25.866973] FAT: invalid media value (0xb9)

[   25.871185] VFS: Can't find a valid FAT filesystem on dev mmcblk1.

[   25.939849] FAT: bogus number of reserved sectors

[   25.944610] VFS: Can't find a valid FAT filesystem on dev mmcblk0.

[   26.355804] mmci-omap mmci-omap.0: MMC IRQ 0x208000 : ERRI DCRC

[   26.356414] mmcblk0: retrying using single block read

[   27.046569] NET: Registered protocol family 10

[   27.408843] UBIFS: mounted UBI device 1, volume 0, name "boot"

[   27.414794] UBIFS: file system size:   8386560 bytes (8190 KiB, 7 MiB, 65 LEBs)

[   27.422180] UBIFS: journal size:       1032193 bytes (1008 KiB, 0 MiB, 6 LEBs)

[   27.429473] UBIFS: media format:       w4/r0 (latest is w4/r0)

[   27.435333] UBIFS: default compressor: lzo

[   27.439483] UBIFS: reserved for root:  396117 bytes (386 KiB)

[   28.280792] dpll1_ck rate: 600000000

[   28.284423] arm_fck  rate: 600000000

[   28.288024] PLL_MPU  rate: 600000000

[   28.351684] input: nub0 as /devices/platform/i2c_omap.3/i2c-adapter/i2c-3/3-0066/input/input6

[   28.586090] input: nub1 as /devices/platform/i2c_omap.3/i2c-adapter/i2c-3/3-0067/input/input7

[   33.802032] Generic kernel compatibility enabled based on linux-next next-20100113

[   34.031127] cfg80211: Calling CRDA to update world regulatory domain

[   34.705566] lib80211: common routines for IEEE802.11 drivers

[   34.711364] lib80211_crypt: registered algorithm 'NULL'

[   34.758392] lib80211_crypt: registered algorithm 'TKIP'

[   34.806030] lib80211_crypt: registered algorithm 'WEP'

[   34.849609] lib80211_crypt: registered algorithm 'CCMP'

[   35.013366] Pandora WiFi: Probe started

[   35.039215] Sending insert event for MMC3...

[   35.043548] Pandora WiFi: Probe done

[   35.094818] mmc2: card claims to support voltages below the defined range. These will be ignored.

[   35.103851] mmc2: SDIO card claims to support the incompletely defined 'low voltage range'. This will be ignored.

[   35.117614] mmc2: new SDIO card at address 0001

[   35.154296] wl1251: using dedicated interrupt line

[   35.467803] phy0: Selected rate control algorithm 'minstrel'

[   35.468688] wl1251: loaded

[   35.471435] wl1251: initialized

[   36.819915] sdio_reset_comm():

[   36.835876] wl1251_sdio mmc2:0001:1: firmware: requesting wl1251-fw.bin

[   37.741912] wl1251: 154 tx blocks at 0x3b788, 35 rx blocks at 0x3a780

[   37.759765] wl1251: firmware booted (Rev 6.0.4.235)

[   37.780883] phy0: device now idle

[   37.892211] ADDRCONF(NETDEV_UP): wlan0: link is not ready

[   53.371490] phy0: device no longer idle - scanning

[   54.043090] phy0: device now idle

[   54.043701] phy0: device no longer idle - scanning

[   54.687561] phy0: device now idle

[   94.614135] phy0: device no longer idle - scanning

[   95.288574] phy0: device now idle

[   95.297546] phy0: device no longer idle - scanning

[   95.298797] wlan0: deauthenticating from cf13d02c by local choice (reason=3)

[   95.385070] wlan0: authenticate with cb1f4f68 (try 1)

[   95.398101] wlan0: authenticated

[   95.398162] phy0: device now idle

[   95.398254] phy0: device no longer idle - working

[   95.398284] wlan0: associate with cd481be8 (try 1)

[   95.405975] wlan0: RX AssocResp from cf13d81a (capab=0x411 status=0 aid=2)

[   95.406005] wlan0: associated

[   95.406036] phy0: Allocated STA cd784de8

[   95.407196] phy0: Inserted STA cd784de8

[   95.438232] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

[   95.453369] phy0: WMM queue=2 aci=0 acm=0 aifs=3 cWmin=15 cWmax=1023 txop=0 uapsd=1

[   95.468536] phy0: WMM queue=3 aci=1 acm=0 aifs=7 cWmin=15 cWmax=1023 txop=0 uapsd=1

[   95.484161] phy0: WMM queue=1 aci=2 acm=0 aifs=2 cWmin=7 cWmax=15 txop=94 uapsd=1

[   95.499786] phy0: WMM queue=0 aci=3 acm=0 aifs=2 cWmin=3 cWmax=7 txop=47 uapsd=1

[  105.577667] wlan0: no IPv6 routers present

[  130.811279] aufs test_add:243:mount[1536]: uid/gid/perm /mnt/pnd/firefox 500/500/0755, 0/0/0777

[  425.354492] mmci-omap mmci-omap.1: MMC IRQ 0x108000 : ERRI DTO

[  425.354614] mmcblk1: error -110 transferring data, sector 1077286, nr 1, card status 0xe00

[  465.368255] mmci-omap mmci-omap.1: MMC IRQ 0x108000 : ERRI DTO

[  465.368377] mmcblk1: error -110 transferring data, sector 1081702, nr 1, card status 0xe00

[  515.406097] mmci-omap mmci-omap.1: MMC IRQ 0x108000 : ERRI DTO

[  515.406219] mmcblk1: error -110 transferring data, sector 1085798, nr 1, card status 0xe00

[  553.812133] usb 1-2: new high speed USB device using ehci-omap and address 2

[  553.979766] usb 1-2: configuration #1 chosen from 1 choice

[  553.994964] scsi0 : SCSI emulation for USB Mass Storage devices

[  554.002563] scsi1 : SCSI emulation for USB Mass Storage devices

[  554.009735] usb 1-2: New USB device found, idVendor=12d1, idProduct=1446

[  554.016540] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=0

[  554.023712] usb 1-2: Product: HUAWEI Mobile

[  554.027923] usb 1-2: Manufacturer: HUAWEI Technology

[  554.032958] usb-storage: device found at 2

[  554.032989] usb-storage: waiting for device to settle before scanning

[  554.033020] usb-storage: device found at 2

[  554.033020] usb-storage: waiting for device to settle before scanning

[  559.033050] scsi 1:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2

[  559.059356] scsi 0:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2

[  559.122406] scsi 0:0:0:0: Attached scsi generic sg0 type 5

[  559.141296] usb-storage: device scan complete

[  559.144958] sd 1:0:0:0: [sda] Attached SCSI removable disk

[  559.150909] sd 1:0:0:0: Attached scsi generic sg1 type 0

[  559.157501] usb-storage: device scan complete

[  559.578216] Driver 'sr' needs updating - please use bus_type methods

[  559.612548] sr0: scsi-1 drive

[  559.615570] Uniform CD-ROM driver Revision: 3.20

[  559.620849] sr 0:0:0:0: Attached scsi CD-ROM sr0

[  559.734375] mmci-omap mmci-omap.0: MMC IRQ 0x208000 : ERRI DCRC

[  559.737274] mmcblk0: retrying using single block read

[  570.457885] mmci-omap mmci-omap.1: MMC IRQ 0x108000 : ERRI DTO

[  570.458007] mmcblk1: error -110 transferring data, sector 1090022, nr 1, card status 0xe00

[  573.274963] ISO 9660 Extensions: Microsoft Joliet Level 1

[  573.275970] ISOFS: changing to secondary root

[  615.439819] mmci-omap mmci-omap.1: MMC IRQ 0x108000 : ERRI DTO

[  615.439910] mmcblk1: error -110 transferring data, sector 1094118, nr 1, card status 0xe00

[  650.341094] wlan0: detected beacon loss from AP - sending probe request

[  650.866729] No probe response from AP ce109ebc after 500ms, try 1

[  651.366821] No probe response from AP ce109ebc after 500ms, try 2

[  651.866821] No probe response from AP ce109ebc after 500ms, try 3

[  652.366821] No probe response from AP ce109ebc after 500ms, try 4

[  652.866760] No probe response from AP ce109ebc after 500ms, disconnecting.

[  652.984130] phy0: Removed STA cd784de8

[  652.984161] phy0: Destroyed STA cd784de8

[  652.984161] phy0: device now idle

[  653.030822] cfg80211: Calling CRDA to update world regulatory domain

[  653.089874] phy0: device no longer idle - scanning

[  653.671752] phy0: device now idle

[  658.681304] phy0: device no longer idle - scanning

[  659.327697] phy0: device now idle

[  664.337585] phy0: device no longer idle - scanning

[  664.921447] phy0: device now idle

[  669.933593] phy0: device no longer idle - scanning

[  670.574951] phy0: device now idle

[  675.587768] phy0: device no longer idle - scanning

[  676.289367] phy0: device now idle

[  681.298431] phy0: device no longer idle - scanning

[  681.909881] phy0: device now idle

[  686.923461] phy0: device no longer idle - scanning

[  687.474792] phy0: device now idle

[  692.485931] phy0: device no longer idle - scanning

[  693.187347] phy0: device now idle

[  743.252929] phy0: device no longer idle - scanning

[  743.804382] phy0: device now idle

[  748.814147] phy0: device no longer idle - scanning

[  749.523040] phy0: device now idle

[  749.531799] phy0: device no longer idle - working

[  749.531860] wlan0: authenticate with cb185168 (try 1)

[  749.554016] wlan0: authenticated

[  749.554077] phy0: device now idle

[  749.554199] phy0: device no longer idle - working

[  749.554290] wlan0: associate with cd481ca8 (try 1)

[  749.578186] wlan0: RX AssocResp from cf18921a (capab=0x411 status=0 aid=1)

[  749.578216] wlan0: associated

[  749.578247] phy0: Allocated STA cb2d05e8

[  749.580505] phy0: Inserted STA cb2d05e8




ran the following command sudo usb_modeswitch -c /etc/usb_modeswitch.d/12d1:1446





Code:
Looking for target devices ...

 No devices in target mode or class found

Looking for default devices ...

 Found devices in default mode or class (1)

Accessing device 002 on bus 001 ...

Using endpoints 0x01 (out) and 0x81 (in)

Inquiring device details; driver will be detached ...

Looking for active driver ...

 OK, driver found ("dummy")

 OK, driver "dummy" detached


SCSI inquiry data (for identification)

-------------------------

  Vendor String: HUAWEI  

   Model String: Mass Storage    

Revision String: 2.31

-------------------------


USB description data (for identification)

-------------------------

Manufacturer: HUAWEI Technology

     Product: HUAWEI Mobile

  Serial No.: not provided

-------------------------

Setting up communication with interface 0 ...

Using endpoint 0x01 for message sending ...

Trying to send message 1 to endpoint 0x01 ...

 Sending the message returned error -6. Trying to continue

Resetting response endpoint 0x81

 Error resetting endpoint: -6

Resetting message endpoint 0x01

 Error resetting endpoint: -6

 Device is gone, skipping any further commands


Checking for mode switch (max. 20 times, once per second) ...

 Original device is gone already, not checking

 Searching for target devices ...

 Searching for target devices ...

 Searching for target devices ...

 Searching for target devices ...

 Searching for target devices ...

 Searching for target devices ...

 Searching for target devices ...

 Searching for target devices ...

 Searching for target devices ...

 Searching for target devices ...

 Searching for target devices ...

 Searching for target devices ...

 Searching for target devices ...

 Searching for target devices ...

 Searching for target devices ...

 Searching for target devices ...

 Searching for target devices ...

 Searching for target devices ...

 Searching for target devices ...

 Searching for target devices ...

 No new devices in target mode or class found


Mode switch has failed. Bye.





then run sudo lsusb again



Code:
.257202] Disabling unused clock "wdt2_fck"

[   13.257202] Disabling unused clock "gpio1_dbck"

[   13.257232] Disabling unused clock "gpt1_fck"

[   13.257232] Disabling unused clock "cam_ick"

[   13.257263] Disabling unused clock "cam_mclk"

[   13.257263] Disabling unused clock "des1_ick"

[   13.257293] Disabling unused clock "sha11_ick"

[   13.257293] Disabling unused clock "rng_ick"

[   13.257324] Disabling unused clock "aes1_ick"

[   13.257354] Disabling unused clock "ssi_ick"

[   13.257385] Disabling unused clock "mailboxes_ick"

[   13.257385] Disabling unused clock "mcbsp_ick"

[   13.257385] Disabling unused clock "mcbsp_ick"

[   13.257415] Disabling unused clock "gpt10_ick"

[   13.257415] Disabling unused clock "gpt11_ick"

[   13.257446] Disabling unused clock "uart2_ick"

[   13.257446] Disabling unused clock "i2c_ick"

[   13.257476] Disabling unused clock "hdq_ick"

[   13.257476] Disabling unused clock "mspro_ick"

[   13.257507] Disabling unused clock "des2_ick"

[   13.257507] Disabling unused clock "sha12_ick"

[   13.257507] Disabling unused clock "aes2_ick"

[   13.257537] Disabling unused clock "icr_ick"

[   13.257537] Disabling unused clock "pka_ick"

[   13.257568] Disabling unused clock "ssi_ssr_fck"

[   13.257568] Disabling unused clock "hdq_fck"

[   13.257598] Disabling unused clock "uart2_fck"

[   13.257598] Disabling unused clock "mcbsp_fck"

[   13.257629] Disabling unused clock "mcbsp_fck"

[   13.257629] Disabling unused clock "i2c_fck"

[   13.257659] Disabling unused clock "mspro_fck"

[   13.257659] Disabling unused clock "gpt11_fck"

[   13.257659] Disabling unused clock "gpt10_fck"

[   13.257690] Disabling unused clock "iva2_ck"

[   13.257720] Disabling unused clock "dpll4_m6x2_ck"

[   13.257720] Disabling unused clock "dpll4_m5x2_ck"

[   13.257751] Disabling unused clock "dpll3_m3x2_ck"

[   13.257751] Disabling unused clock "sys_clkout1"

[   13.257781] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1

[   13.296875] Console: switching to colour frame buffer device 100x30

[   13.335571] mmc0: host does not support reading read-only switch. assuming write-enable.

[   13.343750] mmc0: new high speed SDHC card at address 0001

[   13.349670] mmcblk0: mmc0:0001 00000 15986688KiB 

[   13.354705]  mmcblk0: p1

[   13.486114] twl4030_rtc twl4030_rtc: setting system clock to 2011-02-10 16:28:19 UTC (1297355299)

[   13.592498] UBIFS: mounted UBI device 0, volume 0, name "rootfs"

[   13.598632] UBIFS: file system size:   507451392 bytes (495558 KiB, 483 MiB, 3933 LEBs)

[   13.606719] UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)

[   13.614074] UBIFS: media format:       w4/r0 (latest is w4/r0)

[   13.619995] UBIFS: default compressor: lzo

[   13.624114] UBIFS: reserved for root:  0 bytes (0 KiB)

[   13.630767] VFS: Mounted root (ubifs filesystem).

[   13.635681] Freeing init memory: 148K

[   13.968536] mmc1: host does not support reading read-only switch. assuming write-enable.

[   13.976745] mmc1: new high speed SDHC card at address 0002

[   13.982727] mmcblk1: mmc1:0002       8058880KiB 

[   13.987701]  mmcblk1: p1

[   20.851654] ads7846 spi1.0: touchscreen, irq 254

[   20.856933] input: touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input5

[   25.461761] FAT: invalid media value (0xb9)

[   25.466003] VFS: Can't find a valid FAT filesystem on dev mmcblk1.

[   25.556396] FAT: bogus number of reserved sectors

[   25.561157] VFS: Can't find a valid FAT filesystem on dev mmcblk0.

[   25.866973] FAT: invalid media value (0xb9)

[   25.871185] VFS: Can't find a valid FAT filesystem on dev mmcblk1.

[   25.939849] FAT: bogus number of reserved sectors

[   25.944610] VFS: Can't find a valid FAT filesystem on dev mmcblk0.

[   26.355804] mmci-omap mmci-omap.0: MMC IRQ 0x208000 : ERRI DCRC

[   26.356414] mmcblk0: retrying using single block read

[   27.046569] NET: Registered protocol family 10

[   27.408843] UBIFS: mounted UBI device 1, volume 0, name "boot"

[   27.414794] UBIFS: file system size:   8386560 bytes (8190 KiB, 7 MiB, 65 LEBs)

[   27.422180] UBIFS: journal size:       1032193 bytes (1008 KiB, 0 MiB, 6 LEBs)

[   27.429473] UBIFS: media format:       w4/r0 (latest is w4/r0)

[   27.435333] UBIFS: default compressor: lzo

[   27.439483] UBIFS: reserved for root:  396117 bytes (386 KiB)

[   28.280792] dpll1_ck rate: 600000000

[   28.284423] arm_fck  rate: 600000000

[   28.288024] PLL_MPU  rate: 600000000

[   28.351684] input: nub0 as /devices/platform/i2c_omap.3/i2c-adapter/i2c-3/3-0066/input/input6

[   28.586090] input: nub1 as /devices/platform/i2c_omap.3/i2c-adapter/i2c-3/3-0067/input/input7

[   33.802032] Generic kernel compatibility enabled based on linux-next next-20100113

[   34.031127] cfg80211: Calling CRDA to update world regulatory domain

[   34.705566] lib80211: common routines for IEEE802.11 drivers

[   34.711364] lib80211_crypt: registered algorithm 'NULL'

[   34.758392] lib80211_crypt: registered algorithm 'TKIP'

[   34.806030] lib80211_crypt: registered algorithm 'WEP'

[   34.849609] lib80211_crypt: registered algorithm 'CCMP'

[   35.013366] Pandora WiFi: Probe started

[   35.039215] Sending insert event for MMC3...

[   35.043548] Pandora WiFi: Probe done

[   35.094818] mmc2: card claims to support voltages below the defined range. These will be ignored.

[   35.103851] mmc2: SDIO card claims to support the incompletely defined 'low voltage range'. This will be ignored.

[   35.117614] mmc2: new SDIO card at address 0001

[   35.154296] wl1251: using dedicated interrupt line

[   35.467803] phy0: Selected rate control algorithm 'minstrel'

[   35.468688] wl1251: loaded

[   35.471435] wl1251: initialized

[   36.819915] sdio_reset_comm():

[   36.835876] wl1251_sdio mmc2:0001:1: firmware: requesting wl1251-fw.bin

[   37.741912] wl1251: 154 tx blocks at 0x3b788, 35 rx blocks at 0x3a780

[   37.759765] wl1251: firmware booted (Rev 6.0.4.235)

[   37.780883] phy0: device now idle

[   37.892211] ADDRCONF(NETDEV_UP): wlan0: link is not ready

[   53.371490] phy0: device no longer idle - scanning

[   54.043090] phy0: device now idle

[   54.043701] phy0: device no longer idle - scanning

[   54.687561] phy0: device now idle

[   94.614135] phy0: device no longer idle - scanning

[   95.288574] phy0: device now idle

[   95.297546] phy0: device no longer idle - scanning

[   95.298797] wlan0: deauthenticating from cf13d02c by local choice (reason=3)

[   95.385070] wlan0: authenticate with cb1f4f68 (try 1)

[   95.398101] wlan0: authenticated

[   95.398162] phy0: device now idle

[   95.398254] phy0: device no longer idle - working

[   95.398284] wlan0: associate with cd481be8 (try 1)

[   95.405975] wlan0: RX AssocResp from cf13d81a (capab=0x411 status=0 aid=2)

[   95.406005] wlan0: associated

[   95.406036] phy0: Allocated STA cd784de8

[   95.407196] phy0: Inserted STA cd784de8

[   95.438232] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

[   95.453369] phy0: WMM queue=2 aci=0 acm=0 aifs=3 cWmin=15 cWmax=1023 txop=0 uapsd=1

[   95.468536] phy0: WMM queue=3 aci=1 acm=0 aifs=7 cWmin=15 cWmax=1023 txop=0 uapsd=1

[   95.484161] phy0: WMM queue=1 aci=2 acm=0 aifs=2 cWmin=7 cWmax=15 txop=94 uapsd=1

[   95.499786] phy0: WMM queue=0 aci=3 acm=0 aifs=2 cWmin=3 cWmax=7 txop=47 uapsd=1

[  105.577667] wlan0: no IPv6 routers present

[  130.811279] aufs test_add:243:mount[1536]: uid/gid/perm /mnt/pnd/firefox 500/500/0755, 0/0/0777

[  425.354492] mmci-omap mmci-omap.1: MMC IRQ 0x108000 : ERRI DTO

[  425.354614] mmcblk1: error -110 transferring data, sector 1077286, nr 1, card status 0xe00

[  465.368255] mmci-omap mmci-omap.1: MMC IRQ 0x108000 : ERRI DTO

[  465.368377] mmcblk1: error -110 transferring data, sector 1081702, nr 1, card status 0xe00

[  515.406097] mmci-omap mmci-omap.1: MMC IRQ 0x108000 : ERRI DTO

[  515.406219] mmcblk1: error -110 transferring data, sector 1085798, nr 1, card status 0xe00

[  553.812133] usb 1-2: new high speed USB device using ehci-omap and address 2

[  553.979766] usb 1-2: configuration #1 chosen from 1 choice

[  553.994964] scsi0 : SCSI emulation for USB Mass Storage devices

[  554.002563] scsi1 : SCSI emulation for USB Mass Storage devices

[  554.009735] usb 1-2: New USB device found, idVendor=12d1, idProduct=1446

[  554.016540] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=0

[  554.023712] usb 1-2: Product: HUAWEI Mobile

[  554.027923] usb 1-2: Manufacturer: HUAWEI Technology

[  554.032958] usb-storage: device found at 2

[  554.032989] usb-storage: waiting for device to settle before scanning

[  554.033020] usb-storage: device found at 2

[  554.033020] usb-storage: waiting for device to settle before scanning

[  559.033050] scsi 1:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2

[  559.059356] scsi 0:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2

[  559.122406] scsi 0:0:0:0: Attached scsi generic sg0 type 5

[  559.141296] usb-storage: device scan complete

[  559.144958] sd 1:0:0:0: [sda] Attached SCSI removable disk

[  559.150909] sd 1:0:0:0: Attached scsi generic sg1 type 0

[  559.157501] usb-storage: device scan complete

[  559.578216] Driver 'sr' needs updating - please use bus_type methods

[  559.612548] sr0: scsi-1 drive

[  559.615570] Uniform CD-ROM driver Revision: 3.20

[  559.620849] sr 0:0:0:0: Attached scsi CD-ROM sr0

[  559.734375] mmci-omap mmci-omap.0: MMC IRQ 0x208000 : ERRI DCRC

[  559.737274] mmcblk0: retrying using single block read

[  570.457885] mmci-omap mmci-omap.1: MMC IRQ 0x108000 : ERRI DTO

[  570.458007] mmcblk1: error -110 transferring data, sector 1090022, nr 1, card status 0xe00

[  573.274963] ISO 9660 Extensions: Microsoft Joliet Level 1

[  573.275970] ISOFS: changing to secondary root

[  615.439819] mmci-omap mmci-omap.1: MMC IRQ 0x108000 : ERRI DTO

[  615.439910] mmcblk1: error -110 transferring data, sector 1094118, nr 1, card status 0xe00

[  650.341094] wlan0: detected beacon loss from AP - sending probe request

[  650.866729] No probe response from AP ce109ebc after 500ms, try 1

[  651.366821] No probe response from AP ce109ebc after 500ms, try 2

[  651.866821] No probe response from AP ce109ebc after 500ms, try 3

[  652.366821] No probe response from AP ce109ebc after 500ms, try 4

[  652.866760] No probe response from AP ce109ebc after 500ms, disconnecting.

[  652.984130] phy0: Removed STA cd784de8

[  652.984161] phy0: Destroyed STA cd784de8

[  652.984161] phy0: device now idle

[  653.030822] cfg80211: Calling CRDA to update world regulatory domain

[  653.089874] phy0: device no longer idle - scanning

[  653.671752] phy0: device now idle

[  658.681304] phy0: device no longer idle - scanning

[  659.327697] phy0: device now idle

[  664.337585] phy0: device no longer idle - scanning

[  664.921447] phy0: device now idle

[  669.933593] phy0: device no longer idle - scanning

[  670.574951] phy0: device now idle

[  675.587768] phy0: device no longer idle - scanning

[  676.289367] phy0: device now idle

[  681.298431] phy0: device no longer idle - scanning

[  681.909881] phy0: device now idle

[  686.923461] phy0: device no longer idle - scanning

[  687.474792] phy0: device now idle

[  692.485931] phy0: device no longer idle - scanning

[  693.187347] phy0: device now idle

[  743.252929] phy0: device no longer idle - scanning

[  743.804382] phy0: device now idle

[  748.814147] phy0: device no longer idle - scanning

[  749.523040] phy0: device now idle

[  749.531799] phy0: device no longer idle - working

[  749.531860] wlan0: authenticate with cb185168 (try 1)

[  749.554016] wlan0: authenticated

[  749.554077] phy0: device now idle

[  749.554199] phy0: device no longer idle - working

[  749.554290] wlan0: associate with cd481ca8 (try 1)

[  749.578186] wlan0: RX AssocResp from cf18921a (capab=0x411 status=0 aid=1)

[  749.578216] wlan0: associated

[  749.578247] phy0: Allocated STA cb2d05e8

[  749.580505] phy0: Inserted STA cb2d05e8

[ 1400.556182] usb 1-2: usbfs: process 1806 (usb_modeswitch) did not claim interface 0 before use

[ 1400.578491] usb 1-2: USB disconnect, address 2

[ 1400.939971] scsi 0:0:0:0: rejecting I/O to dead device

[ 1405.663696] usb 1-2: new high speed USB device using ehci-omap and address 3

[ 1405.839202] usb 1-2: configuration #1 chosen from 1 choice

[ 1405.867523] usb-storage: probe of 1-2:1.0 failed with error -5

[ 1405.875549] usb-storage: probe of 1-2:1.1 failed with error -5

[ 1405.891174] usb-storage: probe of 1-2:1.2 failed with error -5

[ 1413.717773] scsi5 : SCSI emulation for USB Mass Storage devices

[ 1413.841247] usb-storage: device found at 3

[ 1413.841247] usb-storage: waiting for device to settle before scanning

[ 1421.570098] scsi6 : SCSI emulation for USB Mass Storage devices

[ 1421.610473] scsi 5:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2

[ 1421.685546] usb 1-2: New USB device found, idVendor=12d1, idProduct=1001

[ 1421.692352] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=0

[ 1421.699584] usb 1-2: Product: HUAWEI Mobile

[ 1421.703826] usb 1-2: Manufacturer: HUAWEI Technology

[ 1421.721557] usbcore: registered new interface driver usbserial

[ 1421.727600] usbserial: USB Serial support registered for generic

[ 1421.733856] usbcore: registered new interface driver usbserial_generic

[ 1421.740447] usbserial: USB Serial Driver core

[ 1421.787506] usbserial: USB Serial support registered for GSM modem (1-port)

[ 1421.794677] option 1-2:1.0: GSM modem (1-port) converter detected

[ 1421.801361] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0

[ 1421.808441] option 1-2:1.1: GSM modem (1-port) converter detected

[ 1421.815002] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1

[ 1421.822082] option 1-2:1.2: GSM modem (1-port) converter detected

[ 1421.828491] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2

[ 1421.835418] usbcore: registered new interface driver option

[ 1421.841033] option: USB Driver for GSM modems: v0.7.2

[ 1421.885101] usb-storage: device found at 3

[ 1421.885131] usb-storage: waiting for device to settle before scanning

[ 1421.889526] sr0: scsi-1 drive

[ 1421.893127] sr 5:0:0:0: Attached scsi CD-ROM sr0

[ 1421.893493] sr 5:0:0:0: Attached scsi generic sg0 type 5

[ 1421.902923] usb-storage: device scan complete

[ 1426.895446] scsi 6:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2

[ 1426.959777] sd 6:0:0:0: [sda] Attached SCSI removable disk

[ 1426.965789] sd 6:0:0:0: Attached scsi generic sg1 type 0

[ 1426.997528] usb-storage: device scan complete

[ 1432.196624] ISO 9660 Extensions: Microsoft Joliet Level 1

[ 1432.197753] ISOFS: changing to secondary root

[ 1636.702758] wlan0: detected beacon loss from AP - sending probe request

[ 1636.773345] wl1251: rare event: 00400000

[ 1639.468536] wlan0: detected beacon loss from AP - sending probe request

[ 1639.546661] wl1251: rare event: 00400000

[ 1642.234130] wlan0: detected beacon loss from AP - sending probe request

[ 1642.288696] wl1251: rare event: 00400000

[ 1645.304473] wlan0: detected beacon loss from AP - sending probe request

[ 1645.359008] wl1251: rare event: 00400000

[ 1648.376373] wlan0: detected beacon loss from AP - sending probe request

[ 1648.429351] wl1251: rare event: 00400000

[ 1651.448425] wlan0: detected beacon loss from AP - sending probe request

[ 1651.523254] wl1251: rare event: 00400000

[ 1654.219207] wlan0: detected beacon loss from AP - sending probe request

[ 1654.296661] wl1251: rare event: 00400000

[ 1656.984161] wlan0: detected beacon loss from AP - sending probe request

[ 1657.038696] wl1251: rare event: 00400000
 

milkshake

Advanced Member
Joined
May 18, 2009
Messages
3,735
Age
36
Location
Rotherham, UK
ok i got it to work with some help from here and this topic and the one on the gp32x forum.


better still it makes "enable mobile broadband" appear in connection manager


this is for a huawei e1750 dongle but may work with others with slight alteration


step 1



Code:
sudo opkg update

sudo opkg install modemmanager

sudo opkg install usb-modeswitch-data

sudo opkg install usbmodeswitch


if you get any errors with usbmodeswitch run this command.





Code:
sudo rm /etc/usb_modeswitch.conf

sudo rm /lib/udev/usb_modeswitch


then run





Code:
sudo opkg install usbmodeswitch


again it should install no problem



next





Code:
sudo mousepad /etc/udev/rules.d/usb_modeswitch.rules


enter





Code:
SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/usr/sbin/usb_modeswitch -c /etc/usb_modeswitch.d/12d1:1446"



Code:
SUBSYSTEM=="usb", ATTR{idProduct}=="1446", ATTR{idVendor}=="12d1", RUN+="/usr/sbin/usb_modeswitch -c /etc/usb_modeswitch.d/12d1:1446"


and click file and save



next





Code:
sudo mousepad /etc/usb_modeswitch.conf


add to the bottom





Code:
DefaultVendor=0x12d1

DefaultProduct=0x1446


TargetVendor=0x12d1

TargetProduct=0x1001


MessageContent="55534243000000000000000000000011060000000000000000000000000000"

MessageEndpoint=0x01

CheckSuccess=5


and click file and save and then





Code:
sudo udevadm control --reload-rules

sudo update-modules

after u done all that it when u enter ur huawei e1750 dongle it will auto detect it and will show "enable mobile broadband" tick it then u just need to enter ur network settings :)


this should work for other dongles but the product and vendor id's will be different
 
Last edited by a moderator:

Kaworu

Still Fresh
Joined
Oct 3, 2009
Messages
81
Hello milkshake, i have this Huawei e1750 too, and i made all you have written.


First it seems to work well. I put the stick in, and after a while it gets automatically switched to Modem-mode.


The Networkmanager let me then connect with the profile i defined for it. But after i tried to connect he asked me for a pin.


Till here all is good, but after i gived the right PIN, he was trying to connect, and then aborted without a message.


The option "enable Mobile Broadband" dissapered too, so i have to reboot because nothing can be detected on the USBPort.


There is one thing that was different from what here was written:


"sudo opkg install modemmanager" failed because of existing files or dependencies.


so i used "# sudo opkg install modemmanager --force-overwrite" what ended successfull.


All your commands for Huawei e1750 worked without errors.


Please help me to make this Stick work on my Pandora.


Here is dmesg after fresh reboot and putting the stick in:



Code:
[  192.288452] usb 1-2: new high speed USB device using ehci-omap and address 2

[  192.447631] usb 1-2: configuration #1 chosen from 1 choice

[  192.461486] scsi0 : SCSI emulation for USB Mass Storage devices

[  192.469024] scsi1 : SCSI emulation for USB Mass Storage devices

[  192.476165] usb 1-2: New USB device found, idVendor=12d1, idProduct=1446

[  192.482910] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=0

[  192.490112] usb 1-2: Product: HUAWEI Mobile

[  192.494354] usb 1-2: Manufacturer: HUAWEI Technology

[  192.499389] usb-storage: device found at 2

[  192.503509] usb-storage: waiting for device to settle before scanning

[  192.510040] usb-storage: device found at 2

[  192.514129] usb-storage: waiting for device to settle before scanning

[  192.611145] usb 1-2: usbfs: process 1302 (usb_modeswitch) did not claim interface 0 before use

[  192.621002] usb 1-2: USB disconnect, address 2

[  197.061889] usb 1-2: new high speed USB device using ehci-omap and address 3

[  197.229248] usb 1-2: configuration #1 chosen from 1 choice

[  197.238189] usb-storage: probe of 1-2:1.0 failed with error -5

[  197.245178] usb-storage: probe of 1-2:1.1 failed with error -5

[  197.253784] usb-storage: probe of 1-2:1.2 failed with error -5

[  197.260589] usb-storage: probe of 1-2:1.3 failed with error -5

[  205.077819] scsi6 : SCSI emulation for USB Mass Storage devices

[  205.086456] usb-storage: device found at 3

[  205.090576] usb-storage: waiting for device to settle before scanning

[  212.898193] scsi7 : SCSI emulation for USB Mass Storage devices

[  212.906219] usb 1-2: New USB device found, idVendor=12d1, idProduct=140c

[  212.912963] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=0

[  212.920196] usb 1-2: Product: HUAWEI Mobile

[  212.924438] usb 1-2: Manufacturer: HUAWEI Technology

[  212.930511] usb-storage: device found at 3

[  212.934661] usb-storage: waiting for device to settle before scanning

[  212.941772] scsi 6:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2

[  212.952362] usb-storage: device scan complete

[  214.437805] usbcore: registered new interface driver usbserial

[  214.443756] usbserial: USB Serial support registered for generic

[  214.450073] usbcore: registered new interface driver usbserial_generic

[  214.456665] usbserial: USB Serial Driver core

[  214.585662] usbserial: USB Serial support registered for GSM modem (1-port)

[  214.592803] option 1-2:1.0: GSM modem (1-port) converter detected

[  214.599487] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0

[  214.606567] option 1-2:1.1: GSM modem (1-port) converter detected

[  214.613403] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1

[  214.620544] option 1-2:1.2: GSM modem (1-port) converter detected

[  214.626983] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2

[  214.633880] option 1-2:1.3: GSM modem (1-port) converter detected

[  214.640319] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB3

[  214.647216] usbcore: registered new interface driver option

[  214.652862] option: USB Driver for GSM modems: v0.7.2

[  214.720642] Driver 'sr' needs updating - please use bus_type methods

[  214.867614] sr0: scsi-1 drive

[  214.870605] Uniform CD-ROM driver Revision: 3.20

[  214.875885] sr 6:0:0:0: Attached scsi CD-ROM sr0

[  215.007324] sr 6:0:0:0: Attached scsi generic sg0 type 5

[  217.938537] scsi 7:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2

[  218.032073] sd 7:0:0:0: [sda] Attached SCSI removable disk

[  218.037994] sd 7:0:0:0: Attached scsi generic sg1 type 0

[  218.050140] usb-storage: device scan complete

[  225.901031] ISO 9660 Extensions: Microsoft Joliet Level 1

[  225.907623] ISOFS: changing to secondary root

XXX:~$


How to solve "[ 214.720642] Driver 'sr' needs updating - please use bus_type methods" ???





And here is the bad things happened after i have tried to connect:





Code:
[  373.333892] option: option_instat_callback: error -108

[  373.382690] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0

[  373.390869] option 1-2:1.0: device disconnected

[  377.816955] usb 1-2: USB disconnect, address 3

[  378.405883] option: option_instat_callback: error -108

[  378.411499] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1

[  378.419677] option 1-2:1.1: device disconnected

[  378.424591] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2

[  378.432739] option 1-2:1.2: device disconnected

[  378.437622] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3

[  378.445800] option 1-2:1.3: device disconnected

[  379.423706] sd 7:0:0:0: [sda] READ CAPACITY failed

[  379.428527] sd 7:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00

[  379.434906] sd 7:0:0:0: [sda] Sense not available.

[  379.440032] sd 7:0:0:0: [sda] Write Protect is off

[  379.444885] sd 7:0:0:0: [sda] Mode Sense: 00 00 00 00

[  379.449981] sd 7:0:0:0: [sda] Assuming drive cache: write through

[  379.461181] sd 7:0:0:0: [sda] READ CAPACITY failed

[  379.466003] sd 7:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00

[  379.472351] sd 7:0:0:0: [sda] Sense not available.

[  379.477508] sd 7:0:0:0: [sda] Write Protect is off

[  379.482299] sd 7:0:0:0: [sda] Mode Sense: 00 00 00 00

[  379.487426] sd 7:0:0:0: [sda] Assuming drive cache: write through

[  379.561737] VFS: busy inodes on changed media.

[  379.729644] scsi 7:0:0:0: rejecting I/O to dead device

[  379.835540] usb 1-2: new high speed USB device using ehci-omap and address 4

[  379.851196] scsi 6:0:0:0: rejecting I/O to dead device

[  395.007232] usb 1-2: device descriptor read/64, error -110

[  410.288452] usb 1-2: device descriptor read/64, error -110

[  410.522827] usb 1-2: new high speed USB device using ehci-omap and address 5

[  425.694732] usb 1-2: device descriptor read/64, error -110

[  440.975952] usb 1-2: device descriptor read/64, error -110

[  441.210327] usb 1-2: new high speed USB device using ehci-omap and address 6

[  451.663452] usb 1-2: device not accepting address 6, error -110

[  451.788452] usb 1-2: new high speed USB device using ehci-omap and address 7

[  462.241577] usb 1-2: device not accepting address 7, error -110

[  462.247558] hub 1-0:1.0: unable to enumerate USB device on port 2

XXX:~$

From now on the USB Device isnt detecting anything till reboot.


Can someone help me please?
 

debernardis

Still Fresh
Joined
Oct 2, 2008
Messages
37
But after i tried to connect he asked me for a pin.
Till here all is good, but after i gived the right PIN, he was trying to connect, and then aborted without a message.
Easy and coward solution could be connecting your stick to another machine (maybe a windows machine?) for whom there is a bundled stick management program, run it and set the stick to refrain from asking the pin number.
 

Kaworu

Still Fresh
Joined
Oct 3, 2009
Messages
81
exactly!


It works.. after i googled for many reasons of my problem i tried to deactivate the PIN on Simcard.


And now it works perfectly.


Thanks for the Tutorial!
 

milkshake

Advanced Member
Joined
May 18, 2009
Messages
3,735
Age
36
Location
Rotherham, UK
ah glad to see u got it working :) hope the instructions were easy to follow.
 
Last edited by a moderator:
Top