LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 08-21-2004, 10:11 PM   #1
faref
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware, Ubuntu
Posts: 25

Rep: Reputation: 15
Alsa and Mixer Troubles on a SiS 7012


I've been having fun trying to get Alsa to work on Mandrake 10. I've spent the past three hours googling for information but can't seem to find anything that helps. I am fairly new to linux...but not that new...

I am trying to configure AlsaMixer and Alsa on my box, running an SiS 7012.

Here is a list of my issues, which are all probally the same thing:[list=2][*]Running "alsamixer -c 0" returns "alsamixer: function snd_ctl_open failed for hw:0: No such device'[*]Running Kmix shows up a list and doesn't have a list of mixers. Rather an empty drop down box.[*]Running "alsaconfig" returns "Loading driver...
Starting sound driver: snd-intel8x0 WARNING: Error inserting snd-mpu401-uart (/l
ib/modules/2.6.3-7mdk/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko.gz): Unknow
n symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd-pcm (/lib/modules/2.6.3-7mdk/kernel/sound/acore/snd
-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
Loading driver...
Starting sound driver: snd-intel8x0 WARNING: Error inserting snd-mpu401-uart (/lib/modules/2.6.3-7mdk/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko.gz): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd-pcm (/lib/modules/2.6.3-7mdk/kernel/sound/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd-mpu401-uart (/lib/modules/2.6.3-7mdk/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko.gz): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd-pcm (/lib/modules/2.6.3-7mdk/kernel/sound/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd-intel8x0 (/lib/modules/2.6.3-7mdk/kernel/sound/pci/snd-intel8x0.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error running install command for snd-intel8x0
done
Setting default volumes...
===============================================================================

Now ALSA is ready to use.
For adjustment of volumes, use your favorite mixer.

Have a lot of fun!"[/list=2]

Any Help would be appreciated.
-f
 
Old 08-21-2004, 10:48 PM   #2
darin3200
Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
You seem to be having trouble loading the kernel modules. Are you running these commands as root? Also, if you are comfortable with it I would just recommend a full kernel recompile with the latest sources, it might speed up your machine while taking care of the module problem and letting you compile in new alsa and SiS 7012 support.
 
Old 08-22-2004, 07:36 AM   #3
faref
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware, Ubuntu
Posts: 25

Original Poster
Rep: Reputation: 15
I am running these commands as root so that isn't the issue, I wish it was that easy =/

What exactly do I need to do to compile in new alsa and SiS 7012 support? Can I just compile like it is now and things will fix itself, don't I have to set some flags or do something specific? (also I just just get 2.6.8.1? from http://www.kernel.org/?)

Thanks
-f

Last edited by faref; 08-22-2004 at 07:39 AM.
 
Old 08-22-2004, 09:17 AM   #4
darin3200
Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
First of all, do you use grub or lilo? Read this all first before starting, and restart and see if you can do the last step and be able to change some of your bootloader info without booting into linux and then start.
-----
Yeah, download the sources and as root move them to /usr/src, then unpack them with
Code:
tar -xvjpf kernel-sources-name.tar.bz2
rm /usr/src/linux
ln -s linux-2.6.8.1 linux
cd /usr/src/linux
make xconfig
From there it is so much easier than most people think. There are nice graphical menus, just click to add the stuff you need. There is a section on 'device drivers' under which there is 'sound' and then you can add alsa support and sis 7012(note: sis 7012 isn't on its own line, it the last on a line of about 3 different devices, which starts with an intel chip) Once you get done, click the save and exit out of that. Then type
Code:
make && make modules_install
that compiles your kernel then
Code:
mv /boot/vmlinuz /boot/vmlinuz.old
so this way you have a backup just in case. Then you should still be in /usr/src/linux
Code:
cp arch/i386/boot/bzImage /boot
Code:
mv /boot/bzImage /boot/vmlinuz
Then restart and pray
On the off chance that it doesn't boot remeber "DON'T PANIC" just restart and select the Mandrake entry and type 'e' to edit. Then just select the line that has the kernel name and change it from vmlinuz to vmlinuz.old
-----
 
Old 08-22-2004, 04:01 PM   #5
faref
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware, Ubuntu
Posts: 25

Original Poster
Rep: Reputation: 15
Okay, I did what you said and still nothing.

[root@localhost alsa-driver-1.0.6a]# alsamixer
alsamixer: function snd_ctl_open failed for default: No such file or directory
[root@localhost alsa-driver-1.0.6a]# alsamixer -c 0
alsamixer: function snd_ctl_open failed for hw:0: No such file or directory
[root@localhost alsa-driver-1.0.6a]# alsactl store
alsactl: save_state:1061: No soundcards found...

I check harddrake and it detects the card properly, here is what is in my /etc/modules.conf:

probeall usb-interface usb-ohci
alias eth0 8139too
above snd-intel8x0 snd-pcm-oss
# This sets up the ALSA and OSS portion
alias char-major-116 snd
alias char-major-14 soundcore
# Replace "driver" with the driver for you soundcard
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# Configure the OSS emulation layer
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# If you have more than 1 card, set this number to the correct value
options snd cards_limit=1
options snd-pcm-oss nonblock_open=1

Again, any help would be appreciated.
 
Old 08-22-2004, 04:19 PM   #6
darin3200
Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
Try changing the module in harddrake and trying using aumix.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sis 7012 on debian scotty2hott2k Linux - Hardware 1 04-19-2004 12:53 PM
Sis 7012 Sound Problem With ALSA labiere Linux - Hardware 1 01-25-2004 03:42 PM
sis 7012 audio problems with ALSA 1.0.1 psycho2004 Linux - Newbie 4 01-20-2004 02:57 PM
sis 7012 problems chlee Linux - Hardware 3 08-17-2003 01:32 AM
sis 7012 N|ghtwo|f Linux - Software 2 07-17-2003 02:09 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration