nor sound nor alsaconf

Getting your soundcard to work, using Debian on non-i386 hardware, etc

nor sound nor alsaconf

Postby kanonmat » 2009-04-06 06:58

I use sid i686.

I have no sound on my hp nc6220 laptop. The LED on the audiomute button is always on and pressing it wont turn sound on. Sound worked in archlinux (before I broke arch). I got the keycodes of the buttons from xev. I think I have ok settings in alsamixer.
alsa-base and alsa-utils are installed. However, there is no alsaconf (or man alsaconf). Do I need to run that? I would also like to have sound outside of X.

.Xmodmap
keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume

viewtopic.php?t=36067&highlight=alsaconf
Inspired by the linked post, here is a ton of info:
I hope that the use of quote tags instead of code tags is acceptable. Its easier on the eye in my browser anyway.
lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Proces
sor to DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Exp
ress Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Gr
aphics Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Ex
press Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Ex
press Port 2 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) US
B UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) US
B UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) US
B UHCI #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) US
B2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (IC
H6 Family) AC'97 Audio Controller (rev 03)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem
Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev
03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE
Controller (rev 03)
02:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Ne
twork Connection (rev 05)
02:06.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
02:06.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia
Controller
02:06.4 SD Host controller: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7
611/7621 Secure Digital Controller
02:06.5 Communication controller: Texas Instruments PCI6411/6421/6611/6621/7411/
7421/7611/7621 Smart Card Controller
10:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751M Gigabit Eth
ernet PCI Express (rev 11

lsmod | grep snd
snd_intel8x0 25900 0
snd_intel8x0m 12148 0
snd_seq_dummy 2368 0
snd_ac97_codec 91260 2 snd_intel8x0,snd_intel8x0m
snd_seq_oss 24756 0
ac97_bus 1444 1 snd_ac97_codec
snd_pcm_oss 31708 0
snd_mixer_oss 12000 1 snd_pcm_oss
snd_seq_midi 5448 0
snd_rawmidi 18544 1 snd_seq_midi
snd_seq_midi_event 6072 2 snd_seq_oss,snd_seq_midi
snd_pcm 62704 4 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss
snd_seq 42120 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_seq_device 6108 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd_timer 17808 2 snd_pcm,snd_seq
snd 48420 11 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_seq_oss,snd_pcm_oss,snd_mixer_oss,snd_rawmidi,snd_pcm,snd_seq,snd_seq_device,snd_timer
soundcore 6204 1 snd
snd_page_alloc 8036 3 snd_intel8x0,snd_intel8x0m,snd_pcm

cat /proc/asound/cards
0 [ICH6 ]: ICH4 - Intel ICH6
Intel ICH6 with AD1981B at irq 21
1 [Modem ]: ICH-MODEM - Intel ICH6 Modem
Intel ICH6 Modem at irq 22

cat /proc/asound/modules
0 snd_intel8x0
1 snd_intel8x0m

cat /proc/asound/pcm
00-00: Intel ICH : Intel ICH6 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH6 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH6 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH6 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH6 - IEC958 : playback 1
01-00: Intel ICH - Modem : Intel ICH6 Modem - Modem : playback 1 : capture 1

cat /dev/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.18a emulation code)
Kernel: Linux laplace 2.6.29-1-686 #1 SMP Tue Mar 24 23:05:52 UTC 2009 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
Intel ICH6 with AD1981B at irq 21
Intel ICH6 Modem at irq 22
Audio devices:
0: Intel ICH6 (DUPLEX)
1: Intel ICH6 Modem - Modem (DUPLEX)
Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG
Timers:
7: system timer
Mixers:
0: Analog Devices AD1981B
1: Silicon Laboratory Si3036,8 rev

ls /dev/snd
controlC0 pcmC0D0c pcmC0D1c pcmC0D3c pcmC1D0c seq
controlC1 pcmC0D0p pcmC0D2c pcmC0D4p pcmC1D0p timer

