8000 Allow power without data · Issue #642 · USBGuard/usbguard · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Allow power without data #642

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vincentbernat opened this issue Nov 24, 2024 · 2 comments
Open

Allow power without data #642

vincentbernat opened this issue Nov 24, 2024 · 2 comments

Comments

@vincentbernat
Copy link

Hey!

When a device is not authorized, the bMax attribute in sysfs is empty. The device will draw only 100mA in this configuration. Authorizing the device puts 500mA (in case of a Sony headset) and the device can draw 500mA (if authorized soon enough, otherwise, I suppose it stopped trying to get more).

Would it be possible to authorize a device for power, but not for data. I didn't find such a possibility in the Linux kernel documentation, so maybe not.

@muelli
Copy link
Contributor
muelli commented Nov 25, 2024

good question.
Sounds like something to bring up with the Linux people.

@Lukas1811
Copy link

I would guess that's not possible, since you need to allow the BC traffic on the data lines, therefore you need to allow the device, otherwise this communication is ignored (but I'm not a USB nor Linux expert, so maybe there is a way to do it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0