ALSA driver for Compaq iPAQ with Philips UDA1341TS

News Download Documentation Contact


First I apologize for my bad English. There will be mistakes and errors on this page, but I will try to have it as correct as possible.

News

Here you can find fresh news about this project. Do you expect something else?

2003-28-04
Merged and updated DMA changes for 2.4 by Jaroslav Kysela - should work under both 2.4 and 2.5 in "short" future.
2003-14-02
Fixed full-duplex mode by Brian Avery (+ other fixes)
2002-11-11
The ns->ms typo correction is included in Linux kernel version 2.5.47.

Older news should be found here.


Download


Documentation

Yeah, you want some? Please, read informations in ALSA CVS. alsa-driver/INSTALL for driver cross-compiling, /etc/modules.conf setting, /proc interface and DEVFS support. Resemblant information for alsa-lib could be found in alsa-lib/INSTALL. For impatients and as an exmaple here is step-by-step course for getting it up and running:

cd alsa-driver
make ALSAKERNELDIR=../alsa-kernel all-deps
aclocal
autoconf
./configure  --prefix=/usr/local/arm --target=arm-linux
--with-kernel=/usr/local/arm/src/linux 
--with-moddir=/usr/local/arm/lib/modules/2.5.6-rmk1/misc 
--with-isapnp=no [--with-sequencer=no] [--with-oss=yes] 
--with-cards=h3600-uda1341 --with-cross=arm-linux- [--with-debug=full]
make dep
make

cd ../alsa-lib
libtoolize --force --copy --automake
aclocal 
autoheader
automake --foreign --copy --add-missing
autoconf
export CFLAGS='-O2 -Wall -W -pipe -g'
./configure  --target=arm-linux --prefix=/usr/local/arm
unset CFLAGS
make

This is just an example, so you could need to change some paths and/or options to get it working on your system and accroding to your needs and expectations. Example of /etc/modules.conf follows:

#for ALSA
alias char-major-116 snd
alias snd-card-0 snd-h3600-uda1341

#for OSS
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

#OSS Emulation by ALSA
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

Rate resampling is working in OSS emulation, for ALSA native interface use H3600 PCM defined in alsa.conf (i.e. play -Dh3600 ...) (not yet in ALSA cvs, just in downloads on this page).

CAUTION: It looks, something is broken in (probably) alsa-lib, and rate resampling is not working correctly. As I see it now, you should use default number of channes (as available in card) and have working resampling, or you can use conversion to non-native number of channels and then resampling is not working. This may be not problem of UDA driver (i.e. intel8x0 behaves same).

Some information could be found in draft of my MSc degree thesis documentation. Basicly just naming of controls in mixer is usefull for common users - this could be found at page 45. Some other parts could be usable for ALSA driver developers too. This documentation is done now and should be helpfull for you.

report.pdf (~330 KB)
report.ps.gz (~179 KB)

Contact

You can contact me by email on tomas.kasparek@seznam.cz
Some other informations about author are on his homepage.

Other e-mail addresses if something is wrong:

kasparek@fit.vutbr.cz
sioux@infradead.org

Emacs Gimp

counter

-------------

Last modified: Thu Nov 13 19:55:47 2003

If you find some mistake, have comments or questions ,you may contact author on tomas.kasparek@seznam.cz.