usbmodules ?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Red Hat support > Red Hat General > usbmodules ?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    usbmodules ?  
citizenxxx


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 11: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)





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:30 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register