PATCH] adding wistron_btns support for X86_64 systems.
Carlos Corbacho
NAK(CC'ing linux-input, as that is the relevant subsystem list for wistron-btns).
Quoted 3 lines · Rémi Hérilier
To use my previous patch (
wistron_btnssupport for fujitsu-siemens amilo pro edition v3505) with my laptop, I need to make the wistron module compile forx86_64. It is based on Linux 2.4.24-rc4 too.
NAK.
You cannot make 32 bit BIOS calls in a 64 bit OS.
This will (and does) segfault on x86-64 (tested on my Aspire 5020, where call_bios wistron-btns just segfaults on x86-64 with this patch).
This is a known issue, and the reason why wistron-btns (and the out-of-tree acerhk) have not been ported to x86-64.
-Carlos
Signature · 7 lines
E-Mail: [email protected] Web: strangeworlds.co.uk GPG Key ID: 0x23EE722D - To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · Carlos Corbacho
(CC'ing linux-input, as that is the relevant subsystem list for wistron-btns).
Quoted 3 lines · Rémi Hérilier
To use my previous patch (
wistron_btnssupport for fujitsu-siemens amilo pro edition v3505) with my laptop, I need to make the wistron module compile forx86_64. It is based on Linux 2.4.24-rc4 too.NAK.
You cannot make 32 bit BIOS calls in a 64 bit OS.
Quoted 7 lines
This will (and does) segfault on x86-64 (tested on my Aspire 5020, where
call_bioswistron-btns just segfaults on x86-64 with this patch).This is a known issue, and the reason why wistron-btns (and the out-of-tree acerhk) have not been ported to x86-64.
-Carlos
Yes, in theory, this must segfault on x86-64.
In pratice, there is one laptop where it seems to works (no problem for 3 weeks). A good reason to find why.
Best regards
Remi Herilier
-
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Rémi,
Quoted 18 lines · Rémi Hérilier
Quoted 17 lines · Carlos Corbacho
(CC'ing linux-input, as that is the relevant subsystem list for wistron-btns).
Quoted 3 lines · Rémi Hérilier
To use my previous patch (
wistron_btnssupport for fujitsu-siemens amilo pro edition v3505) with my laptop, I need to make the wistron module compile forx86_64. It is based on Linux 2.4.24-rc4 too.NAK.
You cannot make 32 bit BIOS calls in a 64 bit OS.
This will (and does) segfault on x86-64 (tested on my Aspire 5020, where
call_bioswistron-btns just segfaults on x86-64 with this patch).This is a known issue, and the reason why wistron-btns (and the out-of-tree acerhk) have not been ported to x86-64.
Quoted 7 lines
Quoted 1 line
-Carlos
Yes, in theory, this must segfault on x86-64.
In pratice, there is one laptop where it seems to works (no problem for 3 weeks). A good reason to find why.
My concern that even on that particular model this may stop wotking if you upgrade BIOS. Otherwise the fact that it doe snot work on some other laptop should not stop us - we using DMI matching in wistron buttons anyway.
Signature · 5 lines
Dmitry - To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html