All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Intel ICH programming & ALSA driver
@ 2006-11-10 17:25 Thomas Witzel
  2006-11-13  8:51 ` Clemens Ladisch
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Witzel @ 2006-11-10 17:25 UTC (permalink / raw)
  To: alsa-devel

BTW, If anyone cares to help me on this one, I made the code available at:
https://www.nmr.mgh.harvard.edu/~twitzel/rti8xx.tar.bz2

Thanks, Thomas

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: Intel ICH programming & ALSA driver
@ 2006-11-08 14:52 witzel.thomas
  0 siblings, 0 replies; 6+ messages in thread
From: witzel.thomas @ 2006-11-08 14:52 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel


 -------------- Original message ----------------------
From: "Clemens Ladisch" <cladisch@fastmail.net>
> Thomas Witzel wrote:
> > I'm not sure this really belongs here, but I have nowhere else to ask. I'm 
> > writing an Intel ICH sound driver for Xenomai (real time Linux) and got stuck 
> > with no sound. I'm not doing this for a common audio application but rather 
> > in an attempt to generate an experimental setup with low-cost arbitrary 
> > waveform function generators (which are the sound chips).
> > Long story short, I learned as much as I could from looking at the ALSA driver 
> > and the datasheet.
> 
> Did you read the PRM, too?
Yes, that gave me the instructions on how to do the DMA.
 
> > I'm running the DMA on the PCM OUT I believe, but I get no sound. I
> > set all mixer volume controls to max (and read them back to confirm)
> > and make sure they are unmuted. Codec one is ready, AC97 power is up.
> 
> What codec are you using?  Many codecs must be configured to route the
> sound to the correct output.
On my development machine its a ALC650 (RealTek) in the oldest incarnation (0x414c,0x4720).
If it helps I can post an archive of my code somewhere.

Thanks for your help so far

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Intel ICH programming & ALSA driver
@ 2006-11-08  1:28 Thomas Witzel
  2006-11-08 13:04 ` Clemens Ladisch
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Witzel @ 2006-11-08  1:28 UTC (permalink / raw)
  To: alsa-devel

Hello,

I'm not sure this really belongs here, but I have nowhere else to ask. I'm 
writing an Intel ICH sound driver for Xenomai (real time Linux) and got stuck 
with no sound. I'm not doing this for a common audio application but rather 
in an attempt to generate an experimental setup with low-cost arbitrary 
waveform function generators (which are the sound chips).
Long story short, I learned as much as I could from looking at the ALSA driver 
and the datasheet. I'm setting up the DMA buffers, I give the chip the Buffer 
Descriptor table and after I start the DMA I get a while later an interrupt 
that the LVI was reached and handle that. I'm running the DMA on the PCM OUT 
I believe, but I get no sound. I set all mixer volume controls to max (and 
read them back to confirm) and make sure they are unmuted. Codec one is 
ready, AC97 power is up. Everything looks fine.
So now I'm wondering what I'm doing wrong. I filled the buffers for the sound 
with random values, which might be wrong, but I was hoping to get some 
crackling or noise at least.

On a different note, it seems that the ALSA driver is writing to the CIV 
register, even though the Intel datasheet indicates this to be read-only.

Thank you for any useful hints in advance,
Thomas

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

end of thread, other threads:[~2006-11-13 16:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-10 17:25 Intel ICH programming & ALSA driver Thomas Witzel
2006-11-13  8:51 ` Clemens Ladisch
     [not found]   ` <200611131558.44643.witzel.thomas@comcast.net>
2006-11-13 16:40     ` Clemens Ladisch
  -- strict thread matches above, loose matches on Subject: below --
2006-11-08 14:52 witzel.thomas
2006-11-08  1:28 Thomas Witzel
2006-11-08 13:04 ` Clemens Ladisch

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.