ACPI IPMI device with _CID getting wrong driver attached

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

 



I'm having a problem on a number of systems where the IPMI driver isn't able to find the ACPI IPMI device.

This is happening because the ACPI scan is attaching the acpi_pnp handler to the ACPI IPMI device, which is happening because the IPMI device has a _CID of PNP0C01 in addition to an _HID of IPI0001.  This is a problem because acpi_scan_attach_handler() doesn't know about the IPMI drivers (ipmi_si / ipmi_ssif), which don't register as PNP or ACPI drivers, but instead expect the ACPI scan find no applicable driver and thus create a platform device.

This could be fixed pretty easily by modifying acpi_scan_attach_handler() to make it return 0 without attaching a handler to devices that have a _HID of IPI0001 when the kernel has an IPMI driver available (if, say, CONFIG_IPMI_SI, CONFIG_IPMI_SI_MODULE, CONFIG_IPMI_SSIF, or CONFIG_IPMI_SSIF_MODULE are defined)... but would this be accepted?  Or is this something that will require reworking the IPMI drivers?  Or is there another way?

I'm willing to work on a patch, but I'm not sure what would be an acceptable way to fix this.

Thanks,
Stuart

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



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux