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
Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP
$419.99
Cisco GLC-FE-100FX-RGD 100BASE-FX SFP Transceiver Module
$17.99
Lot of 10pcs Brocade 57-1000012-01 8Gbps SWL 850nm SFP+ Optical Transceivers
$19.00
CISCO SFP GLC-GE-100FX 10-2019-02 100Base-FX SFP GBIC Transceiver Module 1pcs
$52.99
Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03
$8.00
SFP-10G-SR Original Cisco 10GBASE-SR SFP+ V02 Multi mode Transceiver 10-2415-02
$5.00
Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC
$13.89
Genuine Cisco GLC-TE 30-1475-01 V01 1000BASE-T SFP COPPER RJ-45 100M TRANSCEIVER
$11.90
New HP HPE Aruba J9150D 10G SFP+ LC SR 850nm 300m MMF XCVR Transceiver Module
$49.99
10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module
$85.00