Red Hat General - usbmodules ?

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat General > January 2004 > usbmodules ?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author usbmodules ?
citizenxxx

2004-01-23, 6:55 pm

Thanks in advance for any response...

I would like to know how to unplug/disable the usbdevice from redhat9
without physically unpluging it. The purpose of the is so my usb device,
which is a scanner, can be seen by vmware.

Is there a command that will do this?

The usbmodules command only has these args... Usage: usbmodules [--help]
[--device /proc/bus/usb/NNN/NNN] [--check module]
[--mapfile pathname] [--version]
Lists kernel modules corresponding to USB devices currently plugged into
the computer.
When I run ./usbmodules --device /proc/bus/usb/001/002 I get ... "scanner"
as the result.

The lsusb usage is the following...
usage: lsusb [-v] [-x] [-p <procpath>] [-s [<bus>:][<devnum>]] [-d
[<vendor>]:[<device>]]

here is a copy of my lsusb command... Bus 001 Device 002: ID 03f0:0405
Hewlett-Packard ScanJet 3400cse Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 Interface
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x03f0 Hewlett-Packard idProduct 0x0405
ScanJet 3400cse bcdDevice 0.00
iManufacturer 10 Hewlett-Packard iProduct 11
Hewlett-Packard ScanJet 3400C iSerial 12 CN08L1D0KVTG
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x40
Self Powered
MaxPower 48mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 16
bInterfaceSubClass 1
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 1
bInterval 8
Language IDs: (length=4)
0409 English(US)
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com