Update Community_FAQ.md (#467)

Removed and updated verbiage for clarity
This commit is contained in:
arch1mede 2021-09-14 21:09:33 -07:00 committed by GitHub
parent 1f1e95a0b9
commit 5a269f0414
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 76 deletions

View File

@ -150,82 +150,7 @@ Yes! And it's easy to do! Using a SSH session or the web terminal:
[Back to the Top](https://github.com/pikvm/pikvm/blob/master/pages/Community_FAQ.md#Index)
### Can you switch from USB to CSI or from CSI to USB?
- Officially, no. Unofficially yes. Please visit this [site](https://pastebin.com/u/srepac) and grab the platform-switcher.sh script
Directions:
1) Place script in the root dir
2) Copy the following settings into `/etc/kvmd/override.yaml` - NEEDS to adhere to proper spacing, please see kvmd -m for proper formatting
```
kvmd:
streamer:
forever: true
cmd_append: [--slowdown] # for usb-hdmi only so that target PC display works w/o rebooting
### this section is for use with webrtc/h.264 -- up to resolution: line
h264_bitrate:
default: 5000
cmd_append:
- "--h264-sink=kvmd::ustreamer::h264" # requires gpu_mem=256 in /boot/config.txt for usb dongle
- "--h264-sink-mode=0660"
- "--h264-bitrate={h264_bitrate}"
- "--h264-gop={h264_gop}"
### Optional
#resolution:
# default: 1280x720 # default resolution I use in webui - usb-hdmi only
```
3) Make a `config.txt.usb` file
```# See /boot/overlays/README for all available options
initramfs initramfs-linux.img followkernel
hdmi_force_hotplug=1
gpu_mem=256
enable_uart=1
dtoverlay=disable-bt
dtoverlay=dwc2,dr_mode=peripheral
#dtparam=act_led_gpio=13
# SPI (AUM)
#dtoverlay=spi0-1cs
# I2C (display)
dtparam=i2c_arm=on
# Clock
#dtoverlay=i2c-rtc,pcf8563
```
4) Make a `config.txt.csi` file
```# See /boot/overlays/README for all available options
initramfs initramfs-linux.img followkernel
hdmi_force_hotplug=1
gpu_mem=128
enable_uart=1
dtoverlay=tc358743
dtoverlay=disable-bt
dtoverlay=dwc2,dr_mode=peripheral
dtparam=act_led_gpio=13
# HDMI audio capture
dtoverlay=tc358743-audio
# SPI (AUM)
dtoverlay=spi0-1cs
# I2C (display)
dtparam=i2c_arm=on
# Clock
dtoverlay=i2c-rtc,pcf8563
```
5) Place all files in the same dir as the platform-switcher script
6) Run `chmod +x platform-switcher.sh`
7) Run `./platform-switcher.sh`
8) Follow the directions that are printed out, Eg: ./platform-switcher.sh -f
9) Now you can switch back and forth between usb and csi, please note there is an almost 2 min delay before the portal becomes active.
**NOTE**: WEBRTC/H.264 with USB is not as realiable as MJPEG mode.
- Officially, no. You would be advsed to make 2 seperate SD cards and swap them when needed. Unofficially yes and totally NOT supported. Please DM @srepac on discord for the script and directions.
[Back to the Top](https://github.com/pikvm/pikvm/blob/master/pages/Community_FAQ.md#Index)