huawei usb dongle not working on tumbleweed

my huawei usb dongle is not working on tumbleweed after latest updates kernel version is 3.11.0-2.g0a1c41f-desktop but the etho via the wireless router works fine
any ideas
regards Ron

A good place to start would be to share with us more information about the device. Plug the device in and observe/capture output from

lsusb
dmesg|tail

If you have ‘usbutils’ installed, you can query attached usb devices with

usb-devices

For example, my in-built 3G broadband modem is reported like this

T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 14 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=03f0 ProdID=1e1d Rev=00.02
S:  Manufacturer=HP
S:  Product=HP hs2300 HSDPA Broadband Wireless Module
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 7 Cls=ff(vend.) Sub=ff Prot=ff Driver=sierra

Is your Huawei usb device reported at all?

yes deano its there ron@desktop:~> lsusb
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
but when I go to install it in network manager it only comes up with the configurator occasionally then the configuration doesnt work
regards Ron
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 12d1:1436 Huawei Technologies Co., Ltd. E173 3G Modem (modem-mode)
Bus 001 Device 004: ID 046d:0809 Logitech, Inc. Webcam Pro 9000
Bus 002 Device 003: ID 174c:2074 ASMedia Technology Inc.
Bus 002 Device 004: ID 2109:2812
Bus 002 Device 005: ID 046d:0a0b Logitech, Inc. ClearChat Pro USB
Bus 002 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 007: ID 046d:c526 Logitech, Inc. Nano Receiver

Please post output between CODE tags, the # in the editor. As you can see this makes output much more readable.

zypper in usbutils

will install the usbutils, if it’s not already installed.
Then post the output of the usb-devices command, copy and paste the part for your modem.

                     T:  Bus=02 Lev=03 Prnt=04 Port=02 Cnt=03 Dev#=  8 Spd=480 MxCh= 0

D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1446 Rev=00.00
S: Manufacturer=HUAWEI Technology
S: Product=HUAWEI Mobile
C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
I: If#= 1 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

thanks for the help guys

IIRC I’ve seen this before and the culprit is in /etc/usb_modeswitch.conf

Disconnect the device¸ edit mentioned file and change

DisableSwitching=0

to

DisableSwitching=1

then reinsert the device, and run usb-devices again. Post output here.

                     T:  Bus=02 Lev=03 Prnt=04 Port=02 Cnt=02 Dev#=  8 Spd=480 MxCh= 0

D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1446 Rev=00.00
S: Manufacturer=HUAWEI Technology
S: Product=HUAWEI Mobile
C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
I: If#= 1 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
it hasnt changed

here is part of dmesg

 	 	 	      2.950596] i915 0000:00:02.0: registered panic notifier
 2.954915] acpi device:5a: registered as cooling_device8
