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 03-25-2004, 10:25 AM   #1
Darkstar274
LQ Newbie
 
Registered: Sep 2003
Distribution: RH9, Mandrake, Knoppix, Fedora Core 1 & 2, Gentoo
Posts: 22

Rep: Reputation: 15
Fedora Linux: Dell Latitude C840 Modem


Hey Guys,

I'm having problems getting my PCTEL 2304WT V.9x MDC modem to work. I'm running Core 1 with the 2.4.22-1.2174.nptl. I have looked at all the documents to install the pctel drivers and all I get is compilation errors. This is what I get when I run ./setup from the newest drivers:
Code:
./setup
checking for running kernel version...2.4.22
checking for ptserial...ptserial-2.4.7.c
checking for gcc...3.3.2
searching for kernel includes...found at /usr/src/linux/include
checking for modversions.h.../usr/src/linux/include/linux/modversions.h
checking for kernel_version...UTS_RELEASE is 2.4.22-1.2174.nptl
detecting your modem...found. Your modem is a i8xx type modem.
** compilation error
please read the FAQ about reporting compilation problems
and report this problem.
Does anyone have this particular modem working on Fedora Core 1? I tried the newest drivers all the way down to the oldest...anyone have a fix?

Thanks a million
 
Old 04-15-2004, 10:30 AM   #2
tstrobaugh
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
ditto, same problem i have
 
Old 04-15-2004, 02:12 PM   #3
tstrobaugh
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
answer:
I had a little problem when I tried to compile the source code for the 2.4.22 kernel with gcc3.2 or higher. But the fix is quite trivial, and works fine for me: in line 2815 (or somewhere close, look inside the function rs_close() in the file ptserial-2.4.7.c), change the tty->count to tty->count.counter. Basically the problem is that in the updated kernel, the data structures defined in tty.h have undergone some small changes. In particular, tty->count which is of type atomic_t, is no longer an integer as the code assumes. atomic_t is not a structure, and the counter value is a field inside the structure, so we access it properly. There are no other changes required, and the module should compile without any problem.

After compiling and installing the module, add the following lines to your /etc/modules.conf

## PCTel soft modem
alias char-major-62 ptserial
below ptserial pctel
# device config and country code for pctel modem
options ptserial country_code=1 irq=11 iobase=0xb400 iobase1=0xb080
# need to force install pctel module (compiler mismatch)
install pctel /sbin/insmod -f pctel

http://www.cs.ucsd.edu/~dgupta/artic...etworking.html
 
Old 06-03-2004, 09:30 PM   #4
mickboda
Member
 
Registered: Jul 2002
Location: Sydney
Distribution: Kubuntu Edgy
Posts: 74

Rep: Reputation: 15
followed tstrobaugh's instructions to the letter now I get an error that the modem is not responding . The modem does not respond using
/dev/modem/
/dev/ttys0
/dev/ttys1
nor does changing hardware/software control make any difference.

I'm using Fedora RC1 installed on a Dell C400 (same modem), and using kpp to try and configure the rest.

insmod/pctel and insmod/ptserial tell me the modules are installed.

PS : What's the numeric code for Australia?
# device config and country code for pctel modem
options ptserial country_code=1 irq=11 iobase=0xb400 iobase1=0xb080

And Do I need to force the modules, I don't think there was a compiler mismatch all the software versions pctel checked for were right.

# need to force install pctel module (compiler mismatch)
 
  


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
Dell Latitude C840 Modem and SuSE 9.3 Pasa Yildirim Linux - Laptop and Netbook 3 06-19-2005 11:05 AM
PCTEL modem on Latitude C840 under Fedora,configuration problems!! sepehr20 Linux - Hardware 0 05-28-2004 05:03 AM
Dell Latitude C840 RedHat 7.3 mtaylor22 Linux - Hardware 3 11-10-2002 07:19 PM
Redhat 7.0 vs Dell Latitude C840 niton Linux - Newbie 1 07-16-2002 05:59 PM
Redhat 7.0 vs Dell Latitude C840 niton Linux - Newbie 0 07-15-2002 07:19 PM

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

All times are GMT -5. The time now is 11:08 PM.

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