Skip to main content

Timeline for disable a usb port in linux

Current License: CC BY-SA 3.0

11 events
when toggle format what by license comment
Sep 9, 2017 at 20:27 answer added captnfab timeline score: 1
Apr 23, 2017 at 12:19 comment added domsson I'm a bit late to the party, but it looks as if this problem was solved? Maybe @arielf should write up his comment as answer so Zackrobat can mark it as accepted in order to get the question out of the pipeline?
S Jul 12, 2016 at 7:02 history suggested AReddy CC BY-SA 3.0
comment formatting
Jul 12, 2016 at 6:18 review Suggested edits
S Jul 12, 2016 at 7:02
Apr 19, 2016 at 13:59 comment added Zackrobat My mistake - I tried to remove the /sys/bus/usb/devices/usb1 file instead of your recommendation of the /dev/bus/usb/001 file. I tried the command you suggested and it worked! Thank you so much! So now the fix is simply to give that same rm command whenever I boot up.
Apr 19, 2016 at 10:37 comment added Zackrobat I tried removing the device directory as the root user, with no luck: # rm -rf /sys/bus/usb/devices/usb1 gave "rm: cannot remove '/sys/bus/usb/devices/usb1': Operation not permitted"
Apr 18, 2016 at 19:43 comment added arielf Have you tried removing the device file/dir? e.g. sudo rm -rf /dev/bus/usb/001 Often you may recreate device files using MAKEDEV (man MAKEDEV, e.g sudo MAKEDEV usb, or if the kernel recreates their /dev space, by rebooting, or by noting their major/minor device numbers and using mknod directly)
Apr 15, 2016 at 2:28 history tweeted twitter.com/StackUnix/status/720800877284626432
Apr 14, 2016 at 12:46 comment added jc__ just thinking out loud, but is there a way to blacklist hardware before the driver is loaded. Possible search terms: 'hardware module blacklist', 'modprobe blacklist', whitelist.
Apr 14, 2016 at 3:16 review First posts
Apr 14, 2016 at 3:24
Apr 14, 2016 at 3:13 history asked Zackrobat CC BY-SA 3.0