You are not logged in.

#1 2015-07-26 23:23:59

erno
Member
Registered: 2009-08-24
Posts: 83

Huawei e5220 doesn't show up in "ip link"

if i boot arch from an usb stick the modem works fine and is listed in "ip link" as wwp0s19f5u3.

if i boot my fresh arch install it's not there - it's weird since i got it working previously. ifconfig -a doesn't display it either. usb_modeswitch does it's job like it should (device ID is 12d1:1506 and the log file says "driver has bound, device is known). maybe this is caused by reboot cycles or something not happening in the right order?

i will provide any info you might need, just ask. it's a bit cumbersome since i'm on another machine typing this and there's no other way to get a connection apart from the huawei.

Last edited by erno (2015-07-26 23:26:21)

Offline

#2 2015-07-27 05:26:52

erno
Member
Registered: 2009-08-24
Posts: 83

Re: Huawei e5220 doesn't show up in "ip link"

ANY input is very much appreciated. soon i'm going to have to leave and i wouldn't want to leave this hanging since it's my nephews' computer. maybe there's a cache i need to clear or something?

Offline

#3 2015-07-27 05:30:41

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Huawei e5220 doesn't show up in "ip link"

Is the necessary module loaded in the fresh install?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2015-07-27 06:02:21

erno
Member
Registered: 2009-08-24
Posts: 83

Re: Huawei e5220 doesn't show up in "ip link"

yes i think so. lsmod | grep huawei:
cdc_wdm
cdc_ncm
usbnet
usbcore

usb_modeswitch log:

libusb:error [op_clear_halt] clear_halt failed error -1 errno 71
OK, message successfully sent

this is probably still OK as the device id is set correctly?

Offline

#5 2015-07-27 06:12:29

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Huawei e5220 doesn't show up in "ip link"

What does dmesg say when the device is plugged in?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2015-07-27 06:17:39

erno
Member
Registered: 2009-08-24
Posts: 83

Re: Huawei e5220 doesn't show up in "ip link"

unplug
reboot
power on the thing
attach it to usb

dmesg:

[   87.670041] usb 6-3: new high-speed USB device number 4 using ehci-pci
[   88.782762] usb 6-3: USB disconnect, device number 4
[   91.250031] usb 6-3: new high-speed USB device number 5 using ehci-pci
[   93.497254] usb-storage 6-3:1.3: USB Mass Storage device detected
[   93.497539] scsi host6: usb-storage 6-3:1.3
[   93.497761] usbcore: registered new interface driver usb-storage
[   93.509579] usbcore: registered new interface driver uas
[   93.525741] usbcore: registered new interface driver usbserial
[   93.525764] usbcore: registered new interface driver usbserial_generic
[   93.525784] usbserial: USB Serial support registered for generic
[   93.533702] usbcore: registered new interface driver option
[   93.533801] usbserial: USB Serial support registered for GSM modem (1-port)
[   93.533984] option 6-3:1.1: GSM modem (1-port) converter detected
[   93.535106] usb 6-3: GSM modem (1-port) converter now attached to ttyUSB0
[   93.535150] option 6-3:1.2: GSM modem (1-port) converter detected
[   93.535394] usb 6-3: GSM modem (1-port) converter now attached to ttyUSB1
[   93.840986] PPP generic driver version 2.4.2
[   94.501923] scsi 6:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[   94.505555] sr 6:0:0:0: [sr1] scsi-1 drive
[   94.506080] sr 6:0:0:0: Attached scsi CD-ROM sr1
[   94.552314] option 6-3:1.0: GSM modem (1-port) converter detected
[   94.576821] usbcore: registered new interface driver cdc_ncm
[   94.582748] sr 6:0:0:0: [sr1] UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
[   94.582760] sr 6:0:0:0: [sr1] Sense Key : 0x4 [current] 
[   94.582767] sr 6:0:0:0: [sr1] ASC=0x0 ASCQ=0x0 
[   94.582775] sr 6:0:0:0: [sr1] CDB: opcode=0x28 28 00 00 00 ff fe 00 00 02 00
[   94.582781] blk_update_request: I/O error, dev sr1, sector 262136
[   94.585398] usbcore: registered new interface driver cdc_wdm
[   94.589234] usbcore: registered new interface driver huawei_cdc_ncm
[   94.605870] sr 6:0:0:0: [sr1] UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
[   94.605885] sr 6:0:0:0: [sr1] Sense Key : 0x4 [current] 
[   94.605891] sr 6:0:0:0: [sr1] ASC=0x0 ASCQ=0x0 
[   94.605899] sr 6:0:0:0: [sr1] CDB: opcode=0x28 28 00 00 00 ff fe 00 00 02 00
[   94.605906] blk_update_request: I/O error, dev sr1, sector 262136
[   94.605914] Buffer I/O error on dev sr1, logical block 32767, async page read
[   94.672488] sr 6:0:0:0: [sr1] UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
[   94.672497] sr 6:0:0:0: [sr1] Sense Key : 0x4 [current] 
[   94.672501] sr 6:0:0:0: [sr1] ASC=0x0 ASCQ=0x0 
[   94.672505] sr 6:0:0:0: [sr1] CDB: opcode=0x28 28 00 00 00 ff fe 00 00 02 00
[   94.672509] blk_update_request: I/O error, dev sr1, sector 262136
[   94.695860] sr 6:0:0:0: [sr1] UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
[   94.695868] sr 6:0:0:0: [sr1] Sense Key : 0x4 [current] 
[   94.695871] sr 6:0:0:0: [sr1] ASC=0x0 ASCQ=0x0 
[   94.695876] sr 6:0:0:0: [sr1] CDB: opcode=0x28 28 00 00 00 ff fe 00 00 02 00
[   94.695880] blk_update_request: I/O error, dev sr1, sector 262136
[   94.695885] Buffer I/O error on dev sr1, logical block 32767, async page read

Offline

#7 2015-07-27 06:33:38

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Huawei e5220 doesn't show up in "ip link"

It seems to be registering as a CD drive... See https://bbs.archlinux.org/viewtopic.php?id=175443


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2015-07-27 06:46:07

erno
Member
Registered: 2009-08-24
Posts: 83

Re: Huawei e5220 doesn't show up in "ip link"

i don't think so, isn't  the device Id in lsusb correct? 12d1:1506 (modem/networkcard)

Last edited by erno (2015-07-27 06:55:49)

Offline

#9 2015-07-27 11:32:14

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,751
Website

Re: Huawei e5220 doesn't show up in "ip link"

Run this command then plug the stick and post the output:

udevadm monitor

Offline

Board footer

Powered by FluxBB