Quantcast
Channel: Squeezebox : Community : Forums - Linux / Unix
Viewing all articles
Browse latest Browse all 1518

squeezelite freezes Raspberry Pi 2 with multiple instances

$
0
0
Hello all,

Here's my setup:

Raspberry pi 2 with a powered (4Amp) USB 2.0 Hub. I have 4x of these guys (Syba SD-CM-UAUD USB Stereo Audio Adapter):

http://www.amazon.com/gp/product/B00..._detailpages00

plugged into the Hub. I have Raspbian installed and have created an init script to start up 4 instances of squeezelite.

The first 3 fire up just fine, but the 4th always locks up the RPi2. I was thinking either a couple things : squeezelite exhausting all the RAM on the device, or it overdrawing current from the Pi.

Code:

/usr/bin/squeezelite -z -o front:CARD=Device,DEV=0 -n Kitchen -m "00:00:00:00:00:01"
/usr/bin/squeezelite -z -o front:CARD=Device_1,DEV=0 -n Basement -m "00:00:00:00:00:02"
/usr/bin/squeezelite -z -o front:CARD=Device_2,DEV=0 -n Bathroom -m "00:00:00:00:00:03"
/usr/bin/squeezelite -z -o front:CARD=Device_3,DEV=0 -n Backyard -m "00:00:00:00:00:04"

The overdrawing of current doesn't seem feasible since the sound cards are all on a separate powered USB hub, and running out of RAM doesn't seem to be the case since squeezelite doesn't seem to be consuming much RAM per instance (according to free).

Any ideas? I don't see anything in the Rpi2 logs (no kernel panics or anything), it just freezes completely. I have to hard reboot the RPi2 in order to get it back up and running.

Viewing all articles
Browse latest Browse all 1518

Trending Articles