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
Lenovo ThinkPad T14 Gen1 w/Core i5-10210U CPU - 16GB RAM - 256GB SSD - Win10 Pro
$259.99
Lenovo ThinkPad T495s Laptop AMD Ryzen 7 PRO 3700U 16GB RAM 256GB SSD Windows 10
$259.99
Lenovo ThinkPad E15 Gen3 15.6" IPS FHD Ryzen 5 5500U 2.10GHz 8GB 256GB SSD W11P
$205.00
Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD Intel Core i7-1255U 8GB RAM
$544.99
Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD AMD R7 5825U 16GB RAM 512GB SSD
$529.99
Lenovo - Legion Slim 5 16" Gaming Laptop WUXGA - Ryzen 5 7640HS with 16GB Mem...
$1349.99
Lenovo Legion Pro 5i 16" Gaming Laptop RTX 4070 8GB i9-13900HX 16GB RAM 1TB SSD
$1369.99
Lenovo - Yoga 7 2-in-1 14" 2K Touchscreen Laptop - AMD Ryzen 5 8640HS with 8G...
$749.99
Lenovo ThinkPad E580 15.6" Laptop Intel Core i5 8GB RAM 128GB SSD Windows 11
$139.49
Lenovo Laptop ThinkPad Light Gaming AMD Ryzen 7 PRO 16GB 256GB SSD Windows 11
$269.99