USB GPRS

m (3G Modem moved to 3G modem: Sentence case)
(Pointed to a known-good location for the sg.ko file; expanded the instructions a tiny bit.)
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.
-
* 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]).
+
* 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).
-
* Load the SCSI generic Linux kernel module.
+
* Load the SCSI generic Linux kernel module. As root:
  insmod sg.ko
  insmod sg.ko

Revision as of 18:50, 17 June 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.
  • Get the SCSI kernel module from Fanoush's kernel modules (the /drivers/scsi/sg.ko file in the archive).
  • Load the SCSI generic Linux kernel module. As root:
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").