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

Always have the same USB on restart - piCorePlayer

$
0
0
I have a startup script that looks like this:
/usr/local/bin/squeezelite -n "1" -o hw:CARD=Device_1,DEV=0 -a 80:4::0: -m 06:d0:65:4d:87:d1 &
/usr/local/bin/squeezelite -n "2" -o hw:CARD=Device_2,DEV=0 -a 80:4::0: -m 06:d0:65:4d:87:d2 &
/usr/local/bin/squeezelite -n "3" -o hw:CARD=Device_3,DEV=0 -a 80:4::0: -m 06:d0:65:4d:87:d3 &
/usr/local/bin/squeezelite -n "4" -o hw:CARD=Device_4,DEV=0 -a 80:4::0: -m 06:d0:65:4d:87:d4 &
/usr/local/bin/squeezelite -n "5" -o hw:CARD=Device_5,DEV=0 -a 80:4::0: -m 06:d0:65:4d:87:d5 &
/usr/local/bin/squeezelite -n "6" -o hw:CARD=Device_6,DEV=0 -a 80:4::0: -m 06:d0:65:4d:87:d6 &

But the USB devices initialize in a random pattern on restart. Is there anyway to get and use a mac address of a USB device when starting up?

Viewing all articles
Browse latest Browse all 1518

Trending Articles