Comment 65 for bug 156085

Revision history for this message
Andreas (afg0510) wrote :

Ubuntu 8.04 server 64bit, vmware-server 1.0.7

After I activated the USB Magic and added a line to fstab the USB devics are now visible to vm guests (e.g. Win2000Pro). Then I noticed that I have 2 sets of folders, one in /dev/bus/usb and a 2nd one in /dev/bus/usb/.usbfs AND after some USB activity, they are no longer identical. Then I made this "Magic hack":

 #
        # Magic to make /proc/bus/usb work
        #
        #mkdir -p /dev/bus/usb/.usbfs
        #domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
        #ln -s .usbfs/devices /dev/bus/usb/devices
        #mount --rbind /dev/bus/usb /proc/bus/usb

        # Hacked Magic to make /proc/bus/usb work (BETTER?)
        domount usbfs "" /dev/bus/usb/ -obusmode=0700,devmode=0600,listmode=0644
        mount --rbind /dev/bus/usb /proc/bus/usb
        ln -s /dev/bus/usb /dev/bus/usb/.usbfs

Wonder what I screwed up by pointing .usbfs/ back to ../usb/ but it seems to work BETTER that way. For my USB problems he remaining issues look more and more like vmware bugs...