2009-09-30

Samsung Z810 Mobile Modem (Pannon GSM) under Ubuntu

My sister bought this HSDPA modem long ago. This device is not working on Ubuntu out of the box like the previous (soap dish shaped) Huawei E220 or E272 ones. We need the usb_modeswitch package to make it work.

First get and install the USB_MODESWITCH package.
The harder way is to download and compile from the homepage:
http://www.draisberghof.de/usb_modeswitch/
The easier is to download as a debian/ubuntu package from this page:
http://packages.debian.org/sid/usb-modeswitch

Then write an executable, which should be called with root privileges after the modem is inserted:

#!/bin/bash

#Power off the device
echo suspend > /sys/bus/usb/devices/2-6/power/level

#Reset the usbserial module - needed when reinserting
#also opens as storage device
rmmod usbserial
modprobe usbserial vendor=0x05c6 product=0x1000

#Reset the device:
usb_modeswitch -v 0x05c6 -p 0x1000 -R 1
sleep 10
#Starting up the modem:
usb_modeswitch -v 0x05c6 -p 0x1000 -m 0x05 -M 55534243123456780000000000000616000000000000000000000000000000


More USB modem related resources can be found here:
https://forge.betavine.net/frs/?group_id=12&release_id=200

Good luck!

No comments:

Post a Comment