Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi
I have installed Suse 10 today, and I have noticed that ALSA uses my motherboard-integrated sound card instead of my Audigy 2 ZS. How could I set ALSA to use my Audigy card?
Note that alsaconf says its configured, but the sample sound (or any other sound) does not work.
did you use alsamixer? if you did, did you make sure all volume controls are set properly? also make sure the proper controls are unmuted with the M key.
do you have the proper driver loaded for the pci sound card you want to use? check 'lsmod | grep snd-card-emu10k1', thats the module for the sound card you need loaded.
to select from a list of more than 1 card, check the output of 'cat /proc/asound/cards' i think is the file... are both your cards listed?
mike@linux:~> cat /proc/asound/cards
0 [Audigy2 ]: Audigy2 - Audigy 2 ZS [SB0350]
Audigy 2 ZS [SB0350] (rev.4, serial:0x20021102) at 0xb800, irq 82
mike@linux:~>
+++++++++++++++++++++++++++++++++
mike@linux:~> lsmod | grep snd-card-emu10k1
mike@linux:~>
+++++++++++++++++++++++++++++++++
Thanks for the quick reply.
After playing around, I noticed that the sound plays when i log in
Also, the music players i have tried (for wav, mp3 and cd's) amarok, noatun, and kaffeine don't play anything, even though they detect the correct length of the piece, they just immediately skip to the end. I think this may be related to this problem.
the lsmod output you gave means that you dont have the proper driver/module loaded for that sound card.. so the sound card wont work. the module for your card is (i looked up on alsa for you) 'snd-card-emu10k1'. therefore run this command as root:
Code:
modprobe snd-card-emu10k1
to double check this is the right module i found, go to ALSA's official site, click soundcards, select your manufacturer from the list and display them. go through the list of cards and find yours and see what the driver name is.
then run 'alsamixer'.. turn up all volume conrols and make sure there are no MMs above any control. if theyre are, it means it is muted, so press M to unmute it. press ESC when done, then run 'alsactl store' to save the settings. test the sound again... any luck?
mike@linux:~> su
Password:
linux:/home/mike # modprobe snd-card-emu10k1
FATAL: Module snd_card_emu10k1 not found.
linux:/home/mike #
++++++++++++++++++++++++++++
Looks like bad news...
did you check the site? is your card listed? what is the exact name of it (as listed on the site)? is it PCI or USB?
what version of alsa do you have? i think u can check by 'cat /proc/asound/version' or some similar file
try 'modprobe snd-emu10k1' instead. also what is the output of 'lsmod | grep soundcore'?
Yes, my card is listed. Exactly it is the Audigy 2 ZS Gamers Edition, listed as emu10k2, drivers emu10k1
I know it is supported because it has worked on other distros, and it is PCI, I know because I put it in myself.
+++++++++++++++++++++++++++++++++++++++++++
linux:/home/mike # modprobe snd-emu10k1
linux:/home/mike #
+++++++++++++++++++++++++++++++++++++++++++
linux:/home/mike # cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b (Thu Jul 28 12:20:13 2005 UTC).
linux:/home/mike #
+++++++++++++++++++++++++++++++++++++++++++
linux:/home/mike # lsmod | grep soundcore
soundcore 13920 1 snd
linux:/home/mike # lsmod | grep soundcore
Sound Blaster Audigy Platinum
Sound Blaster Audigy Digital Entertainment
Sound Blaster Audigy Gamer
Sound Blaster Audigy ES emu10k2 Details (emu10k1) [ANio] [MIDIio] (1) (3)
+++++++++++++++++++++++++++++++++
linux:/home/mike # modprobe snd-emu10k1
linux:/home/mike # alsamixer
alsamixer: aborting due to signal `Interrupt' //Everything was fine so i ctrl-c 'ed out
linux:/home/mike # alsactl
alsactl: Specify command...
linux:/home/mike #
i say reboot and start the process again.. doing exactly and only this:
after booting and logging in, sudo/su to root, then:
- 'modprobe snd-emu10k1'
- 'alsamixer' turn every control up and unmute all controls
- 'alsactl store'
- test the sound
now how is it? do you still get the interrupt error when you alsamixer?
After doing exactly what you told me to do, its all still the same. When kde starts, the welcome music does play. The audio players still do the same thing: they don't play at all, treating music as a millisecond long.
UPDATE: when getting a dialoge "Are you sure you want to quit?" when exiting any program, kde plays a short sound, which works
ah, i missed that part.. so the problem is solved.. ie you can hear sound from your pci sound card, not the motherboard one.
what files are you trying to play in media players? are they mp3s? if so do you have the proper codec installed? i would assume so by default, but maybe not if you have odd file types. what audio player are you trying to use? try starting the player from the command line, then, as normal, open a file and see if the command line prints out any messages relating to trying to play the file... it should.
Now, the Elvis CD works, but I almost blew my eardrums out because it was so loud (I forgot to turn down alsamixer).
The mp3 files are not working. Kaffeine only gives output as it start, and amarok gives no output at all.
++++++++++++++++++++++++++++++++++++++++++++++++
mike@linux:~> kaffeine
DVB 0 : No such file or directory
DVB 1 : No such file or directory
DVB 2 : No such file or directory
DVB 3 : No such file or directory
mike@linux:~> amarok
mike@linux:~>
go to the kaffeine site or search around for where to download and how to install the mp3/mpeg3 codec for that player (if it isnt installed already).
do you have xmms installed? check the package manager for your distro, it should be in the list and easily installed... once u have it installed try and play an mp3 in that.
I do have XMMS, but it won't play anything, nor will anything show up on the playlist if I add something. I used YaST to download all available XMMS packages.
After trying each player I had, xine told me that the mp3 codec is missing
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.