Configuring onboard intel soundcard: No sound

2007-09-15 Thread Peter Robinson

Hey good folks,

I am trying to get sound running on a computer with an intel board and 
the following parameters:


# lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio 
Controller (rev 02)


# cat /proc/asound/cards
0 [Intel  ]: HDA-Intel - HDA Intel
 HDA Intel at 0x8832 irq 23

# head -n5 /proc/asound/card0/codec#2
Codec: SigmaTel STAC9271D
Address: 2
Vendor Id: 0x83847627
Subsystem Id: 0x80862504
Revision Id: 0x100201

I tried:
modprobe snd-intel8x0 ; modprobe snd-pcm-oss ; modprobe snd-mixer-oss ; 
modprobe snd-seq-oss


Result: No error message when playing audio but also no sound.


I also tried
#alsoconf (the above card was recognized without problems)
# alsactl store
alsactl: save_state:1253: No soundcards found...
#speaker-test


speaker-test 1.0.14

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib confmisc.c:769:(parse_card) cannot find card ''
ALSA lib conf.c:3510:(_snd_config_evaluate) function 
snd_func_card_driver returned error: No such device

ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_concat 
returned error: No such device

ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer 
returned error: No such device

ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
Playback open error: -19,No such device
ALSA lib confmisc.c:769:(parse_card) cannot find card ''
ALSA lib conf.c:3510:(_snd_config_evaluate) function 
snd_func_card_driver returned error: No such device

ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_concat 
returned error: No such device

ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer 
returned error: No such device

ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
Playback open error: -19,No such device



Any ideas? PS, I am running sid with a 2.6.22 kernel.

Thanks, Peter


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Configuring onboard intel soundcard: No sound

2007-09-15 Thread Jose Luis Rivas Contreras
Peter Robinson wrote:
 Hey good folks,
 Any ideas? PS, I am running sid with a 2.6.22 kernel.

I have your same sound board and did happened the same that you. I
purged and installed alsa again a sound worked. I didn't goes deeper in
what was wrong, but doing that worked (and in several other machines as
well)

Regards,
Jose Luis.
-- 

ghostbar on debian linux 'sid' 2.6.22 x86_64-SMP - #382503
Weblog: http://ghostbar.ath.cx/ - http://linuxtachira.org
http://debian.org.ve - irc.debian.org #debian-ve #debian-devel-es
San Cristóbal, Venezuela. http://chaslug.org.ve
Fingerprint = 3E7D 4267 AFD5 2407 2A37  20AC 38A0 AD5B CACA B118



signature.asc
Description: OpenPGP digital signature


Re: Configuring onboard intel soundcard: No sound

2007-09-15 Thread Florian Kulzer
On Sat, Sep 15, 2007 at 08:02:11 +0200, Peter Robinson wrote:
 Hey good folks,

 I am trying to get sound running on a computer with an intel board and the 
 following parameters:

 # lspci | grep -i audio
 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio 
 Controller (rev 02)

I have the same audio device.

 # cat /proc/asound/cards
 0 [Intel  ]: HDA-Intel - HDA Intel
  HDA Intel at 0x8832 irq 23

Looks OK to me, unless there is an interrupt conflict. What is the
output of

cat /proc/interrupts | egrep -i 'hda|23:'

?

 # head -n5 /proc/asound/card0/codec#2
 Codec: SigmaTel STAC9271D
 Address: 2
 Vendor Id: 0x83847627
 Subsystem Id: 0x80862504
 Revision Id: 0x100201

I have a different codec. STAC9271D is known and supported according to
the 2.6.22 kernel sources. I am a bit surprised, though, that it is
codec#2. Are there any other codecs? (I only have codec#0.)

Please post the output of the following:

cat /dev/sndstat

ls -l /dev/{snd,dsp}

cat /etc/modprobe.d/sound

