public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Stas Sergeev <stsp@aknet.ru>
To: Roberto Oppedisano <roberto.oppedisano@infracom.it>
Cc: LKML <linux-kernel@vger.kernel.org>, Takashi Iwai <tiwai@suse.de>
Subject: Re: 2.6.26-rc1 regression: e5e1d3cb20034a3cbcfff1f0bae12201aa2ce17e breaks artsd
Date: Mon, 12 May 2008 00:56:45 +0400	[thread overview]
Message-ID: <48275D8D.10500@aknet.ru> (raw)
In-Reply-To: <482756F0.8020609@infracom.it>

[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]

Hello.

Roberto Oppedisano wrote:
>> cat /proc/asound/cards
>>   
>  0 [pcsp           ]: PC-Speaker - pcsp
>                       Internal PC-Speaker at port 0x61
>  1 [I82801DBICH4   ]: ICH4 - Intel 82801DB-ICH4
>                       Intel 82801DB-ICH4 with AD1981B at irq 10
>  2 [Modem          ]: ICH-MODEM - Intel 82801DB-ICH4 Modem
>                       Intel 82801DB-ICH4 Modem at irq 10
>> I guess you simply got the pc-speaker driver
>> loaded first and became your primary sound
>> driver, which is not what you want.
> yes, that's true. Anyway in this case the sound server crashes with a
> signal 6.
I can't say for sure why does the
crash happen, but what is known is
that you need a very recent alsa-lib
to get pc-speaker working properly.
And  even 1.0.16 is not modern enough
for that. :(
But that's not a big deal.
The attached config is only what's
needed. Put it into /usr/share/alsa/cards
and /etc/alsa/cards and maybe that
will help. There should be already
the file with that name - overwrite it.

> Passing -D dsp1 to artsd avoids the crash,
The easiest solution is
---
options snd-pcsp index=2
---
into /etc/modprobe.conf. It will
then not go ahead of 2 other drivers
of yours.

[-- Attachment #2: PC-Speaker.conf --]
[-- Type: text/plain, Size: 651 bytes --]

#
# Configuration for PC-Speaker driver
#

<confdir:pcm/front.conf>

PC-Speaker.pcm.front.0 {
	@args [ CARD ]
	@args.CARD {
		type string
	}
	type softvol
	slave.pcm {
		type hw
		card $CARD
	}
	control {
		name "Master Playback Volume"
		card $CARD
	}
	min_dB -10.0
	max_dB 20.0
}	

# default with dmix & null
PC-Speaker.pcm.default {
	@args [ CARD ]
	@args.CARD {
		type string
	}
	type asym
	playback.pcm {
		type softvol
		control {
			name "Master Playback Volume"
			card $CARD
		}
		min_dB -10.0
		max_dB 20.0
		slave.pcm {
			type plug
			slave.pcm {
				@func concat
				strings [ "dmix:" $CARD ]
			}
		}
	}
	capture.pcm {
		type null
	}
}


  reply	other threads:[~2008-05-11 20:56 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-11 18:15 2.6.26-rc1 regression: e5e1d3cb20034a3cbcfff1f0bae12201aa2ce17e breaks artsd Roberto Oppedisano
2008-05-11 18:56 ` Stas Sergeev
2008-05-11 20:28   ` Roberto Oppedisano
2008-05-11 20:56     ` Stas Sergeev [this message]
2008-05-12  7:24       ` Roberto Oppedisano
2008-05-12 18:22         ` Stas Sergeev
2008-05-13 14:00           ` Roberto Oppedisano
2008-05-13 15:41             ` Roberto Oppedisano
2008-05-13 16:50               ` Non-working snd-pcsp Takashi Iwai
2008-05-14  5:35                 ` Roberto Oppedisano
2008-05-14 10:03                   ` Takashi Iwai
2008-05-15 20:17                     ` Roberto Oppedisano
2008-05-15 20:38                       ` Stas Sergeev
2008-05-16 13:15                         ` Jan Engelhardt
2008-05-16 13:40                           ` Takashi Iwai
2008-05-16 15:18                             ` Jan Engelhardt
2008-05-16 15:23                               ` Takashi Iwai
2008-05-16 15:24                               ` Rene Herman
2008-05-19 18:10                               ` Stas Sergeev
2008-05-17 12:02                         ` Non-working snd-pcsp - solved Roberto Oppedisano
2008-05-17 15:50                           ` [patch] snd-pcsp: silent misleading warning Stas Sergeev
2008-05-18  7:44                             ` Takashi Iwai
2008-05-18 17:32                               ` Stas Sergeev
2008-05-18 16:28                                 ` Takashi Iwai
2008-05-18 16:49                                   ` Stas Sergeev
2008-05-14 19:59               ` Non-working snd-pcsp Stas Sergeev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48275D8D.10500@aknet.ru \
    --to=stsp@aknet.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roberto.oppedisano@infracom.it \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox