DebianThis forum is for the discussion of Debian 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.
Ok how do I change my sound card? it detected stupid modem as sound card and now I lost sound. I reran alsaconf and reinstalled newest drivers alsaconf detects my ac97 card but alamixer shows conexant?
If your Linux distribution does not have "/sbin/lspci" you need to get another one. That is standard for every Linux, afaik. So what other advice is going to work for that box?
As root issue "modprobe snd-intel8x0" and that should get your sound chip inserted in the kernel. Then issue "lsmod" and pray you have a listing of your modules. If you do, post the output here ... using code tags as you've done before.
To check your sound, if you have some intel8x0 modules, issue "speaker-test -Dplug:front -c2 -t wav" in a terminal. If that doesn't work, issue "cat /dev/urandom > /dev/dsp" and be ready to quickly hit "Ctrl+C" to stop the output.
If your Linux distribution does not have "/sbin/lspci" you need to get another one. That is standard for every Linux, afaik. So what other advice is going to work for that box?
As root issue "modprobe snd-intel8x0" and that should get your sound chip inserted in the kernel. Then issue "lsmod" and pray you have a listing of your modules. If you do, post the output here ... using code tags as you've done before.
To check your sound, if you have some intel8x0 modules, issue "speaker-test -Dplug:front -c2 -t wav" in a terminal. If that doesn't work, issue "cat /dev/urandom > /dev/dsp" and be ready to quickly hit "Ctrl+C" to stop the output.
ALSA lib pcm.c:2014:(snd_pcm_open_conf) Invalid type for PCM front definition (id: front, value: cards.pcm.front)
Playback open error: -22,Invalid argument
cat /dev/urandom > /dev/dsp
Code:
debian:/home/chas# cat /dev/urandom > /dev/dsp
cat: write error: No space left on device
debian:/home/chas#
debian:/home/chas# ac 5188 0
bash: ac: command not found
debian:/home/chas# battery 9636 0
bash: battery: command not found
debian:/home/chas# piix 9444 0 [permanent]
bash: piix: command not found
debian:/home/chas# fuse 39828 5
If 'alsaconf' detects the right card you are halfway through - with mine that was the hardest part. Just in case check to see if the right card is in '/etc/modprobe.d/sound' and then modprobe the module - it should be snd-hda-intel. Then check to see if the sound works properly. If it does do a 'alsactl store' just in case.
If 'alsaconf' detects the right card you are halfway through - with mine that was the hardest part. Just in case check to see if the right card is in '/etc/modprobe.d/sound' and then modprobe the module - it should be snd-hda-intel. Then check to see if the sound works properly. If it does do a 'alsactl store' just in case.
I still refuse to believe that "lspci" is not installed on a Debian system. That one command will show us which sound card chipset you need to use. Issue it as root, just "lspci" without the " marks and post the output.
When you find the correct sound module to use, you're going to need to remove (rmmod) the other ones you have there.
You got a serious looking problem here:
Quote:
debian:/home/chas# cat /dev/urandom > /dev/dsp
cat: write error: No space left on device
I still refuse to believe that "lspci" is not installed on a Debian system. That one command will show us which sound card chipset you need to use. Issue it as root, just "lspci" without the " marks and post the output.
When you find the correct sound module to use, you're going to need to remove (rmmod) the other ones you have there.
You got a serious looking problem here:
What is the output of "df -hT" ?
lspci
Code:
debian:/home/chas# lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV40 [GeForce 6800] (rev a1)
02:02.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46)
02:03.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
02:03.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
02:03.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)
02:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
02:03.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
02:03.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
02:03.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)
is a video controller. I would guess a PCI video capture card?
I don't use Debian, nor do I have any Intel chipsets. But Krassi, who does, wrote:
Quote:
check to see if the right card is in '/etc/modprobe.d/sound' and then modprobe the module - it should be snd-hda-intel.
So what you need to do, while root in that terminal, is issue "cat /etc/modprobe.d/sound" and see what's in there. You could post that output and Krassi will help you from there. If you see "snd-hda-intel" and he's right, issue as root "modprobe snd-hda-intel" and then it should show up in "lsmod" output, and you should have sound.
I asked you to post "df -hT" because previously you posted:
Quote:
debian:/home/chas# cat /dev/urandom > /dev/dsp
cat: write error: No space left on device
I don't know how your system is setup like that, but this looks terribly weird to me:
As Bruce said that Conexant thingie looks like a A/V capture card. If you don't use it you can just do (everything following is as su)
Code:
modprobe -r cx88_alsa
Then try running alsamixer again. It should only see the Intel card. If it does do a 'alsactl store' and restart alsa:
# /etc/init.d/alsasound restart
Now you can test the sound. If it still sees the modem or the A/V capture thingie post me an output from
# cat /proc/asound/cards
If the Conexant (cx88) is the first card in the list add 'options snd-cx88-alsa dsp_map=-2' at the end of '/etc/modprobe.d/alsa-base' and reload the alsa modules by '/etc/init.d/alsa reload' or you may just need to restart alsasound.
If you are still having problems post the output from (as a normal user do):
1. $ cat /proc/asound/cards
2. $ cat ~/.asoundrc (if you have it)
3. $ cat /etc/asound.conf (if you have it)
As Bruce said that Conexant thingie looks like a A/V capture card. If you don't use it you can just do (everything following is as su)
Code:
modprobe -r cx88_alsa
Then try running alsamixer again. It should only see the Intel card. If it does do a 'alsactl store' and restart alsa:
# /etc/init.d/alsasound restart
Now you can test the sound. If it still sees the modem or the A/V capture thingie post me an output from
# cat /proc/asound/cards
If the Conexant (cx88) is the first card in the list add 'options snd-cx88-alsa dsp_map=-2' at the end of '/etc/modprobe.d/alsa-base' and reload the alsa modules by '/etc/init.d/alsa reload' or you may just need to restart alsasound.
If you are still having problems post the output from (as a normal user do):
1. $ cat /proc/asound/cards
2. $ cat ~/.asoundrc (if you have it)
3. $ cat /etc/asound.conf (if you have it)
HF!
Krassi
1. $ cat /proc/asound/cards
Code:
debian:/home/chas# cat /proc/asound/cards
0 [ICH5 ]: ICH4 - Intel ICH5
Intel ICH5 with ALC655 at 0xeffffa00, irq 209
2. $ cat ~/.asoundrc (if you have it)
Code:
debian:/home/chas# at ~/.asoundrc
syntax error. Last token seen: /
Garbled time
3. $ cat /etc/asound.conf (if you have it)
Code:
debian:/home/chas# cat /etc/asound.conf
cat: /etc/asound.conf: No such file or directory
so sound mixer shows the right card i have sound on some appz but not all?
Everything looks right - I don't want to say terribly right. Try this:
1. (as root) alsactl store
2. Restart the PC
3. After you boot back in run alsamixer again. Everything should be fine. Test with a few programs like juk, amarok, so on. If you find that some of them recognize the right card and others don't take note of which do and don't and post us back. We'll figure it out from there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.