3G Dongle and UDOObuntu

Discussion in 'General Discussion' started by idoudoo, Jul 30, 2014.

  1. idoudoo

    idoudoo New Member

    Joined:
    Oct 10, 2013
    Messages:
    6
    Likes Received:
    0
    Hi All,
    Has anyone tried using a Huawei USB 3G dongle with UDOObuntu v1.0?
    I'm struggling at the moment to get my dongle working. I looks like usb_modeswitch is not completing, as there is no /dev/ttyUSB entries for the dongle after it has been plugged in.
    The dongle does appear to be supported, as there is an entry for it in the usb_modeswitch config file.
    Cheers,
    Donster
     
  2. idoudoo

    idoudoo New Member

    Joined:
    Oct 10, 2013
    Messages:
    6
    Likes Received:
    0
    The following is the output of lsusb:
    Code:
    ubuntu@udoobuntu: /etc $ lsusb
    ...
    Bus 002 Device 011: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard
    ...
    
    And the following is the syslog when I plug in the 3g dongle:
    Code:
    Jul 30 20:48:08 udoobuntu kernel: [  829.207303] usb 2-1.1: new high speed USB device number 10 using fsl-ehci
    Jul 30 20:48:08 udoobuntu kernel: [  829.399451] scsi6 : usb-storage 2-1.1:1.0
    Jul 30 20:48:08 udoobuntu kernel: [  829.404623] scsi7 : usb-storage 2-1.1:1.1
    Jul 30 20:48:09 udoobuntu kernel: [  830.399059] scsi 6:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
    Jul 30 20:48:09 udoobuntu kernel: [  830.403342] scsi 7:0:0:0: Direct-Access     HUAWEI   TF CARD Storage       PQ: 0 ANSI: 2
    Jul 30 20:48:09 udoobuntu kernel: [  830.459395] sd 7:0:0:0: [sda] Attached SCSI removable disk
    Jul 30 20:48:12 udoobuntu usb_modeswitch: switching device 12d1:1446 on 002/010
    Jul 30 20:48:12 udoobuntu kernel: [  832.809606] usb 2-1.1: USB disconnect, device number 10
    Jul 30 20:48:16 udoobuntu kernel: [  836.886702] usb 2-1.1: new high speed USB device number 11 using fsl-ehci
    Jul 30 20:48:16 udoobuntu kernel: [  837.120520] scsi8 : usb-storage 2-1.1:1.5
    Jul 30 20:48:16 udoobuntu kernel: [  837.139964] scsi9 : usb-storage 2-1.1:1.6
    Jul 30 20:48:17 udoobuntu kernel: [  838.128286] scsi 8:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
    Jul 30 20:48:17 udoobuntu kernel: [  838.155006] scsi 9:0:0:0: Direct-Access     HUAWEI   TF CARD Storage       PQ: 0 ANSI: 2
    Jul 30 20:48:17 udoobuntu usb_modeswitch: switched to 12d1:1506 on 002/010
    Jul 30 20:48:17 udoobuntu kernel: [  838.207896] sd 9:0:0:0: [sda] Attached SCSI removable disk
    Jul 30 20:48:18 udoobuntu usb_modeswitch[4945]: usb_modeswitch: switched to 12d1:1506 on 2/11
    
     
  3. idoudoo

    idoudoo New Member

    Joined:
    Oct 10, 2013
    Messages:
    6
    Likes Received:
    0
    Interesting, I've enabled logging for usb-modeswitch, and can see this error:
    Tail of /var/log/usb_modeswitch.log:
    Code:
    Target device description data
    -------------------------
    Manufacturer: Huawei Technologies
         Product: HUAWEI Mobile
      Serial No.: not provided
    -------------------------
     Found correct target device
    
    Mode switch succeeded. Bye.
    
    ok:12d1:1506
    --------------------------------
    (end of usb_modeswitch output)
    Checking success of mode switch for max. 20 seconds ... Reading attributes ...
    USB dir exists: /sys/bus/usb/devices/2-1.1
    Warning: USB attribute "serial" not readable.
     All attributes matched
    Mode switching was successful, found 12d1:1506 (Huawei Technologies: HUAWEI Mobile)Now checking for bound driver ...
     no driver has bound to interface 0 yet
    Device not in "bind_list" yet, bind it now
     modprobe not foundModule loader is (null)
    Can't do anymore without module loader; get "modtools"!
     driver binding failed
    Checking for AVOID_RESET_QUIRK kernel attribute
     AVOID_RESET_QUIRK activated
    
    All done, exiting
    
     
  4. ekirei

    ekirei Administrator

    Joined:
    Jun 14, 2013
    Messages:
    78
    Likes Received:
    3
    Hi idoudo,
    We've been able to make a usb gsm/hsdpa huawei dongle working. Indeed there wasn't some needed modules compiled in the kernel.

    We've just updated the binaries of the kernel in the download section.

    The easiest way to update the system to the new release v2.1 of the kernel is use the udooupdate you can find here.

    http://www.udoo.org/downloads/#tab4

    use this simple pocedure directly from udoo:

    http://www.udoo.org/update-procedure/
     
  5. idoudoo

    idoudoo New Member

    Joined:
    Oct 10, 2013
    Messages:
    6
    Likes Received:
    0
    Hi ekirei,
    OKay, excellent! I'll try that new kernel this evening when I get home.

    Just out of interest, what kernel modules were missing? After some more experimenting last night, it looked like the kernel was missing the 'option' module, correct?

    Also, is there any details on re-building the kernel? Is the kernel source and compiler hosted somewhere?

    Cheers,
    Don
     
  6. Tomdoo

    Tomdoo New Member

    Joined:
    Aug 13, 2014
    Messages:
    1
    Likes Received:
    0
    Hi Don,

    Which Huawei dongle do you have?

    Was given an E3331 and looking to experiment with udoo.

    Cheers,

    Tom
     
  7. idoudoo

    idoudoo New Member

    Joined:
    Oct 10, 2013
    Messages:
    6
    Likes Received:
    0
    Hi Tom,
    I don't have it to hand, but lsusb shows the following:

    Code:
    ubuntu@udoobuntu: /etc $ lsusb
    ...
    Bus 002 Device 011: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard
    
    If your 3g modem works on an ubuntu workstation, I'd say it'll probably work on the UDOO.
    Although if your 3g modem is a brand new model, you might need to update the usb-modeswitch-data file(s) on your UDOO (see here for more info: http://www.draisberghof.de/usb_modeswitch/#usage)

    BR,
    Don
     

Share This Page