LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Audigy problem, something simple needing help! (https://www.linuxquestions.org/questions/linux-newbie-8/audigy-problem-something-simple-needing-help-37966/)

DigiCrime 12-11-2002 03:37 AM

Audigy problem, something simple needing help!
 
I had to do some finagly to get this to work but the device is busy apparently. after running make it compiles just fine till this comes up

**
** The driver was succefully compiled, now install it with:
** make install
**
mkdir -p //lib/modules/2.4.18-3/kernel/drivers/sound/emu10k1
install -c -m 664 emu10k1.o //lib/modules/2.4.18-3/kernel/drivers/sound/emu10k1
install -c -m 664 ac97_codec.o //lib/modules/2.4.18-3/kernel/drivers/sound
/sbin/depmod -a 2.4.18-3
/sbin/modprobe -r emu10k1.o ac97_codec.o
ac97_codec.o: Device or resource busy
make: *** [install] Error 1


How can I make that device UNbusy lol so I can finish this install :)

btw just now getting my RH desktop setup

Thymox 12-11-2002 04:35 AM

If you run /sbin/lsmod does that module show up in the list? If so, you should rmmod it... but you may need to rmmod other stuff first. That reminds me... (just off to start a new thread)

DigiCrime 12-11-2002 05:18 AM

emu10k1 68320 0 (autoclean)
via82cxxx_audio 20480 0 (autoclean)
uart401 7936 0 (autoclean) [via82cxxx_audio]
ac97_codec 11872 0 (autoclean) [emu10k1 via82cxxx_audio]
sound 71916 0 (autoclean) [via82cxxx_audio uart401]
soundcore 6692 9 (autoclean) [emu10k1 via82cxxx_audio sound]

i guess so. how do I remove these modules so I can setup the new ones?

Thymox 12-11-2002 10:27 AM

rmmod emu10k1
rmmod via82cxxx_audio
rmmod uart401
rmmod ac97_codec
rmmod sound
rmmod soundcore


Then run make again and see if that helps.

DigiCrime 12-11-2002 02:34 PM

[root@localhost root]# rmmod ac97_codec
ac97_codec: Device or resource busy
[root@localhost root]# rmmod sound
sound: Device or resource busy
[root@localhost root]# rmmod soundcore
soundcore: Device or resource busy

What now??

Thymox 12-11-2002 02:50 PM

Try doing rmmod -a several times, and then doing an lsmod to see if it/they have been removed. If so, then you know what the next step is... if not, then post the output of your lmsod here (all of it?).

DigiCrime 12-11-2002 03:06 PM

still not working

[root@localhost root]# rmmod -a
[root@localhost root]# lsmod
Module Size Used by Tainted: P
hcfpciserial 25056 1 (autoclean)
hcfpciengine 807912 0 (autoclean) [hcfpciserial]
hcfpciosspec 22284 1 (autoclean) [hcfpciserial hcfpciengine]
emu10k1 68320 0 (autoclean)
via82cxxx_audio 20480 1 (autoclean)
uart401 7936 0 (autoclean) [via82cxxx_audio]
ac97_codec 11872 0 (autoclean) [emu10k1 via82cxxx_audio]
sound 71916 0 (autoclean) [via82cxxx_audio uart401]
soundcore 6692 9 (autoclean) [emu10k1 via82cxxx_audio sound]
tdfx 38008 1
agpgart 39456 0 (unused)
autofs 12132 0 (autoclean) (unused)
ipchains 43528 9
ide-scsi 9664 0
scsi_mod 108608 1 [ide-scsi]
ide-cd 30272 0
cdrom 32224 0 [ide-cd]
nls_iso8859-1 3488 1 (autoclean)
nls_cp437 5120 1 (autoclean)
msdos 7068 1 (autoclean)
fat 37432 0 (autoclean) [msdos]
mousedev 5312 1
hid 21344 0 (unused)
input 5984 0 [mousedev hid]
usb-uhci 24452 0 (unused)
usbcore 73216 1 [hid usb-uhci]
ext3 67136 5
jbd 49400 5 [ext3]

