https://qa.mandrakesoft.com/show_bug.cgi?id=1910

           Product: kernel
         Component: kernel
           Summary: compaq presario/evo acpi support/problem
           Version: 2.4.21-0.pre4.7mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


there is a problem related to the compaq presario/evo acpi firmware related to 
the HID naming. somehow compaq made the names begin with '*' character, where 
normally it should not be. i have made a workaround for this on 2.5 kernels and 
have been running with this patch for quite a long time without any problems 
but i don't know what effect it has on other acpi machines.

in file 'drivers/acpi/namespace/nsxfname.c', function 'acpi_get_object_info()'

you can replace

 259         /* Execute the _HID method and save the result */
 260 
 261         status = acpi_ut_execute_HID (node, &hid);
 262         if (ACPI_SUCCESS (status)) {
 263                 STRNCPY (info->hardware_id, hid.buffer, sizeof(info-
>hardware_id));

with 

 259         /* Execute the _HID method and save the result */
 260 
 261         status = acpi_ut_execute_HID (node, &hid);
 262         if (ACPI_SUCCESS (status)) {
 263                 STRNCPY (info->hardware_id, hid.buffer[0] != '*' ? 
hid.buffer : hid.buffer + 1, sizeof(info->hardware_id));

there are lots of complains about it and this seems to solve the problem 
although I did not try it on 2.4 kernels.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to