Comment 115 for bug 156085

Revision history for this message
toaste (toaste) wrote :

A slight change to the mountdevsubfs.sh workaround is necessary in Jaunty (9.04)

The commented out magic in mountdevsubfs.sh was removed sometime after Hardy, probably because it didn't work anymore since domount no longer likes "" as a parameter.

Add code below immediately after the line that reads:
domount devpts "" /dev/pts devpts -onoexec,nosuid,gid=$TTYGRP,mode=$TTYMODE

 #insert the following below the line above (line 41 for me)
        #
 # Magic to make /proc/bus/usb work
 # These following 4 lines were added to make USB devices avabilable in vmware
        #
 mkdir -p /dev/bus/usb/.usbfs
 domount usbfs none /dev/bus/usb/.usbfs -o busmode=0700,devmode=0600,listmode=0644
 ln -s .usbfs/devices /dev/bus/usb/devices
 mount --rbind /dev/bus/usb /proc/bus/usb