Re: USB sound - scratchy [ SOLVED ] December 16, 2010 04:03AM |
Registered: 14 years ago Posts: 92 |
Re: USB sound - scratchy [ SOLVED ] December 16, 2010 05:17AM |
Registered: 14 years ago Posts: 261 |
Re: USB sound - scratchy [ SOLVED ] December 16, 2010 07:55PM |
Registered: 13 years ago Posts: 128 |
Re: USB sound - scratchy [ SOLVED ] December 17, 2010 08:10AM |
Registered: 13 years ago Posts: 5 |
Re: USB sound - scratchy [ SOLVED ] December 19, 2010 06:48PM |
Registered: 13 years ago Posts: 18 |
... Starting Music Player Daemon: mpdcreating /var/lib/mpd/tag_cache... (warning). ...
root@debian:~# lsusb lsusb: cannot open "/var/lib/usbutils/usb.ids", 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
Re: USB sound - scratchy [ SOLVED ] December 20, 2010 10:18AM |
Registered: 14 years ago Posts: 92 |
Re: USB sound - scratchy [ SOLVED ] December 22, 2010 08:05AM |
Registered: 13 years ago Posts: 5 |
Re: USB sound - scratchy [ SOLVED ] January 04, 2011 06:40PM |
Registered: 14 years ago Posts: 33 |
Re: USB sound - scratchy [ SOLVED ] January 14, 2011 11:28AM |
Registered: 13 years ago Posts: 11 |
apt-get install moc
mocp
< Decrease volume by 1% > Increase volume by 1% , Decrease volume by 5% . Increase volume by 5%
apt-get install alsa-base alsaplayer alsaplayer-text alsa-utils
truxntrax
Re: USB sound - scratchy [ SOLVED ] January 20, 2011 02:21PM |
Re: USB sound - scratchy [ SOLVED ] January 20, 2011 08:43PM |
Registered: 14 years ago Posts: 261 |
# Allow snd-usb-audio to be loaded as first soundcard options snd-usb-audio index=0-PG
truxntrax
Re: USB sound - scratchy [ SOLVED ] January 21, 2011 06:02AM |
Re: USB sound - scratchy [ SOLVED ] January 21, 2011 06:10AM |
Registered: 14 years ago Posts: 261 |
TEN
Re: VFD (cashier's display) via lcdproc February 13, 2011 06:28PM |
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):Quote
TENAnother 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 http://vdr-portal.de/board/thread.php?postid=961264#post961264 - 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.Quote
rgtaa
use the 5 dollar lcd
#!/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 http://vdr-portal.de/board/thread.php?postid=979080 to establish background connection ( trap "rm -f $FIFO" EXIT HUP INT TERM ABRT ; netcat $LCDproc_HOST $LCDproc_PORT <>$FIFO ; rm -f $FIFO ) & # from this day onward anything sent into $FIFO will serve us, erm, be served to a Borg-droned LCDproc port echo -e 'hello' >$FIFO echo -e 'client_set -name name' >$FIFO sleep 2 mkfifo $FIFO2 ( trap "rm -f $FIFO2" EXIT HUP INT TERM ABRT ; netcat $HDD_HOST $HDD_PORT >$FIFO2 ; rm -f $FIFO2 ) & # all lines received from the NCID server are assimilated into $FIFO2 (resistance is futile, those not starting by CID: are irrelevant) while read -s <$FIFO2 do if [ ${REPLY:0:4} = "CID:" ]; then echo -e 'screen_add CallerID\nscreen_set CallerID -priority alert -timeout 240' >$FIFO echo -e 'widget_add CallerID Number scroller\nwidget_add CallerID Name scroller' >$FIFO Number=`echo $REPLY |grep -m 1 ^CID:|cut -d"*" -f 9|sed s/^00/+/|sed s/^0/\+49/` echo $Number echo -e "widget_set CallerID Number 1 1 20 1 m 2 \"$Number \"" >$FIFO Name=`grep $Number ~/Callers.txt|cut -d";" -f 2` echo $Name echo -e "widget_set CallerID Name 1 2 20 2 m 2 \"$Name \"" >$FIFO fi doneUsed with a streaming music player, one might think of it as a "poor man's Roku tube"...
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 "Good morning Dr Falken. "\nwidget_set Greetings Line2 1 2 20 2 m 2 "How about a game of Global Thermonuclear War? "'|nc localhost 13666 -w 14
Quote
TEN
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.
Re: USB sound - scratchy [ SOLVED ] March 11, 2011 03:22AM |
Registered: 13 years ago Posts: 23 |
Re: USB sound - scratchy March 14, 2011 12:50PM |
Registered: 14 years ago Posts: 6 |
Re: USB sound - scratchy March 14, 2011 02:34PM |
Registered: 14 years ago Posts: 261 |
Re: USB sound - scratchy May 10, 2011 03:24PM |
Registered: 13 years ago Posts: 10 |
root@dockstar ~ # lsusb -d 1130:f211 Bus 001 Device 037: ID 1130:f211 Tenx Technology, Inc. TP6911 Audio Headset
Quote
petergunn - December 03, 2010 06:13PM
Fixed it! I used the alsa "softvol" feature and bumped up the buffer sizes from a config I found on the net:
I created the following /etc/asound.conf file:
[...]
audio_output { type "alsa" name "My ALSA Device" # mixer_control "PCM" mixer_control "Master" }
root@dockstar ~ # amixer | grep control Simple mixer control 'Master',0 Simple mixer control 'PCM',0 Simple mixer control 'Mic',0or simply by starting alsamixer and testing which control regulates the volume correctly.
Ralphy
Re: USB sound - scratchy [ SOLVED ] August 23, 2011 06:48AM |
--- 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 |
--- /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
Treblig
Re: USB sound - scratchy [ SOLVED ] November 12, 2011 08:36AM |
luttan
ALSA And MPD September 12, 2012 04:45AM |