2.954946] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
2.954971] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input5
2.955015] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
3.470876] xor: automatically using best checksumming function:
3.480839]    avx       : 35312.000 MB/sec
3.497861] raid6: sse2x1   11167 MB/s
3.514881] raid6: sse2x2   14031 MB/s
3.531901] raid6: sse2x4   15976 MB/s
3.548920] raid6: avx2x1   21285 MB/s
3.565941] raid6: avx2x2   25078 MB/s
3.582958] raid6: avx2x4   29039 MB/s
3.582959] raid6: using algorithm avx2x4 (29039 MB/s)
3.582960] raid6: using avx2x2 recovery algorithm
3.584465] bio: create slab <bio-1> at 1
3.584563] Btrfs loaded
3.727268] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
3.778564] PM: Marking nosave pages: [mem 0x0009a000-0x000fffff]
3.778566] PM: Marking nosave pages: [mem 0xb7bd3000-0xb7bd9fff]
3.778567] PM: Marking nosave pages: [mem 0xb86c3000-0xb8ae3fff]
3.778576] PM: Marking nosave pages: [mem 0xcc0dd000-0xcc2e4fff]
3.778581] PM: Marking nosave pages: [mem 0xcc325000-0xccffefff]
3.778607] PM: Marking nosave pages: [mem 0xcd000000-0xffffffff]
3.778929] PM: Basic memory bitmaps created
3.841684] PM: Basic memory bitmaps freed
3.841688] video LNXVIDEO:00: Restoring backlight state
3.846484] PM: Starting manual resume from disk
3.846486] PM: Hibernation image partition 8:53 present
3.846487] PM: Looking for hibernation image.
3.846606] PM: Image not found (code -22)
3.846607] PM: Hibernation image not present or could not be loaded.
3.953143] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: acl,user_xattr
4.250345] EXT4-fs (sda2): re-mounted. Opts: acl,user_xattr
4.286935] usb 1-1.1: new high-speed USB device number 4 using ehci-pci
4.373912] usb 1-1.1: New USB device found, idVendor=12d1, idProduct=1446
4.373914] usb 1-1.1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
4.373915] usb 1-1.1: Product: HUAWEI Mobile
4.373916] usb 1-1.1: Manufacturer: HUAWEI Technology
4.952756] systemd[1]: systemd 195 running in system mode. (+PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ; suse)
5.248710] systemd[1]: Inserted module 'autofs4'
5.259128] systemd[1]: Set hostname to <desktop.site>.
6.403734] systemd[1]: Starting Replay Read-Ahead Data...
6.404062] systemd[1]: Starting Collect Read-Ahead Data...
6.404280] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
6.404310] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
6.404319] systemd[1]: Starting Remote File Systems.
6.404341] systemd[1]: Reached target Remote File Systems.
6.404348] systemd[1]: Starting Syslog Socket.
6.404379] systemd[1]: Listening on Syslog Socket.
6.404387] systemd[1]: Starting Delayed Shutdown Socket.
6.404410] systemd[1]: Listening on Delayed Shutdown Socket.
6.404416] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
6.404441] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
6.404474] systemd[1]: Starting udev Kernel Socket.
6.404499] systemd[1]: Listening on udev Kernel Socket.
6.404525] systemd[1]: Starting udev Control Socket.
6.404550] systemd[1]: Listening on udev Control Socket.
6.404556] systemd[1]: Starting Encrypted Volumes.
6.404574] systemd[1]: Reached target Encrypted Volumes.
6.404588] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
6.404655] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
6.404663] systemd[1]: Expecting device dev-disk-by\x2did-ata\x2dST3250312AS_Z2A0K47G\x2dpart1.device...
6.404679] systemd[1]: Expecting device dev-disk-by\x2did-ata\x2dWDC_WD10EARS\x2d003BB1_WD\x2dWCAV5M632512\x2dpart5.device...
6.404694] systemd[1]: Expecting device dev-fedora-swap.device...
6.404708] systemd[1]: Expecting device dev-ubuntu\x2dvg-swap_1.device...
6.404724] systemd[1]: Expecting device dev-disk-by\x2did-ata\x2dST3250312AS_Z2A0K47G\x2dpart3.device...
6.404740] systemd[1]: Starting Journal Socket.
6.404777] systemd[1]: Listening on Journal Socket.
6.404785] systemd[1]: Starting LSB: Set default boot entry if called...
6.404971] systemd[1]: Starting Create dynamic rule for /dev/root link...
6.405181] systemd[1]: Mounting Huge Pages File System...
6.405378] systemd[1]: Mounting POSIX Message Queue File System...
6.405568] systemd[1]: Starting Journal Service...
6.405816] systemd[1]: Started Journal Service.
6.534404] systemd-readahead[350]: Bumped block_nr parameter of 8:0 to 20480. This is a temporary hack and should be removed one day.
7.510342] EXT4-fs (sda2): re-mounted. Opts: acl,user_xattr
7.786933] systemd-udevd[389]: starting version 195
7.863143] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
7.863145] EDD information not available.
8.184347] wmi: Mapper loaded
8.196790] pps_core: LinuxPPS API ver. 1 registered
8.196792] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
8.196923] PTP clock support registered
8.197487] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
8.199941] scsi 0:0:0:0: Attached scsi generic sg0 type 5
8.199987] scsi 1:0:0:0: Attached scsi generic sg1 type 5
8.200014] sd 6:0:0:0: Attached scsi generic sg2 type 0
8.200045] sd 7:0:0:0: Attached scsi generic sg3 type 0
8.200081] sd 8:0:0:0: Attached scsi generic sg4 type 0
8.200106] sd 9:0:0:0: Attached scsi generic sg5 type 0
8.204924] Linux video capture interface: v2.00
8.205232] ACPI Warning: 0x0000000000001828-0x000000000000182f SystemIO conflicts with Region \PMIO 1 (20130517/utaddress-251)
8.205237] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
8.205240] ACPI Warning: 0x0000000000001c30-0x0000000000001c3f SystemIO conflicts with Region \GPRL 1 (20130517/utaddress-251)
8.205243] ACPI Warning: 0x0000000000001c30-0x0000000000001c3f SystemIO conflicts with Region \GPR_ 2 (20130517/utaddress-251)
8.205245] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
8.205246] ACPI Warning: 0x0000000000001c00-0x0000000000001c2f SystemIO conflicts with Region \GPRL 1 (20130517/utaddress-251)
8.205248] ACPI Warning: 0x0000000000001c00-0x0000000000001c2f SystemIO conflicts with Region \GPR_ 2 (20130517/utaddress-251)
8.205251] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
8.205252] lpc_ich: Resource conflict(s) found affecting gpio_ich
8.208724] ACPI Warning: 0x000000000000f040-0x000000000000f05f SystemIO conflicts with Region \_SB_.PCI0.SBUS.SMBI 1 (20130517/utaddress-251)
8.208729] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
8.209668] input: PC Speaker as /devices/platform/pcspkr/input/input6
8.216168] sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
8.216170] cdrom: Uniform CD-ROM driver Revision: 3.20
8.216290] sr 0:0:0:0: Attached scsi CD-ROM sr0
8.220147] sr1: scsi3-mmc drive: 52x/52x writer dvd-ram cd/rw xa/form2 cdda tray
8.220231] sr 1:0:0:0: Attached scsi CD-ROM sr1
8.229754] iTCO_vendor_support: vendor-support=0
8.229870] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.10
8.229891] iTCO_wdt: Found a Lynx Point TCO device (Version=2, TCOBASE=0x1860)
8.229948] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
8.369224] usb-storage 1-1.1:1.0: USB Mass Storage device detected
8.369263] scsi10 : usb-storage 1-1.1:1.0
8.369318] usb-storage 1-1.1:1.1: USB Mass Storage device detected
8.369342] scsi11 : usb-storage 1-1.1:1.1
8.369389] usbcore: registered new interface driver usb-storage
8.455115] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0809)
8.469873] input: UVC Camera (046d:0809) as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0/input/input7
8.469918] usbcore: registered new interface driver uvcvideo
8.469919] USB Video Class driver (1.1.1)
8.577981] dca service started, version 1.12.1
8.597567] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
8.597569] e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
8.597670] e1000e 0000:00:19.0: setting latency timer to 64
8.597713] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
8.597725] e1000e 0000:00:19.0: irq 45 for MSI/MSI-X
8.674548] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.0.3-k
8.674551] igb: Copyright (c) 2007-2013 Intel Corporation.
8.675026] igb 0000:04:00.0: irq 46 for MSI/MSI-X
8.675029] igb 0000:04:00.0: irq 47 for MSI/MSI-X
8.675032] igb 0000:04:00.0: irq 48 for MSI/MSI-X
8.675036] igb 0000:04:00.0: irq 49 for MSI/MSI-X
8.675038] igb 0000:04:00.0: irq 50 for MSI/MSI-X
8.704444] igb 0000:04:00.0: added PHC on eth0
8.704446] igb 0000:04:00.0: Intel(R) Gigabit Ethernet Network Connection
8.704448] igb 0000:04:00.0: eth0: (PCIe:2.5Gb/s:Width x1) bc:5f:f4:bb:f7:28
8.704449] igb 0000:04:00.0: eth0: PBA No: FFFFFF-0FF
8.704450] igb 0000:04:00.0: Using MSI-X interrupts. 2 rx queue(s), 2 tx queue(s)
8.794310] e1000e 0000:00:19.0 eth1: registered PHC clock
8.794323] e1000e 0000:00:19.0 eth1: (PCI Express:2.5GT/s:Width x1) bc:5f:f4:bb:f7:2a
8.794324] e1000e 0000:00:19.0 eth1: Intel(R) PRO/1000 Network Connection
8.794359] e1000e 0000:00:19.0 eth1: MAC: 11, PHY: 12, PBA No: FFFFFF-0FF
8.794573] ALSA hda_i915.c:58 HDA driver get symbol successfully from i915 module
8.794596] snd_hda_intel 0000:00:03.0: irq 51 for MSI/MSI-X
8.794682] snd_hda_intel 0000:00:1b.0: irq 52 for MSI/MSI-X
8.800763] ALSA hda_codec.c:570 hda_codec: invalid CONNECT_LIST verb 5[1]:0
8.800843] ALSA hda_codec.c:570 hda_codec: invalid CONNECT_LIST verb 6[1]:0
8.803271] ALSA hda_auto_parser.c:393 autoconfig: line_outs=1 (0xb/0x0/0x0/0x0/0x0) type:line
8.803274] ALSA hda_auto_parser.c:397    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
8.803276] ALSA hda_auto_parser.c:401    hp_outs=1 (0x10/0x0/0x0/0x0/0x0)
8.803277] ALSA hda_auto_parser.c:402    mono: mono_out=0x0
8.803278] ALSA hda_auto_parser.c:405    dig-out=0xc/0x0
8.803279] ALSA hda_auto_parser.c:406    inputs:
8.803280] ALSA hda_auto_parser.c:410      Mic=0x12
8.803281] ALSA hda_auto_parser.c:410      Line=0x11
8.805293] input: HDA Intel MID HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input8
8.805342] input: HDA Intel MID HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input9
8.805380] input: HDA Intel MID HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input10
8.864697] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input11
8.864780] input: HDA Intel PCH Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card1/input12
8.864838] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card1/input13
8.864897] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input14
9.264655] ALSA mixer.c:899 set resolution quirk: cval->res = 384
9.264835] usbcore: registered new interface driver snd-usb-audio
9.365285] Adding 2103292k swap on /dev/sda1.  Priority:-1 extents:1 across:2103292k FS
9.365746] device-mapper: uevent: version 1.0.3
9.365784] device-mapper: ioctl: 4.25.0-ioctl (2013-06-26) initialised: [email]dm-devel@redhat.com[/email]
9.373828] scsi 10:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
9.375422] scsi 11:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
9.375521] sd 11:0:0:0: Attached scsi generic sg6 type 0
9.378398] sr2: scsi-1 drive
9.378463] sr 10:0:0:0: Attached scsi CD-ROM sr2
9.378512] sr 10:0:0:0: Attached scsi generic sg7 type 5
9.379514] sd 11:0:0:0: [sde] Attached SCSI removable disk

