-
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 N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch picture](/store/img/g/d3AAAOSw35dlrsCo/s-l225/Cisco-Nexus-N9K-C92160YC-X-48P-25GbE-SFP28-6P-QSFP.jpg)
Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch
$499.00
![Cisco Nexus N3K-C3064PQ-10GX 48P 10GbE SFP+ 4P QSFP+ Switch (Fair) picture](/store/img/g/K9MAAOSw-4JmfV3v/s-l225/Cisco-Nexus-N3K-C3064PQ-10GX-48P-10GbE-SFP-4P-QSFP.jpg)
Cisco Nexus N3K-C3064PQ-10GX 48P 10GbE SFP+ 4P QSFP+ Switch (Fair)
$85.00
![Cisco Nexus N3K-C3172PQ-10GE 48P 10GbE 6P QSFP+ Switch N3K-C3172PQ-10GE picture](/store/img/g/FnMAAOSwAO9lrsAL/s-l225/Cisco-Nexus-N3K-C3172PQ-10GE-48P-10GbE-6P-QSFP-Swi.jpg)
Cisco Nexus N3K-C3172PQ-10GE 48P 10GbE 6P QSFP+ Switch N3K-C3172PQ-10GE
$189.00
![Cisco C9300-NM-8X Catalyst 9300 8 x 10GE Network Module Switch picture](/store/img/g/ro8AAOSwsZFmhKer/s-l225/Cisco-C9300-NM-8X-Catalyst-9300-8-x-10GE-Network-M.jpg)
Cisco C9300-NM-8X Catalyst 9300 8 x 10GE Network Module Switch
$375.00
![Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture](/store/img/g/yEAAAOSwxVReIhma/s-l225/Cisco-C3850-NM-2-10G-2-Port-Network-Exp-Module-for.jpg)
Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850
$30.99
![🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥 picture](/store/img/g/KTkAAOSwcmBisISE/s-l225/-CISCO-SFP-10G-SR-V03-10-2415-03-850nm-10GBASE-SR-.jpg)
🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥
$6.80
![GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03 picture](/store/img/g/tAkAAOSwdENkHItI/s-l225/GENUINE-Cisco-SFP-10G-SR-V03-SFP-GBIC-Transceiver-.jpg)
GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03
$6.80
![Cisco CISCO2901/K9 Gigabit Integrated Services Router w/ 2 FXO EHWIC picture](/store/img/g/wokAAOSw9Q1mgGD-/s-l225/Cisco-CISCO2901-K9-Gigabit-Integrated-Services-Rou.jpg)
Cisco CISCO2901/K9 Gigabit Integrated Services Router w/ 2 FXO EHWIC
$39.98
![Cisco Nexus 48-Port 10G SFP+ Switch N9K-93128TX w/ 9K-M12PQ 12-Port 40G QSFP picture](/store/img/g/IwQAAOSw5A9mS3oa/s-l225/Cisco-Nexus-48-Port-10G-SFP-Switch-N9K-93128TX-w-9.jpg)
Cisco Nexus 48-Port 10G SFP+ Switch N9K-93128TX w/ 9K-M12PQ 12-Port 40G QSFP
$112.49
![Cisco WS-C3850-12X48U-S 48x (12x MultiGB) UPoE RJ-45 1x Mod Slot Switch, Tested picture](/store/img/g/vEYAAOSwdN5mTjLr/s-l225/Cisco-WS-C3850-12X48U-S-48x-12x-MultiGB-UPoE-RJ-45.jpg)
Cisco WS-C3850-12X48U-S 48x (12x MultiGB) UPoE RJ-45 1x Mod Slot Switch, Tested
$259.00