Re: EC seen at boot doesn't unplug

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

 



On Sat, Jun 4, 2011 at 10:07 PM, Carl Karsten <carl@xxxxxxxxxxxxxxxxx> wrote:
> On Sat, Jun 4, 2011 at 8:41 PM, Greg KH <greg@xxxxxxxxx> wrote:
>> On Sat, Jun 04, 2011 at 10:26:27AM -0500, Carl Karsten wrote:
>>> I am wondering why I see a difference between 2 similar setups:
>>> ubuntu 2.6.39-3-generic
>>> EC card (many firewire cards)
>>>
>>> I have 2 laptops. 2.6.39-3-generic on both.
>>>
>>> HP EliteBook 8530w (KS051UA#ABA)
>>> HP Pavilion dv6700 Notebook PC (KC300UA#ABA)
>>>
>>> On the EliteBook,  hotplug works: lspci entries come and go, modules
>>> un/load, udev reports add/remove.  good.
>>>
>>> On the Pavilion, if I load acpiphp (via /etc/modules), hotplug works.
>>> If I don't load any additional modules hotplug does not work: insert
>>> card - nothing in syslog, lspci, udev.  If a card is in the slot when
>>> the kernel loads, it shows in syslog, lscpi and the drivers get
>>> loaded.  If I pull it out, nothing changes: still listed in lspci,
>>> modules still loaded, dev nodes still around.
>>
>> Try pciehp instead of acpiphp, that's usually used for "newer" systems.
>>
>> Let us know if that works or not.
>>
>
> Dose not work:  It's included in the kernel.
>
> [    0.560605] pciehp: PCI Express Hot Plug Controller Driver version: 0.4

more info:

root@pc8:/var/log# grep -i hotplug /boot/config-2.6.39-3-generic
CONFIG_HOTPLUG=y
# CONFIG_MEMORY_HOTPLUG is not set
CONFIG_HOTPLUG_CPU=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_HOTPLUG_PCI_PCIE=y
CONFIG_HOTPLUG_PCI=y
CONFIG_HOTPLUG_PCI_FAKE=m
CONFIG_HOTPLUG_PCI_ACPI=m
CONFIG_HOTPLUG_PCI_ACPI_IBM=m
CONFIG_HOTPLUG_PCI_CPCI=y
CONFIG_HOTPLUG_PCI_CPCI_ZT5550=m
CONFIG_HOTPLUG_PCI_CPCI_GENERIC=m
CONFIG_HOTPLUG_PCI_SHPC=m


root@pc8:/sys/module/pciehp/parameters# tail *
==> pciehp_debug <==
N

==> pciehp_detect_mode <==
(null)

==> pciehp_force <==
N

==> pciehp_poll_mode <==
N

==> pciehp_poll_time <==
0



-- 
Carl K
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux