* RE: sony vaio pcg-k45 hell
@ 2005-10-23 5:49 Yu, Luming
2005-10-24 1:07 ` Thom Cherryhomes
0 siblings, 1 reply; 10+ messages in thread
From: Yu, Luming @ 2005-10-23 5:49 UTC (permalink / raw)
To: Thom Cherryhomes, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Please describe the issues you have.
Fixing in DSDT is not a decent way.
Thanks
Luming
>-----Original Message-----
>From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>[mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of
>Thom Cherryhomes
>Sent: 2005年10月23日 8:54
>To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>Subject: [ACPI] sony vaio pcg-k45 hell
>
>I am having some interesting issues with the Sony VAIO PCG-K45, and I
>need some help decoding the DSDT, to see what I need to fix etc..
>perhaps some help on fixing it...
>
>I have a disassembly of the DSDT here
>http://64.74.186.169/pcgk45.dsl.txt
>
>can someone perhaps shed some light on what could be wrong here?
>
>-Thom
>
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: sony vaio pcg-k45 hell 2005-10-23 5:49 sony vaio pcg-k45 hell Yu, Luming @ 2005-10-24 1:07 ` Thom Cherryhomes [not found] ` <64b848100510231807u36cd8056q521204eaa9099ebc-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Thom Cherryhomes @ 2005-10-24 1:07 UTC (permalink / raw) To: Yu, Luming; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f well, to start: (1) battery meter most of the time shows zero (2) I get maybe 1 hour battery time. (3) S3 suspend does NOT work at all (using hibernate-ram script) (4) i get unusual time readings that seem to keep incrementing when the battery is charging (when I DO see the battery meter) (5) no fan control (6) display does not dim when disconnected. (7) hotkeys for changing brightness etc do not work. arrggghhhhh I tried to find a PSS table in the DSDT, and couldn't.. it seems the acpi on this laptop is insanely broken. :-( -Thom On 10/22/05, Yu, Luming <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: > Please describe the issues you have. > Fixing in DSDT is not a decent way. > > Thanks > Luming > > >-----Original Message----- > >From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > >[mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of > >Thom Cherryhomes > >Sent: 2005年10月23日 8:54 > >To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > >Subject: [ACPI] sony vaio pcg-k45 hell > > > >I am having some interesting issues with the Sony VAIO PCG-K45, and I > >need some help decoding the DSDT, to see what I need to fix etc.. > >perhaps some help on fixing it... > > > >I have a disassembly of the DSDT here > >http://64.74.186.169/pcgk45.dsl.txt > > > >can someone perhaps shed some light on what could be wrong here? > > > >-Thom > > > ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <64b848100510231807u36cd8056q521204eaa9099ebc-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: sony vaio pcg-k45 hell [not found] ` <64b848100510231807u36cd8056q521204eaa9099ebc-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2005-10-24 10:22 ` Stefan Seyfried [not found] ` <20051024102231.GA32705-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Stefan Seyfried @ 2005-10-24 10:22 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Hi, Just to recall my experience with a vaio vgn-fs115b running SUSE 10.0: On Sun, Oct 23, 2005 at 07:07:08PM -0600, Thom Cherryhomes wrote: > well, to start: > > (1) battery meter most of the time shows zero worked > (2) I get maybe 1 hour battery time. cpufreq active? This has not much to do with ACPI, though. > (3) S3 suspend does NOT work at all (using hibernate-ram script) Probably not a general ACPI problem. Read Documentation/power/video.txt > (4) i get unusual time readings that seem to keep incrementing when > the battery is charging (when I DO see the battery meter) > (5) no fan control sony crap bios, no ACPI fan control methods => not an ACPI problem > (6) display does not dim when disconnected. you need Stelian Pop's sony_acpi module for that (and a mechanism to adjust the brightness on ac adapter plug/unplug, powersaved does this on SUSE). It might also work with the generic_hotkey module, but i could not figure out how to do it (i remember posts on acpi-devel that claimed that all vendor specific acpi drivers are obsoleted by generic_hotkey, still have to find out how to control the brightness of my panasonic with it). > (7) hotkeys for changing brightness etc do not work. SONY crap. These are no ACPI hotkeys, all the hotkeys on the vgn-fs115 emitted a standard keycode. Unfortunately all emitted the same keycode. > arrggghhhhh SONY notebooks are just badly designed IMO, even the Windows XP drivers and utilities looked and felt very hackish. Although the hardware / case / display / keyboard were fine, i would probably not buy a SONY if i had to pay it with my own money. > I tried to find a PSS table in the DSDT, and couldn't.. it seems the > acpi on this laptop is insanely broken. :-( Most of the problems you have are probably not ACPI problems. -- Stefan Seyfried ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20051024102231.GA32705-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>]
* Re: sony vaio pcg-k45 hell [not found] ` <20051024102231.GA32705-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org> @ 2005-10-25 9:00 ` Erik Slagter 2005-10-26 2:29 ` Yu, Luming 1 sibling, 0 replies; 10+ messages in thread From: Erik Slagter @ 2005-10-25 9:00 UTC (permalink / raw) To: Stefan Seyfried; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f [-- Attachment #1: Type: text/plain, Size: 1601 bytes --] On Mon, 2005-10-24 at 12:22 +0200, Stefan Seyfried wrote: > Hi, > > > (3) S3 suspend does NOT work at all (using hibernate-ram script) > > Probably not a general ACPI problem. Read Documentation/power/video.txt There are lots of laptops where you will never get S3 working anyway (e.g. Dell Inspiron 4150). Try swsusp instead. > > (5) no fan control > sony crap bios, no ACPI fan control methods => not an ACPI problem Most laptops have no fan control using ACPI, sometimes using SMI. > > (7) hotkeys for changing brightness etc do not work. > > SONY crap. These are no ACPI hotkeys, all the hotkeys on the vgn-fs115 > emitted a standard keycode. Unfortunately all emitted the same keycode. It probably works as on most laptops, the special keystrokes are handled by the keyboard controller itself, so you'll never be able to catch/control them from a user app. > SONY notebooks are just badly designed IMO, even the Windows XP drivers > and utilities looked and felt very hackish. > Although the hardware / case / display / keyboard were fine, i would > probably not buy a SONY if i had to pay it with my own money. Please note that almost all laptops are built by two or three factories. I am willing to bet a large sum of money that Sony does not build them themselves. > > I tried to find a PSS table in the DSDT, and couldn't.. it seems the > > acpi on this laptop is insanely broken. :-( > > Most of the problems you have are probably not ACPI problems. Also ACPI implementation itself on most laptops seems to be more or less broken... [-- Attachment #2: smime.p7s --] [-- Type: application/x-pkcs7-signature, Size: 2115 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: sony vaio pcg-k45 hell [not found] ` <20051024102231.GA32705-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org> 2005-10-25 9:00 ` Erik Slagter @ 2005-10-26 2:29 ` Yu, Luming [not found] ` <200510261029.01166.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> [not found] ` <200511251602.02494.luming.yu@intel.com> 1 sibling, 2 replies; 10+ messages in thread From: Yu, Luming @ 2005-10-26 2:29 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f; +Cc: Stefan Seyfried > you need Stelian Pop's sony_acpi module for that (and a mechanism to adjust > the brightness on ac adapter plug/unplug, powersaved does this on SUSE). > It might also work with the generic_hotkey module, but i could not figure > out how to do it (i remember posts on acpi-devel that claimed that all > vendor specific acpi drivers are obsoleted by generic_hotkey, still have > to find out how to control the brightness of my panasonic with it). Some progress are made on generic_hotkey driver. There is an example of leverage generic_hotkey driver for sony laptop. http://bugzilla.kernel.org/show_bug.cgi?id=4876#c4 > > > (7) hotkeys for changing brightness etc do not work. > > SONY crap. These are no ACPI hotkeys, all the hotkeys on the vgn-fs115 > emitted a standard keycode. Unfortunately all emitted the same keycode. > Please post acpidump output for vgn-fs115, Let me check if there are any ACPI hotkey support. -- Thanks, Luming ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <200510261029.01166.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>]
* Re: sony vaio pcg-k45 hell [not found] ` <200510261029.01166.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> @ 2005-10-28 16:13 ` Stefan Seyfried 0 siblings, 0 replies; 10+ messages in thread From: Stefan Seyfried @ 2005-10-28 16:13 UTC (permalink / raw) To: Yu, Luming; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Stefan Seyfried On Wed, Oct 26, 2005 at 10:29:00AM +0800, Yu, Luming wrote: > Please post acpidump output for vgn-fs115, Let me check if there are any > ACPI hotkey support. I'll look into it but i am away from this machine for the next week, so don't hold your breath :-) -- Stefan Seyfried ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <200511251602.02494.luming.yu@intel.com>]
[parent not found: <200511251602.02494.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>]
* Re: sony vaio pcg-k45 hell [not found] ` <200511251602.02494.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> @ 2005-11-25 12:05 ` Stefan Seyfried [not found] ` <20051125120522.GA26643-l0tNAEGuAhiXoBlonBaIS7NAH6kLmebB@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Stefan Seyfried @ 2005-11-25 12:05 UTC (permalink / raw) To: Yu, Luming; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Stefan Seyfried [-- Attachment #1: Type: text/plain, Size: 980 bytes --] On Fri, Nov 25, 2005 at 04:02:02PM +0800, Yu, Luming wrote: > > > > > > (7) hotkeys for changing brightness etc do not work. > > > > > > SONY crap. These are no ACPI hotkeys, all the hotkeys on the vgn-fs115 > > > emitted a standard keycode. Unfortunately all emitted the same keycode. > > > > Please post acpidump output for vgn-fs115, Let me check if there are any > > ACPI hotkey support. attached. > I got this: > Name (_HID EisaId ("SNY5001")) > > I aslo got this: > Method (SBRT, 1, NotSerialized) i have the same. > Please verify if acpi interrupt increments on striking hotkey on keyboard. no, no acpi interrups for hotkeys :-( > If so, acpi is fully responsible for hotkey function by keystroke. > If not, please verify http://bugzilla.kernel.org/show_bug.cgi?id=4876#c4 works > or not. This is proc file stuff for hotkey function by issuing command from > shell. I'm trying this out but may only get to it on monday or tuesday next week. -- Stefan Seyfried [-- Attachment #2: acpidump-sony-vaio-vgn-fs115b.out.gz --] [-- Type: application/x-gunzip, Size: 22783 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20051125120522.GA26643-l0tNAEGuAhiXoBlonBaIS7NAH6kLmebB@public.gmane.org>]
* ACPI generic hotkey working on SONY (was: sony vaio pcg-k45 hell) [not found] ` <20051125120522.GA26643-l0tNAEGuAhiXoBlonBaIS7NAH6kLmebB@public.gmane.org> @ 2005-11-29 15:35 ` Stefan Seyfried [not found] ` <20051129153501.GB11822-l0tNAEGuAhiXoBlonBaIS7NAH6kLmebB@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Stefan Seyfried @ 2005-11-29 15:35 UTC (permalink / raw) To: Yu, Luming; +Cc: Stefan Seyfried, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f [-- Attachment #1: Type: text/plain, Size: 1676 bytes --] On Fri, Nov 25, 2005 at 01:05:22PM +0100, Stefan Seyfried wrote: > > If so, acpi is fully responsible for hotkey function by keystroke. > > If not, please verify http://bugzilla.kernel.org/show_bug.cgi?id=4876#c4 works > > or not. This is proc file stuff for hotkey function by issuing command from > > shell. > > I'm trying this out but may only get to it on monday or tuesday next week. setting brightness works on the vgn-f115b with the patch after fixing it up for 2.6.14.2 (attached, the most nasty one was the missing EXPORT_SYMBOL(acpi_scan_ids) :-) I have of course some other questions: - what will happen on other machines if i load the hotkey module and issue echo "10001:1:1:0" >/proc/acpi/hotkey/action - will it crash? - will it just not work? - will it just work, so this is a generic solution? - will it also work on my panasonic which right now needs pcc_acpi? (i will check this one out soon) - if the "10001:1:1:0" is not a generic string for all machines (i am afraid it isn't), how do i find out what to put into /proc/acpi/hotkey/action? Another problem is that for distributions to be able to use this stuff, it must not depend on the "acpi_generic_hotkey=1" parameter. Can't we decide at module load time if we want to use the generic or the vendor specific hotkey interface? Having the user select which machine he has _before_ installing with some cryptic boot parameter is something i'd like to avoid. Also i see that now some sony-specific stuff is in the generic hotkey driver. Will we have to add specific stuff for all other vendor specific drivers if we want to merge their functionality into hotkey.c? -- Stefan Seyfried [-- Attachment #2: hotkey-sony-2.6.14.2.patch.gz --] [-- Type: application/x-gunzip, Size: 3669 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20051129153501.GB11822-l0tNAEGuAhiXoBlonBaIS7NAH6kLmebB@public.gmane.org>]
* Re: ACPI generic hotkey working on SONY (was: sony vaio pcg-k45 hell) [not found] ` <20051129153501.GB11822-l0tNAEGuAhiXoBlonBaIS7NAH6kLmebB@public.gmane.org> @ 2005-11-29 20:43 ` Matthew Garrett [not found] ` <20051129204349.GA18378-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Matthew Garrett @ 2005-11-29 20:43 UTC (permalink / raw) To: Stefan Seyfried; +Cc: Yu, Luming, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Tue, Nov 29, 2005 at 04:35:01PM +0100, Stefan Seyfried wrote: > I have of course some other questions: > - what will happen on other machines if i load the hotkey module and issue > echo "10001:1:1:0" >/proc/acpi/hotkey/action To be honest, the generic hotkey driver seems to be something of a nasty hack. It effectively exposes large parts of ACPI to userspace, but with a very limited API and various artificial limitations. Is there any reason why we don't shift to dev_acpi (http://free.linux.hp.com/~awilliam/acpi/dev_acpi/) and have a userspace application dealing with hotkey events? It would seem to be much more flexible. -- Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20051129204349.GA18378-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>]
* Re: ACPI generic hotkey working on SONY (was: sony vaio pcg-k45 hell) [not found] ` <20051129204349.GA18378-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org> @ 2005-11-29 21:48 ` Stefan Seyfried 0 siblings, 0 replies; 10+ messages in thread From: Stefan Seyfried @ 2005-11-29 21:48 UTC (permalink / raw) To: Matthew Garrett Cc: Stefan Seyfried, Yu, Luming, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Tue, Nov 29, 2005 at 08:43:49PM +0000, Matthew Garrett wrote: > On Tue, Nov 29, 2005 at 04:35:01PM +0100, Stefan Seyfried wrote: > > > I have of course some other questions: > > - what will happen on other machines if i load the hotkey module and issue > > echo "10001:1:1:0" >/proc/acpi/hotkey/action > > To be honest, the generic hotkey driver seems to be something of a nasty > hack. I won't argue against this. However, i stopped hoping to get all the drivers i need included into the kernel, so i will concentrate on getting all machines working with the generic hotkey driver and include this support in powersaved. Unfortunately, i am totally AML illiterate, so all i can do is provide DSDTs and test any instructions given to me :-) > It effectively exposes large parts of ACPI to userspace, but with > a very limited API and various artificial limitations. Is there any > reason why we don't shift to dev_acpi > (http://free.linux.hp.com/~awilliam/acpi/dev_acpi/) and have a userspace > application dealing with hotkey events? It would seem to be much more > flexible. This would be fine with me also, i do not really care what i have to do to get this hotkey events, as long as i can get them :-) -- Stefan Seyfried ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-11-29 21:48 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-23 5:49 sony vaio pcg-k45 hell Yu, Luming
2005-10-24 1:07 ` Thom Cherryhomes
[not found] ` <64b848100510231807u36cd8056q521204eaa9099ebc-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2005-10-24 10:22 ` Stefan Seyfried
[not found] ` <20051024102231.GA32705-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
2005-10-25 9:00 ` Erik Slagter
2005-10-26 2:29 ` Yu, Luming
[not found] ` <200510261029.01166.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2005-10-28 16:13 ` Stefan Seyfried
[not found] ` <200511251602.02494.luming.yu@intel.com>
[not found] ` <200511251602.02494.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2005-11-25 12:05 ` Stefan Seyfried
[not found] ` <20051125120522.GA26643-l0tNAEGuAhiXoBlonBaIS7NAH6kLmebB@public.gmane.org>
2005-11-29 15:35 ` ACPI generic hotkey working on SONY (was: sony vaio pcg-k45 hell) Stefan Seyfried
[not found] ` <20051129153501.GB11822-l0tNAEGuAhiXoBlonBaIS7NAH6kLmebB@public.gmane.org>
2005-11-29 20:43 ` Matthew Garrett
[not found] ` <20051129204349.GA18378-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2005-11-29 21:48 ` Stefan Seyfried
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox