Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
Flo
Posts: 13
Joined: 05 May 2009, 23:29

Initial setup

Post by Flo » 05 May 2009, 23:38

Ok, I'm new to Linux so please bear with me. I can follow instructions well so I think I'm missing something vital in the initial setup. I am attempting to use usb modeswitch on an Eee PC 4G Linux with a Huawei E180 through T-Mobile in the US. I have installed usb modeswitch, found and opened the modeswitch.conf file, read through it and thought I had followed the instructions regarding removing or setting the comment signs. On both of the first two Huawei areas I tried removing the " ;" from the Def Vendor and product info and tried both the Detach storage or the Huawei Mode. I think I'm not doing something right because when I run modeswitch I get "Looking for default devices...
No default device found. Is it connected? Bye!" What am I doing, not doing, missing, as a result of my Linux greeness? Please help, I really want to get this to work.

Flo
Posts: 13
Joined: 05 May 2009, 23:29

Figured out last issue

Post by Flo » 06 May 2009, 04:37

Ok, I figured out the issue, I needed the specific DefaultProduct for the Huawei E180, it is 1414. Very easy to find if you understand the naming convention and have access to a Windows machine, the naming convention explanation as well as how to easily find the Vendor and Product ID for any device are posted on the "Device Information" thread -> Topic How to "Sniff" devices. On to the next challenge!

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Post by Josh » 06 May 2009, 08:22

You can get the default IDs easily while staying in Linux:
Just type "lsusb" while your device is plugged. You get output like this:

Code: Select all

Bus 001 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 04e8:6601 Samsung Electronics Co., Ltd Z100 Mobile Phone
Bus 002 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0002
Bus 003 Device 002: ID 05e3:0606 Genesys Logic, Inc.
Bus 003 Device 004: ID 04f9:01a9 Brother Industries, Ltd
The hexadecimal numbers after "ID" show vendor and product ID, separated by the colon. Usually, the entries without a name attached belong to the host, the others are real devices or external hubs.

Post Reply