Play Nintendo Switch anyware
- Nintendo Switch
- Nintendo Switch Dock
- HDMI Cable
- Raspberry Pi 4 Model B
- H2C-RPI-B01 or B101
- USB 3.0 A to C Cable 1
- Powered USB 3.0 Hub 1
Put these line into /boot/config.txt on Raspbian.
dtoverlay=dwc2
dtoverlay=tc358743
Put these line into /etc/modules on Raspbian.
dwc2
libcomposite
Connect H2C-RPI-B01 board to Raspberry Pi and run the following command (every time before launch).
v4l2-ctl --set-edid=file=720P30EDID.txt
v4l2-ctl --set-dv-bt-timings query
See スマホでNintendo Switchのゲームをする - 犬アイコンのみっきー for more details.
Run procon_audio.sh with sudo
(every time after reboot).
For more details, see links below
- UAC GadgetでNintendo Switchの音声出力をRaspberry Piに取り込む - 犬アイコンのみっきー
- スマホでNintendo Switchを操作する 〜 USB GadgetでPro Controllerをシミュレート 〜 - 犬アイコンのみっきー
go build
sudo ./ns-remote
Open http://raspberrypi.local:8000 on your smart phone.
Find your audio/video capture device with v4l2-ctl --list-devices
and arecord -l
. And specify the devices to an argument.
For example,
sudo ./ns-remote -audio hw:1,0 -video /dev/video1
- Wake-up is not supported yet
- Must set up Powered-On Nintendo Switch in the Dock.