Scenario

“PC Remote” ( Xenta SE340D) is a quite popular, cheap remote control available at the moment. In some cases, e.g. when using OpenELEC on Raspberry Pi, it does not recognize key presses when it is plugged in before the boot process. After reconnecting USB, it works.

Workaround

The following could help. It reconnects USB ports.

 

lspci | grep USB
echo -n “0000:xx:xx.x” | tee /sys/bus/pci/drivers/ehci-pci/unbind
echo -n “0000:xx:xx.x” | tee /sys/bus/pci/drivers/ehci-pci/bind
Add to autostart.sh

Example of autostart.sh:

 

 

 

Source

Share This:

  [email protected]