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
OEM Apple MacBook Pro 13 A1706 A1708 2017 LCD Screen Display Assembly Silver
$125.54
OEM Genuine A1618 Battery for Apple MacBook Pro15” Retina A1398 Mid 2015 99.5Wh
$55.99
OEM Apple MacBook Pro 13 A1706 A1708 2017 LCD Screen Display Assembly Space Gray
$144.14
OEM Genuine Apple MacBook Pro A1990 2018 2019 15" LCD Screen Display Assembly
$213.89
Genuine OEM Apple 85W MagSafe 2 Charger for MacBook Pro / Air TESTED - Apple -
$9.79
Genuine Apple A1882 30W USB-C Power Adapter Apple OEM CHARGER
$18.99
OEM 45W Charger Adapter Supply Power for Apple Macbook Air A1465 A1466 2012-2017
$7.99
Apple OEM Original (A1374) 45W MagSafe Power Adapter with Fold Plug Only - White
$10.95
APPLE OEM Power Extension Cable 6ft for Macbook, Macbook Air, Pro 2.5A 125V-NEW
$19.99
OEM 85W MagSafe 2 T-tip Power Adapter Charger For MacBook Pro Retina A1424 A1398
$24.99