10.166747] bio: create slab <bio-2> at 2
11.446430] Adding 16326652k swap on /dev/mapper/fedora-swap. Priority:-2 extents:1 across:16326652k FS
11.725673] Adding 33210364k swap on /dev/mapper/ubuntu–vg-swap_1. Priority:-3 extents:1 across:33210364k FS
13.467959] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
13.470010] systemd-journald[356]: Received SIGUSR1
14.280067] fuse init (API version 7.22)
14.285404] ip6_tables: (C) 2000-2006 Netfilter Core Team
14.288848] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
14.290099] ip_tables: (C) 2000-2006 Netfilter Core Team
14.624670] Bluetooth: Core ver 2.16
14.624682] NET: Registered protocol family 31
14.624683] Bluetooth: HCI device and connection manager initialized
14.624689] Bluetooth: HCI socket layer initialized
14.624690] Bluetooth: L2CAP socket layer initialized
14.624693] Bluetooth: SCO socket layer initialized
14.626016] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
14.626018] Bluetooth: BNEP filters: protocol multicast
14.626023] Bluetooth: BNEP socket layer initialized
14.754053] e1000e 0000:00:19.0: irq 45 for MSI/MSI-X
14.855231] e1000e 0000:00:19.0: irq 45 for MSI/MSI-X
14.855318] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
15.077785] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

