[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: docking stations

On Wed, 2002-06-19 at 08:29, Charles Mauch wrote:
> Is there a way of detecting a docking station change? (removal, docked,
> etc?)
> I'm currently using some shell scripts to restart the pcmcia services
> (for the extra 2 pcmcia ports), restart hotplug (to see the extra usb
> devices), swap out X config's, restart X, when I dock/undock the laptop.
> I've been using those scripts for about a year and a half, and was
> wondering if anything had changed.  It would be nice to have linux
> auto-adjust my hardware settings when the docking status changes.  I've
> read on a few sites that ACPI supports this, but they don't say much
> beyond the fact that it's supported.
> Has anyone set this kind of stuff up?

I used to do this with 'whereami' some time ago when I had a laptop with
a docking station.  I don't have a docking station any longer, however,
so things might have changed.

I used an "lspci || grep" approach to detect the docking station.

Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington
WEB: http://catalyst.net.nz/        PHYS: Level 2, 150-154 Willis St
DDI: +64(4)916-7201    MOB: +64(21)635-694    OFFICE: +64(4)499-2267
       Are you enrolled at http://schoolreunions.co.nz/ yet?

To UNSUBSCRIBE, email to debian-laptop-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: