[alsa-devel] [PATCH] snd-usb-us122l v0.2 for US-122L

Karsten Wiese fzu at wemgehoertderstaat.de
Sun Mar 16 19:56:41 CET 2008


Hi,

attached is a fresh US-122L linux(test-)driver.

If everything is installed on top a kernel 2.6.25-rc5 and
alsa-lib 1.0.16, everything works, erm at least here.

Without the ehci patch, it still works when connected to the uhci-hcd.
(Maybe the ehci-patch makes it into .26)

alsa-lib < 1.0.16 lets the plugin misbehave.

PCM access needs an ~/.asoundrc containing whats in .asoundrc.
Its established by patching/compiling/installing alsa-plugins.
You need to adjust the path to the kernel's sound/usb/usx2y/usb_stream.h
Only S24_3LE, 2 channels interleaved, 2 periods is supported.

The userspace pcm devicename then is forexample "usb_stream:1"
(To let alsa convert to other formats, use forexample "plug:usb_stream:1")

Tested with aplay, arecord, amidi & jackd using alsa driver.

Propably doesn't do 32bit PCM access on x86_64, tested on x86_64 only.

      Karsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: us122l-patches.tar.bz2
Type: application/x-tbz
Size: 17228 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20080316/95659180/attachment.bin 


More information about the Alsa-devel mailing list