Bug 10848
Summary: | asus_laptop misses support for P30/P35, asus_acpi should not be marked deprecated | ||
---|---|---|---|
Product: | Drivers | Reporter: | Torsten Krah (krah.tm) |
Component: | Platform | Assignee: | Corentin Chary (corentin.chary) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | acpi-bugzilla |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.25.3 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 56331 | ||
Attachments: |
P30/P35 Support Patch
01-Add-support-for-P30-P35.patch |
Description
Torsten Krah
2008-06-03 00:53:47 UTC
Someone with a P30 should try to make a patch. If nobody can, I'll try, but I'll need someone to test it. I'll did a patch to the init method to get the P30 found (like the old driver). But backlight support still is not there. I dont know either how to get brightness support in there (the original source knows different methods for up and down) - still need to test display switching. I would test the patches, got a P35 (=P30). any updates? Torsten Krah where is your patch for the init method ? Please send me a link and I'll try to add backlight support this afternoon or tomorow. Oh, i'll add it this evening. This patch isnt really "magical" because you find the same code in the "old" asus driver. You only need to take the code from there if you dont want to wait. I just check, asus_laptop should work without modification. If it don't, send me the dmesg, and tell me if the files are into /sys. It won't output "P30 model detected", but it'll work. Anyway I can add "\\_SB.PCI0.LPCB.EC0._Q0E" to control the lcd_switch For backlight control, there is no SPLV method, so I won't add ugly hacks to support a useless feature. But you can try to send a patch to fix that, but it need to be clean. Created attachment 16824 [details]
P30/P35 Support Patch
I don't fix the fix for the name is realy needed (don't want to add a hack for each model). But I'll make a patch for \\_SB.PCI0.LPCB.EC0._Q0E support. i take it from comment #8 that the patch in comment #7 is nacked, thus re-opening this report. Created attachment 18347 [details]
01-Add-support-for-P30-P35.patch
Here is the final patch.
patch in comment #10 applied to acpi tree As there is a patch to test that is a candidate for upstream, marking this report RESOLVED. shipped in linux-2.6.28-rc1 closed commit 4d0b856ef7eea5c03f4c1fa57793286ac068f4cd Author: Torsten Krah <tkrah@fachschaft.imn.htwk-leipzig.de> Date: Fri Oct 17 09:47:57 2008 +0200 asus-laptop: Add support for P30/P35 |