Re: [SlimDevices: Touch] Instructions for connecting USB DAC to Touch

2011-02-15 Thread cocamegadose

indypants;611213 Wrote: 
 This is exactly what I get each and every time I use the new asound.conf
 file. I get about 30 seconds where SSH is still working, and I have to
 get in quick and restore the original file to get it to boot properly.

Same for me, have to be quick to restore asound.conf :)


-- 
cocamegadose

cocamegadose's Profile: http://forums.slimdevices.com/member.php?userid=40903
View this thread: http://forums.slimdevices.com/showthread.php?t=82110

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Instructions for connecting USB DAC to Touch

2011-01-30 Thread cocamegadose

Hi everyone,

Joel, i had the same problems with clicks and pops particularly on big
files (.m4a, .wav files, not so much on mp3, nor radios, nor spotify),
with Wifi, or ethernet.

I changed some parameters in the kernel, and change buffer values based
on http://soundcheck-audio.blogspot.com/ recommendations : its really
better, noticeably less clicks

This is what I do :
create a new file that will be start on boot : vi
/etc/init.d/rcS.local
put these lines :
echo 2048  /sys/class/rtc/rtc0/max_user_freq
echo 10  /proc/sys/kernel/sched_min_granularity_ns
echo 10  /proc/sys/kernel/sched_latency_ns
echo 50  /proc/sys/kernel/sched_wakeup_granularity_ns
echo 10  /proc/sys/kernel/sched_rt_period_us
echo -1  /proc/sys/kernel/sched_rt_runtime_us
echo 1  /proc/sys/kernel/sched_compat_yield

then add the x right : chmod a+x /etc/init.d/rcS.local

Edit the files /etc/squeezeplay/userpath/settings/SqueezeboxFab4.lua
and /usr/share/jive/applets/SqueezeboxFab4/SqueezeboxFab4Meta.lua. I
changed alsaPlaybackBufferTime et alsaEffectsBufferTime to 50
instead of 2. This value might be extreme, I really don't know. You
can raise the default value step by step if you prefer.

Remember to backup these files before. And keep in mind that those
files will be overwritten on each firmware upgrade.

Then reboot the Touch.


-- 
cocamegadose

cocamegadose's Profile: http://forums.slimdevices.com/member.php?userid=40903
View this thread: http://forums.slimdevices.com/showthread.php?t=82110

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Instructions for connecting USB DAC to Touch

2010-10-09 Thread cocamegadose

Hi there,

Just a post to confirm that this mod works with (my) HRT Music Streamer
II+.


BUT  (in my case) it did not work just out of the box (my
Squeezebox is brand new, just bought today).
The HRT was not listed in aplay -l. I tried to reboot a hundred times,
to hotplug/unplug ... still nothing in aplay -l.
But when I tried to plug an USB drive for the first time, then reboot
with the reset button with the HRT plugged in, it worked : the HRT was
detected after the reboot and listed in aplay -l (as card 1)

Now it is working perfectly.
So it could help to plug an USB hard drive once before trying John's
mod.


For the record, here is the result of aplay -l :
# aplay -l
 List of PLAYBACK Hardware Devices 
card 0: TXRX [MXC SPDIF TX/RX], device 0: MXC_SPDIF [MXC_SPDIF]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: II [Music Streamer II+], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 2: fab4 [fab4], device 0: fab4-ak4420 []
Subdevices: 0/1
Subdevice #0: subdevice #0


... and my /etc/asound.conf :

pcm.usbdac {
type hw;
card II;
}
pcm.plugusb {
type plug;
slave.pcm usbdac;
}
ctl.plugusb {
type hw;
card II;
}

pcm.!default plugusb


Thanks John for publishing this mod !
Squeezebox Touch and HRT Music Streamer II+ is a great combo : easy to
use, compact, capable of great sound.

Coca


-- 
cocamegadose

cocamegadose's Profile: http://forums.slimdevices.com/member.php?userid=40903
View this thread: http://forums.slimdevices.com/showthread.php?t=82110

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch