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.
I read the sticky on what to post with this but I couldn't get the /sbin/lspci log to come up
Quote:
mine@ubuntu:~$ /sbin/lspci
bash: /sbin/lspci: No such file or directory
mine@ubuntu:~$
and the dmseg is 13 pages long. I am quite new to a Linux based OS. Anyhow I can not get my Sandblaster Audigy to work in the Ubuntu 8.10 OS. I d/l all the codec with the following key and still no sound.
I checked the obvious and its all good. Speakers pluged in, turned up and have power. Master volume and program volume are turned up. So I turn to you gurus for more options.
If you need a log or anything please include details on how to retrieve it.
[ 18.455229] CA0106 0000:00:0a.0: PCI INT A -> Link[LNKC] -> GSI 5 (level, low) -> IRQ 5
[ 18.455275] snd-ca0106: Model 100a Rev 00000000 Serial 100a1102
So the card is detected, though dmesg seems to be set for sparse reporting. Can't find anything as to how to set verbose for it and /dev/dsp should be created. Also the fact that you are seeing the mixer controls suggests it's in working order.
I have a relative I've installed one of these ca0106-based cards for, but I can't get over that way for a few days to check how his mixer is set up. Quite often mixer controls are cryptic and take some messing with to get them to work. Best to turn all controls up fully and check nothing is ticked as muted.
Good to hear that it is detected. I appreciate all the help thus far sidboyce.I have already gone through the mixer and put all the controls to max level. I still have no sound. Honestly it is no hurry to get it set up. I have my mp3 player for music until all gets up and running. Although if there is anything you may need from my end just let me know.
Possibly it is as simple as turning off the digital output if it has one. Double click the volume icon - go to the switches tab - check the Analog/Digital output is not enabled.
Hi I have one of these Audigy Value cards with the CA0106 chip too.
In a terminal run 'alsamixer'. In alsamixer, use the left/right arrow keys to move around and the up/down ones to change settings. Press Tab to change the view from Playback to Capture to All and cycle.
On the Playback view: All four IEC958 things should be off -either [MM] or at 0. Set the 'Analog Front' at 45 or above. If you want to hear a mike or line-input source set the 'Capture Feedback' to 80. (Don't do this when recording, though - set it to 0 when recording input.)
Press Tab to get to the Capture view. Set 'Line in' or 'Mic' to 80 (leave unused inputs at 0 to reduce noise). Set 'Analog source' to 'Mic' or 'Line In', Set 'Digital source' to "i2s in" (IMPORTANT) and set 'shared mic/line in' according to what you have plugged in.
Edit: press Esc to get out of alsamixer - there is no "save settings" button or anything.
These settings should get you reasonable sound. Adjust to your taste.
Once you have it set up, do 'sudo alsactl store' to save the settings so that they will be restored on next boot-up -- although on my PC, KDE resets the settings when it starts up so I have to use alsamixer every time I startx :[
Edit 2: I found that alsamixer was the only thing that worked for me - KMix, alsamixergui, etc (all the GUI mixers) did not work.
Last edited by gregvp; 03-19-2009 at 04:14 AM.
Reason: add vital instruction! :-)
I also have a soundblaster audigy card, I use alsamixer to set the volumes and it works fine, although everytime I boot I have to reset the volume as there is a bug in the driver I think, I saw something in dmesg about it. Even using alsactl store does not fix this problem.
My relative whose openSUSE box I setup only knows kmix and that works fine. I must check his box to see what kmix settings are. Mixer settings can seem like a black art at times or at least needing an audio engineer to interpret them.
One day I got curious and did a google search on IEC958 and discovered it was digital, there are also an array of input sources, sometimes difficult to figure out which needs to be selected, so some trial and error selections have to be done.
Perhaps one day some one with the knowledge will put out a detailed explanation of these settings so we will be able to interpret them for any sound card we come across.
I see that you have an onboard soundcard as well (VIA 82xx). Would you post the output of:
cat /proc/asound/cards
That will show us, and you , how the cards are ordered. You may find that the onboard card is set as card0, and the audigy one as card1. The pcspkr module that shows in your dmesg output can also be problematic, and may need to be dealt with.
Output also please for: lsmod | grep snd
No need to prefix with /sbin, as lspci, lsmod, lsusb, etc, have all been moved to different locations in Intrepid.
Oops, I didn't pick those 2 up and was under the impression only one sound card was installed and searched only for Audigy in dmesg - makes a world difference as we don't know which sound card is card 0. If card 0 is the Via and card 1 is the Audigy, that explains a whole lot.
Ok. You've got 2 choices then. Either get your audio apps to use hw1, rather than the default hw0, Or better, set some options lines at the bottom of /etc/modprobe.d/alsa-base, so as to re-order the cards, as below.
Reboot, then rerun: cat /proc/asound/cards , and hopefully the audigy (ca0106) will now be card0.
If you have no intention to ever use the onboard soundcard, you may be able to disable it in the BIOS, and may find that the audigy card is automatically set as card0. Just a thought, but as I only have one soundcard on each of my 3 machines, I'm not sure of that.
You did not say if you are using Ubuntu, or Kubuntu. I asked because Ubuntu has pulseaudio installed, which may, or may not cause problems when you have 2 soundcards available.
If you keep both cards, but re-ordered, you can access them with alsamixer on the CLI, as below.
alsamixer -D hw:0 (which will shower mixer settings for the audigy card)
alsamixer -D hw:1 (mixer settings for the onboard VIA)
Ok. You've got 2 choices then. Either get your audio apps to use hw1, rather than the default hw0, Or better, set some options lines at the bottom of /etc/modprobe.d/alsa-base, so as to re-order the cards, as below.
Reboot, then rerun: cat /proc/asound/cards , and hopefully the audigy (ca0106) will now be card0.
I tried to set things the first way you suggested (see attachment of sound controls). Honestly I am still a beginner in linux so I am not exactly sure what I am changeing. I am not sure how to go about trying the second mod. I entered "/etc/modprobe.d/alsa-base" and received the no such file error. I then took off the "-base" and still got the same error.
Quote:
mine@ubuntu:~$ /etc/modprobe.d/alsa-base
bash: /etc/modprobe.d/alsa-base: Permission denied
mine@ubuntu:~$ /etc/modprobe.d/alsa
bash: /etc/modprobe.d/alsa: No such file or directory
mine@ubuntu:~$
I also tried to disable the on-board in bios but no such luck there either. I edited my last post for system details in the screen shot.
Last edited by Nightspear; 03-20-2009 at 11:19 AM.
Sorry. I should have given more detailed instructions, and please say whether you're using Ubuntu, or Kubuntu, as there are different editing apps for example, depending on whether you are using Ubuntu, or Kubuntu.
Back to the plot.
If you're using Ubuntu, with Gnome desktop, do the following. Open a terminal, and type:
sudo gedit
give your user password, and then gedit will open.
click on "Open", then click on File System on the newly opened window. then on the right, double click on etc, scroll down, and double click on modprobe.d, then double click on the alsa-base file.
OK so far?
Don't mess with the stuff that's in the file, as you are now working as root. Scroll down to the bottom of the file, Put the mouse cursor at the end of the last line, and do one left click with the mouse. Now press enter twice on the keyboard.
Now the mouse cursor should be at the beginning of a new line, with one empty line above. Now you can add the options lines, as below.
options snd-ca0106 index=0
press enter on the keyboard, when you have typed the above line (leave the spacebar alone, as you don't want whitespace between lines)
Now with the mouse cursor at the start of the next line, type:
options snd-via82xx index=1
Press enter again, then on Gedit's menu, click on "Save". There should be no complaints from Gedit. Now close Gedit, then exit Gnome's terminal.
Reboot the machine, which is the easiest way to go, and run:
cat /proc/asound/cards.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.