Turning off a single usb device… again

前端 未结 3 1404
轮回少年
轮回少年 2020-12-25 13:23

I know that this topic has been discussed many times, but none of the answers helped me. For the record, i\'m running Debian.

The deal is: I bought an usb powered le

3条回答
  •  -上瘾入骨i
    2020-12-25 14:07

    Turn off device ID 2-1:

    echo '2-1' |sudo tee /sys/bus/usb/drivers/usb/unbind

    Turn device ID 2-1 back on:

    echo '2-1' |sudo tee /sys/bus/usb/drivers/usb/bind

    In my case, using device ID 2-1 controls power to my usb stick, and as a consequence controls the light.

    • TIP: If they work for you in Debian, create an alias for them to make life easier for you later.

    Hope this helps, Su

提交回复
热议问题