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

From: Matthew Garrett
Date: Mon Sep 01 2008 - 07:34:42 EST


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@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/