HP ProBook 5310m – Ubuntu Reference

This messy page is for myself incase I need to reinstall everything again :)

HP Download page

http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c0173883
Get the Gobi2000 firmware drivers from here

WWAN

Current qcserial and gobi_loader doesn’t work for Gobi2000 devices.  Some of the QDL handshakes have changed.  I’ve updated the code and it works…upload it later…

http://www.codon.org.uk/~mjg59/gobi_loader/

Add to qserial.c and rebuild kernel module

{USB_DEVICE(0x03f0, 0x241d)}, /* HP un2420 Gobi QDL Device */
{USB_DEVICE(0x03f0, 0x251d)}, /* HP un2420 Gobi Modem Device */

Add to /etc/udev/rules.d/60-gobi.rules

ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="241d", RUN+="gobi_loader
$env{DEVNAME} /lib/firmware/gobi"

Keyboard Shortcuts

Menu->System->Preferences->Keyboard Shortcuts->Desktop->Launch Calculator->Disable (Backspace)

Sound

Add to /etc/modprobe.d/alsa-base.conf

options snd-hda-intel model=hp-dv5 enable_msi=1

HACK TEMP AREA

qcserial.c

gobi2kloader.c


21 Responses to “HP ProBook 5310m – Ubuntu Reference”
  1. steven says:

    Thank you so much for the correct audio sound configuration! :)

  2. Lynoure Braakman says:

    Uploaded the changed code anywhere?

    I’m dualbooting with Windows 7 and can only see one device id for the Gobi ( 03f0:231d ). Any ideas on how to get Gobi to play nice with dualboot?

  3. Lynoure Braakman says:

    Seems I now, after modprobe hp-wmi also see it as 03f0:241d.
    Still, even with gobi_loader, no luck.

    What would it take to bribe you to write a step by step? You seem to be the only

    Already added IDs to gcserial.c, make, make install, for gobi_loader make and make install as well, updated /etc/udev/rules.d/60-gobi.rules to have03f0:241d in it.

    /lib/udev/gobi_loader /dev/ttyUSB0 /lib/firmware/gobi takes a while and does not complain, yet nothing works with network manager (does not even show tho mobile connection option) and even wvdial cannot see the modem.

    • Lynoure Braakman says:

      oops: you seem to be the only person with actually the same laptop as I have, who has reported getting gobi working on the device.

    • Madox says:

      Will post will post ;) Was just lacking motivation and wanted to rewrite gobi_loader such that its more of a readable code than the ‘magic’ it is now :)

      E-mailed you the current source I have that works.

      For test purposes you could skip qcserial and modifying your udev.

      sudo modprobe usbserial vendor=0x03f0 product=0x241d
      ./gobi2kloader /dev/ttyUSB0 /lib/firmware/gobi/

      Wait a bit…check with lsusb…then…
      sudo modprobe usbserial vendor=0x03f0 product=0x251d
      Might need to restart modem-manager (just kill it)

      Gobi_loader 0.3 will just hang by the way…

    • Madox says:

      Oh just realised where you’re from…:) Huomenta!

      Will gladly take some KarlFazer Nordic Gourmet Lingonberry Milk Parfait hehe

  4. Lynoure Braakman says:

    Oh, seems I also need a UQCN.mbn file in addition to the other two files… I wonder how to find the right one.

    • Madox says:

      In your Windows 7 Install, in your Qualcomm driver directory (find it?) there should be a log file called QDLService2kHP.txt

      In it you should find….
      12/11/2009 06:42:25.592 [00460] QDL sending image file: C:\Program Files\Qualcomm\Images\HP\UMTS\AMSS.mbn
      12/11/2009 06:42:26.472 [00460] Sending image file: C:\Program Files\Qualcomm\Images\HP\UMTS\Apps.mbn
      12/11/2009 06:42:26.792 [00460] Sending image file: C:\Program Files\Qualcomm\Images\HP\0\UQCN.mbn

      Or something similar, copy those 3 referenced files to /lib/firmware/gobi.

      Hope that helps :) (Quick reply?)

  5. Thomas Krüger says:

    Nice pice of Hardware with nice performance and features.

    But the only disadvantage is the single slot for RAM. A upgrade to 4gigs is very expensive.

    I also have problems with audio and the gobi module.

    I have solved the audio problem with the following entry in the alsa-base.conf file:

    options snd-hda-intel model=hp-m4 enable_msi=1

    I have tried allready other settings, but when sound was working the mic won’t and vice versa.

    The gobi problem i haven’t solved yet. I have tried gobi_loader and the qcserial mod but i haven’t got a ttyUSB device.

    Then i have read the post from “http://www.spinics.net/lists/linux-usb/msg25137.html” and was happy that this is no major problem.

    What do you have changed to get this gobi-device working?

    • Madox says:

      Hi Tom,

      I’ve Emailed Lynoure the instructions and she has it working (kind of apparently) now. Give me a couple of days to leave Las Vegas and I’ll post up everything in a how-to :)

      Check back in a couple of days!

  6. gp says:

    Hi,

    Thanks a lot for the tips. Do you have Ethernet working? I’ve installed 9.10, and default sky2 driver does not seem to work at all :-(

    • Thomas Krüger says:

      Hi,

      The sky2 driver is broken in karmic. But when you enable the “karmic-proposed” software-sources you get the newest already working sky2 driver.

      • Madox says:

        Why do you say its broken?

        [ 1.853102] sky2 driver version 1.23
        [ 1.869059] sky2 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
        [ 1.869113] sky2 0000:03:00.0: setting latency timer to 64
        [ 1.869206] sky2 0000:03:00.0: Yukon-2 Extreme chip revision 2
        [ 1.869939] sky2 0000:03:00.0: irq 28 for MSI/MSI-X
        [ 1.870998] sky2 eth0: addr 00:26:22:ab:ff:a5
        [ 4.161445] sky2 eth3: enabling interface

        Seems to be working for me… and I’ve used wired Ethernet…

  7. Andrew Taylor says:

    Hi,

    I’m in the same predicament, I seem to have the newer style Gobi card which isn’t quite working with the process you’ve put together; will check back in a few days.

    Thanks again, much appreciated.

    Andrew
    UK

    • Madox says:

      :) Sorry for the delay… it is holidays and I’ll be flying back to Sydney soon… might post up the ‘hacky’ files in the interim…

      Edit : Uploaded the modified qcserial.c and a gobi2kloader.c
      Wordpress wouldn’t let me upload the udev rules file for some reason… probably won’t let me do the Makefile either… This is only for people who can’t wait anyway…

  8. Andrew Taylor says:

    Thanks for the update, I’ve got a plug in dongle which I’m using for the time being, just would be nice to go dongle free.

  9. Andre Felicio says:

    I greatly appreciate your work with the code. I’m having problems with gobi2kloader after upgrading to kernel 2.6.32. You can operate the gobi2kloader with kernel 2.6.32?

  10. Andre Felicio says:

    Hi,

    I tried this code.
    The code works perfectly for the kernel 2.6.31 but when I boot with the 2.6.32, gobi2kloader not work.
    The code hangs after the first file is loaded. QDL protocol server response received (-1).

    I suspect the problem is the usbcore.

  11.  
Leave a Reply