grep '.*' /sys/module/snd_hda_intel/parameters/*

 I tried:
 modprobe snd-intel8x0 ; modprobe snd-pcm-oss ; modprobe snd-mixer-oss ; 
 modprobe snd-seq-oss

The snd_hda_intel module should be enough, together with snd_pcm_oss for
legacy OSS support. What is your output for lsmod | grep snd?

 Result: No error message when playing audio but also no sound.

 I also tried
 #alsoconf (the above card was recognized without problems)
 # alsactl store
 alsactl: save_state:1253: No soundcards found...
 #speaker-test

 speaker-test 1.0.14

 Playback device is default
 Stream parameters are 48000Hz, S16_LE, 1 channels
 Using 16 octaves of pink noise
 ALSA lib confmisc.c:769:(parse_card) cannot find card ''
 ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_card_driver 
 returned error: No such device

[...]

 
 Any ideas? PS, I am running sid with a 2.6.22 kernel.

You might have to pass some additional parameters to the snd_hda_intel
module when you modprobe it. I hope that the output of one of the
commands above will give us a clue.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Configuring onboard intel soundcard: No sound

2007-09-15 Thread Elimar Riesebieter
On Sat, 15 Sep 2007 the mental interface of
Peter Robinson told:

 Hey good folks,

 I am trying to get sound running on a computer with an intel board and the 
 following parameters:

 # lspci | grep -i audio
 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio 
 Controller (rev 02)

 # cat /proc/asound/cards
 0 [Intel  ]: HDA-Intel - HDA Intel
  HDA Intel at 0x8832 irq 23

 # head -n5 /proc/asound/card0/codec#2
 Codec: SigmaTel STAC9271D
 Address: 2
 Vendor Id: 0x83847627
 Subsystem Id: 0x80862504
 Revision Id: 0x100201

 I tried:
 modprobe snd-intel8x0 ; modprobe snd-pcm-oss ; modprobe snd-mixer-oss ; 
 modprobe snd-seq-oss

 Result: No error message when playing audio but also no sound.

alsaconf is buggy. I prepared a working version for alsa-utils
1.0.14-2 which will come soon. Anyway, on 2.6 Kernels alsaconf isn't
neede. Udev does the job ;)

Try:
# modprobe snd-intel8x0
# mv /var/lib/alsa/asound.state /var/lib/alsa/asound.state.save
# /etc/init.d/alsa-utils start

I suppose Headphone Jack Sense and Line Jack Sense aren't muted
[0] [1] which will be done by the above mentioned commands.

[0] http://www.thinkwiki.org/wiki/AD1981B
[1] 
http://alsa.opensrc.org/index.php/FAQ#My_ALSA_modules_seem_to_be_loaded_fine_but_I_hear_no_sound._Why.27s_that.3F

Elimar


-- 
  The path to source is always uphill!
-unknown-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Configuring onboard intel soundcard: No sound

2007-09-15 Thread Peter Robinson

Florian Kulzer wrote:

On Sat, Sep 15, 2007 at 08:02:11 +0200, Peter Robinson wrote:
  



Tach Florian, here is the output of the various commands:

[EMAIL PROTECTED]:~$ cat /proc/interrupts | egrep -i 'hda|23:'
23: 274056  0   IO-APIC-fasteoi   HDA Intel

There is apparently only one codec:
[EMAIL PROTECTED]:~$ ls /proc/asound/card0/
codec#2id oss_mixer  pcm0c/ pcm0p/ pcm1p/


Please post the output of the following:

cat /dev/sndstat
  

cat /dev/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.14 emulation code)
Kernel: Linux peter 2.6.22-2-686 #1 SMP Fri Aug 31 00:24:01 UTC 2007 i686
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
HDA Intel at 0x8832 irq 23

Audio devices:
0: STAC92xx Analog (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers:
0: SigmaTel STAC9271D
[EMAIL PROTECTED]:~$ 


[EMAIL PROTECTED]:~$ ls -l /dev/{snd,dsp}
crw-rw 1 root audio 14, 3 2007-09-15 18:16 /dev/dsp

/dev/snd:
total 0
crw-rw 1 root audio 116,  0 2007-09-15 18:16 controlC0
crw-rw 1 root audio 116, 24 2007-09-15 18:16 pcmC0D0c
crw-rw 1 root audio 116, 16 2007-09-15 18:16 pcmC0D0p
crw-rw 1 root audio 116, 17 2007-09-15 18:16 pcmC0D1p
crw-rw 1 root audio 116, 33 2007-09-15 18:16 timer


cat /etc/modprobe.d/sound
  


cat /etc/modprobe.d/sound
alias snd-card-0 snd-hda-intel
options snd-hda-intel index=0


***

grep '.*' /sys/module/snd_hda_intel/parameters/*
/sys/module/snd_hda_intel/parameters/enable:N
/sys/module/snd_hda_intel/parameters/id:NULL
/sys/module/snd_hda_intel/parameters/index:0
/sys/module/snd_hda_intel/parameters/model:NULL
/sys/module/snd_hda_intel/parameters/position_fix:0
/sys/module/snd_hda_intel/parameters/probe_mask:-1
/sys/module/snd_hda_intel/parameters/single_cmd:N
[EMAIL PROTECTED]:~$


*

Thanks! Peter



I tried:
modprobe snd-intel8x0 ; modprobe snd-pcm-oss ; modprobe snd-mixer-oss ; 
modprobe snd-seq-oss



The snd_hda_intel module should be enough, together with snd_pcm_oss for
legacy OSS support. What is your output for lsmod | grep snd?

  

Result: No error message when playing audio but also no sound.

I also tried
#alsoconf (the above card was recognized without problems)
# alsactl store
alsactl: save_state:1253: No soundcards found...
#speaker-test

speaker-test 1.0.14

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib confmisc.c:769:(parse_card) cannot find card ''
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_card_driver 
returned error: No such device



[...]

  


Any ideas? PS, I am running sid with a 2.6.22 kernel.



You might have to pass some additional parameters to the snd_hda_intel
module when you modprobe it. I hope that the output of one of the
commands above will give us a clue.

  



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Configuring onboard intel soundcard: No sound

2007-09-15 Thread Peter Robinson

Elimar Riesebieter wrote:

On Sat, 15 Sep 2007 the mental interface of
Peter Robinson told:

  

Hey good folks,

I am trying to get sound running on a computer with an intel board and the 
following parameters:


# lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio 
Controller (rev 02)


# cat /proc/asound/cards
0 [Intel  ]: HDA-Intel - HDA Intel
 HDA Intel at 0x8832 irq 23

# head -n5 /proc/asound/card0/codec#2
Codec: SigmaTel STAC9271D
Address: 2
Vendor Id: 0x83847627
Subsystem Id: 0x80862504
Revision Id: 0x100201

I tried:
modprobe snd-intel8x0 ; modprobe snd-pcm-oss ; modprobe snd-mixer-oss ; 
modprobe snd-seq-oss


Result: No error message when playing audio but also no sound.



alsaconf is buggy. I prepared a working version for alsa-utils
1.0.14-2 which will come soon. Anyway, on 2.6 Kernels alsaconf isn't
neede. Udev does the job ;)

Try:
# modprobe snd-intel8x0
# mv /var/lib/alsa/asound.state /var/lib/alsa/asound.state.save
# /etc/init.d/alsa-utils start

I suppose Headphone Jack Sense and Line Jack Sense aren't muted
[0] [1] which will be done by the above mentioned commands.

[0] http://www.thinkwiki.org/wiki/AD1981B
[1] 
http://alsa.opensrc.org/index.php/FAQ#My_ALSA_modules_seem_to_be_loaded_fine_but_I_hear_no_sound._Why.27s_that.3F

Elimar


  



That corrected the problem! Thanks for the help to all who answered!
-peter




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]