02-20-2015
It may be possible, if you compile your USB controllers etc. drivers as modules. Then you could rmmod them and modprobe them to reload.
I know it's difficult to get a listing of a crash from the kernel after it's crashed, but it would be interesting to see it if you could manage a photograph.
Most USB controllers can't do this, I'm not surprised there are bugs or pitfalls. Perhaps there's something that needs to be done first, before you force it off.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello Friends ,
I have been reading some of the Sys Admin notes when i came across a term "Power Cycling"
Can anybody please explain what this means
Thank You (1 Reply)
Discussion started by: DPAI
1 Replies
2. UNIX for Advanced & Expert Users
I have a SCO UNIX 5.0.6. and a computer ATX.
My Question is:
How can i to power off my computer without to push the power button? :confused:
Please help me. :(
Thanks :) (1 Reply)
Discussion started by: vhabalos
1 Replies
3. AIX
I'm looking for a way - from the command line - to tell whether a given AIX system I have is a Power5, Power4 or Power6 machine - it seems like there would be an option to 'uname' but I couldn't find one.
Thanks! (3 Replies)
Discussion started by: thomn8r
3 Replies
4. Solaris
good evening everyone
i am getting this library problem with intel platform architec :confused:
after installing the entire sun-5.10 with a hard configuration intel945chipset core2dual processor & 2GB ram with disk sapace of 40gb.
after install the entire os my machine is rebooting... (1 Reply)
Discussion started by: ravinder singh
1 Replies
5. Shell Programming and Scripting
Hello all,
Working in KSH using Solaris, the default editor is VIM. So, per session, I run a small rc script which calls
export editor=emacs
This works for commands at the prompt. But if I cycle through command history (Using the up arrow) the command line editor defaults to VIM. How can I... (2 Replies)
Discussion started by: eggmatters
2 Replies
6. Shell Programming and Scripting
Hello,
I am experiencing an issue while downloading a few pages using wget. All of them work without a problem except one which is a page that does a tail on the log and as a result is constantly getting updated.
wget here seems to run endlessly and needs to be manually killed. I wanted to... (0 Replies)
Discussion started by: prafulnama
0 Replies
7. UNIX for Dummies Questions & Answers
Is there an easy way to setup a cross-over cable (USB-USB) between a linux box and a windows PC? My 2 machines are next to each other but I really do not want to keep transfering my files using my USB drive.
Thanks! (4 Replies)
Discussion started by: Xterra
4 Replies
8. IP Networking
HI all,
First post on the forum, and my first proper project on the Paspberry Pi, so sorry if this is in the wrong place.
I am trying to turn my Pi in to a 3G/4G Bonding router. I have been researching and trying this for a week or so now. The basic plan is to have up to 6 ZTE MF823 USB... (0 Replies)
Discussion started by: elliottlc
0 Replies
LEARN ABOUT REDHAT
usbmodules
usbmodules(8) Linux USB Utilities usbmodules(8)
NAME
usbmodules - List kernel driver modules available for a plugged in USB device
SYNOPSIS
usbmodules [--device /proc/bus/bus/NNN/NNN] [--check modulename] [--help] [--mapfile pathname] [--version pathname]
DESCRIPTION
usbmodules lists driver modules that may be able to manage interfaces on currently plugged in USB devices. usbmodules may be used by
/sbin/hotplug or one of its agents (normally /etc/hotplug/usb.agent) when USB devices are "hot plugged" into the system. This can be done
by the following Bourne shell syntax:
for module in $(usbmodules --device $DEVICE) ; do
modprobe -s -k "$module"
done
The DEVICE environment variable is passed from the kernel to /sbin/hotplug during USB hotplugging if the kernel was configured using usbde-
vfs. usbmodules currently requires usbdevfs to operate.
When a USB device is removed from the system, the Linux kernel will decrement a usage count on USB driver module. If this count drops to
zero (i.e., there are no clients for the USB device driver), then the modprobe -r process that is normally configured to run from cron
every few minutes will eventually remove the unneeded module.
OPTIONS
--check modulename
Instead of listing the relevant modules, just exit with code 0 (success) if the given module's exported USB ID patterns matches.
Otherwise, return failure. usbmodules emits no output either way.
--device /proc/bus/usb/MMM/NNN
Selects which device usbmodules will examine. The argument is currently mandatory.
--help, -h
Print a help message
--mapfile /etc/hotplug/usb.handmap
Use the specified file instead of the /lib/modules/.../modules.usbmap file corresponding to the running kernel.
--version
Identifies the version of usbutils this tool was built with.
FILES
/lib/modules/<kernel-version>/modules.usbmap
This file is automatically generated by depmod, versions 2.4.2 and later, and is used by usbmodules to determine which modules cor-
respond to which USB ID's.
/proc/bus/usb
An optional interface to USB devices provided by Linux kernels with versions of the 2.4 USB support. Contains per-bus subdirectories
with per-device files (offering a usermode driver API as well as access to device and configuration descriptors), a devices file
containing a list of all USB devices, and a drivers file listing USB device drivers known to the USB subsystem.
SEE ALSO
lsusb(8), http://linux-hotplug.sourceforge.net
AUTHOR
usbmodules was written by Adam J. Richter <adam@yggdrasil.com>, and is based partly on lsusb, which was written by Thomas Sailer
<sailer@ife.ee.ethz.ch>.
COPYRIGHT
usbmodules is copyright 2000, Yggdrasil Computing, Incorporated, and copyright 1999, Thomas Sailer. usbmodules may may be copied under the
terms and conditions of version 2 of the GNU General Public License as published by the Free Software Foundation (Cambrige, Massachusetts,
United States of America).
usbutils-0.8 12 June 2001 usbmodules(8)