Re: 2.6.26.[1-3] + x61 tablet + x6ultrabase: no resume after undocking

Matthew Garrett
2008-09-01T11:34:32Z

On Mon, Sep 01, 2008 at 12:50:36PM +0200, Tomas Carnecky wrote:
> There is one question though that was never answered: Is there any
> interaction needed from the userspace when docking/undocking? Something
> that the acpi daemon would have to do in response to a dock/undock
> event? I'm thinking about
> $ echo 1 > /sys/bus/scsi/devices/3\:0\:0\:0/rescan
> or something like that. To tell the kernel that some devices may have
> disappeared and that it shouldn't try to bring them up when resuming
> from sleep. I would expect that ACPI would take care of that (it
> certainly removes all USB devices and detaches ata4 (which is the bay in
> the docking station).

There's no interaction required, but userspace can optionally take
responsibility for the docking control. Assuming lack of bugs, anyway.

--
Matthew Garrett | mjg59@srcf.ucam.org