LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   udev-devel in slackware? problem with huawei e1750 3g modem... (https://www.linuxquestions.org/questions/slackware-14/udev-devel-in-slackware-problem-with-huawei-e1750-3g-modem-780533/)

WiseDraco 01-07-2010 08:12 AM

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...;(

bonaire 01-07-2010 12:08 PM

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.

DonnieP 01-07-2010 12:13 PM

You can just go to the source for USB_modeswitch:
http://www.draisberghof.de/usb_modeswitch/

rworkman 01-07-2010 02:14 PM

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) :-)

WiseDraco 01-08-2010 02:20 AM

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...

bonaire 01-08-2010 02:28 AM

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.

WiseDraco 01-08-2010 03:11 AM

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 ;)

WiseDraco 01-08-2010 11:20 AM

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"...;\

bonaire 01-08-2010 12:21 PM

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.

WiseDraco 01-08-2010 01:41 PM

Quote:

Originally Posted by bonaire (Post 3819126)
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...


All times are GMT -5. The time now is 06:27 AM.