PDA

View Full Version : USB restart



RudeBwoy
24th November 2010, 05:59 PM
Hi,

I`d like to find out how to restart USB ports without restarting whole system?
I googled some but solutions mentioned were refering to some modules that are not present on F14.

Firewing1
24th November 2010, 06:25 PM
What do you mean by restart USB ports? If you want to reset the interface you could try using rmmod to remove the USB modules (uhci-hcd ohci-hcd ehci-hcd) and then modprobe those same modules to re-initialize. I believe that it would be roughly equivalent to unplugging and then plugging all USB devices on your machine.

If you have a USB keyboard be sure to have the modprobe command chained (with &&) otherwise you'll remove the USB modules and won't be able to type until you reboot!

RudeBwoy
24th November 2010, 07:35 PM
Thanks for such quick response. Yes, that is what i meant. Sorry for not being clear. Unfortunately i do not have modules you mentioned. Please see my lsmod



Module Size Used by
vfat 8579 0
fat 45956 1 vfat
ext2 61462 0
usb_storage 45875 0
cryptd 7111 0
aes_x86_64 7758 1
aes_generic 26908 1 aes_x86_64
fuse 61363 3
rfcomm 67220 8
sco 17180 2
bnep 15390 2
l2cap 51240 16 rfcomm,bnep
vboxnetadp 4967 0
vboxnetflt 13626 0
vboxdrv 1758139 2 vboxnetadp,vboxnetflt
sunrpc 201180 1
ipv6 286249 50
cpufreq_ondemand 9278 2
acpi_cpufreq 7329 1
freq_table 3955 2 cpufreq_ondemand,acpi_cpufreq
mperf 1481 1 acpi_cpufreq
nf_conntrack_ftp 11381 0
nf_conntrack_netbios_ns 1574 0
uinput 7368 0
arc4 1449 2
ecb 2119 2
snd_hda_codec_analog 74970 1
b43 163452 0
snd_hda_intel 24399 2
snd_hda_codec 86743 2 snd_hda_codec_analog,snd_hda_intel
snd_hwdep 6392 1 snd_hda_codec
snd_seq 53791 0
mac80211 228732 1 b43
btusb 15482 3
snd_seq_device 6191 1 snd_seq
cfg80211 134709 2 b43,mac80211
snd_pcm 80190 2 snd_hda_intel,snd_hda_codec
snd_timer 19892 2 snd_seq,snd_pcm
hp_wmi 6087 0
bluetooth 89276 11 rfcomm,sco,bnep,l2cap,btusb
snd 63968 12 snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,s nd_hwdep,snd_seq,snd_seq_device,snd_pcm,snd_timer
ssb 49337 1 b43
mmc_core 64113 2 b43,ssb
rfkill 17622 4 cfg80211,hp_wmi,bluetooth
e1000e 188111 0
soundcore 6576 1 snd
iTCO_wdt 11256 0
snd_page_alloc 7559 2 snd_hda_intel,snd_pcm
iTCO_vendor_support 2610 1 iTCO_wdt
microcode 18548 0
wmi 8138 1 hp_wmi
serio_raw 4640 0
joydev 9737 0
i915 286862 4
drm_kms_helper 25743 1 i915
drm 177972 5 i915,drm_kms_helper
i2c_algo_bit 5205 1 i915
i2c_core 26900 4 i915,drm_kms_helper,drm,i2c_algo_bit
video 21637 1 i915
output 2253 1 video