amixer
Simple mixer control 'Master',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 24 [77%] [-10.50dB] [off]
Front Right: Playback 24 [77%] [-10.50dB] [off]
Simple mixer control 'Master Mono',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 24 [77%] [-10.50dB] [off]
Simple mixer control 'Headphone Jack Sense',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 24 [77%] [1.50dB] [on]
Front Right: Playback 24 [77%] [1.50dB] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch cswitch 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 24 [77%] [1.50dB] [off] Capture [off]
Front Right: Playback 24 [77%] [1.50dB] [off] Capture [off]
Simple mixer control 'Line Jack Sense',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'CD',0
Capabilities: pvolume pswitch cswitch 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 24 [77%] [1.50dB] [off] Capture [off]
Front Right: Playback 24 [77%] [1.50dB] [off] Capture [off]
Simple mixer control 'Mic',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 24 [77%] [1.50dB] [off]
Front Left: Capture [on]
Front Right: Capture [on]
Simple mixer control 'Mic Boost (+20dB)',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Mic Select',0
Capabilities: enum
Items: 'Mic1' 'Mic2'
Item0: 'Mic1'
Simple mixer control 'Video',0
Capabilities: cswitch cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Phone',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 23 [74%] [0.00dB] [off]
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Aux',0
Capabilities: pvolume pswitch cswitch 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 24 [77%] [1.50dB] [off] Capture [off]
Front Right: Playback 24 [77%] [1.50dB] [off] Capture [off]
Simple mixer control 'Mono Output Select',0
Capabilities: enum
Items: 'Mix' 'Mic'
Item0: 'Mix'
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 0 [0%] [0.00dB] [on]
Front Right: Capture 0 [0%] [0.00dB] [on]
Simple mixer control 'Mix',0
Capabilities: cswitch cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Mix Mono',0
Capabilities: cswitch cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Stereo Mic',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Last edited by kanonmat on 2009-04-14 08:57, edited 1 time in total.
phenomII965, gigabyte ma790xt-ud4p, 8600gt on desktop
hp 6910p laptop. athlon 3200+, asus an8e, 6600gt on spare desktop
sid user
User avatar
kanonmat
 
Posts: 59
Joined: 2008-10-28 21:33
Location: Linköping, Sweden

Postby kanonmat » 2009-04-11 09:17

Few wants to read a post as long as that one was. The mute led comes on when udev loads. That's the same as when booting archlinux. In arch led goes off when restoring alsa. There is a
/etc/udev/alsa-utils.rules. Is that of interest?

I edited /etc/udev/udev.conf and changed udev_log"err" to udev_log"info"

/var/log/daemon.log, that earlier didn't hold any udev lines, is now filled with them. Is there anything I should grep for?
Last edited by kanonmat on 2009-04-14 09:08, edited 1 time in total.
phenomII965, gigabyte ma790xt-ud4p, 8600gt on desktop
hp 6910p laptop. athlon 3200+, asus an8e, 6600gt on spare desktop
sid user
User avatar
kanonmat
 
Posts: 59
Joined: 2008-10-28 21:33
Location: Linköping, Sweden

Postby GNU.Wasabi » 2009-04-12 20:22

If you have MPlayer what happends when you try to play an audio file?
mplayer -ao alsa:device=hw=0.0 audio.wav
Cheers, GNU.Wasabi
GNU.Wasabi
 
Posts: 349
Joined: 2008-03-31 15:55
Location: Still trying to figure out for what this field is...

Postby kanonmat » 2009-04-14 08:54

I forgot to paste the mplayer output :) There is no sound in any format I have tried.

