
Code: Select all
Drone sony # pwd
/proc/acpi/sony
Drone sony # ls
brightness brightness_default

I didn't succeed to make it work on my machine, plugging/unplugging an external screen generate an acpi event but that all i see so far... the strange thing is the nvidia-settings don't see the additional screen aswell.... the only way i found was to power the laptop with the screen plugged... I still have to play with other screen (the one i use is a really pretty old one...)dextermagnific wrote:Tha patch didn't work for you as for me.
I just added the entries that are in the patch manually in sony_acpi.c (added those entries for the fnkeys)
I have a question : did anyone succeeded in making the fn+f7 (tv-out) keys working ?
Thanks
Easy way to checkDeltaflyer wrote:Hi,
I tried your sony_acpi Patch on my Vaio VGN-A115M, but the patched Module don't seems to creat a fnkey file in /proc/acpi/sony.
Do you think that my Notebook is just incompatible? ( i hope notCode: Select all
Drone sony # pwd /proc/acpi/sony Drone sony # ls brightness brightness_default)
or is it only some pebkac on my side?
Code: Select all
sudo strings /proc/acpi/dsdt | grep GHKE
Code: Select all
rmmod sony_acpi
depmod -a
modprobe sony_acpi

at least on mine, and work as a dual (crt+lcd)dextermagnific wrote:so turning on the computer with an external screen plugged makes the computer display on that screen ?
if so, this is good news for me. I can make my presentation without having to find another laptop that *works* grrrrrrrrrrrr.....
Thanks, i'll try that.

I think it should also work with only restarting the Xserver.dextermagnific wrote:so turning on the computer with an external screen plugged makes the computer display on that screen ?
if so, this is good news for me. I can make my presentation without having to find another laptop that *works* grrrrrrrrrrrr.....
Thanks, i'll try that.

pijalu wrote:
Easy way to checkshould return GHKECode: Select all
sudo strings /proc/acpi/dsdt | grep GHKE
if not: not supported,
if yes, are you sure you are using the patched version ?
Give a try at the second patch for sony_acpi, this one added a PP, and you should see a 0.2-PP in the syslog
and tryand check againCode: Select all
rmmod sony_acpi depmod -a modprobe sony_acpi
Code: Select all
Drone ~ # strings /proc/acpi/dsdt
Drone ~ #
Code: Select all
Drone ~ # rmmod sony_acpi
Drone ~ # lsmod
Module Size Used by
Drone ~ # depmod -a
Drone ~ # modprobe sony_acpi
Drone ~ # dmesg | grep -i sony
ACPI Sony Notebook Control Driver v0.2-PP successfully removed
ACPI Sony Notebook Control Driver v0.2-PP successfully installed
Drone ~ #
if the strings don't report you the GHKE, it just means your DSDT will not work with this how-to, maybe give a shot to the patched sony_piDeltaflyer wrote: "strings /proc/acpi/dsdt" returns nothing.
hihi I didn't try that yet... hmmm... that looks interesting...Deltaflyer wrote:I think it should also work with only restarting the Xserver.dextermagnific wrote:so turning on the computer with an external screen plugged makes the computer display on that screen ?
if so, this is good news for me. I can make my presentation without having to find another laptop that *works* grrrrrrrrrrrr.....
Thanks, i'll try that.
So you only have to plug in the Monitor and press crtl+alt+backspace. (you should have configured the 2nd Moinor in your config)
At least that worked for me.

hrm,pijalu wrote:if the strings don't report you the GHKE, it just means your DSDT will not work with this how-to, maybe give a shot to the patched sony_piDeltaflyer wrote: "strings /proc/acpi/dsdt" returns nothing.
(see http://forums.gentoo.org/viewtopic-t-36 ... -sony.html)

hmm, most of the constructor just don't want to bother with other systems than windows... it's not just Sony... most of them behave the same... we are not YET a good market (and the PS3 on linux... that's quite funny...)dextermagnific wrote: You know i wrote to Sony to get some specifications about the fn keys, here is what i got :
Dear Mr xyz,
Unfortunately we cannot provide you with Linux drivers. Sony doesn't provide support for systems other than the one preinstalled.
This forum was very helpful for me. In 2 days, my fn keys worked and i got the tv-out.
I succeed to hibernate without problem if i am NOT on battery (using swsup) ... On battery it just hangs after the screen blanking... but i didn't go really further, still hold quite important informations on the HD (and honestly, I never use my laptop without power supply...)There is still a pb : did anyone succeeded in hibernate ? (echo 4 > /proc/acpi/sleep or echi disk > /sys/power/state)
after freezing the cpu and stopping tasks, the monitor becomes black but the computer doesn't shut down
Thanks
Yup, it should... send me your dsdt by mail and i will confirm/infirmDeltaflyer wrote: hrm,
I'm wondering, why this even don't return GPBR or SPBR.
I have /proc/acpi/sony/brightness and /proc/acpi/sony/brightness_default and they're working. So GPBR or SPBR should be present?!
(I hope thats not too much OT)
* The shutdown on low battery: Take a look at acpid, should be doable (gnome/kde give me warn) - didn't try.... i hate this 'feature'... and i am always around my machineG2k wrote:hey guys I was wondering if you know a way to have the system shutdown when the battery is low. Right now the only way I can know my battery status is through torsmo, but it would be nice to have the computer shutdown if I'm not around to do it myself. Any success on the suspending to RAM issue?
Code: Select all
cat /proc/acpi/battery/BAT0/state
cat /proc/acpi/battery/BAT0/info
No ebuild yet, didn't find time to do it... but maybe give a shoot at http://developer.berlios.de/project/sho ... up_id=4604G2k wrote: Also, will an ebuild for this ever come outcus I've been too lazy to attempt getting the FN keys to work properly.
thanks
Code: Select all
wget http://download.berlios.de/fsfn/sony_acpi.tar.gz
tar zxvf sony_acpi.tar.gz
cd sony_acpi
make && sudo make install
Code: Select all
modprobe sony_acpi
ls /proc/acpi/sony
Code: Select all
brightness brightness_default fnkey
Code: Select all
echo sony_acpi >> /etc/modules.autoload.d/kernel-2.6
Code: Select all
emerge xosd
Code: Select all
wget http://download.berlios.de/fsfn/fsfn-1.0.tar.gz
tar zxvf fsfn-1.0.tar.gz
cd fsfn-1.0
./configure && make && sudo make install
Code: Select all
cd /etc/init.d/
sudo wget "http://svn.berlios.de/viewcvs/*checkout*/fsfn/trunk/fsfn/gentoo/fsfn?rev=1" -O fsfn
chmod +x fsfn
Code: Select all
rc-update add fsfn default
Code: Select all
fsfn
Code: Select all
/etc/init.d/fsfn start
Code: Select all
/usr/local/bin/fsfn -o
Code: Select all
man fsfn
Code: Select all
man 5 fsfn
Code: Select all
# pwd
/etc/init.d
# rc-update add fsfn default
* fsfn not executable; skipping
# /etc/init.d/fsfn start
-bash: /etc/init.d/fsfn: Permission deniedsorry, aG2k wrote:everything went smoothly untilCode: Select all
# pwd /etc/init.d # rc-update add fsfn default * fsfn not executable; skipping # /etc/init.d/fsfn start -bash: /etc/init.d/fsfn: Permission denied
Code: Select all
chmod +x /etc/init.d/fsfn
Code: Select all
/etc/init.d/fsfn start
* Caching service dependencies ... [ ok ]
* Starting fsfn key handler ...
Failed to generate key: No such file or directory [ ok ]the error is not good, won't work... it's when the deamon try generate a key for /proc/acpi/sonyG2k wrote:I love it how there's an [ ok ] there anywaysCode: Select all
/etc/init.d/fsfn start * Caching service dependencies ... [ ok ] * Starting fsfn key handler ... Failed to generate key: No such file or directory [ ok ]
and one last thing: where exactly do I have to add the line /usr/local/bin/fsfn -o ?
thanks for your time
Code: Select all
modprobe sony_acpi
Code: Select all
/etc/init.d/fsfn restart
Code: Select all
echo sony_acpi >> /etc/modules.autoload.d/kernel-2.6
Code: Select all
#!/bin/sh
/usr/local/bin/fsfn -o
Code: Select all
chmod +x of ~/.kde/Autostart/fsfn
reboot should not be needed...G2k wrote:uh...I think I got everything to run properly cus I didn't get any other errors. However the Fn key is not workingdo I have to reboot or something? I know...it's not windows...but still I tried restarting the service and it still doesn't work (and again, I get no errors). I also ran fsfn -o as a background process...still nothing.
Code: Select all
killall fsfn
rmmod sony_acpi
dmesg -c
modprobe sony_acpi
ls /proc/acpi/sony
ls /dev/input
fsfn -n
(try a few hit)
dmesg