Differences
This shows you the differences between the selected revision and the current version of the page.
hardware:sound 2008/06/05 00:38 | hardware:sound 2017/09/06 18:38 current | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Getting USB Audio to work ====== | ||
+ | |||
This guide explains how to connect a generic linux-compatible USB sound card to the CH3SNAS/DNS-323. In this example, a Conceptronic USB Sound adapter was used. It is a thumbdrive-size usb-stick based on the C-Media CM108 chipset, and features a stereo in- and output jack. | This guide explains how to connect a generic linux-compatible USB sound card to the CH3SNAS/DNS-323. In this example, a Conceptronic USB Sound adapter was used. It is a thumbdrive-size usb-stick based on the C-Media CM108 chipset, and features a stereo in- and output jack. | ||
Line 27: | Line 29: | ||
and some entries for usbaudio. | and some entries for usbaudio. | ||
- | Now create the devices in /dev like so: | + | ==== Create entries in /dev ==== |
+ | Now you can chroot into debian. Create the devices in /dev like so: | ||
cd /dev | cd /dev | ||
- | mknod -m 660 mixer c 14 0 ; chgrp audio mixer | + | mknod -m 660 mixer c 14 0; chgrp audio mixer |
- | mknod -m 660 mixer1 c 14 16 ; chgrp audio mixer1 | + | mknod -m 660 mixer1 c 14 16; chgrp audio mixer1 |
- | mknod -m 660 dsp c 14 3 ; chgrp audio dsp | + | mknod -m 660 dsp c 14 3; chgrp audio dsp |
- | mknod -m 660 dsp1 c 14 19 ; chgrp audio dsp1 | + | mknod -m 660 dsp1 c 14 19; chgrp audio dsp1 |
(taken from http://buffalo.nas-central.org/index.php/Add_a_USB_sound_card) | (taken from http://buffalo.nas-central.org/index.php/Add_a_USB_sound_card) | ||
- | Now you can chroot into debian, apt-get install sox and see if you can make some sound (substitute $1 for a sound file on the NAS): | + | apt-get install sox and see if you can make some sound (substitute $1 for a sound file on the NAS): |
+ | |||
+ | sox -q $1 -t ossdsp /dev/dsp | ||
- | sox -q $1 -t ossdsp /dev/sound/dsp | ||
- | Sources | + | == Sources == |
* http://buffalo.nas-central.org/index.php/Add_a_USB_sound_card | * http://buffalo.nas-central.org/index.php/Add_a_USB_sound_card | ||
* http://sokrates.mimuw.edu.pl/~sebek/openwrt/ | * http://sokrates.mimuw.edu.pl/~sebek/openwrt/ | ||
* http://wiki.openwrt.org/UsbAudioHowto | * http://wiki.openwrt.org/UsbAudioHowto |