USB GPRS: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>dannym
No edit summary
imported>dannym
No edit summary
Line 1: Line 1:
= Purpose =
= Purpose =


Get the external USB 3G HSDPA GPRS Modem to work with the Nokia N800 (or newer).
Get external USB 3G HSDPA GPRS Modems to work with the Nokia N800 (or newer).


= Steps =
= Steps =
Line 9: Line 9:
* connect your Nokia N8x0 to the USB hub's uplink.
* connect your Nokia N8x0 to the USB hub's uplink.
* connect your USB Modem to one of the USB hub's normal ports.
* 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] ).
* 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".
* load the SCSI generic Linux kernel module: "insmod sg.ko".

Revision as of 20:58, 23 July 2008

Purpose

Get external USB 3G HSDPA GPRS Modems to work with the Nokia N800 (or newer).

Steps

  • Enable USB host mode.
  • 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 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, or check HSO in the meantime) for the Nokia N800.
  • compile the "rezero" Option mode switch application (Rezero).
  • 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

TODO

  • make a ready-to-use Debian package.