Results 1 to 10 of 23

Thread: Huawei E1820 + Ubuntu 10.04 64-bit

Threaded View

  1. #1
    Join Date
    Nov 2007
    Location
    Finland
    Beans
    13
    Distro
    Ubuntu 9.10 Karmic Koala

    Huawei E1820 + Ubuntu 10.04 64-bit

    Hi!

    So I bought this mobile broadband, and it has been quite difficult to get working. Suddenly it has stopped working completely.

    Here's what I did:

    I put the huawei stick to computer, nothing happened. Ubuntu did not recognize it as a modem (I guess, but I don't know).

    So I googled a bit and then after several suggestions I installed the package "usb-modeswitch" via synaptic. I didn't know actually how to use it, but after several commands and plugging the huawei off and on several times, I got it working. I think it worked after the command
    Code:
    sudo usb_modeswitch -v 12d1 -p 14ac -R
    .

    Everything was fine for a week. Suddenly, after several reboots, it stops working. I try again the command
    Code:
    sudo usb_modeswitch -v 12d1 -p 14ac -R
    , but it doesn't work. When I try to issue an connection via network-manager, the network-manager applets animation does NOT appear, and instantly it gives me "GSM network - disconnected". So it doesn't even try, or something...

    So it seems ubuntu recognizes it as a modem (or I don't know, I'm a noob. ), but somehow it just doesn't work.. I'm really out of ideas...

    Here's lsusb:

    Code:
    Bus 001 Device 004: ID 12d1:14ac Huawei Technologies Co., Ltd.
    And here's lsusb -v:

    Code:
    Bus 001 Device 008: ID 12d1:14ac Huawei Technologies Co., Ltd. 
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               2.00
      bDeviceClass            0 (Defined at Interface level)
      bDeviceSubClass         0 
      bDeviceProtocol         0 
      bMaxPacketSize0        64
      idVendor           0x12d1 Huawei Technologies Co., Ltd.
      idProduct          0x14ac 
      bcdDevice            0.00
      iManufacturer           3 
      iProduct                2 
      iSerial                 0 
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength          161
        bNumInterfaces          6
        bConfigurationValue     1
        iConfiguration          1 
        bmAttributes         0xc0
          Self Powered
        MaxPower              500mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           3
          bInterfaceClass       255 Vendor Specific Class
          bInterfaceSubClass    255 Vendor Specific Subclass
          bInterfaceProtocol    255 Vendor Specific Protocol
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0040  1x 64 bytes
            bInterval               5
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x82  EP 2 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval              32
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x01  EP 1 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval              32
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        1
          bAlternateSetting       0
          bNumEndpoints           3
          bInterfaceClass       255 Vendor Specific Class
          bInterfaceSubClass    255 Vendor Specific Subclass
          bInterfaceProtocol    255 Vendor Specific Protocol
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x83  EP 3 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0040  1x 64 bytes
            bInterval               5
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x84  EP 4 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval              32
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x02  EP 2 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval              32
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        2
          bAlternateSetting       0
          bNumEndpoints           2
          bInterfaceClass       255 Vendor Specific Class
          bInterfaceSubClass    255 Vendor Specific Subclass
          bInterfaceProtocol    255 Vendor Specific Protocol
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x85  EP 5 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval              32
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x03  EP 3 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval              32
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        3
          bAlternateSetting       0
          bNumEndpoints           2
          bInterfaceClass       255 Vendor Specific Class
          bInterfaceSubClass    255 Vendor Specific Subclass
          bInterfaceProtocol    255 Vendor Specific Protocol
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x86  EP 6 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval              32
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x04  EP 4 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval              32
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        4
          bAlternateSetting       0
          bNumEndpoints           2
          bInterfaceClass         8 Mass Storage
          bInterfaceSubClass      6 SCSI
          bInterfaceProtocol     80 Bulk (Zip)
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x87  EP 7 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval               0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x05  EP 5 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval               0
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        5
          bAlternateSetting       0
          bNumEndpoints           2
          bInterfaceClass         8 Mass Storage
          bInterfaceSubClass      6 SCSI
          bInterfaceProtocol     80 Bulk (Zip)
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x06  EP 6 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval               0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x88  EP 8 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval               0
    can't get device qualifier: Operation not permitted
    can't get debug descriptor: Operation not permitted
    cannot read device status, Operation not permitted (1)
    Here's dmesg when plugging in:


    [
    Code:
     3434.940044] usb 1-6: new high speed USB device using ehci_hcd and address 5
    [ 3435.093078] usb 1-6: configuration #1 chosen from 1 choice
    [ 3435.096352] scsi10 : SCSI emulation for USB Mass Storage devices
    [ 3435.096562] usb-storage: device found at 5
    [ 3435.096565] usb-storage: waiting for device to settle before scanning
    [ 3435.096791] scsi11 : SCSI emulation for USB Mass Storage devices
    [ 3435.096987] usb-storage: device found at 5
    [ 3435.096989] usb-storage: waiting for device to settle before scanning
    [ 3435.620110] usb 1-6: USB disconnect, address 5
    [ 3440.120049] usb 1-6: new high speed USB device using ehci_hcd and address 6
    [ 3440.273092] usb 1-6: configuration #1 chosen from 1 choice
    [ 3440.277513] option 1-6:1.0: GSM modem (1-port) converter detected
    [ 3440.277774] usb 1-6: GSM modem (1-port) converter now attached to ttyUSB0
    [ 3440.278070] option 1-6:1.1: GSM modem (1-port) converter detected
    [ 3440.278297] usb 1-6: GSM modem (1-port) converter now attached to ttyUSB1
    [ 3440.278543] option 1-6:1.2: GSM modem (1-port) converter detected
    [ 3440.278737] usb 1-6: GSM modem (1-port) converter now attached to ttyUSB2
    [ 3440.279089] option 1-6:1.3: GSM modem (1-port) converter detected
    [ 3440.279413] usb 1-6: GSM modem (1-port) converter now attached to ttyUSB3
    [ 3440.279846] scsi12 : SCSI emulation for USB Mass Storage devices
    [ 3440.281791] usb-storage: device found at 6
    [ 3440.281794] usb-storage: waiting for device to settle before scanning
    [ 3440.281826] scsi13 : SCSI emulation for USB Mass Storage devices
    [ 3440.282133] usb-storage: device found at 6
    [ 3440.282135] usb-storage: waiting for device to settle before scanning
    [ 3445.284012] usb-storage: device scan complete
    [ 3445.284247] usb-storage: device scan complete
    [ 3445.285744] scsi 13:0:0:0: Direct-Access     HUAWEI   TF CARD Storage       PQ: 0 ANSI: 2
    [ 3445.287172] sd 13:0:0:0: Attached scsi generic sg3 type 0
    [ 3445.287360] scsi 12:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
    [ 3445.293235] sd 13:0:0:0: [sdc] Attached SCSI removable disk
    [ 3445.295723] sr1: scsi-1 drive
    [ 3445.296166] sr 12:0:0:0: Attached scsi CD-ROM sr1
    [ 3445.296389] sr 12:0:0:0: Attached scsi generic sg4 type 5
    [ 3456.316985] ISO 9660 Extensions: Microsoft Joliet Level 1
    [ 3456.318112] ISOFS: changing to secondary root
    Here's dmesg when plugging off:


    Code:
    [ 3552.177035] usb 1-6: USB disconnect, address 6
    [ 3552.177104] option: option_instat_callback: error -108
    [ 3552.177169] option: option_instat_callback: error -108
    [ 3552.177388] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
    [ 3552.177412] option 1-6:1.0: device disconnected
    [ 3552.177561] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
    [ 3552.177582] option 1-6:1.1: device disconnected
    [ 3552.177710] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
    [ 3552.177728] option 1-6:1.2: device disconnected
    [ 3552.177854] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
    [ 3552.177873] option 1-6:1.3: device disconnected
    [ 3552.982624] scsi 12:0:0:0: rejecting I/O to dead device
    Oh, and one more thing. The huawei only blinks green twice in 3 sec, which means that it is just powered on. No blue led is on at any moment. Well, was when it was working...

    If anyone could help me with this, I would appreciate very much! I have a 2-year contract to this mobile broadband, and it would be cool to be actually able to use it. Thank god there's a 1-month term of notice with my old, wired connection..
    Last edited by Smane; May 26th, 2010 at 11:49 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •