Create the file factory_reset.txt
with 1
value inside on a FAT32 USB drive and booting the Link with it plugged in.
Create the /steamlink/config/system/enable_ssh.txt
empty file on a FAT32 USB drive and booting the Link with it plugged in.
You can now connect to your Steam Link using SSH:
- username:
root
- password:
steamlink
orsteamlink123
Change with
passwd
the password after first login or remove/mnt/config/system/enable_ssh.txt
to disable SSH.
All the services are launched from /etc/init.d/startup
Edit the file /etc/init.d/startup/S13bluetooth.sh
and comment the last line:
#!/bin/sh
FACTORY_DIR=/mnt/factory_setting
BT_MAC_FILE=${FACTORY_DIR}/BT_MAC_ADDR
BT_CAL=mrvl/BTCalData_sd8897.conf
get_bt_mac_address() {
# Get mac address from file and insert semicolons between octets:
# 021122334455 => 02:11:22:33:44:55
cat $BT_MAC_FILE | sed -r 's/(..)(..)(..)(..)(..)(..)/\1:\2:\3:\4:\5:\6/'
}
# Bluetooth
# note: the bluetooth module must be insmod'ed after wifi or else the
# chip firmware is not loaded properly and bluetooth will fail to work
if [ -f "${BT_MAC_FILE}" ]; then
BG_MAC_ARG="bt_mac=$(get_bt_mac_address)"
else
echo "warning bluetooth mac address file not found: ${BT_MAC_FILE}"
fi
echo "modprobe bt8xxx ${BG_MAC_ARG} cal_cfg=${BT_CAL} psmode=0"
modprobe bt8xxx ${BG_MAC_ARG} cal_cfg=${BT_CAL} psmode=0
#/etc/init.d/bluetooth.sh &
We can't simply remove /etc/init.d/startup/S13bluetooth.sh
because S15audio.sh
relies on it using BlueALSA backend.
cd /mnt/config/system
echo "--hardwarebitratelimit 50000" > streaming_args.txt
echo "CAMQABgAIAAoADCgjQZAAA==" > streaming_settings.b64
base64 -d streaming_settings.b64 > streaming_settings.bin
rm streaming_settings.b64
Binary file has been dumped using:
base64 streaming_settings.bin
CAMQABgAIAAoADCgjQZAAA==
https://mcd1992.blogspot.com/2015/10/removing-steam-link-bandwidth-limit.html -rwxr-xr-x 1 root root 780 Jan 1 1970 S13bluetooth.sh