LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   finding a driver (https://www.linuxquestions.org/questions/linux-hardware-18/finding-a-driver-261149/)

davidleroux1 11-30-2004 10:07 PM

finding a driver
 
installed mandrake 10.1 comunity on a new

gateway 7405 gx laptop
athalon 64
ati mobility radeon 9600

i used rage mobility and got the lcd to work

but

i need a driver for the built in modem

(via technologies vt82c686 apollo super ac 97/ modem)

how do i locate something that will work
i tried the via technologies web site which is linux friendly but modems were not listed as a driver.

can someone help me locate one

falcon79 12-01-2004 04:31 AM

Maybe lspci can help you...

davidleroux1 12-01-2004 07:38 AM

who is lspci
 
who is lspci

do is google them on the internet

daemonTED 12-01-2004 07:54 AM

lspci lists the pci devices on your system ;).
i use debian myself, but i am guessing that mandrake would have lspci as well.
just go to console and type:

lspci

this is the output of mine:

captainwinky@daemonted:~$ lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge (rev 80)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
0000:00:0a.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
0000:00:0a.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 03)
0000:00:0a.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port
0000:00:0d.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
0000:00:0f.0 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [K8T800 South]
0000:01:00.0 VGA compatible controller: nVidia Corporation NV31 [GeForce FX 5600] (rev a1)


i don't use a built in modem, but yours should come up in the list. hopefully it won't be too hard to distinguish which line(s) refer(s) to your modem. if you do have any troubles, paste the output of lspci in this thread and i would be happy to try to help (or one of many other people no doubt - if someone beats me to it).

quite often you can take the output referring to the piece of hardware in question and do a google search on that :)

good luck with it :)

davidleroux1 12-01-2004 08:23 AM


00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:11.6 Communication controller: VIA Technologies, Inc. Intel 537 [AC97 Modem] (rev 80)



davidleroux1 12-01-2004 11:35 AM

intel 537
 
I found an intel 537 driver for mandrake.

(intel-537ep-2.60.80.0-mdk10-up.tgz) I think it is the right driver.

I tried to install and got errors for not having the kernal source

so

I installed the kernal source package and then got these errors
running make.

[root@raccoon-m intel-537EP-2.60.80.0-mdk10-up]# make clean
cd coredrv; make clean
make[1]: Entering directory `/intel-537ep-2.60.80.0-mdk10-up/intel-537EP-2.60.80.0-mdk10-up/coredrv'
rm -f *.ko *.o *~ core
make[1]: Leaving directory `/intel-537ep-2.60.80.0-mdk10-up/intel-537EP-2.60.80.0-mdk10-up/coredrv'
rm -f *.o *.ko

***************************** and these when running make 537 ---- as per the install instructions

[root@raccoon-m intel-537EP-2.60.80.0-mdk10-up]# make 537
Module precompile check
Current running kernel is: 2.6.8.1-10mdk
/lib/modules... autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: No such file or directory
autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: No such file or directory
version.h matches running kernel
2.6.8.1-10mdk
make[1]: Entering directory `/intel-537ep-2.60.80.0-mdk10-up/intel-537EP-2.60.80.0-mdk10-up/coredrv'
make -C /lib/modules/2.6.8.1-10mdk/build SUBDIRS=/intel-537ep-2.60.80.0-mdk10-up/intel-537EP-2.60.80.0-mdk10-up/coredrv modules
make[2]: Entering directory `/usr/src/linux-2.6.8.1-10mdk'
CC [M] /intel-537ep-2.60.80.0-mdk10-up/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.o
/intel-537ep-2.60.80.0-mdk10-up/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c: In function `power_callback':
/intel-537ep-2.60.80.0-mdk10-up/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c:295: error: `PM_SAVE_STATE' undeclared (first use in this function)
/intel-537ep-2.60.80.0-mdk10-up/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c:295: error: (Each undeclared identifier is reported o nly once
/intel-537ep-2.60.80.0-mdk10-up/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c:295: error: for each function it appears in.)
/intel-537ep-2.60.80.0-mdk10-up/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c: At top level:
/intel-537ep-2.60.80.0-mdk10-up/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c:754: warning: initialization from incompatible pointe r type
/intel-537ep-2.60.80.0-mdk10-up/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c:755: warning: initialization from incompatible pointe r type
/intel-537ep-2.60.80.0-mdk10-up/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c: In function `dspdrv_CommRamISR':
/intel-537ep-2.60.80.0-mdk10-up/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c:877: warning: function declaration isn't a prototype
make[3]: *** [/intel-537ep-2.60.80.0-mdk10-up/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.o] Error 1
make[2]: *** [_module_/intel-537ep-2.60.80.0-mdk10-up/intel-537EP-2.60.80.0-mdk10-up/coredrv] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.8.1-10mdk'
make[1]: *** [537core_26] Error 2
make[1]: Leaving directory `/intel-537ep-2.60.80.0-mdk10-up/intel-537EP-2.60.80.0-mdk10-up/coredrv'
2.6.8.1-10mdk
Failed to build driver
[root@raccoon-m intel-537EP-2.60.80.0-mdk10-up]#