What happens when you give the following command as root

/usr/bin/sg_raw /dev/sr0 11 06 20 00 00 00 00 00 01 00

it does this desktop:~ # /usr/bin/sg_raw /dev/sr0 11 06 20 00 00 00 00 00 01 00
SCSI Status: Check Condition

Sense Information:
Fixed format, current; Sense key: Illegal Request
Additional sense: Invalid command operation code

regards ron

Your dmesg output confirms that the modem is actually in storage-device mode (and so /dev/sr1 present). Usually, usb_modeswitch takes care of putting these devices into the correct (broadband modem) mode, but perhaps there has been a regression of some sort. Knurpht’s advice about disabling switching sometimes help with some 3G hardware that gets incorrectly handles by usb_modeswitch. I’ll have to research this further. Hopefully, someone else may be able to chime in here.

thanks deano

There should already be a rule entry in /lib/udev/rules.d/40-usb_modeswitch.rules that handles the switching. (It’s supplied as part of the ‘usb_modeswitch-data’ package which you should have installed). Maybe there is an issue with useb_modeswitch that needs further investigation…

With your modem device plugged in, can you try switching the device mode manually with the following (as root)

/lib/udev/usb_modeswitch --vendor 0x12d1 --product 0x1446 --type option-zerocd

then confirm that the device product ID has changed with ‘lsusb’ (or ‘usb-devices’ as shown earlier)

lsusb

If it is now in the modem mode, ‘usb-devices’ should now report a different active driver (probably ‘option’), similar to this

T:  Bus=02 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  6 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=12d1 ProdID=14cf Rev=01.02
S:  Manufacturer=Vodafone (Huawei)
S:  Product=Vodafone Mobile Broadband (Huawei)
C:  #Ifs= 5 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=31 Driver=option
I:  If#= 1 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=02 Prot=46 Driver=(none)
I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=33 Driver=option
I:  If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=32 Driver=option
I:  If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

regards ron

well I did some zypper dup it was about 224 packages when I rebooted black screen so I spat the dummy now I am back at 12.3 and my huwaei dongle is working just fine
thanks for the help folks but I dont think tumbleweed is for me
regards Ron

Tumbleweed is certainly not for new users. In my case, I use my favourite distro for work, so currently have openSUSE 12.2 installed. Anyway, thanks for the update. I’m glad you have 3G connectivity back.

well I decided not to give in have been a linux user since 1995 redhat,mandrake,ubuntu and linux mint so I thought I would give tumbleweed another shot so reinstalled today but my usb dongle still doesnt work as a modem but works fine plugged into wireless router

I’m not clear on what you’re hoping for here. Are you wanting to remain with tumbleweed, but still trying to get the Huawei 3G broadband modem working? If so, then review post #15 and report back (step-by-step).