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
Genuine Apple OEM 60W Magsafe Charger / AC Adapter for A1278 MacBook Pro
$7.99
Genuine OEM Apple USB-C type c to MagSafe 3 Cable 2 M- MLYV3AM/A
$22.95
Genuine Apple OEM 60W Magsafe Charger / AC Adapter for A1278 MacBook Pro Air
$7.99
Genuine OEM Apple 30W USB-C Power Adapter Charger 2m Cable iPhone 15, iPad Pro
$27.00
Genuine Original OEM APPLE Thunderbolt Cable 2M MC913ZM/A MD861LL/A White 6.5ft
$18.50
Genuine Apple A1882 30W USB-C Power Adapter Apple OEM CHARGER
$20.89
OEM Genuine Apple Thunderbolt Cable 2M 6ft Model A1410 MD861LL/A White
$19.98
Genuine OEM Apple 12W USB Power Adapter Type A Wall Charger for iPhone & iPad
$4.49
Apple 30W USB-C Charger OEM Original Power Adapter For 2018+ Macbook Air
$23.99
Apple OEM QHD IPS LCD Screen Assembly for 16" MacBook Pro A2141 2019/20 Display
$299.99