All of lore.kernel.org
 help / color / mirror / Atom feed
* Question: setting up the hardware for alsa
@ 2005-11-04 15:49 David Smoot
  2005-11-04 16:13 ` James Courtier-Dutton
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: David Smoot @ 2005-11-04 15:49 UTC (permalink / raw)
  To: alsa-devel

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

Greetings, first post to the list and hopefully a simple question:

My company builds Linux based telemetry systems. We are working on an
airborne telemetry platform. The customer has expressed a desire to record
the pilot voice traffic on the data stream with the other data from the
instruments.

We use a stripped down kernel and build pretty much everything by hand. I'm
attempting to set up ALSA so I can pull the audio data from the line in.

Here's what I have done so far:
1. Bought the cheapest supported card I could find on the matrix for testing
(Sound Blaster Live 24Bit, ca0106 driver)

2. Recompiled my kernel to have sound, ALSA, and the appropriate card driver
all built as modules.

3. made scripts to make my device nodes (I'm running the root file system on
a ramdisk so I create my nodes each time I boot plus this lets me run a
minimal kernel and customize it to my environment)
mknod /dev/mixer c 14 0
mknod /dev/mixer1 c 14 16
mknod /dev/mixer2 c 14 32
mknod /dev/mixer3 c 14 48
mknod /dev/dsp c 14 3
mknod /dev/dsp1 c 14 19
mknod /dev/dsp2 c 14 35
mknod /dev/dsp3 c 14 51
mknod /dev/audio c 14 4
mknod /dev/audio1 c 14 20
mknod /dev/audio2 c 14 36
mknod /dev/audio3 c 14 52
mknod /dev/sndstat c 14 6
mknod /dev/audioctl c 14 7

4. Made another script to load my kernel modules
/run/tools/insmod soundcore.ko
/run/tools/insmod snd.ko
/run/tools/insmod snd-timer.ko
/run/tools/insmod snd-page-alloc.ko
/run/tools/insmod snd-pcm.ko
/run/tools/insmod snd-ac97-codec.ko #I inserted this because it is selected
by the ca0106 module
/run/tools/insmod snd-ca0106.ko

5. I copied libasound to my libraries folder.

At this point I at least knew libasound was OK because I could execute some
simple code that listed libasound data types and parameters.

But I can't open any devices and talk to them. I know I am missing some kind
of crucial step in setting up the hw:0,0 device but I can't seem to figure
out the next step. I've read tutorials, googled, but I am stuck. If someone
would point me to the proper documents I would be grateful.

David

[-- Attachment #2: Type: text/html, Size: 2414 bytes --]

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

end of thread, other threads:[~2005-11-07 10:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-04 15:49 Question: setting up the hardware for alsa David Smoot
2005-11-04 16:13 ` James Courtier-Dutton
2005-11-04 17:33   ` David Smoot
2005-11-05 23:34     ` Sasha Khapyorsky
2005-11-06  0:32       ` Lee Revell
2005-11-04 16:14 ` James Courtier-Dutton
2005-11-06  0:45 ` Lee Revell
2005-11-06 17:46   ` David Smoot
2005-11-07 10:26 ` 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.