Say
Page 1 of 12 12311 ... LastLast
Results 1 to 10 of 116
Thread: Cr48//Gobi2000: Use with Other OSes
  1. #1
    Member
    Points: 1,179, Level: 13
    Level completed: 53%, Points required for next Level: 71
    Overall activity: 99.0%
    Achievements:
    Tagger First Class3 months registered1000 Experience Points
    dragonfli is on a distinguished road
    Join Date
    Dec 2010
    Posts
    41
    Points
    1,179
    Level
    13
    Rep Power
    0

    Cr48//Gobi2000: Use with Other OSes

    And I said... "Beam me up, Scotty - and can I get a cup of coffee? And the Internet -- it still doesn't work." -beaming, by reliant K

    Okay, so another update that I'm putting out here to try to get the research flowing onwards.

    First off, to describe the Gobi's operation:

    In order to provide all the capabilities it does from CDMA to HSPA, and provide the vast multi-carrier support that it does, it uses different firmware for different carriers.

    Upon powering on the Gobi2000 after power loss (ie, standby, shutdown, etc), the Gobi enumerates a USB serial device with vendor ID 1410 (Novatel Wireless, Inc) and product ID A014. This is the Gobi2000 QDLoader device.

    A proprietary service and protocol is then used to push the requisite firmware files to the device, which then continues a boot process. The Gobi then enumerates various additional devices with a PID of A010 and various additional flags:
    • Network interface
    • Diagnostics port
    • GPS port (depending on firmware and loading)
    • Additional serial ports for legacy support

    Now, onto the next part: Drivers.
    Any Gobi2000 driverset will work, provided you modify the VID and PID strings properly so that the QDLoader enumerates as a proper serial port and then the other devices enumerate with their proper drivers.

    Firmware loading is our challenge. Linux has the package gobi-loader which I haven't gotten to work (yet). CrOS uses a Qualcomm provided service, which I haven't tested. Someone's written a homemade Windows gobi-loader clone, but it doesn't work (expects different data than this module provides). MacOS is a wildcard, but may work with gobi-loader.

    For reference, on CrOS, the Qualcomm-specific files are in /opt/Qualcomm/. In the Images2k folder is the various firmware - folder 1 is the Verizon software that needs to be pushed to the card.

    Also, if you can dual-boot stock CrOS and Windows 7, a soft reboot WILL KEEP THE GOBI ENUMERATED. That is, it will continue to have the proper devices for proper operation. Howerver, using VZAccess Manager, the Gobi will reset itself upon the loading of the VZAM and upon activation of the modem with Verizon as well - so you'd still have to figure out how to push new software to the modem either way.

  2.    Sponsored Links

    Install the Chrome OS Lounge App!  

  3. #2
    Member
    Points: 2,543, Level: 20
    Level completed: 97%, Points required for next Level: 7
    Overall activity: 0%
    Achievements:
    Tagger First Class1000 Experience Points1 year registered
    Espionage724 is on a distinguished road Espionage724's Avatar
    Join Date
    Jan 2011
    Location
    Charleroi, PA, USA
    Posts
    65
    Points
    2,543
    Level
    20
    Rep Power
    2
    So lets say I just wanted to use the GPS function for like, knowing where my laptop is, or searching for another (owned) GPS device such as a cell phone, or maybe using it with the Sensor and Location feature in Windows 7

    Is any of this possible? And could be free (without me having to pay for a sim card for verizon or something)?

  4. #3
    Junior Member
    Points: 583, Level: 8
    Level completed: 83%, Points required for next Level: 17
    Overall activity: 20.0%
    Achievements:
    Tagger Second Class3 months registered500 Experience Points
    unforgiven512 is on a distinguished road
    Join Date
    Jan 2011
    Posts
    3
    Points
    583
    Level
    8
    Rep Power
    0
    I am curious as well as to how we can get this working.

    Is there anyone out there with some deep hardware knowledge?

    So far, I've recompiled the qcserial driver to recognize the device on Ubuntu. The module gets loaded correctly.

    I've also added the correct device id to /lib/udev/rules.d/60-gobi.rules -- looking in the system monitor after startup, it seems as if gobi_loader is getting "hung up" on n_tty_write.

    Doing some Googling, it seems as if this is/was a regression introduced in the linux kernel 2.6.31+ -- I'm not sure if/when it was actually fixed, though, it has something to do with the way writes are executed over the usbserial driver.

    Perhaps we can reverse engineer Google's method of loading the firmware, and adapt gobi_loader (it's only ~8.5KB of code) to load the firmware "correctly"?

    Also, I attempted doing all of this using the Natty alpha -- it uses kernel 2.6.37 -- no dice.

    Any ideas, anyone?

  5. #4
    Member
    Points: 1,179, Level: 13
    Level completed: 53%, Points required for next Level: 71
    Overall activity: 99.0%
    Achievements:
    Tagger First Class3 months registered1000 Experience Points
    dragonfli is on a distinguished road
    Join Date
    Dec 2010
    Posts
    41
    Points
    1,179
    Level
    13
    Rep Power
    0
    Quote Originally Posted by unforgiven512 View Post
    So far, I've recompiled the qcserial driver to recognize the device on Ubuntu. The module gets loaded correctly.
    Does it spawn a /dev/ttyUSB device?

  6. #5
    Junior Member
    Points: 583, Level: 8
    Level completed: 83%, Points required for next Level: 17
    Overall activity: 20.0%
    Achievements:
    Tagger Second Class3 months registered500 Experience Points
    unforgiven512 is on a distinguished road
    Join Date
    Jan 2011
    Posts
    3
    Points
    583
    Level
    8
    Rep Power
    0
    Yes, it spawns /dev/ttyUSB0 -- I'm trying to load the Verizon Wireless firmware from /lib/firmware/gobi/ and that's where it hangs on 'n_tty_write' =(

    Sent from my HTC Vision using Tapatalk

  7. #6
    Member
    Points: 1,179, Level: 13
    Level completed: 53%, Points required for next Level: 71
    Overall activity: 99.0%
    Achievements:
    Tagger First Class3 months registered1000 Experience Points
    dragonfli is on a distinguished road
    Join Date
    Dec 2010
    Posts
    41
    Points
    1,179
    Level
    13
    Rep Power
    0
    Quote Originally Posted by unforgiven512 View Post
    Yes, it spawns /dev/ttyUSB0 -- I'm trying to load the Verizon Wireless firmware from /lib/firmware/gobi/ and that's where it hangs on 'n_tty_write' =(

    Sent from my HTC Vision using Tapatalk
    Cool. Can you download this tgz: https://docs.google.com/leaf?id=0B5q...N2UxNzhl&hl=en

    Extract it to /opt [so that /opt/Qualcomm exists].

    Go to /opt/Qualcomm/QDLService2k and issue ./QDLService2kNovatel /dev/ttyUSB0. Afterwards check QDLService2kNovatel.txt to see that the firmware loads properly.

    The Cr-48 kernel didn't come with PPP support and I can't get my own qcserial drivers to work, but once that firmware loads you can simply make a PPP connection out to Verizon, number #777, username <Cr-48 number>@vzw3g.com, password vzw.

  8. #7
    Junior Member
    Points: 573, Level: 8
    Level completed: 73%, Points required for next Level: 27
    Overall activity: 20.0%
    Achievements:
    Tagger Second Class3 months registered500 Experience Points
    Nicholas Hockey is on a distinguished road
    Join Date
    Jan 2011
    Posts
    4
    Points
    573
    Level
    8
    Rep Power
    0
    I have successfully loaded the firmware dragonfli wondered about. they load, however a device never spawn from it that can be used, it releases /dev/ttyUSB0 and thats it. anybody got an update on their status?

  9. #8
    Member
    Points: 1,179, Level: 13
    Level completed: 53%, Points required for next Level: 71
    Overall activity: 99.0%
    Achievements:
    Tagger First Class3 months registered1000 Experience Points
    dragonfli is on a distinguished road
    Join Date
    Dec 2010
    Posts
    41
    Points
    1,179
    Level
    13
    Rep Power
    0
    Update: I swear to god I f*cking hate Qualcomm.

    https://docs.google.com/document/d/1...thkey=CMf377oC is the log from a Cr-48 pushing firmware into the Gobi.

    Now, onto the unsuccesses and successes (and a theory):

    Success 1: Any Linux distro running with CrOS kernel
    Because the CrOS kernel has the proper qcserial driver modifications, the Gobi's serial interface is exposed as a /dev/ttyUSB device - enabling you to simply use the stock app to push firmware into the device further exposing the alternate interfaces.

    Unsuccess 1: GobiLoader for Windows 7
    Qualcomm Gobi WWAN Card on Windows 7
    This is expecting a few different messages from the modem than what it's really sending out. By using my log above and the source provided, someone (Not me. I give up trying.) may be able to modify that loader to push firmware on demand.

    PROTIP: The VZ Access Manager will cause the Gobi to reboot, so you'll have to reload the firmware twice - once at startup, and once when you start the VZAM - QUICK.

    If someone else has an alternate, that may work.

    Unsuccess 2: Porting gobi-loader from Linux into Cygwin
    I don't know if it's me, Cygwin, or gobi-loader itself. I modified that to the best of my abilities to no avail, too.

    Theory 1: Loading and soft-rebooting from Linux (untested)
    This is the only thing I've yet to test and seems likely to work, but is the biggest kludge -- boot a USB Linux distro with the CrOS kernel (at least to a shell), initialize the Gobi, and soft-reboot to Windows. From there use an alternate manager to connect to the EvDO connection.

    The downside is as stated - you'll have to spend a couple minutes bringing up the modem - and when you put it in sleep/hibernate, you'll lose the modem altogether!

    I give up on modifying firmware loaders. I give up on the entire adventure. I'll provide my modified drivers for Windows 7 that when used will load the proper drivers, though:
    https://docs.google.com/leaf?id=0B5q...thkey=CNiRjecN

    And a sweet, final note to Qualcomm and Novatel Wireless: Gently caress yourselves for developing such a sh*tty product.

  10. #9
    Member
    Points: 1,179, Level: 13
    Level completed: 53%, Points required for next Level: 71
    Overall activity: 99.0%
    Achievements:
    Tagger First Class3 months registered1000 Experience Points
    dragonfli is on a distinguished road
    Join Date
    Dec 2010
    Posts
    41
    Points
    1,179
    Level
    13
    Rep Power
    0
    I figure this warrants the second post (sorry):


    Thumbnail!

    Yes, that's Windows 7 on a Cr-48. Yes, that's an EvDO session running. Yes, those are the drivers for the device that are posted above.
    No, you can't load the firmware in Windows (yet).

    But...

    Success #2: Any Linux
    I compiled a driver from Chromium source -- QCSerial2k.ko. Oddly in IRC discussions the only reason that driver was ever in place was because it was the "official" driver that they'd get support for the modem with and then went upstream with qcserial instead.

    Anyways, tested with Ubuntu 10.10 stock: https://docs.google.com/leaf?id=0B5q...thkey=CIf-4s4P

    Copy it to /lib/modules/`uname -r`/kernel/drivers/usb/serial/, run a depmod, and then modprobe QCSerial2k. This brings up the firmware downloader interface. You'll also need the firmware files and stock loader from Qualcomm (hint: up a bit in the thread - qc.tar.gz). Extract to /opt (to create the /opt/Qualcomm structure). Issue /opt/Qualcomm/QDLService2k/QDLService2kNovatel /dev/ttyUSB0 and watch in amazement in your dmesg output as ttyUSB0 disappears and then reappears (this time as the modem interface!).

    And onto Success 3 - Windows Kludging
    If you've done all this from a Ubuntu USB flash drive and soft-reboot, you'll notice four unknown devices in Device Manager. Use my drivers provided above (x32 only) and create a new dialup connection - the only info you need is #777.

    (You'll need to have activated the modem, first. Until we can get Windows firmware loading, and thus VZAM support, we can't activate it anywhere but CrOS.)

  11. #10
    Junior Member
    Points: 573, Level: 8
    Level completed: 73%, Points required for next Level: 27
    Overall activity: 20.0%
    Achievements:
    Tagger Second Class3 months registered500 Experience Points
    Nicholas Hockey is on a distinguished road
    Join Date
    Jan 2011
    Posts
    4
    Points
    573
    Level
    8
    Rep Power
    0
    well ive done it. i downloaded the chromium source, made a diff of the qcserial.c vs. 2.6.35.8 kernel (though should work on any) containing the correct id's for the device, then grabbed the /opt/Qualcomm folder from the tar mentioned earlier(Link) after issuing "/opt/Qualcomm/QDLService2k/QDLService2kNovatel /dev/ttyUSB0" i get /dev/ttyUSB0/1/2 which work with the default dialer app in ubuntu 10.10. this is the patch i made, just compile the kernel with this patch applied and all should be AOK. dont use the gobi_loader.

    oh ya, btw http://marc.info/?l=linux-kernel&m=128534473802312&w=2 is why i got three interfaces, one is the gps, one is the mobile broadband and the other is a diagnostics port
    Last edited by Nicholas Hockey; 01-21-2011 at 08:08 PM.

Page 1 of 12 12311 ... LastLast

Similar Threads

  1. Have Cr48 - but can't travel with it :(
    By Ezahtz in forum Introduce Yourself!
    Replies: 7
    Last Post: 02-21-2011, 07:55 AM
  2. Can you get a date with the CR48 ?
    By EL31415 in forum Introduce Yourself!
    Replies: 5
    Last Post: 02-13-2011, 11:21 PM
  3. Whats up cr48
    By dboss75 in forum Introduce Yourself!
    Replies: 1
    Last Post: 02-09-2011, 08:39 AM
  4. Just got my cr48 on Friday.
    By garycy in forum Introduce Yourself!
    Replies: 2
    Last Post: 02-08-2011, 02:25 AM
  5. My Take on the Cr48
    By Zandar in forum News and Reviews
    Replies: 1
    Last Post: 01-06-2011, 03:04 PM

Search tags for this page

/lib/udev/rules.d/60-gobi-loader.rules

,

cr-48 gobi 2000

,

cr-48 gobi ubuntu

,
cr-48 gobi2000 ubuntu 64
,
cr-48 ubuntu gps
,

cr48 gobi windows

,
cr48 ubuntu gps
,

gobi 2000 driver windows 7 cr-48

,
gobi2000 ubuntu verizon
,
gobi2000 verizon ubuntu
,
gobiloader.zip
,

ubuntu gobi2000

,
usb\vid 1410&pid a014
,

verizon 36 on ubuntu cr48

,
windows 8 gobi 2000
Click on a term to search for related topics.

Tags for this Thread

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
Explore
Google imgChrome OS Lounge is the largest Chrome OS forum community, therefore we aim to provide the best collaborative platform for users of all abilities. This means that Chrome OS Lounge is the best place to get help, advice, tutorials, reviews and news relating to Google's Chrome Operating System, Chromium OS and other Google products.
We also have a great Chrome OS wiki, user blogs and a great 'media' section where you can share your videos and photos.
We hope that your stay with us will show you that this is not just 'any other' Chrome OS forum; rather we, hope that you will find this to be a helpful and friendly community!
Stay connected
Powered by vBulletin® Version 4.1.7
Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.
Content Relevant URLs by vBSEO 3.6.0 PL2
Designed by Jay Hafling
and Taiyab Raja