LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Turtle Beach Montego II works but with "make install" only (https://www.linuxquestions.org/questions/linux-general-1/turtle-beach-montego-ii-works-but-with-make-install-only-36951/)

R2RO 12-01-2002 07:24 AM

Turtle Beach Montego II works but with "make install" only
 
After installation everythin works fine. But everytime I reboot I have to go back as root to my directory and do again "make install" I get the following:

[root@localhost aureal]# makeinstall
bash: makeinstall: command not found
[root@localhost aureal]# make install
mv -f /etc/modules.conf /etc/modules.conf.old
gawk -f mod_conf /etc/modules.conf.old > /etc/modules.conf
echo "alias sound au8830" >> /etc/modules.conf
echo "alias midi au8830" >> /etc/modules.conf
mkdir -p /lib/modules/2.4.7-10/misc
cp -f au8830.o /lib/modules/2.4.7-10/misc
/sbin/depmod -a
/sbin/rmmod au8830
rmmod: module au8830 is not loaded
make: [install] Error 1 (ignored)



I know "mod aur8830" is not loaded. How do I solve this problem? I addition if I do "lsmod" I get:

Module Size Used by
au8830 143424 0 (unused)
ppp_deflate 41376 0 (autoclean)
bsd_comp 4384 0 (autoclean)
ppp_async 6736 1 (autoclean)
ppp_generic 19296 3 (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc 5280 1 (autoclean) [ppp_generic]
ide-cd 27072 0 (autoclean)
cdrom 28512 0 (autoclean) [ide-cd]
soundcore 4464 5 (autoclean) [au8830]
binfmt_misc 6416 1
parport_pc 14768 1 (autoclean)
lp 6416 0 (autoclean)
parport 25600 1 (autoclean) [parport_pc lp]
autofs 11520 0 (autoclean) (unused)
ipchains 39200 0
usb-uhci 21536 0 (unused)
usbcore 51712 1 [usb-uhci]
ext3 64624 2
jbd 40992 2 [ext3]

Aussie 12-01-2002 08:30 AM

Re: Turtle Beach Montego II works but with "make install" only
 
Quote:

Originally posted by R2RO
--<snip>--
I know "mod aur8830" is not loaded. How do I solve this problem? In addition if I do "lsmod" I get:

Module Size Used by
au8830 143424 0 (unused)
--<snip>--
soundcore 4464 5 (autoclean) [au8830]

These two lines indicate that the au8830 module is loaded, what exactly is the problem? No sound perhaps?
Try checking the permissions on /dev/audio*, /dev/dsp*, /dev/midi*, /dev/mixer* and /dev/sequencer*. Also you might have to check the volume, most mixers have it set to zero by default.

R2RO 12-01-2002 05:06 PM

The problem is that when I reboot (log in as another session), this is what I obtain when I do "lsmod". No sound at all:
[r2ro@localhost r2ro]$ lsmod
Module Size Used by
ppp_generic 19296 1 (autoclean)
slhc 5280 0 (autoclean) [ppp_generic]
ide-cd 27072 0 (autoclean)
cdrom 28512 0 (autoclean) [ide-cd]
soundcore 4464 0 (autoclean)
binfmt_misc 6416 1
parport_pc 14768 1 (autoclean)
lp 6416 0 (autoclean)
parport 25600 1 (autoclean) [parport_pc lp]
autofs 11520 0 (autoclean) (unused)
ipchains 39200 0
usb-uhci 21536 0 (unused)
usbcore 51712 1 [usb-uhci]
ext3 64624 2
jbd 40992 2 [ext3]

and the volume is ok. It will work if I re do:
"make clean" and then "make install"

With respect to the permissions on the mentioned files, they have "R" and "W" permissions for the owner. No other permission appears on them. They are 0 byte or at least that is what Nautilus think they are. Is that bad?

Thymox 12-01-2002 05:35 PM

As root, edit the file /etc/modules and perhaps the file /etc/modules.conf. For the former, you could simply add the module name on its own to the file. For the latter, you could add alias sound module-name. Then you'd need to modprobe the module, but upon reboot it should work fine.

HTH

Aussie 12-01-2002 06:12 PM

Yes, as Thymox said you don't need to reinstall the module, you just need to load it at boot. Have a look at the man page for "modprobe" by doing "man modprobe" in a terminal. Next time you boot and need to load the sound module do (as root) "modprobe au8830", then edit your /etc/modules.conf so it loads at boot. For sound to work for users once you have the module loading correctly change the permissions to rw-rw-rw.

R2RO 04-21-2003 06:13 PM

Thank to your hint = problem solved!
 
Mis Amigos: Thanks for your help, but it was my fault (again!). These two lines were missing from the /etc/modules.conf :
alias sound-slot-0 au8830
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >dev/null 2>&1 || :

I did add them and now is working like a champ.
Did not have to change permissions.
The aliases were already there.
By the way I don?t have an /etc/modules

:cool:


All times are GMT -5. The time now is 02:54 AM.