LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-07-2010, 08:12 AM   #1
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, exMandriva
Posts: 379

Rep: Reputation: 30
Exclamation udev-devel in slackware? problem with huawei e1750 3g modem...


hello!
i purchased a huawei e1750 usb 3g modem.
i used slackware 12.2 and 13.0 on a home computers.
i try to get work e1750 on my computer, but isn't working. i seek over google, and found some instructions on get to work under debian. i see, i need "modem-modeswitch" binary from udev - develop package. i found over a net, and not found this binary for slackware
maybe anyone can help?
udev package on my computers is already installed, but not contain this binary. i search over a net for udev-develop or so for slackware - not found. i get to siurceforge for udev development version, and download latest via svn, and search over it for file modem*
or any file who contains text modem-modeswitch , and no one was found

PS this utility needs for switch e1750 to modem mode. at start its initializes as usb storage / cdrom. in theory, if you done "eject sr0", then device must be switching itself to modem mode, but in practice - not...;(
 
Old 01-07-2010, 12:08 PM   #2
bonaire
Member
 
Registered: Jun 2008
Location: Bonn/Germany
Distribution: Slackware-13.37
Posts: 94

Rep: Reputation: 19
This program is called usb_modeswitch, not modem-modeswitch. You need to compile it from source. There is no sbo or slacky package. More, if you successfully compiled it.
 
Old 01-07-2010, 12:13 PM   #3
DonnieP
Member
 
Registered: Jan 2008
Location: Richmond, VA USA
Distribution: Slackware
Posts: 144

Rep: Reputation: 29
You can just go to the source for USB_modeswitch:
http://www.draisberghof.de/usb_modeswitch/
 
Old 01-07-2010, 02:14 PM   #4
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
Yeah, the mode switch is handled in the kernel for supported devices, so either your kernel is too old or your device is too new (or perhaps a combination of both) usb_modeswitch would be a handy addition at SlackBuilds.org (hint hint) :-)
 
Old 01-08-2010, 02:20 AM   #5
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, exMandriva
Posts: 379

Original Poster
Rep: Reputation: 30
try.
usb_modeswitch not contain any binary - only a rules for / etc.
as so - nothing new, problem stays.
kernel is 2.6.28.8
try to download and compile latest kernel...
 
Old 01-08-2010, 02:28 AM   #6
bonaire
Member
 
Registered: Jun 2008
Location: Bonn/Germany
Distribution: Slackware-13.37
Posts: 94

Rep: Reputation: 19
What? Of course there is no binary data. Because that, i wrote you have to compile! Did you read the README file? Be more proactive please or explain the problem more detailed.
 
Old 01-08-2010, 03:11 AM   #7
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, exMandriva
Posts: 379

Original Poster
Rep: Reputation: 30
a very big thanks.
after download, unzip
http://www.draisberghof.de/usb_modes...-1.0.7.tar.bz2
and "make integrated_install" all is ok - shortly after plug-in e1750
lsusb says, it is switched to modem mode -id changes from 1446 to 1001 and string E620 USB modem appears.
i try to ls /dev/tty* and ttU* and not find any USB0 or so devices. maybe previous time, when i compile kernel, i do not compile usbserial...?
try to recompile latest kernel and looking forward, thanks again
 
Old 01-08-2010, 11:20 AM   #8
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, exMandriva
Posts: 379

Original Poster
Rep: Reputation: 30
hm, configure the kppp ( kppprc), starting - and kppp hangs at "starting pppd". :-O
comgt se the modem and all other is ok. found, from user cannot run pppd - change chmod for /usr/sbin/pppd to 4755, now /usr/sbin/pppd runs from user, but kppp still stuck on "starting pppd"...;\
 
Old 01-08-2010, 12:21 PM   #9
bonaire
Member
 
Registered: Jun 2008
Location: Bonn/Germany
Distribution: Slackware-13.37
Posts: 94

Rep: Reputation: 19
Please try /dev/tty/HS*. You do not need to configure pppd. It looks like you have no real idea what you are doing, so please be careful It should be enough, if you add your user to dialup and uucp groups. I use wvdial instead of kppp so i can't help you with that, but that does not mean, kppp does not work. It was just easier to configure wvdial.

Last edited by bonaire; 01-08-2010 at 12:23 PM.
 
Old 01-08-2010, 01:41 PM   #10
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, exMandriva
Posts: 379

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by bonaire View Post
Please try /dev/tty/HS*. You do not need to configure pppd. It looks like you have no real idea what you are doing, so please be careful It should be enough, if you add your user to dialup and uucp groups. I use wvdial instead of kppp so i can't help you with that, but that does not mean, kppp does not work. It was just easier to configure wvdial.
huawei modem is on /dev/ttyUSB0 till USB2
i looking throught /etc/groups, add my user to "uucp" and "dialout"
groups. cannot find "dialup".
look for wvdial, but in distro its not include, and i too lazy for find and install it
on other hand, previosulsy i set up huawei e630 pcmcia modem via kppp, and all works. thats be a some years ago, but...
i try to combat "starting pppd" problem...
 
  


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 E160 modem giving me grief on Slackware (What am I doing wrong?) tux_addict Slackware 11 05-17-2011 11:14 PM
Problem Installing HSDPA modem HUAWEI E156G in Lenny randhiet Linux - Newbie 5 05-17-2010 02:45 PM
problem accesing the internet with huawei EG162G usb modem gaur.ankit2007@gmail.com Linux - Newbie 43 05-17-2010 04:52 AM
problem with HUAWEI EC168C HSD USB modem in rhel51 sukhendu Linux - Hardware 1 09-21-2009 05:26 AM


All times are GMT -5. The time now is 12:00 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration