All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Witzel <witzel.thomas@comcast.net>
To: alsa-devel@lists.sourceforge.net
Subject: Intel ICH programming & ALSA driver
Date: Tue, 7 Nov 2006 20:28:01 -0500	[thread overview]
Message-ID: <200611072028.01872.witzel.thomas@comcast.net> (raw)

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

             reply	other threads:[~2006-11-08  1:28 UTC|newest]

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

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=200611072028.01872.witzel.thomas@comcast.net \
    --to=witzel.thomas@comcast.net \
    --cc=alsa-devel@lists.sourceforge.net \
    /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 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.