Selon Benoit Audouard <[EMAIL PROTECTED]>:
> Le samedi 23 octobre 2004 à 18:14 +0200, [EMAIL PROTECTED] a écrit :
> > So "while [ ! -f /proc/bus/usb/devices ]; do sleep 2; done" is good.
> > thank Olivier Blin ;-)
> >
> > I believe that we must add this code to eu_dsp.
> I would not put a "possibly not ending" loop...
> i=0
> while [ ! -f /proc/bus/usb/devices -a ${i} -lt 10 ]; do sleep 2; i=`expr ${i}
> + 1` ;done
OK
> if [ ${i} -eq 10 ] ; then echo "/proc/bus/usb/devices did not appear in
> time..." ; fi
Trap the error is useless.
We can display a Warning to help us to understand why...
echo "eagle-usb: warning: /proc/bus/usb is not mounted"
> just in case ?
> what's the error afterwards ? (in case /proc/bus/usb/devices never appears ?)
The user say synchronisation is not automatic.
Maybe the "coldplug bugs" was this bug.
mcoolive.