unload usb in Linux?
Results 1 to 2 of 2

Thread: unload usb in Linux?

  1. #1
    Senior Member
    Join Date
    Aug 2001
    Location
    Calgary, AB Canada
    Posts
    140

    unload usb in Linux?

    Hey all, I am running SuSE 9.0 Personal and have finally got me a copy of VMware 4.5.1 and have used it to install a copy of Windows 2000 Pro. (I was tired of dual-boot, always switching, so I was hoping this would be faster.) I bought a new joystick (Saitek Cyborg Evo) which is USB. I want to unload it from Linux so it can be accessed in VMware by Windows 2000 Pro. The documentation on how to do this sucks, and I can't figure it out. I searched google with no avail, and searching here pulled up a hit very similar to what I called mine, but on clicking it, it sent me to gore's post about the history of macs...

    I just need a hand unloading the USB drive. (VMware tries, but says that its hid and can't transfer it over until it is unloaded.)

    Thanks in advance!

    Dave
    Alcohol & calculus don't mix. Never drink & derive.

  2. #2
    Senior Member
    Join Date
    Aug 2001
    Location
    Calgary, AB Canada
    Posts
    140
    Well, never mind no more, I finally found a working solution! After searching the internet with no such luck (even looking at the Linux USB-How-To files) I looked at one of my books, "The Complete Reference - Linux Fourth Edition" (ISBN: 0-07-212940-9) and on page 852 I found a list of module commands. Hence I opened up my terminal and as root typed:

    /*Before Plugging in joystick*/
    dave@linux:~> more /proc/bus/usb/drivers
    usbdevfs
    hub
    serial

    /*After plugging in joystick*/
    dave@linux:~> more /proc/bus/usb/drivers
    usbdevfs
    hub
    serial
    96-111: hiddev
    hid

    So, I knew there was something with 'hid' in it. Therefore I typed in:

    linux:/home/dave # lsmod | grep "hid"
    hid 19972 0 (unused)
    input 3360 0 [hid analog keybdev mousedev joydev evdev]
    usbcore 58668 1 [hid usbserial usb-uhci]

    Then I typed:
    linux:/home/dave # rmmod hid

    And poof! The joystick was unloaded from the system and VMware was able to grab it and load it up! Now I'm happy again! Time to install Battlefield 1942 and kick some butt!

    Take care!

    Dave
    Alcohol & calculus don't mix. Never drink & derive.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •