Simulate USB unplugging and replugging behavior #108

Open
opened 2026-10-17 20:53:43 +02:00 by Benjamin_Loison · 9 comments
Owner

I have verified issues for USB on this fork, my Ubuntu, my Debian and my Cinnamon forks.

I have verified issues for *USB* on this fork, my Ubuntu, my Debian and my Cinnamon forks.
Author
Owner

Related to #97.

Related to #97.
Author
Owner

#87 may help.

#87 may help.
Author
Owner

Would help #16.

Would help #16.
Author
Owner

Would help workaround Benjamin_Loison/gnome-control-center/-/work_items/68 if not near the computer.

Would help workaround [Benjamin_Loison/gnome-control-center/-/work_items/68](https://gitlab.gnome.org/Benjamin_Loison/gnome-control-center/-/work_items/68) if not near the computer.
Author
Owner

DuckDuckGo search Debian GNOME simulate USB unplugging replugging.

USB reset reminds me something.

DuckDuckGo search *Debian GNOME simulate USB unplugging replugging*. USB reset reminds me something.
Author
Owner

On Debian 13 GNOME Pegasus:

usbreset
Output:
Usage:
  usbreset VVVV:PPPP - reset by vendor and product id
  usbreset BBB/DDD   - reset by bus and device number
  usbreset "Product" - reset by product name

Devices:
  Number 001/005  ID 1e7d:371e  ROCCAT Juke
  Number 003/003  ID b58e:0005  Yeti Nano
  Number 001/002  ID 1b1c:1b8b  CORSAIR SCIMITAR RGB ELITE Gaming Mouse
  Number 001/006  ID 046d:082d  HD Pro Webcam C920
  Number 003/002  ID 1c4f:0002  USB Keykoard
On Debian 13 GNOME Pegasus: ```bash usbreset ``` <details> <summary>Output:</summary> ``` Usage: usbreset VVVV:PPPP - reset by vendor and product id usbreset BBB/DDD - reset by bus and device number usbreset "Product" - reset by product name Devices: Number 001/005 ID 1e7d:371e ROCCAT Juke Number 003/003 ID b58e:0005 Yeti Nano Number 001/002 ID 1b1c:1b8b CORSAIR SCIMITAR RGB ELITE Gaming Mouse Number 001/006 ID 046d:082d HD Pro Webcam C920 Number 003/002 ID 1c4f:0002 USB Keykoard ``` </details>
Author
Owner
ls /dev/video*
ls: cannot access '/dev/video*': No such file or directory
usbreset 'HD Pro Webcam C920'
Resetting HD Pro Webcam C920 ... can't open [Permission denied]
sudo usbreset 'HD Pro Webcam C920'
Resetting HD Pro Webcam C920 ... ok
ls /dev/video*
ls: cannot access '/dev/video*': No such file or directory
```bash ls /dev/video* ``` ``` ls: cannot access '/dev/video*': No such file or directory ``` ```bash usbreset 'HD Pro Webcam C920' ``` ``` Resetting HD Pro Webcam C920 ... can't open [Permission denied] ``` ```bash sudo usbreset 'HD Pro Webcam C920' ``` ``` Resetting HD Pro Webcam C920 ... ok ``` ```bash ls /dev/video* ``` ``` ls: cannot access '/dev/video*': No such file or directory ```
Author
Owner

OBS Properties does not crash anymore, but does not result in a non black stream.

image.png

If click to list other possibilities for this field:

image.png

USBGuard was incorrectly configured:

ls /dev/video*
/dev/video0  /dev/video1

Well now it properly lists sources it seems, but still no matter physical brightness it seems (I can't verify physically) the stream still seems perfectly black.

OBS *Properties* does not crash anymore, but does not result in a non black stream. ![image.png](attachments/11036077-e3de-42be-905d-13f3b28a27d2) If click to list other possibilities for this field: ![image.png](attachments/e5215763-b0ae-45a6-8247-775c4a207c4c) USBGuard was incorrectly configured: ```bash ls /dev/video* ``` ``` /dev/video0 /dev/video1 ``` Well now it properly lists sources it seems, but still no matter physical brightness it seems (I can't verify physically) the stream still seems perfectly black.
157 KiB
425 KiB
Author
Owner

With physical brightness it seems that the video was working fine.

Next time maybe do not need physical brightness, but display white screen and at the same time, not just after, watch the stream.

With physical brightness it seems that the video was working fine. Next time maybe do not need physical brightness, but display white screen and at the same time, not just after, watch the stream.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Benjamin_Loison/linux#108