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
HP ProLiant Xeon E3-1220L V2 16 GB RAM 2.30 GHz MicroServer Gen8 NO DRIVES
$174.99
HP PROLIANT MICROSERVER MICRO SERVER HSTNS-5151 T4 Used.
$45.00
HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ*
$94.99
Supermicro Server Tower Xeon BOOTS E5-2620 v4 2.10GHz 64GB RAM NO HDD NO OS
$199.99
SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount
$202.49
HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon
$846.19
SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD
$90.00
Supermicro 5018A-FTN4 Rack Server - Black
$125.00
2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL
$299.00
1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE
$297.00