<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>USB sound - scratchy [ SOLVED ]</title>
        <description>I bought a [url=http://www.dealextreme.com/details.dx/sku.5831]$2 usb audio adapter from DX.[/url]  I'm thinking I may have been better going with [url=http://www.dealextreme.com/details.dx/sku.22475]the cheaper one.[/url]
[code]
# lsusb          
Bus 001 Device 114: ID 0c76:1607 JMTek, LLC. audio controller
[/code]
Says &quot;HY554&quot; on the back.

Under Ubuntu 10 on x86_64 it works great, but on the Dockstar/Squeeze the audio is extremely 'scratchy' with alsa.

Googling around I see recommendations to reduce PCM volume in alsamixer, but I only see 'Speaker', 'Mic' and 'Auto Gain Control'. The 'Auto Gain Control' is stuck at 00.

I installed...
[code]
apt-get install alsa-base alsaplayer alsaplayer-text alsa-utils madplay mplayer
[/code]
Then used the following to test sound...
[code]
mplayer -ao alsa -msgcolor -cache 64 http://www.tv-radio.com/station/fip_mp3/fip_mp3-128k.m3u
alsaplayer http://www.moviesoundscentral.com/sounds/harry_potter/urscary.wav
[/code]
I'm an audio noob - anyone have any ideas about how to fix?

-PG</description>
        <link>http://forum.doozan.com/read.php?2,2840,2840#msg-2840</link>
        <lastBuildDate>Tue, 21 May 2013 09:22:09 -0400</lastBuildDate>
        <generator>Phorum 5.2.18</generator>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,9581#msg-9581</guid>
            <title>ALSA And MPD</title>
            <link>http://forum.doozan.com/read.php?2,2840,9581#msg-9581</link>
            <description><![CDATA[ thanks <br />
/etc/asound.conf made the trick<br />
<br />
luttan]]></description>
            <dc:creator>luttan</dc:creator>
            <category>Debian</category>
            <pubDate>Wed, 12 Sep 2012 05:45:38 -0400</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,6240#msg-6240</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,6240#msg-6240</link>
            <description><![CDATA[ I got a cheap &quot;USB EXTERNAL 3D VIRTUAL 5.1 CHANNEL AUDIO PC SOUND CARD&quot; from ebay UK<br />
lsusb says : ID 0d8c:000e C-Media Electronics, Inc. Audio Adapter (Planet UP-100, Genius G-Talk)<br />
Dockstar is running Shyd's 2.6.38 Debian off a 500 Go USB ext3 HDD .<br />
<br />
I installed it according to petergunn instructions on page one and it works fine.<br />
<br />
If anyone is interested in Chinese web radios, here are a few ones that I use in the iradio bash script mentionned on page 1 of this topic:<br />
stations=(\<br />
'0 - Love China - Chinese Hits - www.facebook.com/lovechinaradio' \<br />
'mplayer -ao alsa -msgcolor -cache 128 -playlist <a href="http://yp.shoutcast.com/sbin/tunein-station.pls?id=1272577"  rel="nofollow">http://yp.shoutcast.com/sbin/tunein-station.pls?id=1272577</a>' \<br />
'1 - CPOP @ Big B Radio - www.facebook.com/BigBRadio143' \<br />
'mplayer -ao alsa -msgcolor -cache 128 -playlist <a href="http://yp.shoutcast.com/sbin/tunein-station.pls?id=2128261"  rel="nofollow">http://yp.shoutcast.com/sbin/tunein-station.pls?id=2128261</a>' \<br />
'2 - Big B Radio - Asian Pop: JPOP, KPOP, CPOP, ... - www.facebook.com/BigBRadio143' \<br />
'mplayer -ao alsa -msgcolor -cache 128 -playlist <a href="http://yp.shoutcast.com/sbin/tunein-station.pls?id=2047934"  rel="nofollow">http://yp.shoutcast.com/sbin/tunein-station.pls?id=2047934</a>' \<br />
'3 - On Air Power - Hong Kong 24hrs Chinese Web Radio - www.onairpower.com' \<br />
'mplayer -ao alsa -msgcolor -cache 128 -playlist <a href="http://yp.shoutcast.com/sbin/tunein-station.pls?id=234733"  rel="nofollow">http://yp.shoutcast.com/sbin/tunein-station.pls?id=234733</a>' \<br />
'4 - 1hk - Hong Kong, Taiwan, English music - www.1hk.net' \<br />
'mplayer -ao alsa -msgcolor -cache 128 -playlist <a href="http://yp.shoutcast.com/sbin/tunein-station.pls?id=378610"  rel="nofollow">http://yp.shoutcast.com/sbin/tunein-station.pls?id=378610</a>' \<br />
)<br />
<br />
There's a mix of Mandarin, Cantonese, Hong Kongese. My interest is Mandarin but I could not find the streaming addresses of many such web radios (there must be some soft to &quot;trap&quot; theses addresses). I did not find any &quot;News&quot; channels either.<br />
<br />
Thanks to Peter for the easy-to-follow instructions.]]></description>
            <dc:creator>Treblig</dc:creator>
            <category>Debian</category>
            <pubDate>Sat, 12 Nov 2011 09:36:50 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,5655#msg-5655</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,5655#msg-5655</link>
            <description><![CDATA[ The softvol hack only masks the real issue.  My dockstar still had a slight hint of static using it.<br />
<br />
You need to rebuild the usb-snd modules disabling mmap support by commenting out SNDRV_PCM_INFO_MMAP* in snd_usb_hardware info field in sound/usb/pcm.c.<br />
<br />
<pre class="bbcode">
--- linux-2.6.38.8/sound/usb/pcm.c.orig 2011-06-02 21:35:11.000000000 -0400
+++ linux-2.6.38.8/sound/usb/pcm.c      2011-08-21 12:10:44.000000000 -0400
@@ -423,8 +423,8 @@
 
 static struct snd_pcm_hardware snd_usb_hardware =
 {
-       .info =                 SNDRV_PCM_INFO_MMAP |
-                               SNDRV_PCM_INFO_MMAP_VALID |
+       .info =                 /* SNDRV_PCM_INFO_MMAP | */
+                               /* SNDRV_PCM_INFO_MMAP_VALID | */
                                SNDRV_PCM_INFO_BATCH |
                                SNDRV_PCM_INFO_INTERLEAVED |
                                SNDRV_PCM_INFO_BLOCK_TRANSFER |</pre>
<br />
The downside to this fix is that you can no longer use dmix and need to disable it by commenting out this line from /usr/share/alsa/alsa/conf as the default ALSA device uses dmix by default.<br />
<pre class="bbcode">
--- /usr/share/alsa/alsa.conf.orig      2011-08-23 11:45:12.000000000 +0000
+++ /usr/share/alsa/alsa.conf   2011-08-21 20:02:28.000000000 +0000
@@ -129,7 +129,7 @@
 pcm.iec958 cards.pcm.iec958
 pcm.spdif iec958
 pcm.hdmi cards.pcm.hdmi
-pcm.dmix cards.pcm.dmix
+# pcm.dmix cards.pcm.dmix
 pcm.dsnoop cards.pcm.dsnoop
 pcm.modem cards.pcm.modem
 pcm.phoneline cards.pcm.phoneline
</pre>]]></description>
            <dc:creator>Ralphy</dc:creator>
            <category>Debian</category>
            <pubDate>Tue, 23 Aug 2011 07:48:17 -0400</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,4756#msg-4756</guid>
            <title>Re: USB sound - scratchy</title>
            <link>http://forum.doozan.com/read.php?2,2840,4756#msg-4756</link>
            <description><![CDATA[ Hi <b>petergunn</b>, <b>thanks</b> for sharing your config!<br />
<br />
-- Just feedback. Maybe someone got the same Problem. --<br />
<br />
I've got mpd running on my dockstar with this cheap soundcard: <a href="http://images.google.com/images?q=1130:f211+tenx+sound"  rel="nofollow">http://images.google.com/images?q=1130:f211+tenx+sound</a><br />
<pre class="bbcode">
root@dockstar ~ # lsusb -d 1130:f211
Bus 001 Device 037: ID 1130:f211 Tenx Technology, Inc. TP6911 Audio Headset</pre>
<br />
I used the alsa - asound.conf settings from petergunn, which can be found <b><a href="http://forum.doozan.com/read.php?2,2840,2841#msg-2841"  rel="nofollow">here</a></b>.<br />
<blockquote class="bbcode"><div><small>Quote<br/></small><strong>petergunn - December 03, 2010 06:13PM</strong><br/>
Fixed it! I used the alsa &quot;softvol&quot; feature and bumped up the buffer sizes from a config I found on the net:<br />
I created the following /etc/asound.conf file: <br />
[...]</div></blockquote>
<br />
<br />
Additionally, i had to change the mixer_control in /etc/mpd.conf from PCM to Master, because:<br />
<ul><li> Using PCM (the default) as mixer control, the volume did not change in the range from 8%-100% (stayed at full volume). </li><li> Lowering it, the volume suddenly goes to zero somewhere between 8% and 7%(, so 0%-7% equals mute). </li></ul>
With the following lines in /etc/mpd.conf, the volume can now be set from within mpd:<br />
<pre class="bbcode">
audio_output {
        type            &quot;alsa&quot;
        name            &quot;My ALSA Device&quot;
#       mixer_control   &quot;PCM&quot;
        mixer_control   &quot;Master&quot;
}</pre>
<br />
You can get the right name for the mixer_control from:<br />
<pre class="bbcode">
root@dockstar ~ # amixer | grep control
Simple mixer control 'Master',0
Simple mixer control 'PCM',0
Simple mixer control 'Mic',0</pre>
or simply by starting alsamixer and testing which control regulates the volume correctly.]]></description>
            <dc:creator>vevoto</dc:creator>
            <category>Debian</category>
            <pubDate>Tue, 10 May 2011 16:24:18 -0400</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,4149#msg-4149</guid>
            <title>Re: USB sound - scratchy</title>
            <link>http://forum.doozan.com/read.php?2,2840,4149#msg-4149</link>
            <description><![CDATA[ No specific reason for the 50k number. I think I tried 44k and my adapter didn't like it so I just guessed at 50k and it seemed to work so I kept it. 48k probably makes more sense. :-)<br />
<br />
-PG]]></description>
            <dc:creator>petergunn</dc:creator>
            <category>Debian</category>
            <pubDate>Mon, 14 Mar 2011 15:34:20 -0400</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,4147#msg-4147</guid>
            <title>Re: USB sound - scratchy</title>
            <link>http://forum.doozan.com/read.php?2,2840,4147#msg-4147</link>
            <description><![CDATA[ Hi Peter,<br />
I don't get why you set rate to 50000. Wouldn't 44100 or 48000 make more sense?<br />
Anyway I set ist to 44100 so I don't have to do sample conversion on my Terratec Areon Dual USB.<br />
Is it normal to still have 25% CPU when playing mp3 files?<br />
<br />
Edit: mplayer take 25%, mpg123 take 3-4%<br />
<br />
petergunn Wrote:<br />
-------------------------------------------------------<br />
&gt; I created the following /etc/asound.conf file:<br />
&gt; <br />
&gt; pcm.!default {<br />
&gt;     type plug<br />
&gt;     slave.pcm &quot;softvol&quot;<br />
&gt; }<br />
&gt; pcm.dmixer {<br />
&gt;        type dmix<br />
&gt;        ipc_key 1024<br />
&gt;        slave {<br />
&gt;            pcm &quot;hw:0&quot;<br />
&gt;            period_time 0<br />
&gt;            period_size 4096<br />
&gt;            buffer_size 131072<br />
&gt;            rate 50000<br />
&gt;        }<br />
&gt;....]]></description>
            <dc:creator>bandan</dc:creator>
            <category>Debian</category>
            <pubDate>Mon, 14 Mar 2011 13:50:48 -0400</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,4118#msg-4118</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,4118#msg-4118</link>
            <description><![CDATA[ --Posted Issue in new Thread. Do not want to hijack this thread.]]></description>
            <dc:creator>BigRon</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 11 Mar 2011 04:22:03 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,3850#msg-3850</guid>
            <title>Re: VFD (cashier's display) via lcdproc</title>
            <link>http://forum.doozan.com/read.php?2,2840,3850#msg-3850</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br/></small><strong>TEN</strong><br/><blockquote class="bbcode"><div><small>Quote<br/></small><strong>rgtaa</strong><br/>use the 5 dollar lcd</div></blockquote>Another good idea might be to use a cashier's display via lcdproc (newer version than in Debian repository needs to be built for this particular model as well as its 4-line sibling BA66) as per <a href="http://vdr-portal.de/board/thread.php?postid=961264#post961264"  rel="nofollow">http://vdr-portal.de/board/thread.php?postid=961264#post961264</a> - they have the advantage of being huge and easily readable at quite an angle even from several meters away (follow links for further images). The smarthome server silently sitting on top of a wardrobe... is real.</div></blockquote>It has been accomplished, using lcdproc-0.5.3 (please package as this takes some effort to compile) for an NCID client interfacing with the PBX to display incoming phone calls and the respective caller names (replace +49 with your country code):<pre class="bbcode">#!/bin/bash

FIFO=/tmp/test_fifo_0815
FIFO2=/tmp/test_fifo_0816

LCDproc_HOST=localhost
LCDproc_PORT=13666

HDD_HOST=192.168.2.1
HDD_PORT=3333

mkfifo $FIFO
# contrived by SHF on <a href="http://vdr-portal.de/board/thread.php?postid=979080"  rel="nofollow">http://vdr-portal.de/board/thread.php?postid=979080</a> to establish background connection
( trap &quot;rm -f $FIFO&quot; EXIT HUP INT TERM ABRT ; netcat $LCDproc_HOST $LCDproc_PORT &lt;&gt;$FIFO ; rm -f $FIFO ) &amp;
# from this day onward anything sent into $FIFO will serve us, erm, be served to a Borg-droned LCDproc port

echo -e 'hello' &gt;$FIFO
echo -e 'client_set -name name' &gt;$FIFO

sleep 2

mkfifo $FIFO2
( trap &quot;rm -f $FIFO2&quot; EXIT HUP INT TERM ABRT ; netcat $HDD_HOST $HDD_PORT &gt;$FIFO2 ; rm -f $FIFO2 ) &amp;
# all lines received from the NCID server are assimilated into $FIFO2 (resistance is futile, those not starting by CID: are irrelevant)

while read -s &lt;$FIFO2
do 
        if [ ${REPLY:0:4} = &quot;CID:&quot; ]; then 
                echo -e 'screen_add CallerID\nscreen_set CallerID -priority alert -timeout 240' &gt;$FIFO
                echo -e 'widget_add CallerID Number scroller\nwidget_add CallerID Name scroller' &gt;$FIFO
                Number=`echo $REPLY |grep -m 1 ^CID:|cut -d&quot;*&quot; -f 9|sed s/^00/+/|sed s/^0/\+49/`
                echo $Number
                echo -e &quot;widget_set CallerID Number 1 1 20 1 m 2 \&quot;$Number \&quot;&quot; &gt;$FIFO
                Name=`grep $Number ~/Callers.txt|cut -d&quot;;&quot; -f 2`
                echo $Name
                echo -e &quot;widget_set CallerID Name 1 2 20 2 m 2 \&quot;$Name \&quot;&quot; &gt;$FIFO
        fi
done</pre>Used with a streaming music player, one might think of it as a &quot;poor man's Roku tube&quot;...<br />
Finding out which USB speakers are supported by debianized DockStars sounds like yet another promising project.<br />
<br />
And if you want a wakeup message (<a href="http://www.imdb.com/title/tt0086567/"  rel="nofollow">use your allusion</a> but be sure off W.O.P.R. if your GF/SO is visiting, unless she's a geek girl of course ;)) from your DockStar's /etc/crontab in addition to a few irsend commands:<pre class="bbcode">echo -e 'hello\nscreen_add Greetings\nscreen_set Greetings -priority alert -timeout 720\nwidget_add Greetings Line1 scroller\nwidget_add Greetings Line2 scroller\nwidget_set Greetings Line1 1 1 20 1 m 2 &quot;Good morning Dr Falken. &quot;\nwidget_set Greetings Line2 1 2 20 2 m 2 &quot;How about a game of Global Thermonuclear War? &quot;'|nc localhost 13666 -w 14</pre>
<br />
The next step for anyone running out of USBs might be to repurpose the interal serial port to drive an LCD/VFD:<br />
<blockquote class="bbcode"><div><small>Quote<br/></small><strong>TEN</strong><br/>Of course I know the DockStar has an internal serial port that interfaces nicely with half an Xbox 360 DVD power cable, but I haven't pried open mine just yet.</div></blockquote>]]></description>
            <dc:creator>TEN</dc:creator>
            <category>Debian</category>
            <pubDate>Sun, 13 Feb 2011 19:28:49 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,3548#msg-3548</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,3548#msg-3548</link>
            <description><![CDATA[ Truxntrax, I think you have exactly the same adapter I do (although it will work for must usb adapters). You should just be able replicate the config exactly.<br />
<br />
-PG]]></description>
            <dc:creator>petergunn</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 21 Jan 2011 07:10:49 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,3547#msg-3547</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,3547#msg-3547</link>
            <description><![CDATA[ Many thanks Peter - I had read this but didn't know it was appropriate to my set up.  I'll give this a go.]]></description>
            <dc:creator>truxntrax</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 21 Jan 2011 07:02:43 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,3541#msg-3541</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,3541#msg-3541</link>
            <description><![CDATA[ Hi Trux, have a look at <a href="http://forum.doozan.com/read.php?2,2840,2841#msg-2841"  rel="nofollow">my earlier post</a><br />
<br />
You need the following in /etc/modprobe.d/alsa-base.conf to make sure adapter is loaded as card '0' after reboot<br />
<pre class="bbcode">
# Allow snd-usb-audio to be loaded as first soundcard
options snd-usb-audio index=0</pre>
-PG]]></description>
            <dc:creator>petergunn</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 20 Jan 2011 21:43:47 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,3533#msg-3533</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,3533#msg-3533</link>
            <description><![CDATA[ I'm having problems getting my audio to work on my dockstar.  Bought a cheap USB audio device:<br />
<br />
any help would be hugely appreciated - here are the outputs of the commands you asked others to try:<br />
<br />
<br />
root@debian:/home# lsusb<br />
Bus 001 Device 006: ID 0c76:1607 JMTek, LLC. audio controller<br />
<br />
<br />
root@debian:/home# aplay -l<br />
**** List of PLAYBACK Hardware Devices ****<br />
card 1: Set [USB Headphone Set], device 0: USB Audio [USB Audio]<br />
  Subdevices: 1/1<br />
  Subdevice #0: subdevice #0<br />
<br />
<br />
root@debian:/home# for x in /proc/asound/{version,cards,devices,timers,pcm}; do echo $x:; cat $x; done<br />
/proc/asound/version:<br />
Advanced Linux Sound Architecture Driver Version 1.0.21.<br />
/proc/asound/cards:<br />
 1 [Set            ]: USB-Audio - USB Headphone Set<br />
                      USB Headphone Set at usb-orion-ehci.0-1.4, full speed<br />
/proc/asound/devices:<br />
  2:        : timer<br />
  3:        : sequencer<br />
  4: [ 1- 0]: digital audio playback<br />
  5: [ 1- 0]: digital audio capture<br />
  6: [ 1]   : control<br />
/proc/asound/timers:<br />
G0: system timer : 10000.000us (10000000 ticks)<br />
P1-0-0: PCM playback 1-0-0 : SLAVE<br />
P1-0-1: PCM capture 1-0-1 : SLAVE<br />
/proc/asound/pcm:<br />
01-00: USB Audio : USB Audio : playback 1 : capture 1<br />
root@debian:/home# <br />
<br />
No luck in playing any audio:<br />
<br />
root@debian:/home# alsaplayer <a href="http://www.moviesoundscentral.com/sounds/harry_potter/urscary.wav"  rel="nofollow">http://www.moviesoundscentral.com/sounds/harry_potter/urscary.wav</a><br />
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'<br />
ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device<br />
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings<br />
ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_concat returned error: No such device<br />
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name<br />
ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_refer returned error: No such device<br />
ALSA lib conf.c:4649:(snd_config_expand) Evaluate error: No such device<br />
ALSA lib pcm.c:2190:(snd_pcm_open_noupdate) Unknown PCM default<br />
snd_pcm_open: No such device (default)<br />
Failed to initialize plugin!<br />
Failed to register plugin: /usr/lib/alsaplayer/output/libalsa_out.so<br />
Failed to load output plugin &quot;alsa&quot;. Trying defaults.<br />
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'<br />
ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device<br />
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings<br />
ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_concat returned error: No such device<br />
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name<br />
ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_refer returned error: No such device<br />
ALSA lib conf.c:4649:(snd_config_expand) Evaluate error: No such device<br />
ALSA lib pcm.c:2190:(snd_pcm_open_noupdate) Unknown PCM default<br />
snd_pcm_open: No such device (default)<br />
Failed to initialize plugin!<br />
/usr/lib/alsaplayer/output/libalsa_out.so failed to load<br />
NOTE: THIS IS THE NULL PLUGIN.      YOU WILL NOT HEAR SOUND!!<br />
<br />
Thanks for your kind assistance<br />
<br />
Trux]]></description>
            <dc:creator>truxntrax</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 20 Jan 2011 15:21:20 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,3438#msg-3438</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,3438#msg-3438</link>
            <description><![CDATA[ Hey Everyone,<br />
<br />
Thanks for sharing the tips for getting USB sound up and running. I've recently installed <a href="http://moc.daper.net/"  rel="nofollow">MOC</a> (music on console) which is a lightweight but full-featured console-based music player. Seems to work really well with the Dockstar and the <a href="http://www.dealextreme.com/details.dx/sku.5831"  rel="nofollow">$2 USB audio adapter</a> that petergunn suggested.<br />
<br />
To install:<br />
<pre class="bbcode">apt-get install moc</pre>
<br />
To run:<br />
<pre class="bbcode">mocp</pre>
<br />
I find that using MOC is pretty intuitive but if you'd like to quickly view the available commands and key mappings, just press &quot;h&quot;<br />
<br />
Note: to control the volume, press &quot;x&quot; to toggle the mixer channel and then use the following keys:<br />
<pre class="bbcode">
&lt;              Decrease volume by 1%
&gt;              Increase volume by 1%
,              Decrease volume by 5%
.              Increase volume by 5%</pre>
<br />
Note: If you haven't already done so, you'll also need to install alsa:<br />
<pre class="bbcode">apt-get install alsa-base alsaplayer alsaplayer-text alsa-utils</pre>
<br />
Also, you'll want to follow <a href="http://forum.doozan.com/read.php?2,2840,2841#msg-2841"  rel="nofollow">petergunn's fix</a> for the scratchy sound and to ensure the USB card is recognized after reboot.]]></description>
            <dc:creator>MediaMind</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 14 Jan 2011 12:28:00 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,3334#msg-3334</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,3334#msg-3334</link>
            <description><![CDATA[ Just for the record this works on what I'll guess is the cheaper one PG referred to:<br />
lsusb shows:<br />
<br />
Bus 001 Device 004: ID 1267:0a01 Logic3 / SpectraVideo plc<br />
Which I'm going to guess is it.  Back of the plug says:<br />
Model PD552<br />
USB 3d sound<br />
<br />
I looked over my own config and was on a similar path but the asound.conf is what did it.  <br />
<br />
Thanks PG<br />
<br />
btw:  two stations for fun...<br />
<br />
whrv main station<br />
sudo mplayer <a href="http://64.5.130.41"  rel="nofollow">http://64.5.130.41</a><br />
<br />
whrv big band old time radio  20s etc.<br />
sudo mplayer <a href="http://64.5.130.43"  rel="nofollow">http://64.5.130.43</a>]]></description>
            <dc:creator>gzader</dc:creator>
            <category>Debian</category>
            <pubDate>Tue, 04 Jan 2011 19:40:55 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,3151#msg-3151</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,3151#msg-3151</link>
            <description><![CDATA[ I think mpd almost works out of the box with the default config? But not sure, I am using plugbox and had to do some small changes. Any mpd client will do.<br />
<br />
Got a setup like this: <a href="http://www.youtube.com/watch?v=yxttHqXoH6Q"  rel="nofollow">http://www.youtube.com/watch?v=yxttHqXoH6Q</a><br />
Just using and ipod touch with mpod and a lcd displaying the information with lcd4linux.<br />
<br />
Google a guide for mpd on debian. The only thing to keep in mind is to choose a fast resampling method if you are using a cheap usb soundcard that does not support 44.1 khz audio.]]></description>
            <dc:creator>falker</dc:creator>
            <category>Debian</category>
            <pubDate>Wed, 22 Dec 2010 09:05:21 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,3125#msg-3125</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,3125#msg-3125</link>
            <description><![CDATA[ I'm sort of hoping Peter will post a &quot;copy and paste&quot;  of a MPD server and client program all set up for us that WORKS!  (with auto start) :) ... that we can control from our PC or monitor attached to dockstar. That would be cool.  <br />
<br />
Peter seems to be able to figure this stuff out &quot;on the fly&quot;.<br />
<br />
If someone else can get MPD server and client program figured out that WORKS, maybe you can beat Peter to it, and post some sort of copy and paste  apt-get type stuff and help us with setting it up to auto-start and web interface help.<br />
<br />
We are trying to figure out cool stuff to use our audio tongles for on the dockstar.<br />
<br />
Also, still looking for ready made internet Radio program, where it has hundreds of stations and we just choose them at root access with numbers or letters.  Peter figured out iradio for us, but only 5 of those stations work, but the menu program is there. I am just still a newbie at linux so I generally need some type of copy and paste still.]]></description>
            <dc:creator>rgtaa</dc:creator>
            <category>Debian</category>
            <pubDate>Mon, 20 Dec 2010 11:18:39 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,3116#msg-3116</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,3116#msg-3116</link>
            <description><![CDATA[ Something odd going on with my dockstar after installing MPD...  The install seemed ok - but I got this message at the very end of the install of MPD...<br />
<br />
<pre class="bbcode">
...
Starting Music Player Daemon: mpdcreating /var/lib/mpd/tag_cache... (warning).
...</pre>
<br />
<br />
The later today i noticed the following when I did an 'lsusb' command...<br />
<br />
<pre class="bbcode">

root@debian:~# lsusb
lsusb: cannot open &quot;/var/lib/usbutils/usb.ids&quot;, Not a directory
Bus 001 Device 004: ID 0d8c:0103  
Bus 001 Device 003: ID 0951:1603  
Bus 001 Device 002: ID 05e3:0608  
Bus 001 Device 001: ID 1d6b:0002  
root@debian:~# apt-get update
E: Archives directory /var/cache/apt/archives/partial is missing. - Acquire (2: No such file or directory)
W: Not using locking for read only lock file /var/lib/dpkg/lock
root@debian:~# cd /var/lib/dbkg/
-bash: cd: /var/lib/dbkg/: No such file or directory
root@debian:~# cd /var/lib/
root@debian:/var/lib# ls -la
ls: usbutils: Input/output error
ls: alsa: Input/output error
ls: ucf: Input/output error
ls: x11: Input/output error
ls: mplayer: Input/output error</pre>
<br />
So, it looks like something has caused 'usbutils' a problem AND 'apt-get' seems messed up too.<br />
<br />
... not sure what the 'Input/out error' messages are all about... <br />
<br />
Anybody have any ideas what might be going on???<br />
<br />
Thanks,]]></description>
            <dc:creator>sandbasser</dc:creator>
            <category>Debian</category>
            <pubDate>Sun, 19 Dec 2010 19:48:42 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,3088#msg-3088</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,3088#msg-3088</link>
            <description><![CDATA[ Run mpd with some web interface, there are plenty to choose from. For keyboard this: <a href="http://forum.doozan.com/read.php?2,2471"  rel="nofollow">http://forum.doozan.com/read.php?2,2471</a> coupled with mpc should do the trick.]]></description>
            <dc:creator>falker</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 17 Dec 2010 09:10:36 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,3077#msg-3077</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,3077#msg-3077</link>
            <description><![CDATA[ petergunn Wrote:<br />
-------------------------------------------------------<br />
&gt;A web based interface might be more useful though - that would allow control from other PCs, tablets, and phones. <br />
<br />
*spooge*<br />
<br />
Dude.<br />
<br />
Oh. Man. That  would be SO awesome.]]></description>
            <dc:creator>rat</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 16 Dec 2010 20:55:24 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,3074#msg-3074</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,3074#msg-3074</link>
            <description><![CDATA[ rgtaa Wrote:<br />
-------------------------------------------------------<br />
&gt; Peter<br />
&gt; What could be cool would be to use a keyboard to<br />
&gt; control internet radio stations.  <br />
<br />
Hmmm... st2205term already has all the code necessary to read the keyboard and interpret the keycodes and with the right config it should work with cheap keypads. I could either get st2205term to do things (run scripts etc.) when keys are pressed even if there is no screen, or I could separate out the keyboard code into a different application.<br />
<br />
A web based interface might be more useful though - that would allow control from other PCs, tablets, and phones.<br />
<br />
-PG]]></description>
            <dc:creator>petergunn</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 16 Dec 2010 06:17:53 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,3072#msg-3072</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,3072#msg-3072</link>
            <description><![CDATA[ Peter<br />
What could be cool would be to use a keyboard to control internet radio stations.  Maybe a combo key would be &quot;key&quot; to launch the program and all the keys would be different stations.<br />
If we could set it up so no LCD is needed , anybody could just assign different keys to their favorite stations.  With a couple of keys for volume and other stuff.<br />
<br />
So we turn on dockstar. Plug in keyboard and press  control F1 and it would be in internet radio mode. Then all 50 keys would be different stations. :)]]></description>
            <dc:creator>rgtaa</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 16 Dec 2010 05:03:17 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,3071#msg-3071</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,3071#msg-3071</link>
            <description><![CDATA[ rgtaa,<br />
<br />
I get the following relevant desg output when I connect the Lenovo Mini Kbd usb stub:<br />
<br />
<span style="color:#9900CC">.<br />
.<br />
<br />
[56435.640782] usb 1-1.2: new low speed USB device using orion-ehci and address 4<br />
[56435.856143] usb 1-1.2: New USB device found, idVendor=17ef, idProduct=6014<br />
[56435.863080] usb 1-1.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0<br />
[56435.870506] usb 1-1.2: Product: Lenovo Mini Wireless Keyboard<br />
[56435.881087] usb 1-1.2: configuration #1 chosen from 1 choice<br />
[56436.381262] usbcore: registered new interface driver hiddev<br />
[56436.393741] input: Lenovo Mini Wireless Keyboard as /devices/platform/orion-ehci.0/usb1/1-1/1-1.2/1-1.2:1.0/input/input0<br />
[56436.411538] generic-usb 0003:17EF:6014.0001: input,hidraw0: USB HID v1.11 Keyboard [Lenovo Mini Wireless Keyboard] on usb-orion-ehci.0-1.2/input0<br />
[56436.436581] input: Lenovo Mini Wireless Keyboard as /devices/platform/orion-ehci.0/usb1/1-1/1-1.2/1-1.2:1.1/input/input1<br />
[56436.449420] generic-usb 0003:17EF:6014.0002: input,hiddev0,hidraw1: USB HID v1.11 Mouse [Lenovo Mini Wireless Keyboard] on usb-orion-ehci.0-1.2/input1<br />
[56436.463489] usbcore: registered new interface driver usbhid<br />
[56436.470077] usbhid: v2.6:USB HID core driver</span><br />
<br />
========<br />
<br />
I have not decided on the displaylink adapter for the monitor yet. So, I can not test the functionality without the monitor. May be that there is a way to test it from the SSH window. Please let us know how to do the kbd/truckball testing from the SSH session. <br />
By looking at the above output I am hopeful that this tiny kbd/truckball (which I received a couple of days back) might actually work. If it does I intend to use it the same way you mentioned.<br />
<br />
Can somebody recommend an inexpensive tiny (9&quot; or 10&quot;) dvi monitor. I could not find anything suitable @ebay. The displaylink usb monitors are too expensive for the size. Also, buying USB graphics adapter makes sense. TIA. <br />
This is a very nice thread.]]></description>
            <dc:creator>neel</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 16 Dec 2010 01:34:39 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,3063#msg-3063</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,3063#msg-3063</link>
            <description><![CDATA[ FYI - same distortion issue with Targus ACP50US Universal Dock (C-Media audio) if you power the speaker from the Targus hub unless the isolation cable is used, but it is fine if you power the speaker from somewhere else - like one of the dockstar's usb ports. Sound is good with the same alsa config as the $2 adapter.<br />
<br />
-PG]]></description>
            <dc:creator>petergunn</dc:creator>
            <category>Debian</category>
            <pubDate>Wed, 15 Dec 2010 22:06:13 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,3000#msg-3000</guid>
            <title>VFD (cashier's display) via lcdproc</title>
            <link>http://forum.doozan.com/read.php?2,2840,3000#msg-3000</link>
            <description><![CDATA[ rgtaa Wrote:<br />
-------------------------------------------------------<br />
<br />
&gt; I was wondering if you can do a guide for mplayer<br />
&gt; and client and also use the 5 dollar lcd with the<br />
&gt; 3 buttons on it to change channels and stuff. That<br />
&gt; would be very cool.<br />
&gt; It would be mini internet radio thingie. :)<br />
<br />
Another good idea might be to use a cashier's display via lcdproc (newer version than in Debian repository needs to be built for this particular model as well as its 4-line sibling BA66) as per <a href="http://vdr-portal.de/board/thread.php?postid=961264#post961264"  rel="nofollow">http://vdr-portal.de/board/thread.php?postid=961264#post961264</a> - they have the advantage of being huge and easily readable at quite an angle even from several meters away (follow links for further images). The smarthome server silently sitting on top of a wardrobe... is real.<br />
<br />
Of course I know the DockStar has an internal serial port that interfaces nicely with half an Xbox 360 DVD power cable, but I haven't pried open mine just yet.<br />
BTW, as a question to those who already have, is it feasible to use the chipset's S/P-DIF output (optically or by wire) as well?]]></description>
            <dc:creator>TEN</dc:creator>
            <category>Debian</category>
            <pubDate>Sun, 12 Dec 2010 11:58:36 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,2990#msg-2990</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,2990#msg-2990</link>
            <description><![CDATA[ Any chance of getting some type of music/internet radio menu program like I can do with squeezebox server.<br />
So I can from web-browser change stations and maybe even use the mini-lcd to change stations and stuff. <br />
<br />
It would be cool from the 5 dollar lcd screen to control changing stations using the 3 buttons, and maybe control volume and other stuff. Mini internet/music device.  <br />
<br />
I ordered this <a href="http://www.amazon.com/Logitech-S150-Speakers-Digital-Sound/dp/B000ZH98LU"  rel="nofollow">http://www.amazon.com/Logitech-S150-Speakers-Digital-Sound/dp/B000ZH98LU</a> and will report how it it works, it would combine audio and speakers and just use 1 usb port. There is another thread with s150 speakers as title and others got it to work, so I can compare between my orginal setup and the s150.<br />
<br />
And I ordered this <a href="http://www.amazon.com/Lenovo-Multimedia-Remote-with-Keyboard/dp/B0036VO67I"  rel="nofollow">http://www.amazon.com/Lenovo-Multimedia-Remote-with-Keyboard/dp/B0036VO67I</a>  to see if I can combine the mouse and keyboard together on one usb port.<br />
<br />
So one usb port for monitor, 1 for hard drive, 1 for keyboard/mouse , 1 for audio/speakers.<br />
<br />
Peter<br />
I just want to thank you again for all the cool stuff you figured out for the dockstar.<br />
I still don't believe in less than 24 hours you figured out the root access thing, amazing.]]></description>
            <dc:creator>rgtaa</dc:creator>
            <category>Debian</category>
            <pubDate>Sat, 11 Dec 2010 16:08:25 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,2965#msg-2965</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,2965#msg-2965</link>
            <description><![CDATA[ FYI - My <a href="http://www.dealextreme.com/details.dx/sku.14508"  rel="nofollow">USB powered speaker</a> had awful distortion when I powered it off the dockstar. Turns out I had a <a href="http://en.wikipedia.org/wiki/Ground_loop_%28electricity%29"  rel="nofollow">ground loop</a> between the USB port used for power and the USB audio adapter.<br />
<br />
To fix I replaced the 3.5mm audio cable with a <a href="http://us.kensington.com/html/17598.html"  rel="nofollow">Kensington Noise-Reducing AUX Audio Cable (K39203US)</a> which has uses transformers to isolate the current.<br />
<br />
Cable is a little long and cost as much as the speaker but it is a complete fix and I have no noticeable distortion any more with the adapter and speaker connected to the dockstar.<br />
<br />
-PG]]></description>
            <dc:creator>petergunn</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 09 Dec 2010 22:28:18 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,2891#msg-2891</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,2891#msg-2891</link>
            <description><![CDATA[ petergunn -<br />
<br />
your suggestion a few posts back to my problem with &quot;mplayer after reboot&quot; worked PERFECTLY!!!<br />
<br />
many thanks,]]></description>
            <dc:creator>sandbasser</dc:creator>
            <category>Debian</category>
            <pubDate>Sun, 05 Dec 2010 21:29:47 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,2890#msg-2890</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,2890#msg-2890</link>
            <description><![CDATA[ 40,000+ radio stations here: <a href="http://www.shoutcast.com"  rel="nofollow">http://www.shoutcast.com</a> and zillions more elsewhere on the net.<br />
<br />
Just use: <b>mplayer -playlist '<i>URL</i>'</b> # and remember to put the URL in quotes<br />
Example:<br />
<pre class="bbcode">
mplayer -playlist 'http://yp.shoutcast.com/sbin/tunein-station.pls?id=560860'</pre>
Not sure about the remote control from Windows thing - I only have one Windows based PC and I just use that for games.<br />
<br />
-PG]]></description>
            <dc:creator>petergunn</dc:creator>
            <category>Debian</category>
            <pubDate>Sun, 05 Dec 2010 20:52:38 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,2888#msg-2888</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,2888#msg-2888</link>
            <description><![CDATA[ Peter I'm still trying how to get some type of interface that I can use in windows 7 that can control radio stations on the dockstar.<br />
<br />
For the Iradio link I listed the radio stations that work, you can edit the iradio file and remove the stations that no longer work, also, we can add NEW ones, but I don't know how to do that yet.<br />
<br />
Maybe we can find a current list, since that file is from 2007 I think, so most of the stations are old.<br />
A current list would be cool,  or we make a few iradio like files with different types stuff in it.<br />
<br />
<br />
root@x:/# ./iradio<br />
Internet Radio Stations:<br />
0: BBC Radio 1 (mms) UK only<br />
1: BBC 4 FM (mms)<br />
2: BBC Five Live (mms)<br />
3: BBC 6 Music (mms)<br />
4: BBC 7 (mms)<br />
5: NPR (mms)<br />
Which station?<br />
<br />
here is the section to remove the stations from, and maybe come with ways to add new ones.<br />
<br />
<br />
echo Internet Radio Stations:<br />
<br />
stations=(\<br />
'BBC Radio 1 (mms) UK only' \<br />
'mplayer -playlist <a href="http://www.bbc.co.uk/radio1/wm_asx/aod/radio1.asx"  rel="nofollow">http://www.bbc.co.uk/radio1/wm_asx/aod/radio1.asx</a>' \<br />
'BBC 4 FM (mms)' \<br />
'mplayer -playlist <a href="http://www.bbc.co.uk/radio/listen/live/r4.asx"  rel="nofollow">http://www.bbc.co.uk/radio/listen/live/r4.asx</a>' \<br />
'BBC Five Live (mms)' \<br />
'mplayer -playlist <a href="http://www.bbc.co.uk/fivelive/live/live_int.asx"  rel="nofollow">http://www.bbc.co.uk/fivelive/live/live_int.asx</a>' \<br />
'BBC 6 Music (mms)' \<br />
'mplayer -playlist <a href="http://www.bbc.co.uk/6music/ram/6music.asx"  rel="nofollow">http://www.bbc.co.uk/6music/ram/6music.asx</a>' \<br />
'BBC 7 (mms)' \<br />
'mplayer -playlist <a href="http://www.bbc.co.uk/bbc7/realplayer/bbc7.asx"  rel="nofollow">http://www.bbc.co.uk/bbc7/realplayer/bbc7.asx</a>' \<br />
'NPR (mms)' \<br />
'mplayer -playlist <a href="http://www.npr.org/templates/dmg/dmg.php?getProgramStream=true&amp;NPRMediaPref=WM"  rel="nofollow">http://www.npr.org/templates/dmg/dmg.php?getProgramStream=true&amp;NPRMediaPref=WM</a>' \<br />
<br />
)<br />
<br />
Peter I still don't understand how to get any of this stuff to show up in windows 7, I tried different things but no luck.<br />
I can listen to the radio stations no problems.<br />
some of the keyboard keys control stuff, like  ( ) control volume and space bar for pause and , so control speed of speech too, cool.<br />
Would be nice to have 40 or 50 stations that work this way, right?<br />
Maybe in different iradio names like rock stations, news, comedy, etc.]]></description>
            <dc:creator>rgtaa</dc:creator>
            <category>Debian</category>
            <pubDate>Sun, 05 Dec 2010 20:03:29 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,2840,2881#msg-2881</guid>
            <title>Re: USB sound - scratchy [ SOLVED ]</title>
            <link>http://forum.doozan.com/read.php?2,2840,2881#msg-2881</link>
            <description><![CDATA[ FYI - mplayer also works well using streamripper as a relay:<br />
<br />
Install streamripper:<br />
<pre class="bbcode">
apt-get install streamripper
mkdir /root/streamripper</pre>
Connect streamripper relay to radio station:<br />
<pre class="bbcode">
streamripper <i>URL</i> -r 8000 -d /root/streamripper/ -A</pre>
Run mplayer against the relay:<br />
<pre class="bbcode">
mplayer <a href="http://127.0.0.1:8000"  rel="nofollow">http://127.0.0.1:8000</a> # change 127.0.0.1 to dockstar IP if playing on another LAN computer</pre>
You can then connect other players on your LAN to the dockstar without wasting bandwidth.<br />
<br />
If you remove the &quot;-A&quot; option streamripper will record each track to disk. Be aware doing this may be illegal in some countries (i.e. Germany). IANAL.<br />
<br />
-PG]]></description>
            <dc:creator>petergunn</dc:creator>
            <category>Debian</category>
            <pubDate>Sun, 05 Dec 2010 17:26:06 -0500</pubDate>
        </item>
    </channel>
</rss>
