LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-13-2004, 05:42 AM   #1
DATA_OK
LQ Newbie
 
Registered: Sep 2001
Location: Stuttgart, Germany
Distribution: Debian (2.6 Kernel)
Posts: 25

Rep: Reputation: 15
Sound Problem (alsa, debian 2.6)


Hi Voks,

i have just changed my Linux installation on my Siemens E7010 laptop from SuSe 9.1 to Debian (with Kernel 2.6 usw).

Linux DATA 2.6.8-1-686 #1 Tue Sep 14 00:22:58 EDT 2004 i686 GNU/Linux

My problem is that i have no sound. In the last days i have read many about this Problem. But i think i do something wrong becase it still donīt work *g*

I get error messages in /var/log/messages:

Oct 13 14:28:31 DATA kernel: codec_semaphore: semaphore is not ready [0x1][0x300300]
Oct 13 14:28:31 DATA kernel: codec_write 1: semaphore is not ready for register 0x54

I think that comes from my the card: (output from pci on kernel 2.4 !)

Bus 0, device 31, function 5:
Multimedia audio controller: Intel Corp. AC'97 Audio Controller (rev 2).
IRQ 11.
I/O at 0x1000 [0x10ff].
I/O at 0x1880 [0x18bf].
Bus 0, device 31, function 6:
Modem: PCI device 8086:2486 (Intel Corp.) (rev 2).
IRQ 11.
I/O at 0x1400 [0x14ff].
I/O at 0x1800 [0x187f].

or lspci (now):

0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio Controller (rev 02)
0000:00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem Controller (rev 02)


here an other output:

DATA:/home/data# cat /proc/asound/cards
0 [Modem ]: ICH - Intel 82801CA-ICH3 Modem
Intel 82801CA-ICH3 Modem at 0x1400, irq 11
1 [I82801CAICH3 ]: ICH - Intel 82801CA-ICH3
Intel 82801CA-ICH3 at 0x1000, irq 11

i think this is right.

alsaconf works and find the right sound card.

if i do alsamixer is come out:

DATA:/home/data# alsamixer
No mixer elems found

but this works:
alsamixer -c 1

here is a amixer output:
DATA:/home/data# amixer -c 1
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 31 [100%] [on]
Front Right: Playback 31 [100%] [on]
Simple mixer control 'Master Mono',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 23 [74%] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 24 [77%] [on]
Front Right: Playback 24 [77%] [on]
Simple mixer control '3D Control - Center',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 15
Mono: 10 [67%]
Simple mixer control '3D Control - Depth',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 15
Mono: 11 [73%]
Simple mixer control '3D Control - Switch',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 31 [100%] [on]
Front Right: Playback 31 [100%] [on]
Simple mixer control 'PCM Out Path & Mute',0
Capabilities:
Mono:
Simple mixer control 'Line',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 23 [74%] [on] Capture [off]
Front Right: Playback 23 [74%] [on] Capture [off]
Simple mixer control 'CD',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 31 [100%] [on] Capture [off]
Front Right: Playback 31 [100%] [on] Capture [off]
Simple mixer control 'Mic',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 20 [65%] [on]
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Mic Boost (+20dB)',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Mic Select',0
Capabilities:
Mono:
Simple mixer control 'Video',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 19 [61%] [on] Capture [off]
Front Right: Playback 19 [61%] [on] Capture [off]
Simple mixer control 'Phone',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 20 [65%] [on]
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958 Playback AC97-SPSA',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 3
Mono: 2 [67%]
Simple mixer control 'PC Speaker',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 15
Mono: Playback 10 [67%] [on]
Simple mixer control 'Aux',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 0 [0%] [on] Capture [off]
Front Right: Playback 18 [58%] [on] Capture [off]
Simple mixer control 'Mono Output Select',0
Capabilities:
Mono:
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 0 [0%] [on]
Front Right: Capture 0 [0%] [on]
Simple mixer control 'Mix',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [on]
Front Right: Capture [on]
Simple mixer control 'Mix Mono',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'External Amplifier',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]

so this looks good vor me (no mute, but i have also unmuted some devices as descriped in the iNet). and saved it with alsactl store

so i have read that a problem is the modem device so i put it to the blacklist (in /etc/hotplug/blacklist at the end of the file) snd-intel8x0m
rebooted ---> but still no sound !

here is my lsmod output:
DATA:/home/data# lsmod | grep snd
snd_pcm_oss 55048 0
snd_mixer_oss 20096 1 snd_pcm_oss
snd_ak4531_codec 7776 0
snd_intel8x0 36460 3
gameport 4704 1 snd_intel8x0
snd_mpu401_uart 7968 1 snd_intel8x0
snd_rawmidi 25156 1 snd_mpu401_uart
snd_seq_device 8200 1 snd_rawmidi
snd_intel8x0m 20264 4
snd_pcm 98728 3 snd_pcm_oss,snd_intel8x0,snd_intel8x0m
snd_timer 25668 1 snd_pcm
snd_page_alloc 11752 3 snd_intel8x0,snd_intel8x0m,snd_pcm
snd_ac97_codec 70020 2 snd_intel8x0,snd_intel8x0m
snd 57156 24 snd_pcm_oss,snd_mixer_oss,snd_ak4531_codec,snd_intel8x0,snd_mpu401_uart,snd_rawmidi,snd_seq_device,s nd_intel8x0m,snd_pcm,snd_timer,snd_ac97_codec
soundcore 10336 3 sound,i810_audio,snd