Thymox 12-11-2002 03:22 PM

Quote:

Originally posted by Thymox
Try doing rmmod -a several times...
Did you?

DigiCrime 12-11-2002 03:35 PM

Quote:

Originally posted by Thymox
Did you?
oops sorry.. ok I did this time, went back to make install make tools make installt-tools everything installed fine, but still no sound :(

Thymox 12-11-2002 03:37 PM

So, you have done all the makes? Have you done modprobe emu10k1?

Basically, what you do is:
Remove all the sound related modules
'make' the files that creates a new module
insert the new module.

DigiCrime 12-11-2002 03:46 PM

modprobe if its doing anything i havent noticed it, but ran it anyway
[root@localhost emu10k1-v0.20a]# make
**
** The driver was succefully compiled, now install it with:
** make install
**

Its loaded, mixer settings says Audidy on it to emu10k1, so I guess its loaded but nothing works. I rebooted just incase too, nothing.

lsmod incase you see something I dont, Im still new to linux yet.

[root@localhost emu10k1-v0.20a]# lsmod
Module Size Used by Tainted: P
ppp_deflate 4000 0 (autoclean)
zlib_deflate 21344 0 (autoclean) [ppp_deflate]
ppp_async 8256 1 (autoclean)
ppp_generic 24140 3 (autoclean) [ppp_deflate ppp_async]
slhc 6508 0 (autoclean) [ppp_generic]
hcfpciserial 25056 2 (autoclean)
hcfpciengine 807912 0 (autoclean) [hcfpciserial]
hcfpciosspec 22284 1 (autoclean) [hcfpciserial hcfpciengine]
via82cxxx_audio 20480 0 (autoclean)
uart401 7936 0 (autoclean) [via82cxxx_audio]
ac97_codec 11872 0 (autoclean) [via82cxxx_audio]
sound 71916 0 (autoclean) [via82cxxx_audio uart401]
soundcore 6692 5 (autoclean) [via82cxxx_audio sound]
tdfx 38008 1
agpgart 39456 0 (unused)
autofs 12132 0 (autoclean) (unused)
ipchains 43528 9
ide-scsi 9664 0
scsi_mod 108608 1 [ide-scsi]
ide-cd 30272 0
cdrom 32224 0 [ide-cd]
nls_iso8859-1 3488 1 (autoclean)
nls_cp437 5120 1 (autoclean)
msdos 7068 1 (autoclean)
fat 37432 0 (autoclean) [msdos]
mousedev 5312 1
hid 21344 0 (unused)
input 5984 0 [mousedev hid]
usb-uhci 24452 0 (unused)
usbcore 73216 1 [hid usb-uhci]
ext3 67136 5
jbd 49400 5 [ext3]


I appreciate your help with everything too!!!

Thymox 12-11-2002 03:52 PM

Are you doing this from a terminal from within a GUI, or from the command line with no X running?

DigiCrime 12-11-2002 03:54 PM

I have KDE loaded up right now, im doing this from a terminal window

Thymox 12-11-2002 03:59 PM

OK, I just wondered. I usually quit from X whenever I do stuff like this. I can't understand why you should be getting these problems. The installation file (below) is really basic, and hasn't failed on me yet! Have you tried rebooting? I know that is a sin in Linux... but...
Code:

Installation
------------
1. As root type:

        make install

2. Add a new reference to the driver in /etc/modules.conf:

        alias sound emu10k1

3. Play some sound. The module should be auto-loaded.


DigiCrime 12-11-2002 04:15 PM

Yea I rebooted just incase :)
Only thing I can think of is to remove everything and start over..

I loaded it from here
/root/emu-tools-0.9.4/ any way to uninstall everything and start over??


All times are GMT -5. The time now is 10:42 AM.