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

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90
Micron 32GB (16GB x 2) PC4-25600 DDR4-3200MHz ECC RDIMM Memory (sku 0054)
$199.00
2 in 1 USB 3.0 Card Reader Micro TF card Reader usb adapter High Speed Cardreder
$3.99
Kingston KF432S20IBK2/32 FURY Impact 32GB (2x16GB) 3200MT/s CL20 Laptop Memory
$150.00
Samsung 96GB LPCAMM2 PC5 9600 FE1 E1 LPDDR5X CAMM2 M561K6LC3CL1-CCV DDR5 Memory
$2150.00
NMA1XXD128GPS Intel Optane 1X128GB DDR4 PC4-21300 DCPMM Persistent Server Memory
$75.00
64MB (2 x 32MB) 72 Pin EDO Memory SIMM 5V Non Parity 60ns
$19.44
SK Hynix 64B PC4-2933Y Server Memory DDR4 RAM HMAA8GR7MJR4N-WM
$499.99
2 Pack USB C SD TF Card Reader Adapter Zinc Alloy USB-C to USB for iPhone 15-17
$3.35
SMART(Micron)SafeStor 32GB(1X32GB) 1RX4 NN4-3200AA(DDR4) HPE Server Memory
$159.98