Re: [Pcihpd-discuss] Re: [patch 0/4] Hot Dock/Undock support
- From: Pavel Machek <pavel@xxxxxx>
- Date: Wed, 18 Jan 2006 20:45:54 +0100
Hi!
> > > This series of patches is against the -mm kernel, and will enable
> > > docking station support. It is an early patch, but still pretty
> > > functional, so I think it's worthwhile to include at this point.
> > > For some laptops, it's necessary to use the pci=assign-busses kernel
> > > parameter, because some _DCK methods will attempt to assign bus numbers
> > > to the dock bridge (incorrectly).
> >
> > On thinkpad X32: I selected
...
> > Recompiled, rebooted with machine out of dock. /sys/bus/pci/slots/ is
> > empty. I then inserted machine into dock, and locked it:
> >
> > root@amd:/sys/bus/pci/slots# echo dock > /proc/acpi/ibm/dock
> > root@amd:/sys/bus/pci/slots# ls
> > root@amd:/sys/bus/pci/slots#
> >
> > ...still empty. What am I doing wrong?
>
> You may not use the ibm_acpi driver at the same time as the acpiphp
> driver for docking. This is because the ibm_acpi driver also tries to
> handle the dock event notification, and doesn't actually do any
> hotplugging of the devices. So, you want to set that config option to
> N. What you are doing above is actually writing to the ibm_acpi
> driver.
Done.
> I didn't provide a way to do undocking via software. I just use the
> button on the dock station. You should however, see something
> in /sys/bus/pci/slots - can you scan your dmesg to make sure that the
> acpiphp driver is running? You might run it as a module and enable
> debugging:
>
> modprobe acpiphp debug=1
>
> This way we can see if it finds your dock slot and registers the notify
> handler.
Result is:
root@amd:/data/l/linux-mm/drivers/pci/hotplug# insmod acpiphp.ko debug=1
insmod: error inserting 'acpiphp.ko': -1 No such device
root@amd:/data/l/linux-mm/drivers/pci/hotplug# dmesg | tail -3
Failure of coda_cnode_make for root: error -19
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
acpiphp_glue: Total 0 slots
root@amd:/data/l/linux-mm/drivers/pci/hotplug#
Should I have CONFIG_HOTPLUG_PCI_ACPI_IBM set?
Pavel
--
Thanks, Sharp!
-
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/
- Follow-Ups:
- Re: [Pcihpd-discuss] Re: [patch 0/4] Hot Dock/Undock support
- From: Kristen Accardi
- Re: [Pcihpd-discuss] Re: [patch 0/4] Hot Dock/Undock support
- References:
- [patch 0/4] Hot Dock/Undock support
- From: Kristen Accardi
- Re: [patch 0/4] Hot Dock/Undock support
- From: Pavel Machek
- Re: [Pcihpd-discuss] Re: [patch 0/4] Hot Dock/Undock support
- From: Kristen Accardi
- [patch 0/4] Hot Dock/Undock support
- Prev by Date: Re: [patch] kbuild: add automatic updateconfig target
- Next by Date: Re: Linux 2.6.16-rc1
- Previous by thread: Re: [Pcihpd-discuss] Re: [patch 0/4] Hot Dock/Undock support
- Next by thread: Re: [Pcihpd-discuss] Re: [patch 0/4] Hot Dock/Undock support
- Index(es):