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
Cisco ASA5525-FTD-K9 Security Appliance with FirePower Services
$1000.00
Cisco ASA 5585-X 4-port 10 Gigabit Ethernet Module - Expansion module
$3000.00
Fortinet Fortiwifi 60D FG-60D Security Appliance Firewall / VPN w/ AC Adapter
$34.97
Ubiquiti Networks USG Unifi Security Gateway Router/Firewall
$29.95
Sonicwall TZ 215 7-Port 10/100/1000 Network Security Appliance
$39.95
Fortinet Fortiwifi 60D FWF-60D Security Appliance Firewall Wifi VPN
$29.99
OPNsense six-port Gigabit router/firewall on Lanner FW-7535 hardware
$69.00
Firewalla Purple SE (Used Excellent Condition In-Box)
$175.00
Sophos SG-115 Rev 2 UTM Firewall Security Appliance 4-Port w/Power Adapter
$65.00
Check Point 1450 Network Security/Firewall Appliance CPAP-SG1450-NGTP
$60.00