LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-07-2006, 09:34 AM   #1
gul_the_bull
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Rep: Reputation: 0
please help! how to use huawei wll modem on linux


please help i am running fedora core 4 with the original kernel I have a "Huawei FWT wll phone" with wireless internet modem model ets 2051.It has a serial to usb cable called "TUSB3410 multi-serial-port card".Please help me with the installation on linux I have some knowledge of linux.
Have anybodyused wll internet on linux ...
 
Old 06-08-2006, 06:03 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548
One tip: try to be complete about product specifications. Please don't type aproximations but *exact* info. If you can't get them from the accompanying documentation in Linux using lspci, lsusb, catting /proc or whatever but can get them in POS (that's the Pitiful Operating System aka MICROS~1 Game Platform): please do so.

That said, check if yours is a "Huawei ETS2077 Fixed Wireless Terminal". If so you should count yourself lucky.
1. See if the hwinfo, udev and mkinitrd packages need updating (yum, apt-get, up2date, autoupdate),
2. Make sure you have a recent 2.6 kernel (uname -a),
3. Create an executable script file called /etc/hotplug/usb/ti_usb_3410_5420:
Code:
#!/bin/bash

BOOT_CONFIG=1
ACTIVE_CONFIG=2

if [ "$ACTION" != "add" ]
then
exit
fi

CONFIG_PATH=/sys${DEVPATH%/?*}/bConfigurationValue

if [ 0`cat $CONFIG_PATH` -ne $BOOT_CONFIG ]
then
exit
fi

PRODUCT=${PRODUCT%/?*}# delete version
VENDOR_ID=`printf "%d" 0x${PRODUCT%/?*}`
PRODUCT_ID=`printf "%d" 0x${PRODUCT#*?/}`

PARAM_PATH=/sys/module/ti_usb_3410_5052/parameters

function scan() {
s=$1
shift
for i
do
if [[ $s -eq $i ]]
then
return 0
fi
done
return 1
}

IFS=$IFS,

if (scan $VENDOR_ID 1105 `cat $PARAM_PATH/vendor_3410` &&
scan $PRODUCT_ID 13328 `cat $PARAM_PATH/product_3410`) ||
(scan $VENDOR_ID 1105 `cat $PARAM_PATH/vendor_5052` &&
scan $PRODUCT_ID 20562 20818 20570 20575 `cat $PARAM_PATH/product_5052`)
then
echo $ACTIVE_CONFIG > $CONFIG_PATH
fi
4. Create link: "ln -s /dev/ttyUSB0 /dev/modem" after which you should be able to use your favourite configuration tool / text editor to configure your modem.

Maybe read the complete instructions off-site: http://www.linuxforums.org/forum/per...-terminal.html before trying.
 
Old 06-09-2006, 10:35 AM   #3
gul_the_bull
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Original Poster
Rep: Reputation: 0
problem is that i have ETS2051 model with a serial port at one end and USB port at the other it is true it is TI multiport I will send you the complete list shortly
 
Old 10-18-2006, 09:46 AM   #4
ili_chamad
LQ Newbie
 
Registered: Oct 2006
Posts: 1

Rep: Reputation: 0
Help ! i have Huawei wireless Modem ETS1000 with DB9/USB and 156.3K ,but idon't know how to use it in my linux Mandriva 2006 ,i hadn't any Linux driver for it just a widows(xp) driver ,please Help me
i want to learn how to use linux in the net and quit the windows :
thank you for all !
inf_lmd1@yahoo.fr
 
Old 10-19-2006, 01:04 AM   #5
elie.zedeck
LQ Newbie
 
Registered: Jul 2006
Distribution: Fedora Core
Posts: 13

Rep: Reputation: 0
Hi,


I have recently succeeded to make a Huawei ETS2056 (which basically uses the same driver, and acts and is treated the same way under linux) act as a normal modem under Linux, through the use of a provided DB9/USB cable.

I will dictate here all the steps that I took for making it work; since you seem to be new with Linux, I will try to give as much details as possible.
All the operations where made with root priviledge: you need to open a console (the text prompt like MSDOS for Microsoft), and you type 'su<Enter>' and you enter password for root.

1. Downloaded the latest kernel (currently 2.6.18.1). Extracted it to '/usr/src/kernels'. I downloaded it from Cybercafe, since I had not connection yet. If you don't want to compile kernel, skip to step 4; you will then need to make sure that the Kernel should be at least version 2.6.15.
2. Configured it with 'make oldconfig' and then 'make menuconfig', and under Device Driver -> USB Support -> USB Converter -> I enabled the TI 3410/5052 (just look for it in the USB converter section). Don't forget to enable all of the things you need as a module, not built-in (you usually need to press M instead of Y).
3. Compiled it with the 'make', and then 'make modules_install' and then 'make install'. You can now reboot, and you will see your new kernel listed in the boot menu (LILO or GRUB).
4. Now, go to the Kernel source directory (for me, it was /usr/src/kernels/linux-2.6.18.1) using simple 'cd /usr/src/kernels/...' (like in MSDOS), and type 'cd drivers/usb/serial' to go to the USB serial drivers.
5. Type 'kwrite ti_usb_3410_5052.c' to see the content of the driver file. DO NOT EDIT IT. Just go to line 20, and see the instruction. The file that it mentions as a hotplug script is the line from 24 - 68.
6. Copy it, and create a new file with that content; just REMOVE THE STARS (*) in front of each line.
7. Save the file in the place mentionned in line 20. It is the file that unSpawn has posted above.
8. Now, open a new console, and then login as root. Type in 'dmesg -c' to clear the Kernel log (so as to make things clearer to see). Don't close the console, just press <Enter> for several times, because we will need to see what the kernel says
9. Plug the modem in the USB port. Type 'dmesg -c' again in the console, and you should see it saying about ttyUSB0 (means OK). If not, and then unplug the modem, and repeat step 7.
10. Use wvdial to connect to the Internet. Type 'man wvdial' for more informations of how to use wvdial, along with 'man wvdial.conf' for its configuration. You could begin with 'wvdialconf /etc/wvdial.conf'
11. When you finish configuring, add 'Stupid Mode = 1' in the configuration.

Hope that will help you.

Regards,
Elie Zedeck.
 
Old 11-19-2006, 06:46 AM   #6
rodi
LQ Newbie
 
Registered: Nov 2006
Posts: 3

Rep: Reputation: 0
I instaled ubuntu 6.06 end i have some problem with Huawei ETS 2077.For ubuntu 6.06 the kernel is 2.6.15.26.;i instaled Gnome ppp but i don't know how to do this conection.Please somebody give me more clear details.I read what elie said but i wish more detailes for my case(ubuntu 6.06)-i am a beginer in linux end i need some explanations like this:"first you open the console,write this line: ....)

P.S.Escuse me my english!

 
Old 01-02-2007, 01:21 AM   #7
johanesa
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Rep: Reputation: 0
Hi, this is Johanesa. I've been trying to use huawei fixed wireless ets2051 with modem on linux 10.0 and I struggled. I do not have the modem driver for linux 10.0. Could anyone help me on this. Thanks a million.

Last edited by johanesa; 01-10-2007 at 10:04 AM.
 
Old 01-03-2007, 05:31 AM   #8
tariqzia
LQ Newbie
 
Registered: Jan 2005
Location: Multan, Pakistan
Distribution: SuSE 10.1
Posts: 5

Rep: Reputation: 0
Please visit http://www.openpages.info . I have put my whole configuration with HUAWEI on that site. Just click the link on the left side panel.
 
Old 01-03-2007, 11:02 PM   #9
elie.zedeck
LQ Newbie
 
Registered: Jul 2006
Distribution: Fedora Core
Posts: 13

Rep: Reputation: 0
Hi Johanesa,

I think tariqzia's guide is a perfect guide for you. You just need to have the right kernel 2.6.xx, which you can get from www.kernel.org.

Regards,
Elie Zedeck.
 
Old 01-10-2007, 10:14 AM   #10
johanesa
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Rep: Reputation: 0
Huawei help

Thanks so much Elie and Tariq for your help. I'll try to work on it and see if I succeed.
Blessings
Johanesa

Quote:
Originally Posted by elie.zedeck
Hi Johanesa,

I think tariqzia's guide is a perfect guide for you. You just need to have the right kernel 2.6.xx, which you can get from www.kernel.org.

Regards,
Elie Zedeck.
 
Old 02-20-2007, 04:01 AM   #11
johanesa
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Rep: Reputation: 0
Hi all,

This is Johanesa again,

I decided to use Puppy linux 2.2 on my laptop and I'd like to connect it to my fixed wireless ets2051, procedure and driver download please.
Thanks for your eternal kindness.

Johanesa
 
Old 03-22-2007, 01:09 PM   #12
olivierCLEODE
LQ Newbie
 
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0
Hello,

I try to install the TUSB3410 converter usb serial on Linux 2.6.11.7 and Linux recognize the device but don't attach it to ttyUSB0.

I put the firmware in the path : /etc/hotplug/usb/ti_usb_3410_5052 because we use hotplug.

When i connect it, i have this result:

hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0002
ocp-ohci 02: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS
hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
ocp-ohci 02: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 1-1: new full speed USB device using ocp-ohci and address 5
ocp-ohci 02: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 1-1: ep0 maxpacket = 8
usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: default language 0x0409
usb 1-1: Product: TUSB3410UART EVM
usb 1-1: Manufacturer: Texas Instruments
usb 1-1: SerialNumber: 00000231
usb 1-1: hotplug
usb 1-1: adding 1-1:1.0 (config #1, interface 0)
usb 1-1:1.0: hotplug
hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0002


I've tested an other device, the Prolific PL2103 and Linux recognize and attach it to ttyUSB0.


usb 1-1: Product: USB-Serial Controller
usb 1-1: Manufacturer: Prolific Technology Inc.
usb 1-1: hotplug
usb 1-1: adding 1-1:1.0 (config #1, interface 0)
usb 1-1:1.0: hotplug
pl2303 1-1:1.0: usb_probe_interface
usb_probe_interface
pl2303 1-1:1.0: usb_probe_interface - got id
drivers/usb/serial/usb-serial.c: 1) usb_serial_probe
drivers/usb/serial/usb-serial.c: descriptor matches
drivers/usb/serial/usb-serial.c: found interrupt in on endpoint 0
drivers/usb/serial/usb-serial.c: found bulk out on endpoint 1
drivers/usb/serial/usb-serial.c: found bulk in on endpoint 2
pl2303 1-1:1.0: PL-2303 converter detected
drivers/usb/serial/usb-serial.c: get_free_serial 1
drivers/usb/serial/usb-serial.c: get_free_serial - minor base = 0
drivers/usb/serial/usb-serial.c: usb_serial_probe - setting up 1 port structures
for this device
drivers/usb/serial/pl2303.c: device type: 2
drivers/usb/serial/usb-serial.c: usb_serial_probe - registering ttyUSB0
usb 1-1: PL-2303 converter now attached to ttyUSB0
hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0002

And when I write this command Cat /proc/bus/usb/devices , I have this result:

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0451 ProdID=341a Rev= 1.01
S: Manufacturer=Texas Instruments
S: Product=TUSB3410UART EVM
S: SerialNumber=00000231
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms

Linux doesn’t find the driver.

Can you help me.

Thanks.
 
Old 04-27-2007, 11:42 AM   #13
rodi
LQ Newbie
 
Registered: Nov 2006
Posts: 3

Rep: Reputation: 0
Hi to all,

I try what Tariq Zia said at www.openpages.info for Huawei ETS 2051; I wrote in terminal "dmesg -c ",I see that error ,I follow this steps:
su

password *****

cd /etc/udev/rules.d/

vi 026_ti_usb_3410.rules (Now Paste the following lines in it)

#TI USB 3410
SUBSYSTEM=="usb_device" ACTION=="add" SYSFS{idVendor}=="0451",SYSFS{idProduct}=="3410" \
SYSFS{bNumConfigurations}=="2" \
SYSFS{bConfigurationValue}=="1" \
RUN+="/bin/sh -c 'echo 2 > /sys%p/device/bConfigurationValue'"

but I Don't know how must "save and exit"; how I save this window with this lines?

P.S. After I copy/paste this lines I close that window (click at X in right corner),I
plug out USB/Serial cable and then plugin, I type "dmesg -c " and I see again that error.It was like this because I don't know save that lines?

Last edited by rodi; 04-27-2007 at 11:43 AM.
 
Old 08-09-2007, 04:21 PM   #14
ClrScr
LQ Newbie
 
Registered: Aug 2007
Posts: 7

Rep: Reputation: 0
Search for the commands of the vi editor, but to save and exit is SHIFT+Z SHIFT+Z
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Huawei Wireless Modem AtinLango Linux - General 0 02-19-2006 05:22 AM
I a m using WLL phone i want to connect intenet in my linux os how can configure sathish80 Linux - Newbie 1 01-19-2006 10:54 PM
how to check did linux recognize the modem or is modem vorking or not solar Linux - Newbie 2 10-08-2003 01:16 PM
Huawei Routers, What other brands? sarmadys General 0 08-01-2003 03:46 AM
V.92 modem for linux - modem chipsets? Johnsernickle Linux - Networking 1 12-31-2002 07:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration