Hello,
I'm working on sleep for USB host on au1x00 CPUs and I have the
following problem.
When I put the system to sleep and then it wakes up everything works
well _if_ the USB key is not mounted before the sleep. For instance,
if I mount partition "/dev/sda1" (first USB key partition) and then go
to sleep, at wake up the system forgets device "/dev/sda" and
registers a new device "/dev/sdb" so, obviously, the filesystem
previously mounted is not accessible anymore.
My question is: is that correct since the userland, before going to
sleep, should umount all external filesystems or it's a bug? :)
Thanks,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti@enneenne.com
Linux Device Driver giometti@gnudd.com
Embedded Systems giometti@linux.it
UNIX programming phone: +39 349 2432127
|