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
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$80.39
Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot
$73.29
Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive 0 Relocated
$15.79
Samsung 1TB 850 EVO 2.5" SATA Solid State Drive MZ7LE1T0 ** READ **
$48.99
CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD
$9.00
1TB HDD/SSD 2.5" SATA Hard Drive for Laptop with Win 10/Win 11 Pro Pre-installed
$28.99
WD - Blue SN580 1TB Internal SSD PCIe Gen 4 x4 NVMe
$79.99
Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive
$67.99
Samsung - 990 980 970 PRO & EVO 4TB 2TB 1 TB Internal PCle Gen 4x4 NVMe M.2SSD
$320.00
Internal HDD SATA 3.5" 250GB-2TB Hard Drive with Legacy Windows 11 Pro Installed
$27.69