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:
.. This can also be achieved real-time with enumerate option.Code:udisks --monitor-detail
orI 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:udisksctl monitor
andCode:--unmount device_file; orCode:--detach device_file
andCode:udisksctl unmountto power off the usb port in question and helps ease taking the drive off the concerned port.Code:udisksctl power-off
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
Vintage Apple Newton MessagePad 120 (H0131)
$150.00
Apple | Macintosh Performa 200 | Vintage Personal Computer | Beige Casing
$199.95
VINTAGE 2004 Apple Silver APPLE PRODUCT PROFESSIONAL Pin in Original Container
$14.99
Vintage Apple Extended Keyboard II M3501 Mechanical Untested
$41.99
Vintage Apple Macintosh Computer Modem A9M0300
$65.00
Vintage Apple Computer Monitor
$45.90
Vintage Classic Apple Macintosh System Boot Install Disk Floppy/CD *Pick Version
$10.39
Vintage Apple Newton eMate 300 Laptop Computer 1997 H0208 Teal Blue Green Works
$189.99
MacEffects Chrome / Clear Mechanical Keyboard for Vintage Apple IIe Computers
$225.00
Vintage APPLE Quantum ProDrive ELS 3.5" SCSI 50-Pin HDD 81 MB TESTED
$35.95