-
Senior Member
registered user
To Klaus Knopper, the creator of Knoppix
Dear Mr. Knopper,
When I click Eject Removable Media, the LEDs of my USB thumbdrives (we call them pendrives) keep glowing.
I have found two packages that help power off the concerned USB port: (1) udisks and (2) udisksctl. The monitor option helps keep track of the status of the drives, and the commands:
Code:
udisks --monitor-detail
.. This can also be achieved real-time with enumerate option.
or I have created a simple routine with grep "by-id" to find out which drive is running in which usb port, and then use appropriate commands:
Code:
--unmount device_file
and
Code:
--detach device_file
; or
and
Code:
udisksctl power-off
to power off the usb port in question and helps ease taking the drive off the concerned port.
However, I can't create a script and then bind the script with the right click / Eject Removable Media event.
Debian Lenny has this option of powering off the usb ports.
How to do this? Could you incorporate this in your later releases?
Regards,
Rajib Bandopadhyay
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

RAM-HOL-SAM52CPU RAM USB-C Powered Dock Samsung Tab Active4 Pro & Tab Active Pro
$81.99

Samsung 32GB DDR4-2666 PC4-21300 288-Pin DIMM RAM M393A4K40CB1CRC0Q
$185.00

New Samsung 512GB FIT Plus USB 3.2 Gen 1 Type-A Flash Drive MUF-512AB/AM NEW
$120.00

Samsung 24" S3 Essential IPS 100Hz Monitor | Sealed | Fast shipping
$50.00

RAM-HOL-SAM60CPU RAM USB-C Powered Dock for Samsung Tab Active5 - 3 - 2
$81.99

RAM-GDS-SKIN-SAM54-NG-1 RAM Mounts IntelliSkin® Next Gen for Samsung Tab Active4
$93.99

Samsung Galaxy Tab SCH-1800 7" 4GB Wi-Fi + Verizon Tablet Working
$30.00

RAM-GDS-DOCK-SAM88CPU RAM GDS® Tough-Dock™ for Samsung Tab A9+
$174.99

NEW Samsung NoteBook NT930QCG touch LCD Full Screen Assembly Blue
$225.77

Samsung Galaxy Book2 Pro 360 15.6 i7-1260P 16GB 1TB SSD Laptop FAST SHIP
$349.99