Bug 9761
Summary: | unsupported ACPI video device - Samsung R70 | ||
---|---|---|---|
Product: | ACPI | Reporter: | Erwan Velu (erwanaliasr1) |
Component: | Other | Assignee: | Zhang Rui (rui.zhang) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | acpi-bugzilla, ming.m.lin, rui.zhang |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.24-rc7 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
Acpi dump from a Samsung R70 (Bios UE6)
video fixup dmesg ACPI video debug patch patch: don't throw out an exception patch: don't throw out an exception |
Description
Erwan Velu
2008-01-16 00:08:09 UTC
Created attachment 14476 [details]
Acpi dump from a Samsung R70 (Bios UE6)
Would you please attach the full dmesg? Created attachment 14477 [details]
video fixup
Does this patch help?
I can't post the complete dmesg and test this patch by now, my ssh connexion is down :/ I'll post answers this evening (in 6-7 hours from now). Thanks, Erwan Created attachment 14482 [details]
dmesg
I did apply patch (id=14477) on my rc7. I now have this line in my dmesg, the calltrace I was reporting had disapeared. ACPI Exception (video-1726): AE_ERROR, Cant attach device [20070126] How can we go further ? is there any plan to make this patch applied on 2.6.24 to avoid this ugly output on the console ? I think we can try to push it to 2.6.25. re comment #6: could you get the return value of acpi_video_bus_get_one_device? a one line change may be helpful: -ACPI_EXCEPTION((AE_INFO, status, "Cant attach device")); +printk("acpi_video_bus_get_one_device failed, return value is %d\n", status)); here's the result: acpi_video_bus_get_one_device failed, return value is -2 what does this error code really means ? My keyboard keys for brightness doesn't works, could it be related to that acpi_video bug ? Erwan Created attachment 14528 [details] ACPI video debug patch >could it be related to that acpi_video bug ? Yes. Please apply this patch on top of the previous one and attach the full dmesg output. Here come the results : ACPI Exception (video-1461): AE_NOT_FOUND, Evaluating _ADR method failed [20070126] acpi_video_bus_get_one_device failed, return value is -2 Yes, here is the problem: ACPI video extension requires a _ADR method for every video devices. From the acpidump of your laptop, apparently device AMW0 violates the ACPI spec and that's why we get this exception. But this should has no impact on your laptop, right? yes, it seems it works. The brightness keys works in console, so everything is ok. I now don't have anymore a oops in my console. What does _ADR usually provides more ? Should I contact the manufacturer to make him fixing that ? Created attachment 14653 [details]
patch: don't throw out an exception
Created attachment 14654 [details]
patch: don't throw out an exception
Erwan, please try the patch in comment#16. you should get a warn message if CONFIG_ACPI_DEBUG is set. thx is it available upstream now ? Not yet. Len, I think the patch in comment #16 is ready for upstream. :) by the way, thanks for the time you spent on it. patch in comment #16 applied to acpi-test shipped in linux-2.6.26-rc7 commit d385c2a85877f0cb785070094edf9a624c090d68 Author: Zhang Rui <rui.zhang@intel.com> Date: Sat Jun 14 01:01:18 2008 -0400 ACPI Exception (video-1721): UNKNOWN_STATUS_CODE, Cant attach device |