Am Mittwoch, 30. Januar 2008 schrieb Mattia Dongili: > On Tue, Jan 29, 2008 at 06:52:19PM +0100, maximilian attems wrote: > > On Tue, 29 Jan 2008, Ben E. Hard wrote: > > > can you enable the CONFIG_SONYPI_COMPAT Option in the default debian > > > kernel? At least my Sony Vaio PCG-R600HFPD still needs that > > > compatibility mode in connection with KDE to work correctly. I build my > > > own kernel with that option and now it works.
I have to add more precice information:I just realized, that if I build sony_laptop as a module with the config_sonypi_compat option it didn't work for me (on kernel-2.6.24). But it works when it is build in together with sonypi, or if sonypi alone is build in the kernel. I tried all the different possibilities (see list). I still think, CONFIG_SONYPI_COMPAT should be the option for the standard kernel by now (following Mattias suggestions). The problems I have here might be related to sony_laptop not yet working correctly on my laptop - what do you think, Mattia? Greetings, Ben Working: 1. CONFIG_SONY_LAPTOP=y CONFIG_SONYPI_COMPAT=y CONFIG_SONYPI=y 2. no CONFIG_SONY_LAPTOP # CONFIG_SONY_LAPTOP is not set CONFIG_SONYPI=y (not as module, see below, but that could be related to some configuration problem on my side... As far as I can remember, it works better then #1 above, as it changes brightness in correct small steps, while #1 sometimes makes bigger steps while pressing once) Not Working: 1. (debian kernel 2.6.22-3-686) CONFIG_SONY_LAPTOP=m # CONFIG_SONYPI_COMPAT is not set CONFIG_SONYPI=m (brightness up and down with fn+f5 and f6 works, but no message shows up in kde and pressing the keys once changes to the max/min, not in steps. Volume change doesn't work. And ). rrmod sony-laptop and modprobe sonypi works as well, now changing brightness in steps but still no kde-messages (probably because kde was already running, when I loaded the module). 2. CONFIG_SONY_LAPTOP=y CONFIG_SONYPI_COMPAT=y # CONFIG_ SONYPI is not set 3. CONFIG_SONY_LAPTOP=y # CONFIG_SONYPI_COMPAT is not set # CONFIG_SONYPI is not set 4. CONFIG_SONY_LAPTOP=m CONFIG_SONYPI_COMPAT=y CONFIG_SONYPI=m (Fn-keys work and messages in kde show up. But pressing a fn-key results in endless events, e.g. pressing Fn+F2 once mutes and unmutes endlessly.) 5. CONFIG_SONY_LAPTOP=m CONFIG_SONYPI_COMPAT=y # CONFIG_SONYPI is not set (Same result as in 4.) 6. no CONFIG_SONY_LAPTOP # CONFIG_SONY_LAPTOP is not set CONFIG_SONYPI=m (scrolling whell works, fn-keys no reaction. I loaded it manually with modprobe sonypi, as it wasn't loaded at bootup, having a file /etc/modprobe.d/sonypi containing: option sonypi minor=250, and in /etc/modprobe.d/aliases alias char-major-20-250 sonypi) > > > > please define "work correctly" > > To make the story short, sony-laptop will replace sonypi and all the > (not so) active development is being done solely on sony-laptop. > Thus sony-laptop supports more models, the meye module also switched to > sony-laptop. > > > what is missing currently? > > sony-laptop uses sysfs while sonypi creates a char device. To make > old users of the char device still work there is this > CONFIG_SONYPI_COMPAT option that makes sony-laptop also create the char > dev and accept the ioctls that sonypi accepts. > > Enabling CONFIG_SONYPI_COMPAT would make the dismissal of sonypi easier > and the transition smoother. > Last but not least, since sony-laptop is ACPI based, it is automatically > loaded in recent kernels where a SNY5001 or a SNY6001 device is found in > the DSDT, and it will grab the ioports that also sonypi uses thus > making the 2 not cohexist happily. If CONFIG_SONYPI_COMPAT is set the > user won't notice the difference. > > cheers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]