mplayer -ao alsa:device=hw=0.0 /usr/share/sounds/alsa/Front_Center.wav
MPlayer dev-SVN-r29105Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing Front_Center.wav.
Audio only file format detected.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 1 ch, s16le, 768.0 kbit/100.00% (ratio: 96000->96000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 1.1 (01.1) of 1.0 (01.0) 0.1%

Exiting... (End of file)
phenomII965, gigabyte ma790xt-ud4p, 8600gt on desktop
hp 6910p laptop. athlon 3200+, asus an8e, 6600gt on spare desktop
sid user
User avatar
kanonmat
 
Posts: 59
Joined: 2008-10-28 21:33
Location: Linköping, Sweden

Postby bluesdog » 2009-04-15 07:14

there is no alsaconf
afaik, alsaconf has been removed, at least from the Debian package. Annoying, imo.

See if my post here is of any help
Tips & Tricks

Something more to read while waiting

If you obviously have not read THIS, don't expect too much...




*winter bluesdog....*
User avatar
bluesdog
 
Posts: 2082
Joined: 2006-02-01 09:02
Location: Similkameen, British Columbia, Canada

Postby kanonmat » 2009-04-15 14:21

http://packages.debian.org/sid/alsa-utils has no mention of alsaconf now. I think it did a short while ago.
I didn't understand the linked post or the link http://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio-Models.txt
What does "HD-Audio-Models" mean? The entries in the left column are modules? Do I need to load a module or something? I have a mic and a headphone jack. (Does modem jack count?) No sound in the headphones either. I tried Puppylinux. It has sound.

/proc/asound/card0/codec97#0 has two empty files:
ac97#0-0 ac97#0-0+regs

I can't find anything ac97 on the page.This page doesn't make much sense to me either: http://www.kernel.org/doc/Documentation/sound/alsa/ALSA-Configuration.txt
Just for fun I tried to modprobe ac97_quirk, but it was not found.

I'm more concerned with the audiomute button.

Should I go for OSS?
I kind of want the luxury of sound on my machine. I'm less motivated to conf the rest of the system if i can't look forward to sound.
Last edited by kanonmat on 2009-05-03 02:22, edited 2 times in total.
phenomII965, gigabyte ma790xt-ud4p, 8600gt on desktop
hp 6910p laptop. athlon 3200+, asus an8e, 6600gt on spare desktop
sid user
User avatar
kanonmat
 
Posts: 59
Joined: 2008-10-28 21:33
Location: Linköping, Sweden

Postby kanonmat » 2009-04-15 17:07

There is sound. OSS did it.
I removed alsa-base and alsa-utils, installed binutils gcc build-essential linux-headers-2.6.29-1-686
I downloaded oss4.1 from
http://www.opensound.com/download.cgi and did
dpkg -i oss-linux-4.1-1052_i386.deb and then rebooted.
I started ossxmix and pulled the vol and pcm sliders down and I proceeded with osstest. I have changed ao=alsa to ao=oss in /etc/mplayer/mplayer.conf

The buttons for muting or turning sound up and down still don't work, but I like it better having sound on by default, not being able to turn it off.
**EDIT**
A few lines fell off when the forum was down.
I understand almost nothing of http://www.kernel.org/doc/Documentation/sound/alsa/ , but I realized I don't have HD, I have ac97. Do I need to rebuild the kernel? With what, then? There's no sound in my up-to-date archlinux alsa either. Even though it has alsaconf. The audiobuttons work and the osd show when watching video in a focused mplayer window. I'd like a smaller one-slide mixer to put in my xfce4-panel and would like the speakers to turn off when i plug headphones in. Audacious is my kind of music player, but I can't use it now. Situation could be better, but this is kind of solved.
phenomII965, gigabyte ma790xt-ud4p, 8600gt on desktop
hp 6910p laptop. athlon 3200+, asus an8e, 6600gt on spare desktop
sid user
User avatar
kanonmat
 
Posts: 59
Joined: 2008-10-28 21:33
Location: Linköping, Sweden

Re: nor sound nor alsaconf

Postby dozymoe » 2010-03-07 17:58

I have the same problem.
They said that alsaconf is no longer needed because alsa will configure it self automatically.

Sound Driver:3.8.1a-980706 (ALSA v1.0.18a emulation code)
Kernel: Linux laplace 2.6.29-1-686 #1 SMP Tue Mar 24 23:05:52 UTC 2009 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
Intel ICH6 with AD1981B at irq 21
Intel ICH6 Modem at irq 22
Audio devices:
0: Intel ICH6 (DUPLEX)
1: Intel ICH6 Modem - Modem (DUPLEX)
Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG
Timers:
7: system timer
Mixers:
0: Analog Devices AD1981B
1: Silicon Laboratory Si3036,8 rev


Well, it manages to recognize your soundcard for once, it's Intel ICH6.
The problem lies in this line "NOT ENABLED IN CONFIG".

You also could try "/usr/share/alsa-base/snddevices" script or "/dev/MAKEDEV" see if it helps.

ps:
snddevices seem to erase /dev/sndstat, I dont know how to get it back :(
but either that or the MAKEDEV that I tried to use to bring back /dev/sndstat do the magic.
I'm able to use the soundcard now. :)

I'd love to hear if it helps ( snddevices script that is )

Fahri Reza,
West Java Indonesia.
dozymoe
 
Posts: 1
Joined: 2010-03-07 17:42


Return to Hardware

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable