LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-14-2003, 03:46 AM   #1
GeoffC
LQ Newbie
 
Registered: Jul 2003
Location: Auckland, New Zealand
Distribution: Mandrake 9.0
Posts: 17

Rep: Reputation: 0
Installing driver for Pctel Hsp 56 Modem


I am trying to set up a driver for my Pctel Hsp 56 winmodem. In a forum in the LinuxQuestions.org archive it recommends downloading a package from :-
//ekanz.tripod.com/LinuxFiles/pctel-0.8.6.tar.gz[/url]
then unpacking by entering :-
tar zxvf pctel-0.8.5.tar.gz
then going to the new directory by typing "cd pctel-0.8.5"
then entering :-
./configure --with-hal=pct789 (my modem chipset is pct789)
--with-kernel-includes=/path/to/my/kernel-sources/include
(If you don't have your kernel sources at /usr/src/linux, specify your includes)

I left out the 2nd --with- statement and got error messages :-
checking for gcc...no
checking for cc.....no
"no acceptable cc found in $PATH

Presumably this was because I left out the 2nd statement.

How do I find out where my kernel sources are ?
 
Old 08-14-2003, 03:51 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Well, you've got bigger fishes to fry first. You'll need to install GCC. Looks like you are using Mandrake, so you've got urpmi installed, that'll be nice. You can use that or the gui front end:
rpmdrake
Either way, you've gotta get gcc installed. To do that (in a command line) login as root and then type:
urpmi gcc
It will list a TON of dependencies, you'll be best off to just say 'Y" and install it all. Once it's done, you should have GCC installed.
From a gui, go to K, then run and type:
rpmdrake (might be different, you can find it in the Mandrake Control Center under Software Management ----> Install Software) and then in the search box type:
gcc

You'll wanna install nearly everything that pops up.

Your kernel sources (if they are installed) are going to be at:
/usr/src/linux

Moving to the Hardware Section

Cool
 
Old 08-15-2003, 04:42 AM   #3
GeoffC
LQ Newbie
 
Registered: Jul 2003
Location: Auckland, New Zealand
Distribution: Mandrake 9.0
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks - I got GCC installed OK.
But I have no directory /usr/src/linux
As you guessed, I am using Mandrake. It is version 9.0
At /usr/src I have only a directory rpm which contains a directory rpms. This seems to contain processor modules.
I have kernel code at /lib/modules/2.4.19-mdk
but this looks like object code - not source.
When I try to compile, it wants a file called modversions.h
Any ideas ?
Regards
 
Old 08-15-2003, 05:11 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
On your Mandrake install media (discs) you should find some files called something like:
linux-source OR
kernel-source-version
Get those installed, along with any dependencies. Be sure to install only for your current running kernel:
uname -r
And then try again. When you install the source, it should place it in:
/usr/src/linux-version
And create a symlink:
/usr/src/linux
For module compilation (you are about to do that).

Sorry if I'm moving too fast, or if this doesn't make sense, you seemed to pick up quickly so I'm assuming you know a bit of what you are doing.

If you don't understand any part of any of my posts, please feel free to ask for clarification.

Cool
 
Old 08-15-2003, 12:38 PM   #5
tokyo24
LQ Newbie
 
Registered: Aug 2003
Location: Guernsey
Distribution: Red Hat 9
Posts: 4

Rep: Reputation: 0
IRQ's?

Hey Master C,

I'm a real newbie to this, installing my modem was the first real thing I've had to do in penguin territory.

I'm using Red Hat 9.0, and went through all these probs to get it installed, it all seems to work nicely now, except it craps out when I try and use sound, I think there is an IRQ conflict.

how can I check the IRQ and change it if necessary?

cheers

__________________________________________
"Trying is the first step to failing!"
 
Old 08-15-2003, 11:10 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
That's really beyond me (figured I'd respond since you directed it at me ). Maybe see if you can change PCI slots or check the BIOS? The only time I had problems similar to that, simply swapping a few things on the PCI fixed it.

Cool
 
Old 08-16-2003, 06:44 PM   #7
GeoffC
LQ Newbie
 
Registered: Jul 2003
Location: Auckland, New Zealand
Distribution: Mandrake 9.0
Posts: 17

Original Poster
Rep: Reputation: 0
I found a file :-
kernel-source-2.4.19-16mdk.i586.rpm
on one of my installation disks and tried installing it. I got an error :-
failed dependencies –ncurses-devel is needed.
I cannot find a file of this name on any of my installations disks
Any ideas ?
 
  


Reply



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
Driver Problem For PCTEL HSP 56k PCI modem thandermax Linux - Hardware 1 07-26-2005 01:00 PM
can't dial using PCTel Inc HSP MicroModem 56 modem !!! hitesh_linux Linux - Hardware 5 07-07-2004 10:07 AM
Installing PCtel HSP modem under Mandrake Linux 9.1 X-Unix Linux - Hardware 0 02-09-2004 12:08 PM
How can I configure my modem (PCTel-HSP)? mranderson Red Hat 1 11-16-2003 12:35 PM
Pctel Hsp 56 Modem Works In Mdk! bongski55 Linux - Hardware 0 06-11-2003 01:08 AM

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

All times are GMT -5. The time now is 01:03 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