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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-14-2003, 04:46 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Location: Auckland, New Zealand
Distribution: Mandrake 9.0
Posts: 17
Rep:
|
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 ?
|
|
|
08-14-2003, 04:51 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
08-15-2003, 05:42 AM
|
#3
|
LQ Newbie
Registered: Jul 2003
Location: Auckland, New Zealand
Distribution: Mandrake 9.0
Posts: 17
Original Poster
Rep:
|
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
|
|
|
08-15-2003, 06:11 AM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
08-15-2003, 01:38 PM
|
#5
|
LQ Newbie
Registered: Aug 2003
Location: Guernsey
Distribution: Red Hat 9
Posts: 4
Rep:
|
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!" 
|
|
|
08-16-2003, 12:10 AM
|
#6
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
08-16-2003, 07:44 PM
|
#7
|
LQ Newbie
Registered: Jul 2003
Location: Auckland, New Zealand
Distribution: Mandrake 9.0
Posts: 17
Original Poster
Rep:
|
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 ?
|
|
|
All times are GMT -5. The time now is 04:45 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|