USB GPRS

(Cleanup, markup)
Line 1: Line 1:
-
= Purpose =
+
This guide covers using external USB 3G HSDPA GPRS modems with Maemo.
-
Get external USB 3G HSDPA GPRS Modems to work with the Nokia N800 (or newer).
+
== Steps ==
-
= Steps =
+
* Enable [[USB host mode]].
 +
* Get a powered USB hub.
 +
* Connect the hub to your tablet.
 +
* Connect your modem to the USB hub.
 +
* Compile a SCSI generic Linux kernel module (or download a binary module from [http://www.internettablettalk.com/forums/attachment.php?attachmentid=633&d=1197230972 CDROM Kernel Modules]).
 +
* Load the SCSI generic Linux kernel module.
-
* Enable USB host mode.
+
insmod sg.ko
-
* get a powered USB hub.
+
-
* connect your Nokia N8x0 to the USB hub's uplink.
+
-
* connect your USB Modem to one of the USB hub's normal ports.
+
-
* switch your Nokia N8x0 to USB host mode ("echo host > /sys/devices/platform/musb_hdrc/mode").
+
-
* compile a SCSI generic Linux kernel module (or download a binary module from [http://www.internettablettalk.com/forums/attachment.php?attachmentid=633&d=1197230972 CDROM Kernel Modules] ).
+
-
* load the SCSI generic Linux kernel module: "insmod sg.ko".
+
-
== "Option" HSDPA Modem ==
+
== Option HSDPA Modem ==
-
* compile the "HSO" Option Modem kernel module (Greg Kroah-Hartman is in the process of integrating the kernel module into the mainline kernel, but check [http://www.pharscape.org/component/option,com_forum/Itemid,68/page,viewtopic/t,445/ HSO] in the meantime or use my working directory - includes compiled modules -  [http://www.scratchpost.org/Nokia_N8x0/Modem/ Nokia N8x0 Modem]) for the Nokia N8x0.
+
-
* compile the [http://www.pharscape.org/component/option,com_forum/Itemid,68/page,viewtopic/t,425/ Rezero] Option mode switch application.
+
-
* run the Option mode switch application: "./rezero /dev/sg0".
+
-
* load the "HSO" kernel module: "insmod hso.ko".
+
-
* edit the "connect.sh" script (from HSO) to actually '''do''' the changes in the routing table.
+
-
* run the "connect.sh" script: "./connect.sh up".
+
-
* enjoy.
+
-
== Unused ==
+
* Compile the "HSO" Option Modem kernel module (Greg Kroah-Hartman is in the process of integrating the kernel module into the mainline kernel, but check [http://www.pharscape.org/component/option,com_forum/Itemid,68/page,viewtopic/t,445/ HSO] in the meantime or use this [http://www.scratchpost.org/Nokia_N8x0/Modem/ working directory] which includes compiled modules).
-
* Alternative (generic?) mode switch program http://www.draisberghof.de/usb_modeswitch/
+
* Compile the [http://www.pharscape.org/component/option,com_forum/Itemid,68/page,viewtopic/t,425/ Rezero] Option mode switch application.
 +
* Run the Option mode switch application.
-
= TODO =
+
./rezero /dev/sg0
-
* create a ready-to-use Debian package.
+
 
-
* use the udev script to automate the loading when the device is plugged (both for "rezero" and for "HSO").
+
* <code>Load the "HSO" kernel module.
 +
 
 +
insmod hso.ko
 +
 
 +
* Edit the <code>connect.sh</code> script (from HSO) to actually ''do'' the changes in the routing table.
 +
* Run the <code>connect.sh</code> script.
 +
 
 +
./connect.sh up
 +
 
 +
* Enjoy!
 +
 
 +
== TODO ==
 +
 
 +
* Create a ready-to-use Debian package.
 +
* Use the udev script to automate the loading when the device is plugged (both for "rezero" and for "HSO").

Revision as of 07:53, 21 April 2009

This guide covers using external USB 3G HSDPA GPRS modems with Maemo.

Steps

  • Enable USB host mode.
  • Get a powered USB hub.
  • Connect the hub to your tablet.
  • Connect your modem to the USB hub.
  • Compile a SCSI generic Linux kernel module (or download a binary module from CDROM Kernel Modules).
  • Load the SCSI generic Linux kernel module.
insmod sg.ko

Option HSDPA Modem

  • Compile the "HSO" Option Modem kernel module (Greg Kroah-Hartman is in the process of integrating the kernel module into the mainline kernel, but check HSO in the meantime or use this working directory which includes compiled modules).
  • Compile the Rezero Option mode switch application.
  • Run the Option mode switch application.
./rezero /dev/sg0
  • Load the "HSO" kernel module.
insmod hso.ko
  • Edit the <code>connect.sh script (from HSO) to actually do the changes in the routing table.
  • Run the connect.sh script.
./connect.sh up
  • Enjoy!

TODO

  • Create a ready-to-use Debian package.
  • Use the udev script to automate the loading when the device is plugged (both for "rezero" and for "HSO").