From: chris k. <ck...@ph...> - 2005-06-17 18:30:24
|
Hi all, I'm new to list and have a question concerning the support of laptop devices (if it is technically possible to control a laptop via ddccontrol at all): Sony's (PCG-VGN-)S3XP (Pentium-M, 13.3" xblack-display, NVIDIA Geforce Go 6200 TC) uses the NVIDIA-driver to set the brightness under windows, yet under Linux, the common drivers (sonypi, sony_acpi) have no effect on the brightness-settings. Today I've received a mail from a person, who stated, the LCD-brightness was controlled by DDCCI (instead of ACPI, which most people expected), so at least the problem seems to be identified. Still, I have no clue how to get ddccontrol to detect any hardware, this is the output I get (with/without rivafb-module): http://server1.nordic-it.de/~viper/output_ddccontrol_norivafb http://server1.nordic-it.de/~viper/output_ddccontrol_rivafb Software employed on the machine is Gentoo Linux, kernel 2.6.11 (vanilla; i2c ist present, rivafb has ddcci-support enabled), NVIDIA-Linux-x86-1.0-7664, Xorg 6.8.2 (Option "Allow DDCCI" is set to true), ddccontrol 0.1.2 (not cvs). Additional info on the system: http://server1.nordic-it.de/~viper/linux2611-vipnet-vaio (.config) http://server1.nordic-it.de/~viper/bios.dsl (dissambled acpi-bios) http://server1.nordic-it.de/~viper/output_lspci http://server1.nordic-it.de/~viper/output_lsmod Thanks in advance and best regards -chris PS: Sry, if the mail contains traces of html, I'm not sure, whether Evolution replaced weblinks with html-code. |
From: Oleg I. V. <ol...@cs...> - 2005-06-17 19:09:12
|
Chris, looks like it does not support ddc/ci, or at least it does not follow standard. You could try scanning all i2c buses looking for it, but it's all possible, that the bus you're looking for is not attached to nvidia, but to the embedded controller. Do you've any special software installed with Windows? I mean, probably Sony shipped some driver, which is performing direct access to the hw or specific acpi methoes. On the other hand, your dsdt looks promising for you (but it has nothing to do with ddc/ci): Device (SNC) { Name (_HID, EisaId ("SNY5001")) Method (GBRT, 0, NotSerialized) Method (SBRT, 1, NotSerialized) Method (GPBR, 0, NotSerialized) Method (SPBR, 1, NotSerialized) Method (GCTR, 0, NotSerialized) Method (SCTR, 1, NotSerialized) Method (GPCR, 0, NotSerialized) Method (SPCR, 1, NotSerialized) This is brightness/contrast manipulation ACPI method (but it's SONY extension - SNY5001). Also, embedded controller has registers called BRIT and CONT which used by these methods. So, go ahead with ACPI. :) Regards, Oleg. On Fri, 2005-06-17 at 20:34 +0000, chris kuehn wrote: > Hi all, > > I'm new to list and have a question concerning the support of laptop > devices (if it is technically possible to control a laptop via > ddccontrol at all): > Sony's (PCG-VGN-)S3XP (Pentium-M, 13.3" xblack-display, NVIDIA Geforce > Go 6200 TC) uses the NVIDIA-driver to set the brightness under windows, > yet under Linux, the common drivers (sonypi, sony_acpi) have no effect > on the brightness-settings. Today I've received a mail from a person, > who stated, the LCD-brightness was controlled by DDCCI (instead of ACPI, > which most people expected), so at least the problem seems to be > identified. Still, I have no clue how to get ddccontrol to detect any > hardware, this is the output I get (with/without rivafb-module): > > http://server1.nordic-it.de/~viper/output_ddccontrol_norivafb > http://server1.nordic-it.de/~viper/output_ddccontrol_rivafb > > Software employed on the machine is Gentoo Linux, kernel 2.6.11 > (vanilla; i2c ist present, rivafb has ddcci-support enabled), > NVIDIA-Linux-x86-1.0-7664, Xorg 6.8.2 (Option "Allow DDCCI" is set to > true), ddccontrol 0.1.2 (not cvs). > > Additional info on the system: > > http://server1.nordic-it.de/~viper/linux2611-vipnet-vaio (.config) > http://server1.nordic-it.de/~viper/bios.dsl (dissambled acpi-bios) > http://server1.nordic-it.de/~viper/output_lspci > http://server1.nordic-it.de/~viper/output_lsmod > > > Thanks in advance and best regards > > -chris > > > PS: > Sry, if the mail contains traces of html, I'm not sure, whether > Evolution replaced weblinks with html-code. > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > ddccontrol-users mailing list > ddc...@li... > https://lists.sourceforge.net/lists/listinfo/ddccontrol-users |
From: chris k. <ck...@ph...> - 2005-06-17 21:24:03
|
Hi Oleg, hi rest of the list, Windows uses the official Nvidia-driver to adjust brightness levels (to my knowlegde) - brightness is not reduced to the defined level until the Nvidia's software is loaded at startup (as much as I dislike using Windows, but it provides the necessary battery time when there's no power source available). It always takes a couple of seconds, until this "switch" to a lower level takes place. There are several other (preinstalled) utilities by Sony, but those are in no way connected to display-settings (again, as far as I can tell, but I'm pretty sure in this case). Thanks for the hint regarding the asl-code, but I've absolutly not the slightest idea of how to create a program, that could implement ACPI-specific functions (apart from the fact, that as a student of BA I lack both skills in asl and most other languages that produce hardcoded output files ;-) Thanks for the quick answer -chris |
From: Oleg I. V. <ol...@cs...> - 2005-06-18 20:41:55
|
Hi, this is slightly off-topic. :) You should write kernel module to call ACPI stuff, so start reading ACPI related kernel sources. This is pretty easy in fact. There are already number of modules for ASUS, IBM, etc. laptops, which could be used as a good sample. I've not checked acpi for sometime already, but it's possible that it has support for SONY laptops already. Regards, Oleg. On Fri, 2005-06-17 at 23:27 +0000, chris kuehn wrote: > Hi Oleg, hi rest of the list, > > Windows uses the official Nvidia-driver to adjust brightness levels (to > my knowlegde) - brightness is not reduced to the defined level until the > Nvidia's software is loaded at startup (as much as I dislike using > Windows, but it provides the necessary battery time when there's no > power source available). It always takes a couple of seconds, until this > "switch" to a lower level takes place. There are several other > (preinstalled) utilities by Sony, but those are in no way connected to > display-settings (again, as far as I can tell, but I'm pretty sure in > this case). > Thanks for the hint regarding the asl-code, but I've absolutly not the > slightest idea of how to create a program, that could implement > ACPI-specific functions (apart from the fact, that as a student of BA I > lack both skills in asl and most other languages that produce hardcoded > output files ;-) > > Thanks for the quick answer > > -chris > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > ddccontrol-users mailing list > ddc...@li... > https://lists.sourceforge.net/lists/listinfo/ddccontrol-users -- Oleg I. Vdovikin <ol...@cs...> |