any ideas?

appreciate the help

daemonTED 12-01-2004 05:04 PM

like i said, i run debian, so it might be a bit different on mandrake. i really wouldn't know.
on debian, once you have installed your kernel source you have to configure it too. unfortunately all i can give you is instructions based on debian knowledge, but:
if i want to run kernel-2.6.8 i extract kernel-2.6.8.tar.bz2 in my /usr/src/ directory

tar -xvjf kernel-2.6.8.tar.bz2

then i create a symbolic link called linux for a few reasons

ln -s kernel-2.6.8 linux

it is very important that you do not create a directory called linux in /usr/src/ before creating the symbolic link, anyway...
it sounds like you may have already done that part. not sure whether you said you'd actually extracted the source or not. i know that on debian when you install the source it, for some reason, doesn't extract it for you.

now comes the really fun part

copy a config file to linux

cp /boot/.config /usr/src/linux

cd /usr/src/linux

make oldconfig

when you do make oldconfig it will ask you a zillion questions. i'm pretty sure most of them have some help available by pressing ? rather than Y or N. once you have made it through the make oldconfig nightmare:

make
make modules
make modules_install
cp System.map /boot/
cp arch/i382/boot/bzImage /boot/

then edit lilo.conf or grub or whatever you use as a boot manager.

now unfortunately there is a good chance i have wasted both of our time as things could be very different in mandrake. but i hope this info helps, even if it's not perfect for your needs. :)

davidleroux1 12-01-2004 06:27 PM

librarys
 
I am confused because the first errors said that i was missing librarys so i needed to
install the kernal source for the librarys. i am not sure if i really have to install the kernal to do all that. all i have done so far is run the rpm to get the source files off the iso cd.
I dont know if it installed the librarys or not

daemonTED 12-01-2004 07:17 PM

your confusion is quite understandable. i've been there. virtually all linux users probably have.
basically, before you can install any driver that does not come as part of the kernel on the CD, you have to configure your kernel (that's my vague understanding of it anyway).
it sounds daunting, but it has to be done ;)
i just wish i knew more about mandrake so i could give you more specific help
let's just say, when i first got my hands on debian, i spent three weeks in black and white console. about one of those were spent getting my pci modem working then yeah, the next two were spent trying to get my bloody video card working.
it's worth it in the end :)

davidleroux1 12-01-2004 07:27 PM

the only one
 
I think this modem is kind of a standard in new laptops
do you think if i actually bought mandrake that i would have a better chance of getting the drivers installed. I dont really have two years to get this working, my girlfriend wants it now, damm it!!!

seriously i think i saw the modem on a hp laptop, I cant be the only one

daemonTED 12-01-2004 08:04 PM

heh, chill a bit
 
no idea whether buying mandrake cd would help. if you have the iso, that should be all you really need as far as i can guess.
if you put the effort in, it should really only take a day.

might be a good idea to look for things like irc channels that provide help on mandrake. is there any particular reason why you want to use mandrake? if you're not too worried about which distro you use, there is quite a bit of help available with debian.
debian has a channel called #debian on irc.debian.org
clearly you have internet access, so i am assuming you are running a windows box too? if you're not familiar with irc, do a google search for 'irc client'.
i am guessing there is a reason you want to use mandrake, so hopefully there are channels like #debian for mandrake.

ahh, just did a search. take a look at this link:
http://wiki.linuxquestions.org/wiki/..._help_from_IRC

hopefully that will point you in the right direction if you choose to stay with mandrake :)

but yeah, chill out dude - it won't take two years

davidleroux1 12-01-2004 09:06 PM

not a debian fan
 
I have installed mandrake quite a few times and it is easy to install and use, by far the easyest
distrobution. I have also installed fedora and red hat and can network with samba to windows .

but

debian.

I never could get past the instalation program. not user friendly
and i never could get the x server to configure.

so needless to say I am not a fan of debian but probably because i had to learn on my own
and the other distro just happened to work

daemonTED 12-01-2004 09:55 PM

fair enough
 
yeah, i'm not trying to convert you to debian or anything. i was just saying that because i was familiar with lots of places to get help with debian.
anyway, i wrote all that before i found that link that i put in my last post. if you go to #mandrake i am quite sure that you will be able to get much more valuable help than i am able to give you.
my suggestions might work, but they might not at the same time as, like i said, i am not familiar with mandrake.
all the best with it

quietguy47 12-29-2004 01:38 PM

Try Suse, it has native support for amd 64 and installs incredibly easy( not as easy as Slack though):D


All times are GMT -5. The time now is 08:24 AM.