Results 1 to 7 of 7

Thread: HP hs2340 HSPA+ MobileBroadband modem with openSUSE 11.4

  1. #1
    Join Date
    Dec 2010
    Location
    South Africa
    Posts
    33

    Question HP hs2340 HSPA+ MobileBroadband modem with openSUSE 11.4

    I would like to know if anybody knows how or had some success with setting up this modem on openSUSE 11.4?

    Here are the specifics:

    OS: openSUSE 11.4 64-bit with latest updates

    Laptop: HP EliteBook 8560p
    Modem: HP hs2340 HSPA+ MobileBroadband

    Output from dmesg:
    Code:
    [    2.575429] usb 1-1.2: New USB device found, idVendor=03f0, idProduct=3a1d
    [    2.575439] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    2.575451] usb 1-1.2: Product: HP hs2340 HSPA+ MobileBroadband
    [    2.575452] usb 1-1.2: Manufacturer: HP
    [    2.575453] usb 1-1.2: SerialNumber: 21B934309B30DA70
    Output from lsusb -vs 001:004 | grep -P '\:|Class|Vendor|Product|Interface|Protocol' (otherwise the post is too long)
    Code:
    Bus 001 Device 004: ID 03f0:3a1d Hewlett-Packard 
    Device Descriptor:
      bDeviceClass            2 Communications
      bDeviceSubClass         0 
      bDeviceProtocol         0 
      idVendor           0x03f0 Hewlett-Packard
      idProduct          0x3a1d 
      iProduct                2 HP hs2340 HSPA+ MobileBroadband
      Configuration Descriptor:
        bNumInterfaces         11
        Interface Descriptor:
          bInterfaceNumber        0
          bInterfaceClass         2 Communications
          bInterfaceSubClass      8 Wireless Handset Control
          bInterfaceProtocol      0 
          iInterface              5 HP hs2340 HSPA+ Mobile Broadband USB Device
          CDC Header:
          CDC WHCM:
          CDC Union:
            bMasterInterface        0
            bSlaveInterface         1 2 3 4 5 6 7 8 9 10 
        Interface Descriptor:
          bInterfaceNumber        1
          bInterfaceClass         2 Communications
          bInterfaceSubClass      2 Abstract (modem)
          bInterfaceProtocol      1 AT-commands (v.25ter)
          iInterface              6 HP hs2340 HSPA+ Mobile Broadband Modem
          CDC Header:
          CDC Union:
            bMasterInterface        1
            bSlaveInterface         2 
          CDC Call Management:
              use DataInterface
            bDataInterface          2
          CDC ACM:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        2
          bInterfaceClass        10 CDC Data
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 
          iInterface              7 HP hs2340 HSPA+ Mobile Broadband Modem
          Endpoint Descriptor:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        3
          bInterfaceClass         2 Communications
          bInterfaceSubClass      2 Abstract (modem)
          bInterfaceProtocol      1 AT-commands (v.25ter)
          iInterface              8 HP hs2340 HSPA+ Mobile Broadband Data Modem
          CDC Header:
          CDC Union:
            bMasterInterface        3
            bSlaveInterface         4 
          CDC Call Management:
              use DataInterface
            bDataInterface          4
          CDC ACM:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        4
          bInterfaceClass        10 CDC Data
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 
          iInterface              9 HP hs2340 HSPA+ Mobile Broadband Data Modem
          Endpoint Descriptor:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        5
          bInterfaceClass         2 Communications
          bInterfaceSubClass      9 Device Management
          bInterfaceProtocol      1 
          iInterface             10 HP hs2340 HSPA+ Mobile Broadband Device Management
          CDC Header:
          CDC Device Management:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        6
          bInterfaceClass         2 Communications
          bInterfaceSubClass     13 
          bInterfaceProtocol      0 
          iInterface             11 HP hs2340 HSPA+ Mobile Broadband Network Adapter
          CDC Header:
          CDC Union:
            bMasterInterface        6
            bSlaveInterface         7 
          CDC Ethernet:
          UNRECOGNIZED CDC:  06 24 1a 00 01 1b
          UNRECOGNIZED CDC:  16 24 16 00 01 0d 2e 23 bb ae c1 88 11 df bc dc d9 c6 df d7 20 85
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        7
          bInterfaceClass        10 CDC Data
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 
          iInterface             14 HP hs2340 HSPA+ Mobile Broadband Network Adapter
        Interface Descriptor:
          bInterfaceNumber        7
          bInterfaceClass        10 CDC Data
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      1 
          iInterface             15 HP hs2340 HSPA+ Mobile Broadband Network Adapter
          Endpoint Descriptor:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        8
          bInterfaceClass         2 Communications
          bInterfaceSubClass      9 Device Management
          bInterfaceProtocol      1 
          iInterface             16 HP hs2340 HSPA+ Mobile Broadband USIM
          CDC Header:
          CDC Device Management:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        9
          bInterfaceClass         2 Communications
          bInterfaceSubClass      2 Abstract (modem)
          bInterfaceProtocol      1 AT-commands (v.25ter)
          iInterface             17 HP hs2340 HSPA+ Mobile Broadband NMEA
          CDC Header:
          CDC Union:
            bMasterInterface        9
            bSlaveInterface         10 
          CDC Call Management:
              use DataInterface
            bDataInterface          10
          CDC ACM:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber       10
          bInterfaceClass        10 CDC Data
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 
          iInterface             18 HP hs2340 HSPA+ Mobile Broadband NMEA
          Endpoint Descriptor:
          Endpoint Descriptor:
      Configuration Descriptor:
        bNumInterfaces          9
        Interface Descriptor:
          bInterfaceNumber        0
          bInterfaceClass         2 Communications
          bInterfaceSubClass      8 Wireless Handset Control
          bInterfaceProtocol      0 
          iInterface              5 HP hs2340 HSPA+ Mobile Broadband USB Device
          CDC Header:
          CDC WHCM:
          CDC Union:
            bMasterInterface        0
            bSlaveInterface         1 2 3 4 5 6 7 8 
        Interface Descriptor:
          bInterfaceNumber        1
          bInterfaceClass         2 Communications
          bInterfaceSubClass      2 Abstract (modem)
          bInterfaceProtocol      1 AT-commands (v.25ter)
          iInterface              6 HP hs2340 HSPA+ Mobile Broadband Modem
          CDC Header:
          CDC Union:
            bMasterInterface        1
            bSlaveInterface         2 
          CDC Call Management:
              use DataInterface
            bDataInterface          2
          CDC ACM:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        2
          bInterfaceClass        10 CDC Data
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 
          iInterface              7 HP hs2340 HSPA+ Mobile Broadband Modem
          Endpoint Descriptor:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        3
          bInterfaceClass         2 Communications
          bInterfaceSubClass      2 Abstract (modem)
          bInterfaceProtocol      1 AT-commands (v.25ter)
          iInterface              8 HP hs2340 HSPA+ Mobile Broadband Data Modem
          CDC Header:
          CDC Union:
            bMasterInterface        3
            bSlaveInterface         4 
          CDC Call Management:
              use DataInterface
            bDataInterface          4
          CDC ACM:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        4
          bInterfaceClass        10 CDC Data
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 
          iInterface              9 HP hs2340 HSPA+ Mobile Broadband Data Modem
          Endpoint Descriptor:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        5
          bInterfaceClass         2 Communications
          bInterfaceSubClass      9 Device Management
          bInterfaceProtocol      1 
          iInterface             10 HP hs2340 HSPA+ Mobile Broadband Device Management
          CDC Header:
          CDC Device Management:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        6
          bInterfaceClass         2 Communications
          bInterfaceSubClass     13 
          bInterfaceProtocol      0 
          iInterface             11 HP hs2340 HSPA+ Mobile Broadband Network Adapter
          CDC Header:
          CDC Union:
            bMasterInterface        6
            bSlaveInterface         7 
          CDC Ethernet:
          UNRECOGNIZED CDC:  06 24 1a 00 01 1b
          UNRECOGNIZED CDC:  16 24 16 00 01 0d 2e 23 bb ae c1 88 11 df bc dc d9 c6 df d7 20 85
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        7
          bInterfaceClass        10 CDC Data
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 
          iInterface             14 HP hs2340 HSPA+ Mobile Broadband Network Adapter
        Interface Descriptor:
          bInterfaceNumber        7
          bInterfaceClass        10 CDC Data
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      1 
          iInterface             15 HP hs2340 HSPA+ Mobile Broadband Network Adapter
          Endpoint Descriptor:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        8
          bInterfaceClass         2 Communications
          bInterfaceSubClass      9 Device Management
          bInterfaceProtocol      1 
          iInterface             16 HP hs2340 HSPA+ Mobile Broadband USIM
          CDC Header:
          CDC Device Management:
          Endpoint Descriptor:
      Configuration Descriptor:
        bNumInterfaces          1
        Interface Descriptor:
          bInterfaceNumber        0
          bInterfaceClass         8 Mass Storage
          bInterfaceSubClass      6 SCSI
          bInterfaceProtocol     80 Bulk (Zip)
          iInterface             21 ST-Ericsson CD-ROM
          Endpoint Descriptor:
          Endpoint Descriptor:
    Device Qualifier (for other device speed):
      bDeviceClass            2 Communications
      bDeviceSubClass         0 
      bDeviceProtocol         0 
    Device Status:     0x0000
    I have tried setting it up as an ordinary modem wit AT commands but this also failed.
    Code:
    BOOTPROTO='none'
    DIALCOMMAND='ATDT'
    DIALPREFIX=''
    DIALPREFIXREGEX=''
    INIT1='AT&F'
    INIT2='ATE1'
    INIT3='AT+CGDCONT=1,"IP","Internet"'
    INIT8='ATM1'
    INIT9='ATX3'
    MODEM_DEVICE='/dev/ttyACM0'
    NAME='HP hs2340 HSPA+ MobileBroadband'
    PPPD_OPTIONS=''
    PROVIDER='provider0'
    SPEED='115200'
    STARTMODE='auto'
    UDI=''
    USERCONTROL='yes'
    Any help or suggestions would be appreciated.
    Thanks in advance.

  2. #2

    Default Re: HP hs2340 HSPA+ MobileBroadband modem with openSUSE 11.4

    Hello

    I had a similar problem with a mobile broadband device. I solved my problem searching hard for internet. Please find below one of my first post in this forum:

    Difficulties in using 3G Orange Broadband Modem Icon 225 with Opensuse 11.3

    Please tell me if you found the right solution.

    Regards

    Fabrizio

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,670
    Blog Entries
    1

    Default Re: HP hs2340 HSPA+ MobileBroadband modem with openSUSE 11.4

    FWIW, I have a HP Compaq 6710b (work laptop), which has a similar hs2300 mobile broadband device.

    Code:
    [    1.595394] usb 3-1: Product: HP Integrated Module
    [    1.953614] usb 4-1: Product: HP hs2300 HSDPA Broadband Wireless Module
    [    1.953616] usb 4-1: Manufacturer: HP
    Code:
    Bus 003 Device 002: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module]
    I'm running openSUSE 11.3, KDE4.6.5 and connect via the network management plasmoid without any issue. I would be surprised if your device wasn't handled similarly. Have you tried configuring via NM?

    Another common approach is to detect hardware modems via 'wvdialconf'. Does 'sudo wvdialconf' detect it ok?

  4. #4
    Join Date
    Dec 2010
    Location
    South Africa
    Posts
    33

    Lightbulb Re: HP hs2340 HSPA+ MobileBroadband modem with openSUSE 11.4

    Thanks for the help so far

    @Fabrizio
    Thanks for the advice but unfortunately it did not work.

    @deano_ferrari
    The problem is that Network Manager sees the modem but you can't do anything with it.
    It only allows you to configure it but doesn't allow you to use it in any way.
    wvdial the same thing.
    I also tried qinternet and the same thing happens.

    Knowing that HP re-brands the hardware ID's to their own I decided to dismantle the laptop and see what's really in there.
    It turned out to be a Ericsson F5521gw WCDMA modem
    http://www.ericsson.com/solutions/mo...1gw-screen.pdf
    http://www.aether.com.tw/download/WW-ME5521-G%20T.pdf
    Nice modem, but only if it works.

    Found this bit of info though
    Bug#631278: modemmanager: /lib/udev/rules.d/77-mm-ericsson-mbm.rules needs update for HP hs2340 HSPA+ MobileBroadband, help, FAQ, forums, question, answer, advice, opinion and howto for Windows, Linux and Mac OS X
    Code:
    #HP hs2340 HSPA+ MobileBroadband
    #03f0:3a1d Hewlett-Packard
    ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3a1d",ENV{ID_MM_ERICSSON_MBM}="1
    By adding that to the /lib/udev/rules.d/77-mm-ericsson-mbm.rules it at least now loads the correct modules but it still fails to connect.

    Upon further inspection it seems that there is something funny about the way it reads and responds to the AT commands.
    I also noticed that the module is only fully supported in a later version of the kernel.
    SourceForge.net: MBM - mbm

    Since my kernel is 2.6.37 I will require a kernel that is outside of the standard openSUSE 11.4 OSS repository.

    Going to try that now. Will let you know if I ruined my OS or not. Hopefully the latter.
    Considering all of this and the other hardware problems it might also be worth considering moving to Tumbleweed.

  5. #5
    Join Date
    Dec 2010
    Location
    South Africa
    Posts
    33

    Default Re: HP hs2340 HSPA+ MobileBroadband modem with openSUSE 11.4

    Ok, it's been a long time since there were any replies or updates to this thread but I finally managed ta make it work, sort of.

    I reinstalled my system and then upgraded to Tumbleweed.
    What a world of difference that made. Most of my hardware problems went out the window.

    Ok so here is the breakdown:
    Code:
    uname -a
    Linux host.domain.local 3.0.1-40-desktop #1 SMP PREEMPT Fri Aug 5 20:05:41 UTC 2011 (191d3db) x86_64 x86_64 x86_64 GNU/Linux
    Code:
    lsusb -vs 001:004 | grep -P '\:|Class|Vendor|Product|Interface|Protocol' 
    Bus 001 Device 004: ID 03f0:3a1d Hewlett-Packard 
    Device Descriptor:
      bDeviceClass            2 Communications
      bDeviceSubClass         0 
      bDeviceProtocol         0 
      idVendor           0x03f0 Hewlett-Packard
      idProduct          0x3a1d 
      iProduct                2 HP hs2340 HSPA+ MobileBroadband
      Configuration Descriptor:
        bNumInterfaces         11
        Interface Descriptor:
          bInterfaceNumber        0
          bInterfaceClass         2 Communications
          bInterfaceSubClass      8 Wireless Handset Control
          bInterfaceProtocol      0 
          iInterface              5 HP hs2340 HSPA+ Mobile Broadband USB Device
          CDC Header:
          CDC WHCM:
          CDC Union:
            bMasterInterface        0
            bSlaveInterface         1 2 3 4 5 6 7 8 9 10 
        Interface Descriptor:
          bInterfaceNumber        1
          bInterfaceClass         2 Communications
          bInterfaceSubClass      2 Abstract (modem)
          bInterfaceProtocol      1 AT-commands (v.25ter)
          iInterface              6 HP hs2340 HSPA+ Mobile Broadband Modem
          CDC Header:
          CDC Union:
            bMasterInterface        1
            bSlaveInterface         2 
          CDC Call Management:
              use DataInterface
            bDataInterface          2
          CDC ACM:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        2
          bInterfaceClass        10 CDC Data
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 
          iInterface              7 HP hs2340 HSPA+ Mobile Broadband Modem
          Endpoint Descriptor:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        3
          bInterfaceClass         2 Communications
          bInterfaceSubClass      2 Abstract (modem)
          bInterfaceProtocol      1 AT-commands (v.25ter)
          iInterface              8 HP hs2340 HSPA+ Mobile Broadband Data Modem
          CDC Header:
          CDC Union:
            bMasterInterface        3
            bSlaveInterface         4 
          CDC Call Management:
              use DataInterface
            bDataInterface          4
          CDC ACM:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        4
          bInterfaceClass        10 CDC Data
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 
          iInterface              9 HP hs2340 HSPA+ Mobile Broadband Data Modem
          Endpoint Descriptor:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        5
          bInterfaceClass         2 Communications
          bInterfaceSubClass      9 Device Management
          bInterfaceProtocol      1 
          iInterface             10 HP hs2340 HSPA+ Mobile Broadband Device Management
          CDC Header:
          CDC Device Management:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        6
          bInterfaceClass         2 Communications
          bInterfaceSubClass     13 
          bInterfaceProtocol      0 
          iInterface             11 HP hs2340 HSPA+ Mobile Broadband Network Adapter
          CDC Header:
          CDC Union:
            bMasterInterface        6
            bSlaveInterface         7 
          CDC Ethernet:
          UNRECOGNIZED CDC:  06 24 1a 00 01 1b
          UNRECOGNIZED CDC:  16 24 16 00 01 0d 2e 23 bb ae c1 88 11 df bc dc d9 c6 df d7 20 85
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        7
          bInterfaceClass        10 CDC Data
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 
          iInterface             14 HP hs2340 HSPA+ Mobile Broadband Network Adapter
        Interface Descriptor:
          bInterfaceNumber        7
          bInterfaceClass        10 CDC Data
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      1 
          iInterface             15 HP hs2340 HSPA+ Mobile Broadband Network Adapter
          Endpoint Descriptor:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        8
          bInterfaceClass         2 Communications
          bInterfaceSubClass      9 Device Management
          bInterfaceProtocol      1 
          iInterface             16 HP hs2340 HSPA+ Mobile Broadband USIM
          CDC Header:
          CDC Device Management:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        9
          bInterfaceClass         2 Communications
          bInterfaceSubClass      2 Abstract (modem)
          bInterfaceProtocol      1 AT-commands (v.25ter)
          iInterface             17 HP hs2340 HSPA+ Mobile Broadband NMEA
          CDC Header:
          CDC Union:
            bMasterInterface        9
            bSlaveInterface         10 
          CDC Call Management:
              use DataInterface
            bDataInterface          10
          CDC ACM:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber       10
          bInterfaceClass        10 CDC Data
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 
          iInterface             18 HP hs2340 HSPA+ Mobile Broadband NMEA
          Endpoint Descriptor:
          Endpoint Descriptor:
      Configuration Descriptor:
        bNumInterfaces          9
        Interface Descriptor:
          bInterfaceNumber        0
          bInterfaceClass         2 Communications
          bInterfaceSubClass      8 Wireless Handset Control
          bInterfaceProtocol      0 
          iInterface              5 HP hs2340 HSPA+ Mobile Broadband USB Device
          CDC Header:
          CDC WHCM:
          CDC Union:
            bMasterInterface        0
            bSlaveInterface         1 2 3 4 5 6 7 8 
        Interface Descriptor:
          bInterfaceNumber        1
          bInterfaceClass         2 Communications
          bInterfaceSubClass      2 Abstract (modem)
          bInterfaceProtocol      1 AT-commands (v.25ter)
          iInterface              6 HP hs2340 HSPA+ Mobile Broadband Modem
          CDC Header:
          CDC Union:
            bMasterInterface        1
            bSlaveInterface         2 
          CDC Call Management:
              use DataInterface
            bDataInterface          2
          CDC ACM:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        2
          bInterfaceClass        10 CDC Data
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 
          iInterface              7 HP hs2340 HSPA+ Mobile Broadband Modem
          Endpoint Descriptor:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        3
          bInterfaceClass         2 Communications
          bInterfaceSubClass      2 Abstract (modem)
          bInterfaceProtocol      1 AT-commands (v.25ter)
          iInterface              8 HP hs2340 HSPA+ Mobile Broadband Data Modem
          CDC Header:
          CDC Union:
            bMasterInterface        3
            bSlaveInterface         4 
          CDC Call Management:
              use DataInterface
            bDataInterface          4
          CDC ACM:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        4
          bInterfaceClass        10 CDC Data
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 
          iInterface              9 HP hs2340 HSPA+ Mobile Broadband Data Modem
          Endpoint Descriptor:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        5
          bInterfaceClass         2 Communications
          bInterfaceSubClass      9 Device Management
          bInterfaceProtocol      1 
          iInterface             10 HP hs2340 HSPA+ Mobile Broadband Device Management
          CDC Header:
          CDC Device Management:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        6
          bInterfaceClass         2 Communications
          bInterfaceSubClass     13 
          bInterfaceProtocol      0 
          iInterface             11 HP hs2340 HSPA+ Mobile Broadband Network Adapter
          CDC Header:
          CDC Union:
            bMasterInterface        6
            bSlaveInterface         7 
          CDC Ethernet:
          UNRECOGNIZED CDC:  06 24 1a 00 01 1b
          UNRECOGNIZED CDC:  16 24 16 00 01 0d 2e 23 bb ae c1 88 11 df bc dc d9 c6 df d7 20 85
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        7
          bInterfaceClass        10 CDC Data
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 
          iInterface             14 HP hs2340 HSPA+ Mobile Broadband Network Adapter
        Interface Descriptor:
          bInterfaceNumber        7
          bInterfaceClass        10 CDC Data
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      1 
          iInterface             15 HP hs2340 HSPA+ Mobile Broadband Network Adapter
          Endpoint Descriptor:
          Endpoint Descriptor:
        Interface Descriptor:
          bInterfaceNumber        8
          bInterfaceClass         2 Communications
          bInterfaceSubClass      9 Device Management
          bInterfaceProtocol      1 
          iInterface             16 HP hs2340 HSPA+ Mobile Broadband USIM
          CDC Header:
          CDC Device Management:
          Endpoint Descriptor:
      Configuration Descriptor:
        bNumInterfaces          1
        Interface Descriptor:
          bInterfaceNumber        0
          bInterfaceClass         8 Mass Storage
          bInterfaceSubClass      6 SCSI
          bInterfaceProtocol     80 Bulk (Zip)
          iInterface             21 ST-Ericsson CD-ROM
          Endpoint Descriptor:
          Endpoint Descriptor:
    Device Qualifier (for other device speed):
      bDeviceClass            2 Communications
      bDeviceSubClass         0 
      bDeviceProtocol         0 
    Device Status:     0x0000
    Code:
    dmesg | grep ACM
    [    9.967614] cdc_acm 1-1.2:1.1: ttyACM0: USB ACM device
    [    9.968151] cdc_acm 1-1.2:1.3: ttyACM1: USB ACM device
    [    9.975237] cdc_acm 1-1.2:1.9: ttyACM2: USB ACM device
    Code:
    grep "`date +'%b %e '`" /var/log/messages | grep 'ACM'
    Aug 16 09:54:34 host modem-manager: (ttyACM0) opening serial device...
    Aug 16 09:54:34 host modem-manager: (ttyACM0): probe requested by plugin 'Generic'
    Aug 16 09:54:34 host modem-manager: (ttyACM1) opening serial device...
    Aug 16 09:54:34 host modem-manager: (ttyACM1): probe requested by plugin 'Generic'
    Aug 16 09:54:34 host modem-manager: (ttyACM2) opening serial device...
    Aug 16 09:54:34 host modem-manager: (ttyACM2): probe requested by plugin 'Generic'
    Aug 16 09:54:37 host modem-manager: (ttyACM0) closing serial device...
    Aug 16 09:54:37 host modem-manager: (ttyACM1) closing serial device...
    Aug 16 09:54:37 host modem-manager: (ttyACM2) closing serial device...
    Aug 16 09:54:37 host modem-manager: (ttyACM0) opening serial device...
    Aug 16 09:54:37 host modem-manager: (Generic): GSM modem /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2 claimed port ttyACM0
    Aug 16 09:54:37 host modem-manager: (tty/ttyACM0): outstanding support task prevents export of /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2
    Aug 16 09:54:37 host modem-manager: (tty/ttyACM1): outstanding support task prevents export of /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2
    Aug 16 09:54:37 host modem-manager: (Generic): GSM modem /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2 claimed port ttyACM1
    Aug 16 09:54:37 host modem-manager: (tty/ttyACM2): outstanding support task prevents export of /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2
    Aug 16 09:54:37 host modem-manager: (Generic): GSM modem /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2 claimed port ttyACM2
    Aug 16 09:54:44 host modem-manager: (ttyACM0) closing serial device...
    Aug 16 09:54:44 host modem-manager: (/org/freedesktop/ModemManager/Modems/0): data port is ttyACM0
    Aug 16 12:29:47 host modem-manager: (ttyACM0) opening serial device...
    Aug 16 12:29:47 host modem-manager: (ttyACM1) opening serial device...
    Aug 16 12:31:23 host modem-manager: (ttyACM1) closing serial device...
    Aug 16 12:31:23 host modem-manager: (ttyACM0) closing serial device...
    Aug 16 13:01:26 host pppd[18439]: Connect: ppp0 <--> /dev/ttyACM0
    With this in the 77-mm-ericsson-mbm.rules (not sure if it is needed)
    Code:
    # HP hs2340 HSPA+ MobileBroadband
    # 03f0:3a1d Hewlett-Packard
    ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3a1d",ENV{ID_MM_ERICSSON_MBM}="1
    Then follow this guide
    https://wiki.ubuntu.com/NetworkManag...are/3G/Probing

    It worked, I connected and everything except for resolv.conf was fine.
    Hardware working 100%

    Now the only thing that remains is to get it to work through NetworkManager.

  6. #6
    Join Date
    Dec 2010
    Location
    South Africa
    Posts
    33

    Default Re: HP hs2340 HSPA+ MobileBroadband modem with openSUSE 11.4

    Ok, NetworkManager seems to work. More testing needed.

    After your hardware is working make sure you have
    mobile-broadband-provider-info
    installed.

    How to get it to work in NetworkManager:

    • Delete all of the existing Mobile Broadband connections.
    • Add a new Mobile Broadband connection
    • Select built-in or HP hs2340 HSPA+
    • Select your Country
    • Select your Provider
    • Select your APN


    That should do it.

    Run ifconfig, route and cat /etc/resolv.conf and everything should be updated.

    The downside to it is that I cannot find an easy way to disable WWAN like the wireless.

    The NetworkManager.state file seems to hint at the possibility of this though.

    Code:
    cat /var/lib/NetworkManager/NetworkManager.state
    
    [main]
    NetworkingEnabled=true
    WirelessEnabled=false
    WWANEnabled=true

  7. #7
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,670
    Blog Entries
    1

    Default Re: HP hs2340 HSPA+ MobileBroadband modem with openSUSE 11.4

    The downside to it is that I cannot find an easy way to disable WWAN like the wireless.

    The NetworkManager.state file seems to hint at the possibility of this though.
    Use rfkill to do that. It should be installed already, but if not

    Code:
    zypper in rfkill
    To list your wireless interfaces (from a root console)

    Code:
    rfkill list
    You'll see whether 'hp-wwan' is soft-blocked for example. (If it's hard-blocked then there will probably be a switch to turn on).

    To enable interface '2' for example

    Code:
    rfkill unblock 2
    To enable all

    Code:
    rfkill unblock all
    That should be all there is to it
    Last edited by deano_ferrari; 16-Aug-2011 at 12:56.

Tags for this Thread

Posting Permissions

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