Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ThinkPad 510 and Qualcomm Gobi 2000 3G modem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
binro
Guru
Guru


Joined: 06 May 2005
Posts: 485
Location: Bangkok, Thailand

PostPosted: Sat Mar 24, 2012 11:48 am    Post subject: ThinkPad 510 and Qualcomm Gobi 2000 3G modem Reply with quote

I am trying to get the above modem going on my T510. I have been following http://www.thinkwiki.org/wiki/Qualcomm_Gobi_2000 and installed the gobi loader which is in Portage. I copied over some firmware files from the Windows partition and tried:
Code:

gobi_loader /dev/ttyUSB0 /lib/firmware/gobi/

but the command just hangs. The qcserial module is loaded and /dev/ttyUSB0 is present. One complication might be that I bought the TP in the UK and the modem comes preconfigured for Vodafone, whatever that means. Anybody had any success with this?

TIA
_________________
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 30005
Location: 56N 3W

PostPosted: Sat Mar 24, 2012 3:05 pm    Post subject: Reply with quote

binro,

Lets start at the very beginning, pust the lsusb ouput that shows your 3G dongle. I have one of these
Code:
Bus 002 Device 004: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E230/E270/E870 HSDPA/HSUPA Modem
dongles.
Its also locked to Vodafone and is provided with a vodafone SIM card.

It works fine in Linux but I can't get at the status and other data that appears on /dev/ttyUSB1
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
binro
Guru
Guru


Joined: 06 May 2005
Posts: 485
Location: Bangkok, Thailand

PostPosted: Sun Mar 25, 2012 11:03 am    Post subject: Reply with quote

The usb info is:

    Bus 002 Device 003: ID 05c6:9204 Qualcomm, Inc.

which is the firmware loader device. After loading, apparently this changes to 05c6:9205. The modem is not a dongle but build into the box. I also inserted a sim card justin case that was necesary.
_________________
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 30005
Location: 56N 3W

PostPosted: Sun Mar 25, 2012 6:03 pm    Post subject: Reply with quote

binro,

The SIM card is essential, it needs to be a Vodafone SIM too, if the device is locked to Vodafone. Further, it needs to a SIM that permits use for data.
i.e. Random Vodafone SIM from old mobile phone won't do. You may want to check with Vodafone if the SIM you are trying to use will work.
It will be making data calls.

The mechanical attachment to your system doesn't affect the way it works. The PC builders have saved the cost of a pair of USB connectors by building the device onto the motherboard.

You need CONFIG_USB_SERIAL_QUALCOMM in your kernel as a module and the firmware in /lib/firmware.

When your device is discovered, the kernel will load qcserial, which should in turn, load the firmware. Check dmesg. Some devices want their firmware in /lib/firmware/...
Its the firmware that locks your device to a specific carrier. The UMTS firmware looks a good bet if your carrier/country is not listed.

Once you have your /dev/ttyUSBx you can talk to it with minicom and the AT commands and use wvdial to get a PPP session running. That needs PPP support in your kernel.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
binro
Guru
Guru


Joined: 06 May 2005
Posts: 485
Location: Bangkok, Thailand

PostPosted: Mon Mar 26, 2012 6:32 am    Post subject: Reply with quote

Not convinced about the sim card. I tried this on Windows first with a random sim I had lying around and the firmware loaded and the network manager thing tried to contact the network (which failed , of course).

Other points:
1. qcserial is loaded and /dev/ttyUSB0 exists
2. there is firmware in /lib/firmware/gobi
3. there are udev rules to start the firmware load
4. the load never completes and gets timed-out
5. UMTS firmware causes the loader to complain of a missing file

So I am stuck what to do next.
_________________
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1401
Location: Oranienburg/Germany

PostPosted: Mon Mar 26, 2012 8:09 am    Post subject: Reply with quote

binro wrote:

5. UMTS firmware causes the loader to complain of a missing file


Full error please.

bb
_________________
1st: C2D 3GHz, 8GB, 2.25TB, HD4850
2nd: Celeron 2.6GHz, 2GB, 500GB, HD4350
3rd: TP X220, 2,5GHz, 8GB, 320GB, HD3000
4th: Athlon X2 BE-2300, 4GB, 64GB SSD + 3TB RAID5 GF7025
5th: Samung N350, 2GB, 250GB, HD3150
6th: Rasperry Pi, 512MB, 32GB SD
Back to top
View user's profile Send private message
binro
Guru
Guru


Joined: 06 May 2005
Posts: 485
Location: Bangkok, Thailand

PostPosted: Mon Mar 26, 2012 8:33 am    Post subject: Reply with quote

bbgermany wrote:
binro wrote:

5. UMTS firmware causes the loader to complain of a missing file


Full error please.

As soon as I get home, but the message was more or less literally (unspecified) "file not found.".
_________________
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
Back to top
View user's profile Send private message
binro
Guru
Guru


Joined: 06 May 2005
Posts: 485
Location: Bangkok, Thailand

PostPosted: Mon Mar 26, 2012 3:02 pm    Post subject: Reply with quote

The actual message is:

    Failed to open tertiary firmware: : No such file or directory

The UMTS directory only contains two files: amss.mbn, apps.mbn.
_________________
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1401
Location: Oranienburg/Germany

PostPosted: Tue Mar 27, 2012 7:33 am    Post subject: Reply with quote

You are missing the provider specific firmwarefile UQCN.mbn. You can copy it from your windows installation, if you have one (C:\Program Files (x86)\QUALCOMM\Images\Lenovo\).

depending on your provider, you will have a directory from 0 to 9 with the needed files in there.

bb
_________________
1st: C2D 3GHz, 8GB, 2.25TB, HD4850
2nd: Celeron 2.6GHz, 2GB, 500GB, HD4350
3rd: TP X220, 2,5GHz, 8GB, 320GB, HD3000
4th: Athlon X2 BE-2300, 4GB, 64GB SSD + 3TB RAID5 GF7025
5th: Samung N350, 2GB, 250GB, HD3150
6th: Rasperry Pi, 512MB, 32GB SD
Back to top
View user's profile Send private message
binro
Guru
Guru


Joined: 06 May 2005
Posts: 485
Location: Bangkok, Thailand

PostPosted: Tue Mar 27, 2012 8:33 am    Post subject: Reply with quote

bbgermany wrote:
You are missing the provider specific firmwarefile UQCN.mbn. You can copy it from your windows installation, if you have one (C:\Program Files (x86)\QUALCOMM\Images\Lenovo\).

depending on your provider, you will have a directory from 0 to 9 with the needed files in there.

bb

I did that already. The point is, directory UMTS only has two files in it. I read that this was a generic entry to use if your provider was not listed. But it seems you must have a UQCN.mbn files from somewhere?

Anyway, it's all a bit moot for me, since the loader just hangs if I use a directory with three files.
_________________
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1401
Location: Oranienburg/Germany

PostPosted: Tue Mar 27, 2012 12:35 pm    Post subject: Reply with quote

Have you ever used the card in windows. I have an Thinkpad X220 and i know, that the card needs to be activated once. There is a special tool installed in windows called "Mobile Broadband Activation" iirc.

If you have a locked card, you must need a card of the provider or try to unlock the card with 3rd party tools.

bb
_________________
1st: C2D 3GHz, 8GB, 2.25TB, HD4850
2nd: Celeron 2.6GHz, 2GB, 500GB, HD4350
3rd: TP X220, 2,5GHz, 8GB, 320GB, HD3000
4th: Athlon X2 BE-2300, 4GB, 64GB SSD + 3TB RAID5 GF7025
5th: Samung N350, 2GB, 250GB, HD3150
6th: Rasperry Pi, 512MB, 32GB SD
Back to top
View user's profile Send private message
binro
Guru
Guru


Joined: 06 May 2005
Posts: 485
Location: Bangkok, Thailand

PostPosted: Tue Mar 27, 2012 1:22 pm    Post subject: Reply with quote

I tried it in Windows and it loaded the firmware and then tried to connect, even without a Vodafone sim. But on Linux it won't even let me load the Vodafone firmware, it just hangs.
_________________
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2497
Location: Hinter den Materiequellen

PostPosted: Tue Mar 27, 2012 11:07 pm    Post subject: Reply with quote

Have you tried the generic (i. e. non-telco-specific) firmware? (subfolder '6' in the windows installation directory iirc)
This works for me with the gobi2k.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1401
Location: Oranienburg/Germany

PostPosted: Wed Mar 28, 2012 6:39 am    Post subject: Reply with quote

Voltago wrote:
Have you tried the generic (i. e. non-telco-specific) firmware? (subfolder '6' in the windows installation directory iirc)
This works for me with the gobi2k.


Correct, according to the german thinkwiki, folder 6 is the generic firmware folder. see first table at: http://thinkwiki.de/Qualcomm_Gobi_2000_unter_Linux_installieren

bb
_________________
1st: C2D 3GHz, 8GB, 2.25TB, HD4850
2nd: Celeron 2.6GHz, 2GB, 500GB, HD4350
3rd: TP X220, 2,5GHz, 8GB, 320GB, HD3000
4th: Athlon X2 BE-2300, 4GB, 64GB SSD + 3TB RAID5 GF7025
5th: Samung N350, 2GB, 250GB, HD3150
6th: Rasperry Pi, 512MB, 32GB SD
Back to top
View user's profile Send private message
binro
Guru
Guru


Joined: 06 May 2005
Posts: 485
Location: Bangkok, Thailand

PostPosted: Wed Mar 28, 2012 3:39 pm    Post subject: Reply with quote

Hmm! I used the contents of directory 6, a UQCN file, plus the default firmware in the UMTS directory and it worked! Now I have /dev/ttyUSB0-2 created. Thanks for the suggestions. Dialling I got "CONNECT 7200000". Now I just have to get a data package. :D
_________________
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum