Author Topic: Bigpond 4G USB driver  (Read 16852 times)

Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: Bigpond 4G USB driver
« Reply #30 on: March 03, 2012, 04:52:58 PM »
Ramchu, yes usb_modeswitch and usb_modeswitch-data are both installed.

 AS, that file you said that i should of downloaded, the right one is the one i have been trying to get installed.
« Last Edit: March 03, 2012, 04:57:04 PM by derekf »

Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: Bigpond 4G USB driver
« Reply #31 on: March 03, 2012, 05:19:37 PM »
When i go into PCLinux Control Center - Hardware, and under USB Mass Storage Devices i can see AirCard 320U.

So it is reconized as a Mass Storage Device. All i gotta do now is find out how to do the switch.

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Bigpond 4G USB driver
« Reply #32 on: March 03, 2012, 06:59:29 PM »
Ramchu, yes usb_modeswitch and usb_modeswitch-data are both installed.

 AS, that file you said that i should of downloaded, the right one is the one i have been trying to get installed.

Good, repeat the build and then the installation, until you will not have the right module(1.7.40) installed you will not be able to proceed further.


Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: Bigpond 4G USB driver
« Reply #33 on: March 03, 2012, 11:07:47 PM »
AS, i repeated the rebuild and installation but same result.

 When i type ls /dev/ttyUSB*   ls: Cannot access /dev/ttyUSB*: No such file or directory.

I don`t know where i`m going wrong. Something to do with the switch maybe ? but i have no clue how to do that.

Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: Bigpond 4G USB driver
« Reply #34 on: March 04, 2012, 04:28:53 AM »
I found the site below about modeswitch, but dont understand it.

http://www.draisberghof.de/usb_modeswitch/

Offline Ramchu

  • Hero Member
  • *****
  • Posts: 1589
« Last Edit: March 04, 2012, 05:10:19 AM by Ramchu »

Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: Bigpond 4G USB driver
« Reply #36 on: March 04, 2012, 02:34:31 PM »
Ramchu, cheers for the links.

 i don`t know if the driver has installed properly or if it has something to do with usb_modeswitch.

I`m lost and can`t figure it out.

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Bigpond 4G USB driver
« Reply #37 on: March 04, 2012, 07:33:30 PM »
Ramchu, yes usb_modeswitch and usb_modeswitch-data are both installed.

 AS, that file you said that i should of downloaded, the right one is the one i have been trying to get installed.

Good, repeat the build and then the installation, until you will not have the right module(1.7.40) installed you will not be able to proceed further.



You my want to reconsider my suggestion above, PM me doesn't help either.  ;)

AS

Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: Bigpond 4G USB driver
« Reply #38 on: March 04, 2012, 07:48:15 PM »
AS, i downloaded the link you said and followed that guide how to build and install the driver.

 When i get to the part where i type ls /dev/ttyUSB, it isn`t found. So i don`t know  what i`m doing wrong.


Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Bigpond 4G USB driver
« Reply #39 on: March 04, 2012, 07:53:18 PM »
AS, i downloaded the link you said and followed that guide how to build and install the driver.

In the mid between the above and below ... there are a few action you have had to take .. building ... installing ...

It appears, from previous post, that the supposedly built module was not installed  ???

Can we have some feedback about what was the result of such intermediate steps ?
Errors ? Success ? What ?

Quote
When i get to the part where i type ls /dev/ttyUSB, it isn`t found. So i don`t know  what i`m doing wrong.



Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Bigpond 4G USB driver
« Reply #40 on: March 04, 2012, 08:22:03 PM »
A short recap for your benefit:

AS,

[root@8 ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 001 Device 005: ID 0f3d:68aa Airprime, Incorporated  <----- Your device as detected from USB bus
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth


The module you have rebuilt:
[derek@8 ~]$ modinfo sierra
filename:       /lib/modules/2.6.38.8-pclos3.bfs/kernel/drivers/usb/serial/sierra.ko
license:        GPL
version:        v.1.7.40    <---------------------- the version of the NEW module, built from you
description:    USB Driver for Sierra Wireless USB modems
author:         Kevin Lloyd, Elina Pasheva, Matthew Safar, Rory Filer
srcversion:     C58D9EB6D295B757AA65F22
alias:          usb:v413Cp8133d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0F3Dp68AAd*dc*dsc*dp*icFFiscFFipFF* <-------------------- the ID of the supported products, i.e. your device
alias:          usb:v1199p68AAd*dc*dsc*dp*icFFiscFFipFF*
alias:          usb:v0F3Dp68A3d*dc*dsc*dp*icFFiscFFipFF*
...

the supported device from module as shipped with 2.6.38.8-pclos3, please note that this module doesn't provide support for your device, i.e. you will not find the product IDs:
Quote
# modinfo sierra
filename:       /lib/modules/2.6.38.8-pclos3.pae/kernel/drivers/usb/serial/sierra.ko.gz
license:        GPL
version:        v.1.7.16
description:    USB Driver for Sierra Wireless USB modems
author:         Kevin Lloyd, Elina Pasheva, Matthew Safar, Rory Filer
srcversion:     69628B536FC18F3C27EB532
alias:          usb:v413Cp8133d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0F3Dp68A3d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p68A3d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6893d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6892d*dc*dsc*dp*icFFiscFFipFF*
alias:          usb:v1199p6891d*dc*dsc*dp*icFFiscFFipFF*
alias:          usb:v1199p6890d*dc*dsc*dp*icFFiscFFipFF*
alias:          usb:v1199p6880d*dc*dsc*dp*icFFiscFFipFF*
alias:          usb:v1199p685Ad*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6859d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6856d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6855d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6853d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6852d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6851d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6850d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p683Ed*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p683Dd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p683Cd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p683Bd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p683Ad*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6839d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6838d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6835d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6834d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6833d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6832d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6822d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6821d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6820d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6816d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6815d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6813d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6812d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6809d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6808d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6805d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6804d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6803d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p6802d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p0029d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p0028d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p0027d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p0026d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p0025d*dc*dsc*dp*icFFiscFFipFF*
alias:          usb:v1199p0023d*dc*dsc*dp*icFFiscFFipFF*
alias:          usb:v1199p0301d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p0120d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p0112d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p0021d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p0019d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p0224d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p0024d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p0022d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p0220d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p0020d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p0218d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p0018d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1199p0017d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v03F0p1E1Dd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v03F0p211Dd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v03F0p1B1Dd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0F3Dp0112d*dc*dsc*dp*ic*isc*ip*
depends:        usbserial,usbcore
vermagic:       2.6.38.8-pclos3.pae SMP mod_unload modversions 686
parm:           nmea:NMEA streaming (bool)
parm:           debug:Debug messages (bool)



Your report where we can see that the loaded module is the old one, and not the newly built module:

dmesg | tail -20
[root@8 ~]# dmesg | tail -20
sd 14:0:0:0: [sdh] Write Protect is off
sd 14:0:0:0: [sdh] Mode Sense: 03 00 00 00
sd 14:0:0:0: [sdh] Assuming drive cache: write through
sd 14:0:0:0: [sdh] Assuming drive cache: write through
 sdh: sdh1
sd 14:0:0:0: [sdh] Assuming drive cache: write through
sd 14:0:0:0: [sdh] Attached SCSI removable disk
usb 1-5: USB disconnect, address 11
usbcore: deregistering interface driver sierra
USB Serial deregistering driver Sierra USB modem
usbcore: deregistering interface driver usbserial_generic
USB Serial deregistering driver generic
usbcore: deregistering interface driver usbserial
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for Sierra USB modem
usbcore: registered new interface driver sierra
sierra: v.1.7.16:USB Driver for Sierra Wireless USB modems

So, it appear that the module was built successfully, but not installed or not installed properly;)

Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: Bigpond 4G USB driver
« Reply #41 on: March 04, 2012, 09:22:25 PM »
AS, i`ll go through step by step what i have done so far.

created a directory  # mkdir kernel-2.6.y

then i moved the file to that folder 

Extract the files into the new directory.

now the files that should be in that folder are: sierra.c,  sierra_net.c, Makefile, usbnet.h [1] , skb_compat.h [2].

those last 2 files are not in that folder nor could i find them on my system, maybe this is where it is not working right ?

I won`t go any further until i see what you think about those last 2 files.

 Derek.
« Last Edit: March 04, 2012, 09:24:38 PM by derekf »

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Bigpond 4G USB driver
« Reply #42 on: March 05, 2012, 08:50:01 AM »
AS, i`ll go through step by step what i have done so far.

created a directory  # mkdir kernel-2.6.y

then i moved the file to that folder

Extract the files into the new directory.

now the files that should be in that folder are: sierra.c,  sierra_net.c, Makefile, usbnet.h [1] , skb_compat.h [2].

those last 2 files are not in that folder nor could i find them on my system, maybe this is where it is not working right ?

I won`t go any further until i see what you think about those last 2 files.

 Derek.


please, follow the steps detailed here:
open a terminal, su to root:
Code: [Select]
mkdir /root/build
cd /root/build
wget http://www.sierrawireless.com/resources/support/drivers/linux/v3.2_1740_kernel-2.6.38.directIP.tar
tar xvf v3.2_1740_kernel-2.6.38.directIP.tar
make
make install

additionally, from the same terminal:
Quote
gzip -9 /lib/modules/2.6.38.8-pclos3.bfs/kernel/drivers/usb/serial/sierra.ko
# when asked if you want to overwrite sierra.ko.gz, answer y
gzip -9  /lib/modules/2.6.38.8-pclos3.bfs/kernel/drivers/net/usb/sierra_net.ko
# when asked if you want to overwrite sierra_net.ko.gz, answer y


reboot, plug in your device, check again about /dev/ttyUSB*   ;)

the followings should confirm about successful installation of the new modules:
Code: [Select]
modinfo sierra
modinfo sierra_net

After, follow Ramchu suggestions about usb_modeswitch  ;)

AS
« Last Edit: March 05, 2012, 09:11:11 AM by AS »

Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: Bigpond 4G USB driver
« Reply #43 on: March 05, 2012, 05:24:33 PM »
AS, i can`t use wget http://www.sierrawireless.com/resources/support/drivers/linux/v3.2_1740_kernel-2.6.38.directIP.tar

I don`t have a internet connection on that computer. what i might have to do is install my old driver and then download the file via wget, then remove that connection. Then i will be able to follow your instructions.

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Bigpond 4G USB driver
« Reply #44 on: March 05, 2012, 05:28:48 PM »
AS, i can`t use wget http://www.sierrawireless.com/resources/support/drivers/linux/v3.2_1740_kernel-2.6.38.directIP.tar

I don`t have a internet connection on that computer. what i might have to do is install my old driver and then download the file via wget, then remove that connection. Then i will be able to follow your instructions.


simply copy the file v3.2_1740_kernel-2.6.38.directIP.tar that you should have already downloaded into the directory /root/build  ;)