linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Kernel 2.6.0-test1-ac3: alsa snd_via82xx
@ 2003-07-27  9:17 Claas Langbehn
  2003-07-27 10:18 ` Stephane Wirtel
  2003-07-28  9:39 ` Takashi Iwai
  0 siblings, 2 replies; 7+ messages in thread
From: Claas Langbehn @ 2003-07-27  9:17 UTC (permalink / raw)
  To: linux-kernel

Hello,


I figured out some strange behaviour of the alsa drivers in kernel
2.6.0-test1-ac3. 
When compiling everything into the kernel (=y), I was not able to get
sound out of my machine at all. But with CONFIG_SND_VIA82XX=m it worked.
Isn't that strange?
I have got an EPOX 8K9A9i Mainboard with VIA8233 / ALC650 audio.
I attach more info below.


Regards, claas

---

/usr/src/linux/.config (only the alsa part of it):

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_SEQUENCER=y
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=y
CONFIG_SND_VERBOSE_PRINTK=y
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# ISA devices
#
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_WAVEFRONT is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set

#
# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_SONICVIBES is not set
CONFIG_SND_VIA82XX=m
# CONFIG_SND_VX222 is not set

#
# ALSA USB devices
#
# CONFIG_SND_USB_AUDIO is not set

---

# lspci 
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host
Bridge (rev 80)
00:01.0 PCI bridge: VIA Technologies, Inc.: Unknown device b198
00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus
Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97
Audio Controller (rev 50)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II]
(rev 74)
01:00.0 VGA compatible controller: nVidia Corporation: Unknown device
0322 (rev a1)


00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97
Audio Controller (rev 50)
Subsystem: Unknown device 1695:3005
Flags: medium devsel, IRQ 22
I/O ports at e000 [size=256]
Capabilities: [c0] Power Management version 2




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Kernel 2.6.0-test1-ac3: alsa snd_via82xx
  2003-07-27  9:17 Kernel 2.6.0-test1-ac3: alsa snd_via82xx Claas Langbehn
@ 2003-07-27 10:18 ` Stephane Wirtel
  2003-07-27 10:40   ` Rahul Karnik
  2003-07-28  9:39 ` Takashi Iwai
  1 sibling, 1 reply; 7+ messages in thread
From: Stephane Wirtel @ 2003-07-27 10:18 UTC (permalink / raw)
  To: Claas Langbehn; +Cc: linux-kernel

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

>> I figured out some strange behaviour of the alsa drivers in kernel
>> 2.6.0-test1-ac3. 
>> When compiling everything into the kernel (=y), I was not able to get
>> sound out of my machine at all. But with CONFIG_SND_VIA82XX=m it worked.
>> Isn't that strange?
>> I have got an EPOX 8K9A9i Mainboard with VIA8233 / ALC650 audio.
>> I attach more info below.

Look in the documentation in
Documentation/sound/alsa/ALSA-Configuration.txt

I had the same problem of you, and in reading this "manual", you can
install the module for your sound card, and it works.

If you want details, i can send you my /etc/modules.conf

Stephane
-- 
Stephane Wirtel <stephane.wirtel@belgacom.net>
GPG ID : 1024D/C9C16DA7 | 5331 0B5B 21F0 0363 EACD  B73E 3D11 E5BC C9C1 6DA7


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Kernel 2.6.0-test1-ac3: alsa snd_via82xx
  2003-07-27 10:18 ` Stephane Wirtel
@ 2003-07-27 10:40   ` Rahul Karnik
  0 siblings, 0 replies; 7+ messages in thread
From: Rahul Karnik @ 2003-07-27 10:40 UTC (permalink / raw)
  To: Stephane Wirtel; +Cc: Claas Langbehn, linux-kernel

Stephane Wirtel wrote:

> I had the same problem of you, and in reading this "manual", you can
> install the module for your sound card, and it works.

That's his point, the driver works as a module but not when compiled 
into the kernel.

-Rahul


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Kernel 2.6.0-test1-ac3: alsa snd_via82xx
  2003-07-27  9:17 Kernel 2.6.0-test1-ac3: alsa snd_via82xx Claas Langbehn
  2003-07-27 10:18 ` Stephane Wirtel
@ 2003-07-28  9:39 ` Takashi Iwai
  2003-07-28 10:19   ` Claas Langbehn
  1 sibling, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2003-07-28  9:39 UTC (permalink / raw)
  To: Claas Langbehn; +Cc: linux-kernel

At Sun, 27 Jul 2003 11:17:29 +0200,
Claas Langbehn wrote:
> 
> Hello,
> 
> 
> I figured out some strange behaviour of the alsa drivers in kernel
> 2.6.0-test1-ac3. 
> When compiling everything into the kernel (=y), I was not able to get
> sound out of my machine at all. But with CONFIG_SND_VIA82XX=m it worked.
> Isn't that strange?

what do you mean exactly "no sound"?  you can play the file but no
sounds come out, or playback is not operational?

did you set any module options for ALSA in /etc/modprobe.conf?



Takashi

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Kernel 2.6.0-test1-ac3: alsa snd_via82xx
  2003-07-28  9:39 ` Takashi Iwai
@ 2003-07-28 10:19   ` Claas Langbehn
  2003-07-28 10:45     ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: Claas Langbehn @ 2003-07-28 10:19 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: linux-kernel

Hello Takashi!


Takashi Iwai wrote:
> > I figured out some strange behaviour of the alsa drivers in kernel
> > 2.6.0-test1-ac3. 
> > When compiling everything into the kernel (=y), I was not able to get
> > sound out of my machine at all. But with CONFIG_SND_VIA82XX=m it worked.
> > Isn't that strange?
> 
> what do you mean exactly "no sound"?  you can play the file but no
> sounds come out, or playback is not operational?

I mean, that it looked all good, the driver seemed to be operational,
but I did not get any Sound out of it. I stress, that this only happened
when everything was compiled into the kernel. Therefore, I did not use
a special modprobe.conf or such.

Now that it works, I can try again to compile everyting into the kernel
to do a second check. I will do later today and let you know the
results.

> did you set any module options for ALSA in /etc/modprobe.conf?
at first none, and now this:

	# This file was automatically generated by alsa-base's debconf stuff
	alias char-major-116 snd
	alias char-major-14 soundcore

	options snd major=116 cards_limit=4 device_mode=0660 device_gid=29 device_uid=0

	alias sound-service-0-0 snd-mixer-oss
	alias sound-service-0-1 snd-seq-oss
	alias sound-service-0-3 snd-pcm-oss
	alias sound-service-0-8 snd-seq-oss
	alias sound-service-0-12 snd-pcm-oss

	alias snd-card-0 snd-via82xx

	alias snd-slot-0 snd-card-0
	alias sound-slot-0 snd-slot-0


Regards, claas

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Kernel 2.6.0-test1-ac3: alsa snd_via82xx
  2003-07-28 10:19   ` Claas Langbehn
@ 2003-07-28 10:45     ` Takashi Iwai
  2003-07-28 20:38       ` Claas Langbehn
  0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2003-07-28 10:45 UTC (permalink / raw)
  To: Claas Langbehn; +Cc: linux-kernel

At Mon, 28 Jul 2003 12:19:00 +0200,
Claas Langbehn wrote:
> 
> Hello Takashi!
> 
> 
> Takashi Iwai wrote:
> > > I figured out some strange behaviour of the alsa drivers in kernel
> > > 2.6.0-test1-ac3. 
> > > When compiling everything into the kernel (=y), I was not able to get
> > > sound out of my machine at all. But with CONFIG_SND_VIA82XX=m it worked.
> > > Isn't that strange?
> > 
> > what do you mean exactly "no sound"?  you can play the file but no
> > sounds come out, or playback is not operational?
> 
> I mean, that it looked all good, the driver seemed to be operational,
> but I did not get any Sound out of it. I stress, that this only happened
> when everything was compiled into the kernel. Therefore, I did not use
> a special modprobe.conf or such.
> 
> Now that it works, I can try again to compile everyting into the kernel
> to do a second check. I will do later today and let you know the
> results.
> 
> > did you set any module options for ALSA in /etc/modprobe.conf?
> at first none, and now this:
> 
> 	# This file was automatically generated by alsa-base's debconf stuff
> 	alias char-major-116 snd
> 	alias char-major-14 soundcore
> 
> 	options snd major=116 cards_limit=4 device_mode=0660 device_gid=29 device_uid=0
 
device_xxx options are obsolete.
perhaps debian's alsaconf script is too old?

i guess the channels were still muted by some reason.
usually they are unmuted and volumes are adjusted in the init script
(or by calling alsactl etc in post-install).


Takashi

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Kernel 2.6.0-test1-ac3: alsa snd_via82xx
  2003-07-28 10:45     ` Takashi Iwai
@ 2003-07-28 20:38       ` Claas Langbehn
  0 siblings, 0 replies; 7+ messages in thread
From: Claas Langbehn @ 2003-07-28 20:38 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: linux-kernel

Hello Takashi!

> perhaps debian's alsaconf script is too old?
> 
> i guess the channels were still muted by some reason.
> usually they are unmuted and volumes are adjusted in the init script
> (or by calling alsactl etc in post-install).

Now it also works inside the kernel.
In fact it seems that the debian script for enabling 
alsa only works with the soundcard as a module.
I will file a bug report.


Many regards, claas

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-07-28 20:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-27  9:17 Kernel 2.6.0-test1-ac3: alsa snd_via82xx Claas Langbehn
2003-07-27 10:18 ` Stephane Wirtel
2003-07-27 10:40   ` Rahul Karnik
2003-07-28  9:39 ` Takashi Iwai
2003-07-28 10:19   ` Claas Langbehn
2003-07-28 10:45     ` Takashi Iwai
2003-07-28 20:38       ` Claas Langbehn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).