All of lore.kernel.org
 help / color / mirror / Atom feed
* Alsa support for Realtek ALC850
@ 2005-04-18 10:39 Dirk Jagdmann
  2005-04-18 16:00 ` Clemens Ladisch
  0 siblings, 1 reply; 5+ messages in thread
From: Dirk Jagdmann @ 2005-04-18 10:39 UTC (permalink / raw)
  To: alsa-devel

Hello developers,

I recently purchased an ASUS P4P800-E mainboard which features i865 
chipset with an Realtek ALC850 AC'97 Codec. This codec is recognized by 
the i8x0 drivers (I tested this with Alsa 1.0.8) as an 6 channel device. 
However this chip supports 8 channels, but this is not 
supported/recognized by Alsa currently. I had a quick look into the i8x0 
sources, but did not find the correct spot, where to patch the source to 
support 8 channels. I ask you for assistance on this subject. Please 
tell me which contents of /proc or /sys you'd like to see or please give 
me some pointers into the source.

-- 
---> doj / cubic
----> http://cubic.org/~doj
-----> http://llg.cubic.org


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Alsa support for Realtek ALC850
  2005-04-18 10:39 Alsa support for Realtek ALC850 Dirk Jagdmann
@ 2005-04-18 16:00 ` Clemens Ladisch
  2005-04-19  5:16   ` Dirk Jagdmann
  0 siblings, 1 reply; 5+ messages in thread
From: Clemens Ladisch @ 2005-04-18 16:00 UTC (permalink / raw)
  To: Dirk Jagdmann; +Cc: alsa-devel

Dirk Jagdmann wrote:
> I recently purchased an ASUS P4P800-E mainboard which features i865
> chipset with an Realtek ALC850 AC'97 Codec. This codec is recognized by
> the i8x0 drivers (I tested this with Alsa 1.0.8) as an 6 channel device.
> However this chip supports 8 channels, but this is not
> supported/recognized by Alsa currently. I had a quick look into the i8x0
> sources, but did not find the correct spot, where to patch the source to
> support 8 channels.

The ICH5 southbridge does not support 8-channel streams.  However, it
would be possible to combine the standard 6-channel device and the
SPDIF device into an 8-channel device, if the codec expects the last
two channels on the AC'97 slots usually used for SPDIF.

Put the following into your ~/.asoundrc file:

pcm.ch123456 {
	type hw
	card 0
	device 0
}

pcm.ch78 {
	type hw
	card 0
	device 4
}

pcm.eight {
	type plug
	slave.pcm {
		type multi
		slaves.a {
			pcm ch123456
			channels 6
		}
		slaves.b {
			pcm ch78
			channels 2
		}
		bindings [
			{ slave a channel 0 }
			{ slave a channel 1 }
			{ slave a channel 2 }
			{ slave a channel 3 }
			{ slave a channel 4 }
			{ slave a channel 5 }
			{ slave b channel 0 }
			{ slave b channel 1 }
		]
	}
}


However, it might be possible that the chip needs some configuration
bit to be set that the driver doesn't yet know about.


HTH
Clemens



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Alsa support for Realtek ALC850
  2005-04-18 16:00 ` Clemens Ladisch
@ 2005-04-19  5:16   ` Dirk Jagdmann
  2005-04-19  8:39     ` Dirk Jagdmann
  0 siblings, 1 reply; 5+ messages in thread
From: Dirk Jagdmann @ 2005-04-19  5:16 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel

> The ICH5 southbridge does not support 8-channel streams.  However, it

My manual says it's an ICH5R. The board is pretty new. The datasheet for 
the ALC850 codec claims it can do 8 channel sound. Thus I have just made 
a check (under windows) by playing back an 8 channel wav. All eight 
channels are clearly present on the 4 stereo 3.5mm (onboard jacks). 
Further the S/PDIF connector is the same as the first two channels 
(front l/r). So I conclude I have a true 8 channel codec.

> However, it might be possible that the chip needs some configuration
> bit to be set that the driver doesn't yet know about.

I say yes.

So, how can I help in supporting this chip.

Website for ALC850: 
http://www.realtek.com.tw/products/products1-2.aspx?modelid=2003101

-- 
---> doj / cubic
----> http://cubic.org/~doj
-----> http://llg.cubic.org


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Alsa support for Realtek ALC850
  2005-04-19  5:16   ` Dirk Jagdmann
@ 2005-04-19  8:39     ` Dirk Jagdmann
  2005-04-19  9:47       ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Dirk Jagdmann @ 2005-04-19  8:39 UTC (permalink / raw)
  To: alsa-devel; +Cc: Clemens Ladisch

I should have mentioned that this setup is currently recognized and 
working as a 6 channel device with Alsa. The first 6 channels work 
flawlessly, but channel 7+8 can not be accessed.

-- 
---> doj / cubic
----> http://cubic.org/~doj
-----> http://llg.cubic.org


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728

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

* Re: Alsa support for Realtek ALC850
  2005-04-19  8:39     ` Dirk Jagdmann
@ 2005-04-19  9:47       ` Takashi Iwai
  0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2005-04-19  9:47 UTC (permalink / raw)
  To: Dirk Jagdmann; +Cc: alsa-devel, Clemens Ladisch

At Tue, 19 Apr 2005 10:39:15 +0200,
Dirk Jagdmann wrote:
> 
> I should have mentioned that this setup is currently recognized and 
> working as a 6 channel device with Alsa. The first 6 channels work 
> flawlessly, but channel 7+8 can not be accessed.

According to the spec, we'll need to flip the register 0x6a bit 9/10
and adjust Aux volume, at least.


Takashi


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728

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

end of thread, other threads:[~2005-04-19  9:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-18 10:39 Alsa support for Realtek ALC850 Dirk Jagdmann
2005-04-18 16:00 ` Clemens Ladisch
2005-04-19  5:16   ` Dirk Jagdmann
2005-04-19  8:39     ` Dirk Jagdmann
2005-04-19  9:47       ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.