Wednesday, January 27, 2010

Huawei e1750 on Linux (TMN - Portugal)

Once again the answer is usb_modeswitch!!! If you remember this: Tutorial de Instalação para Placa TMN de Banda Larga ZTE MF620, the process is the same.

In a few steps, you need to do this:
sudo apt-get install libusb-dev
wget http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-1.1.0.tar.bz2
sudo tar xjvf usb-modeswitch-1.1.0.tar.bz2
cd usb-modeswitch-1.1.0/
make clean
make
make install

If you prefer, it is possible to install the deb package of usb_modeswitch :
wget https://forge.betavine./frs/download.php/490/usb-modeswitch_0.9.7_i386.deb
dpkg -i usb-modeswitch_0.9.7_i386.deb


edit the file /etc/usb_modeswitch.conf

vim /etc/usb_modeswitch.conf

and add this vendor to the file:

DefaultVendor= 0x12d1
DefaultProduct= 0x1446

TargetVendor = 0x12d1
TargetProduct= 0x1001

MessageContent="55534243000000000000000000000011060000000000000000000000000000"
MessageEndpoint=0x01
CheckSuccess=5

Create the following file in udev rules

vim /etc/udev/rules.d/15-huawei-e1750.rules
Copy the following text:
SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/usr/sbin/usb_modeswitch"

restart service udev

/etc/init.d/udev restart
With network-manager configure to use TMN

Sunday, January 3, 2010

Packages for Asus eee pc

Here are some useful packages for Asus eee pc, eeepc-acpi-utilities_1.1.48_i386 and eeepc-tray_1.0.17_i386.

Eee-control is an easy-to-use utility for controlling Eee PC hardware under Linux.
It can toggle hardware (WiFi, Bluetooth, etc.) on and off, lets you configure all hardware hotkeys, enables aggressive powersaving, and more.