LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-15-2002, 07:15 PM   #1
dictatorofgoats
LQ Newbie
 
Registered: Aug 2001
Location: Dallas, TX
Distribution: Red Hat 7.3/Mandrake 8.2
Posts: 29

Rep: Reputation: 15
modprob can't find module


when i try to install the module riptidesound.o i get the

modprob can't find module riptidesound.o

what does this indicate? I know that I have the module, and I am running the command in the directory that the module is located (/lib/modules/2.4.19-7/misc)

I tried rebuilding the module and that didn't seem to help either

what else can I check?
 
Old 09-15-2002, 07:43 PM   #2
jpweston
Member
 
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30
Have you tried using the entire path like so:

Code:
insmod /lib/modules/2.4.19-7/misc/riptidesound.o
j.
 
Old 09-15-2002, 07:45 PM   #3
jpweston
Member
 
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30
The man page for insmod has some info on variables and files you can use to specify the search path for modules.

man insmod

j.
 
Old 09-15-2002, 08:03 PM   #4
dictatorofgoats
LQ Newbie
 
Registered: Aug 2001
Location: Dallas, TX
Distribution: Red Hat 7.3/Mandrake 8.2
Posts: 29

Original Poster
Rep: Reputation: 15
is the insmod command equiv. to the modprob command? i'm trying to use this to load the sound driver for my Riptide audio device. when I use insmod, it claims that the modules already exist.
 
Old 09-15-2002, 08:08 PM   #5
dictatorofgoats
LQ Newbie
 
Registered: Aug 2001
Location: Dallas, TX
Distribution: Red Hat 7.3/Mandrake 8.2
Posts: 29

Original Poster
Rep: Reputation: 15
even when I specify the path "modprobe" still gives the error
 
Old 09-15-2002, 08:11 PM   #6
jpweston
Member
 
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30
insmod is for "insert module". It will load a module into the kernel "on the fly". To see if the module is already loaded, you can run lsmod. This will show all of the modules currently loaded.

j.
 
Old 09-16-2002, 06:35 PM   #7
dictatorofgoats
LQ Newbie
 
Registered: Aug 2001
Location: Dallas, TX
Distribution: Red Hat 7.3/Mandrake 8.2
Posts: 29

Original Poster
Rep: Reputation: 15
hmm, i looks like the module is loading just fine. But I still get no sound. do you know how I would associate that module with the sound device? when I open up harddrake it shows the device but doesn't seem to relate the module to that device.
 
Old 09-16-2002, 06:43 PM   #8
jpweston
Member
 
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30
From what I understand about modules, they are "automatically" related - by the nature of the device, it's chipset, the type of call, etc. Basically, a device makes a call to do something and the kernel provides the method for the device to perfom the action - by way of the module. So, I don't think you need to explicitly relate the module and the device. I haven't used Mandrake, so I'm not familiar with the view you have within Harddrake.

For sound problems, a couple of things I've run into are;

Permissions on /dev/dsp and /dev/mixer. Make sure you have access to these devices either by way of the rwx permissions on the file or you are a member of the associated group.

If you're running GNOME or KDE, the "Enlightened Sound Daemon" (esd) may be running and this can cause a problem. You can do a ps x from a console window and see if esd is running. If it is, stop it and try your sound app again.

j.

Last edited by jpweston; 09-16-2002 at 06:44 PM.
 
Old 09-22-2002, 10:34 PM   #9
dictatorofgoats
LQ Newbie
 
Registered: Aug 2001
Location: Dallas, TX
Distribution: Red Hat 7.3/Mandrake 8.2
Posts: 29

Original Poster
Rep: Reputation: 15
ok, I'm trying to change the file permissions on dsp and mixer. I can change them ok, but they won't stick. if I log off then they change back when i log on again. how can I get the permissions to stick?

I am changing them by browsing to the file in Konqueror, right clicking and selecting properties, and using the Permissions tab.
 
Old 09-23-2002, 12:09 AM   #10
jpweston
Member
 
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30
I recommend opening a terminal window, becoming root, then running the following command:

Code:
chmod 666 /dev/dsp /dev/mixer
j.
 
  


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
Cannot find module WRSpithead Slackware 2 11-13-2005 11:01 PM
10.1 Huge delay even after editing modprob.conf jbclarkman Mandriva 3 01-14-2005 09:55 AM
Where can I find wish (tk module)? pjz Programming 6 03-11-2004 08:52 AM
modprobe: Can't find module mickeyboy Red Hat 1 09-13-2003 10:46 PM
modprob 3c509 then wt? farhan Linux - Networking 5 02-15-2003 04:56 PM

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

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