
Sony VAIO LCD Brightness Controler
Source (link to git-repo or to original if based on someone elses unmodified work):
It works as a kde systemtray,and supply a slider to control your LCD Brightness.
Sony V505 LCD brightness controller v0.1
cjacker
----------------------------------------------------------------------
1, make sure your kernel contains sonypi module
2, modify /etc/modules.conf, append:
alias char-major-10-250 sonypi
options sonypi minor=250
3, make the character device
mknod /dev/sonypi c 10 250
4, if you want anybody in this machine can use it.
chmod 666 /dev/sonypi
5, use root user to install:
./configure --prefix=/usr
make
make install
6, run it
sonylcd
6,if you want to make it start automatically ,copy sonylcd.desktop to /usr/share/autostart/
*2004 10 24
- add support to detect power or bat plug and remove. popup a Msg Box and change the system tray icon, if there is no bat, show a red icon, if there is bat and power, show a blue icon, if there is only bat ,show a black icon.
- auto adjust LCD brightness, if AC pluged, it will tune the brightness to 130, if it removed , it will tune the brightness to 50 to save power.
- add a tooltip to show the status of bat.
*2004 10 23
- the LCD is so dark under Linux.
- so I wirte the tool last night.
- initial release
Ratings & Comments
7 Comments
The link to download this app is no longer valid, can u do something about it? Tnx, Michel
if i start the program via a xterm i get the following: /dev/sonypi: Kein passendes Gerät gefunden ioctl: Ungültiger Dateideskriptor close: Ungültiger Dateideskriptor i've created the node as you said with mknod /dev/sonypi c 10 250 ps. right-click-menue: something were we can exit the program for example
I am sorry that i can not add any comment, I use Sony VAIO PCG-V505GCP. It works. may be the driver can not drive your device, if you find what the problem is, please tell me. I hope this tool can work on your laptop
maybe there should be a right-click menue? could you also implement a powermanagement -menue? if plugged in brightness at 100% if not brightness at a customized value - for example
good suggestion, I will add the right cliked menu to exti this program. and add detection of power. to set the brightness to 100 is not a good idea, it is too bright. I plan to change the system tray icon to indicate that power line had been pluged. if the laptop use bat, I will show the remaining of bat.
if i load the sonypi module it outputs the following: sonypi command failed at drivers/char/sonypi.c : sonypi_call1 (line 191) sonypi command failed at drivers/char/sonypi.c : sonypi_call2 (line 201) sonypi command failed at drivers/char/sonypi.c : sonypi_call2 (line 203) sonypi command failed at drivers/char/sonypi.c : sonypi_call1 (line 191) sonypi: Sony Programmable I/O Controller Driver v1.23. sonypi: detected type2 model, verbose = 0, fnkeyinit = off, camera = off, compat = off, mask = 0xffffffff, useinput = on, acpi = on sonypi: enabled at irq=11, port1=0x1080, port2=0x1084 sonypi: device allocated minor is 63 Sony VAIO Jog Dial installed. i've added the modules.conf entry and changeg the rights of the node to 666 any hints? martin
can it works for you? if we must set the mknod minar and major personally, I will add a config dialog to support this. If this tool can not works, can you give me some idea? I hope we can let this tool work on any VAIO Laptop