LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-07-2006, 06:13 PM   #1
dhaus111
LQ Newbie
 
Registered: Feb 2006
Posts: 26

Rep: Reputation: 15
Sayno Cell Phone As Modem


I recently installed Fedora core 4 on my zd7000 laptop. After some help from a friend we recompiled my kernel 2.6.11 and got the phone working as a modem fine using the default Network GUI. We just didn't know how the hell we did it. I've since upgraded to kernel 2.6.14 and it is again not working. This is what my var/log/messages is outputting:

Feb 7 19:17:48 localhost ifup-ppp: Setting up a new /etc/ppp/peers/**** config file
Feb 7 19:17:48 localhost ifup-ppp: pppd started for **** on /dev/ttyACM0 at 460800
Feb 7 19:17:48 localhost pppd[4071]: pppd 2.4.2 started by root, uid 0
Feb 7 19:17:49 localhost wvdial[4074]: WvDial: Internet dialer version 1.54.0
Feb 7 19:17:49 localhost wvdial[4074]: Initializing modem.
Feb 7 19:17:50 localhost wvdial[4074]: Sending: ATZ
Feb 7 19:17:50 localhost wvdial[4074]: OK
Feb 7 19:17:50 localhost wvdial[4074]: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Feb 7 19:17:50 localhost wvdial[4074]: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Feb 7 19:17:50 localhost wvdial[4074]: OK
Feb 7 19:17:50 localhost wvdial[4074]: Sending: ATM0
Feb 7 19:17:50 localhost wvdial[4074]: ATM0
Feb 7 19:17:50 localhost wvdial[4074]: OK
Feb 7 19:17:50 localhost wvdial[4074]: Modem initialized.
Feb 7 19:17:50 localhost wvdial[4074]: Sending: ATDT#777
Feb 7 19:17:50 localhost wvdial[4074]: Waiting for carrier.
Feb 7 19:17:50 localhost wvdial[4074]: ATDT#777
Feb 7 19:17:56 localhost wvdial[4074]: CONNECT
Feb 7 19:17:56 localhost wvdial[4074]: ~[7f]}#@!}!W} }4}"}&} } } } }%}&u}--}!}'}"}(}"}!Z~
Feb 7 19:17:56 localhost wvdial[4074]: Carrier detected. Chatmode finished.
Feb 7 19:17:56 localhost pppd[4071]: Serial connection established.
Feb 7 19:17:56 localhost pppd[4071]: Couldn't set tty to PPP discipline: Invalid argument
Feb 7 19:17:57 localhost pppd[4071]: Exit.

My hardware browser shows that i'm using the Sanyo phone 4900 driver (comes with kernel), which is what it was set to when it was working under the different kernel. I changed my kernel config to set pretty much everything USB (this is how the phone is connected) as a module, then recompiled.

Anybody have an insight on this?

I'm still pretty new to linux, so be gentle on me...

Last edited by dhaus111; 02-07-2006 at 06:18 PM.
 
Old 02-07-2006, 08:53 PM   #2
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
it could still be a driver issue.

and what do you mean it 'came with the kernel'?

was it built into it? if so, that sounds odd since the kernel is so small, that it would have something that trival (but somewhat unique) in it.

hunt for a newer/better driver-- maybe someone is working on one since that fon is prol popular.

good luck.

Last edited by halvy; 02-08-2006 at 02:34 PM.
 
Old 02-08-2006, 02:11 PM   #3
dhaus111
LQ Newbie
 
Registered: Feb 2006
Posts: 26

Original Poster
Rep: Reputation: 15
by build into the kernel i meant i didn't install anything into it, there is an option in the kernel config that i believe includes the driver, but it doesn't specifically mention it. I'm pretty sure that there is no driver for it as i've looked around a bit. If there is one, it has illuded me thus far. And it WAS working with the 2.5.11 kernel after a lot of hair ripping.

thanks
 
Old 02-08-2006, 02:43 PM   #4
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
Stop pulling your hair out!

ok i see what you mean, it came as a module.

well if you had it working with the previous kernel, which wasn't that much different, i would think you could do it again.

dont' give up looking for a dedicated driver-- esp. from alternative sources.

and make sure you have all apropriate USB (system) drivers intalled.

just because it 'sees' it, doesnt' mean the usb system is working correctly for this hardware item (i know, duh).

i just saw something recently on another thread, with a usb 'soundcard'.. and after much hair pulling also, the guy made sure uhci-hcd was installed (and loaded) and wa-la, it worked.

this is what he did:

uhci-hcd (modprobe -v uhci-hcd)

sooo i guess either make sure uhci-hcd is installed correctly, or whatever other relative usb (modules) and or driver is also.

i guess we are not JUST looking at the actual driver that is for that fon (since you actually have one that 'seems' close enuff)-- until you stumble accross it anyways.

let us know.
 
Old 02-10-2006, 05:39 PM   #5
dhaus111
LQ Newbie
 
Registered: Feb 2006
Posts: 26

Original Poster
Rep: Reputation: 15
I had another look around...still seems to be no driver to be found. I did play around with the commands you were talking about (modprobe -v uhci-hcd). It didn't initially work because i didn't have it as a modules if i remember correctly. However, I recompiled a few times with differernt configurations dealing with USB. I changed everything to modules and enabled ehci, but still no difference. I've googled the "Couldn't set tty to PPP discipline: Invalid argument" but come up with a bunch of crap about IR. There must be something...
 
  


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
Cell Phone Modem Configuration morpheus2485 Linux - Laptop and Netbook 1 11-01-2006 11:48 PM
RC1 cell phone modem seifenblasen SUSE / openSUSE 1 09-27-2005 02:33 PM
HELP!! usbserial / Cell Phone Modem muzicman82 Linux - Hardware 1 12-22-2003 07:03 AM
3g Device (Cell Phone) as a modem? ruahusker Linux - Networking 0 08-31-2003 04:55 PM
cell-phone to modem sparker1968 Slackware 0 04-12-2003 12:22 AM

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

All times are GMT -5. The time now is 09:42 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
Open Source Consulting | Domain Registration