did someone has any idea?

Thanks vor help.
 
Old 10-13-2004, 06:59 AM   #2
DATA_OK
LQ Newbie
 
Registered: Sep 2001
Location: Stuttgart, Germany
Distribution: Debian (2.6 Kernel)
Posts: 25

Original Poster
Rep: Reputation: 15
one little success

Hi Friends,

i got one little success:

if i typ aplay -l I can see:

DATA:/home/data/slmodem-2.9.10/scripts/debian# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Modem [Intel 82801CA-ICH3 Modem], device 0: Intel ICH - Modem [Intel 82801CA-ICH3 Modem - Modem]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: I82801CAICH3 [Intel 82801CA-ICH3], device 0: Intel ICH [Intel 82801CA-ICH3]
Subdevices: 1/1
Subdevice #0: subdevice #0

now I have tried a bit und with the following command i got a "pop" sound:
aplay -Dplug:hw:1 /usr/share/sounds/pop.wav

so now I think all sound play go to "hw:0" instad off "hw:1"

How can I change this?

Thanks for Help
 
Old 10-13-2004, 08:18 AM   #3
DATA_OK
LQ Newbie
 
Registered: Sep 2001
Location: Stuttgart, Germany
Distribution: Debian (2.6 Kernel)
Posts: 25

Original Poster
Rep: Reputation: 15
Lightbulb Problem solved !

Hi Voks,

after a lot i found the solution:

you must edit the file:
/usr/share/alsa/alsa.conf

so i think you shoud make a copy of the file FIRST !
(like cp /usr/share/alsa/alsa.conf /usr/share/alsa/alsa.conf.org)


than edit the file /usr/share/alsa/alsa.conf ! (vi /usr/share/alsa/alsa.conf )
Here is the default like this:
defaults.ctl.card 0
defaults.pcm.card 0
defaults.rawmidi.card 0

i changed this to 1 because:
DATA:/home/data/slmodem-2.9.10/scripts/debian# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Modem [Intel 82801CA-ICH3 Modem], device 0: Intel ICH - Modem [Intel 82801CA-ICH3 Modem - Modem]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: I82801CAICH3 [Intel 82801CA-ICH3], device 0: Intel ICH [Intel 82801CA-ICH3]
Subdevices: 1/1
Subdevice #0: subdevice #0
here you can see .... card 0 is the modem und card 1 is the soundcard.
Maybe you must also change the subdevices !

After changing it looks like this:
DATA:~# cat /usr/share/alsa/alsa.conf | grep defaults
# defaults
defaults.ctl.card 1
defaults.pcm.card 1
defaults.pcm.device 0
defaults.pcm.subdevice -1
defaults.pcm.front.card defaults.pcm.card
defaults.pcm.front.device defaults.pcm.device
defaults.pcm.rear.card defaults.pcm.card
defaults.pcm.rear.device defaults.pcm.device
defaults.pcm.center_lfe.card defaults.pcm.card
defaults.pcm.center_lfe.device defaults.pcm.device
defaults.pcm.side.card defaults.pcm.card
defaults.pcm.side.device defaults.pcm.device
defaults.pcm.surround40.card defaults.pcm.card
defaults.pcm.surround40.device defaults.pcm.device
defaults.pcm.surround41.card defaults.pcm.card
defaults.pcm.surround41.device defaults.pcm.device
defaults.pcm.surround50.card defaults.pcm.card
defaults.pcm.surround50.device defaults.pcm.device
defaults.pcm.surround51.card defaults.pcm.card
defaults.pcm.surround51.device defaults.pcm.device
defaults.pcm.surround71.card defaults.pcm.card
defaults.pcm.surround71.device defaults.pcm.device
defaults.pcm.iec958.card defaults.pcm.card
defaults.pcm.iec958.device defaults.pcm.device
defaults.pcm.modem.card defaults.pcm.card
defaults.pcm.modem.device defaults.pcm.device
defaults.rawmidi.card 1
defaults.rawmidi.device 0
defaults.rawmidi.subdevice -1
defaults.hwdep.card 0
defaults.hwdep.device 0
defaults.timer.class 2
defaults.timer.sclass 0
defaults.timer.card 0
defaults.timer.device 0
defaults.timer.subdevice 0

my error messages in /var/log/messages are also history !

so all my SOUND Problems are solved *g*

greetings from Germany !
 
Old 10-23-2004, 12:45 AM   #4
ApuX
LQ Newbie
 
Registered: Oct 2004
Distribution: Debian Sarge
Posts: 5

Rep: Reputation: 0
Hi
I have almost exactly the same problem, with the little difference that my system only recognizes the modem and not the sound device.

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Modem [Intel 82801DB-ICH4 Modem], device 0: Intel ICH - Modem [Intel 82801DB-ICH4 Modem - Modem]
Subdevices: 1/1
Subdevice #0: subdevice #0

Any idea to solve that ?
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Taking sound samples || Debian 3.1, gnome, alsa Grimmi- Linux - General 1 12-09-2005 07:36 AM
Alsa Debian Sound in more than one app noteventime Linux - Software 3 08-16-2005 06:14 PM
sarge debian alsa sound problem lvgandhi Debian 3 06-11-2005 12:35 PM
debian: alsa started but no sound... joe0815 Linux - Hardware 3 04-21-2004 03:21 PM
Debian, ALSA, AC97 = no sound Caidence Linux - Hardware 2 07-24-2003 02:52 PM


All times are GMT -5. The time now is 02:29 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