Originally posted by torsionbar28
View Post
Announcement
Collapse
No announcement yet.
Linux 5.1 Picking Up Option To Lockdown All But Internal USB Devices
Collapse
X
-
Originally posted by schmidtbag View PostThere's no way to identify that though. To the computer, it doesn't matter if the component is soldered down or plugged in through a port, it all looks the same.
Comment
-
Originally posted by schmidtbag View PostThere's no way to identify that though. To the computer, it doesn't matter if the component is soldered down or plugged in through a port, it all looks the same.
Of course desktops aren't using this because you can pipe the header to external ports or internal ports, as you said
EDIT: damn I got ninja'd
Comment
-
Originally posted by torsionbar28 View PostI wonder how it discriminates between an internal vs external device? After all, a motherboard USB header can be connected to an internal device (dvd drive for example) or to a panel of external USB ports on the front or rear of the chassis. How does it know?
USB hubs have port capability bits which tell if the port is internal or external, and the hub chipsets I am aware of have bootstrap pins which can set this capability bits, e.g. when you have an onboard hub which is connected to a camera (internal), fingerprint reader (internal) and a USB-A port (external). This is a manufacturing option.
There is also the possibility to provide this information via Device Tree or ACPI. Google just has to provide the correct Firmware for its devices.
- Likes 2
Comment
Comment