1

I am following this article to deauthorized usb:
https://www.kernel.org/doc/Documentation/usb/authorization.txt

The command I used for de-authorization is sudo sh -c 'echo 0 > /sys/bus/usb/devices/3-2\:1.0/authorized'

Now I am trying to authorize it, but not able authorize it again.

For authorization, I am using this command:
sudo sh -c 'echo 1 > /sys/bus/usb/devices/3-2\:1.0/authorized'

I am trying to hack around and trying to find out how this authorization stuff works.

Can someone explain me what am I doing wrong or is there other way to authorize it again?

1
  • 1
    i posted in here a while back about usbguard and when once a usb item is disabled by it the usb item doesn't get allowed again until after a reboot even though you've modified its rules.conf and done everything you would think needs to be done. I don't know why and lost interest and never came to a conclusion; I gotta believe usbguard is just a high level interface and is basically doing the low level syntax like what you are describing here. Commented Aug 21 at 13:33

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.