USB GPRS

("Option" HSDPA Modem)
(corrected urls)
 
(21 intermediate revisions not shown)
Line 1: Line 1:
-
= Purpose =
+
This guide covers using external USB 3G HSDPA GPRS modems with Maemo Diablo.
-
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.
 +
# Get the SCSI kernel module from [http://fanoush.wz.cz/maemo/modules-diablo-2.6.21-200842maemo1.tar.gz Fanoush's kernel modules] (the <code>/drivers/scsi/sg.ko</code> file in the archive).
 +
# Load the SCSI generic Linux kernel module. [[root access|As root]]:<pre>insmod sg.ko</pre>
-
* Enable USB host mode.
+
== Option HSDPA Modem ==
-
* 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 ==
+
# 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/software/Nokia/N8x0/Modem/ working directory] which includes compiled modules).
-
* 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) for the Nokia N800.
+
# Compile the [http://www.pharscape.org/component/option,com_forum/Itemid,68/page,viewtopic/t,425/ Rezero] Option mode switch application.
-
* 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.<pre>./rezero /dev/sg0</pre>
-
* run the Option mode switch application: "./rezero /dev/sg0".
+
# Load the "HSO" kernel module.<pre>insmod hso.ko</pre>
-
* 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.
-
* edit the "connect.sh" script (from HSO) to actually '''do''' the changes in the routing table.
+
# Run the <code>connect.sh</code> script.<pre>./connect.sh up</pre>
-
* run the "connect.sh" script: "./connect.sh up".
+
# or use debian packages there: [[http://scratchpost.dreamhosters.com/software/Nokia/N8x0/Modem/DEB/]].
-
* enjoy.
+
# Enjoy!
-
== Unused =
+
== TODO ==
-
* Alternative (generic?) mode switch program http://www.draisberghof.de/usb_modeswitch/
+
-
= TODO =
+
* Use the udev script to automate the loading when the device is plugged (both for "rezero" and for "HSO").
-
* make a ready-to-use Debian package.
+
 
 +
[[Category:Connectivity]]
 +
[[Category:Cellular]]
 +
[[Category:USB]]
 +
[[Category:Power users]]
 +
[[Category:Diablo]]

Latest revision as of 06:34, 3 April 2011

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

[edit] Steps

  1. Enable USB host mode.
  2. Get a powered USB hub.
  3. Connect the hub to your tablet.
  4. Connect your modem to the USB hub.
  5. Get the SCSI kernel module from Fanoush's kernel modules (the /drivers/scsi/sg.ko file in the archive).
  6. Load the SCSI generic Linux kernel module. As root:
    insmod sg.ko

[edit] Option HSDPA Modem

  1. 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).
  2. Compile the Rezero Option mode switch application.
  3. Run the Option mode switch application.
    ./rezero /dev/sg0
  4. Load the "HSO" kernel module.
    insmod hso.ko
  5. Edit the connect.sh script (from HSO) to actually do the changes in the routing table.
  6. Run the connect.sh script.
    ./connect.sh up
  7. or use debian packages there: [[1]].
  8. Enjoy!

[edit] TODO

  • Use the udev script to automate the loading when the device is plugged (both for "rezero" and for "HSO").