USB GPRS

(wikify slightly)
(corrected urls)
 
(One intermediate revision not shown)
Line 7: Line 7:
# Connect the hub to your tablet.
# Connect the hub to your tablet.
# Connect your modem to the USB hub.
# 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 /drivers/scsi/sg.ko file in the archive).
+
# 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. As root:<pre>insmod sg.ko</pre>
+
# Load the SCSI generic Linux kernel module. [[root access|As root]]:<pre>insmod sg.ko</pre>
== 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 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 or use this [http://www.scratchpost.org/software/Nokia/N8x0/Modem/ working directory] which includes compiled modules).
# 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.<pre>./rezero /dev/sg0</pre>
Line 18: Line 18:
# Edit the <code>connect.sh</code> script (from HSO) to actually ''do'' the changes in the routing table.
# 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.<pre>./connect.sh up</pre>
# Run the <code>connect.sh</code> script.<pre>./connect.sh up</pre>
-
# or use debian packages there: [[http://scratchpost.dreamhosters.com/software/Nokia_N8x0/Modem/DEB/]].
+
# or use debian packages there: [[http://scratchpost.dreamhosters.com/software/Nokia/N8x0/Modem/DEB/]].
# Enjoy!
# Enjoy!

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").