-
Senior Member
registered user
To Klaus Knopper, the creator of Knoppix
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:
Code:
udisks --monitor-detail
.. This can also be achieved real-time with enumerate option.
or I 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:
--unmount device_file
and
Code:
--detach device_file
; or
and
Code:
udisksctl power-off
to power off the usb port in question and helps ease taking the drive off the concerned port.
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP
$419.99
Lot of 10pcs Brocade 57-1000012-01 8Gbps SWL 850nm SFP+ Optical Transceivers
$19.00
Cisco GLC-FE-100FX-RGD 100BASE-FX SFP Transceiver Module
$17.99
SFP-10G-SR V03 Original CISCO 10-2415-03 850nm 10GBASE-SR SFP+ Multi mode Module
$5.89
Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03
$8.00
SFP-10G-SR Original Cisco 10GBASE-SR SFP+ V02 Multi mode Transceiver 10-2415-02
$5.00
Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC
$13.89
10GBASE-T SFP+ to RJ45 Transceiver, 10G Copper Module, Optical SFP RJ 45 10GB T
$61.02
New Cisco w/ Hologram SFP-10/25G-CSR-S 10/25GBASE-CSR SFP28 Transceiver Module
$69.99
New HP HPE Aruba J9150D 10G SFP+ LC SR 850nm 300m MMF XCVR Transceiver Module
$49.99