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
For Lenovo IdeaPad 3 15IIL05 15IML05 15ADA05 15ARE05 Palmrest Keyboard Touchpad
$59.25
For Lenovo Yoga 910-13IKB USB C Charging Port Board with Cable NS-A901 US
$138.04
New For Lenovo IdeaPad Flex 5 14ALC05 Palmrest Keyboard Grey Backlit 5CB1C39900
$142.11
Lenovo ThinkPad T480 14" Touchscreen Laptop i5 256GB NVMe 16GB RAM Win 11 Pro
$249.00
Lenovo - LOQ 15.6" Gaming Laptop FHD - Intel Core i5-13420H with 8GB Memory -...
$629.99
Lenovo Ideapad 1i 15.6" FHD Notebook Intel Core i5-1235U 8GB RAM 256GB SSD
$349.99
Lenovo 100e Chromebook Laptop 2nd Gen | 11.6" HD | MTK 1.7GHz | 4GB RAM | 32GB
$32.00
Lenovo ThinkPad Yoga 11e 11.6" 2in1 Touch Intel Core i3 4GB RAM 128GB SSD Win10
$59.00
Notebook Lenovo Slim Pro 9 Laptop, 16" Glass, i9-13905H, GB, 1TB SSD
$1051.99
Lenovo ThinkPad 14" Laptop Computer Core i7 16GB RAM 256GB SSD Windows 10 Pro
$229.99