-
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
Juniper EX2200-C-12T-2G 12 Port L3 EX2200-C Compact Fanless Switch 1YearWarranty
$195.00
Juniper EX4300-24T Layer 3 24 Ports Manageable Ethernet Switch 1 Year Warranty
$195.00
JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER
$210.00
Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch
$40.18
Juniper Networks EX4300-48T 48 Port Gigabit 4 QSFP 40G 2xPSU AFO Network Switch
$89.00
Juniper Networks EX2300-C 12-Port 2XSFP Uplinks PoE+ Switch P/N: EX2300-C-12P
$299.99
Juniper Networks EX3300-24P | 24 Port Gigabit Network Switch w/ Power cord
$53.99
Juniper EX2300-24P Poe+ Rack Mountable Ethernet Switch
$130.00
Juniper QFX5100-48T-AFO 48 100M/1G/10G Base-T 6 QSFP AFO
$485.00
Juniper EX2300-48P PoE+ Switch 48x 1GbE & 4 SFP+/SFP 10G uplinks, Tested
$289.00