Comment 117 for bug 156085

Revision history for this message
Daniele Cruciani (daniele-smartango) wrote : Re: [Bug 156085] Re: Could not open /proc/bus/usb/devices

info in https://bugs.launchpad.net/bugs/331331
solve all my problem in Jaunty

> -------Original Message-------
> From: Cas Craven <email address hidden>
> Subject: [Bug 156085] Re: Could not open /proc/bus/usb/devices
> Sent: 11 May '09 05:26
>
> 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
>
> --
> Could not open /proc/bus/usb/devices
> https://bugs.launchpad.net/bugs/156085
> You received this bug notification because you are a direct subscriber
> of the bug.
>