Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO] Sony Vaio FS series FN keys
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
|Quantum|
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2004
Posts: 133
Location: Belgium

PostPosted: Wed May 23, 2007 9:36 pm    Post subject: Reply with quote

OK, found stupid answer to stupid question: sonypi is *not* supported on AMD64...
Back to top
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Tue Jun 19, 2007 11:24 pm    Post subject: Reply with quote

Hey I haven't been around the Gentoo scene in a while, are there any updated ebuilds for fsfn? Have there been improvements on the suspend/resume dsdt things? There's an interesting post on the ubuntu forums.
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
pijalu
Guru
Guru


Joined: 04 Oct 2004
Posts: 365

PostPosted: Fri Jun 22, 2007 11:56 pm    Post subject: Reply with quote

G2k wrote:
Hey I haven't been around the Gentoo scene in a while, are there any updated ebuilds for fsfn? Have there been improvements on the suspend/resume dsdt things? There's an interesting post on the ubuntu forums.


Nothing really new - Kernel 2.6.21 does not require sony_acpi (sony_laptop module in 2.6.21) but does not work out of the box with "in stock" fsfn
--> I updated the svn version of fsfn to support both old sony_acpi (for pre 2.6.21) and sony_laptop (2.6.21 and so on)

I should do an ebuild for it but I still lack time... So if you have a few hours to spend, feel free ;-)
Back to top
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Tue Jul 10, 2007 1:36 am    Post subject: Reply with quote

I don't know if this is what you were saying but I just read that 2.6.22-rc4 kernel includes the SONY PI sony-laptop driver. Just thought I would throw that out there.
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Wed Aug 15, 2007 9:19 am    Post subject: Reply with quote

pijalu wrote:
I should do an ebuild for it but I still lack time... So if you have a few hours to spend, feel free ;-)

I felt free and created the svn ebuild: https://bugs.gentoo.org/show_bug.cgi?id=170694

great work pijalu, you don't even know how much I hated these software-controlled fn keys. I don't think I will ever buy a vaio anymore (that's not the only reason of course).
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
pijalu
Guru
Guru


Joined: 04 Oct 2004
Posts: 365

PostPosted: Wed Aug 15, 2007 10:28 am    Post subject: Reply with quote

Peach wrote:
pijalu wrote:
I should do an ebuild for it but I still lack time... So if you have a few hours to spend, feel free ;-)

I felt free and created the svn ebuild: https://bugs.gentoo.org/show_bug.cgi?id=170694

great work pijalu, you don't even know how much I hated these software-controlled fn keys. I don't think I will ever buy a vaio anymore (that's not the only reason of course).


Great and thanks to you :-)

For the software-controlled thingy I guess I know: I had the pleasure to unbox this sony laptop few years ago and see "Cool, it's not working...."
for Vaio's: Not a too bad machine [still working fine - just had to change the thermal grease in the cooling system after 1 year and cd burner not really reliable]... but already seen crapiest machines... but still... I don't plan another one ;-)
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Wed Aug 15, 2007 11:02 pm    Post subject: Reply with quote

you make me think that I'll need to do something for the thermalgrease thanks for the advice :)
the cd-burner has been changed right after 1 year :D
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Wed Aug 15, 2007 11:03 pm    Post subject: Reply with quote

optical drive change here too after 1 year
I haven't checked the grease...should I?
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
pijalu
Guru
Guru


Joined: 04 Oct 2004
Posts: 365

PostPosted: Wed Aug 15, 2007 11:15 pm    Post subject: Reply with quote

You will if a good and long emerge == auto (unclean) shutdown ...
EDIT: more seriously, check that the temp don't go over 80c with full power and when fan starts, you should actually see the temp going down or at least stabilizing...
The problem started after something like 6month, temp went higher and higher but I didn't care that much...(just added cpufreqd to limit the problem and lower cpu speed)..
But after 1 year, it did his first (and last) critical stop [for some reason cpufreqd was out to lunch...]
==> this decided me (and the fact that I already had another main laptop...) to review the cooling thing...

Just take care: if you remove the cooling system, there is no "turn back" since you must put thermal grease or you will end up with a even more dangerous situation :-)
[aka: don't open without the thermal grease bottle on your side...]
Back to top
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Sun Aug 26, 2007 1:39 am    Post subject: Reply with quote

Hey this has nothing to do with fsfn but it's relevant to my VAIO VGN-FS660/W: when I build a genkernel-ed kernel, the little orange light next to the power, battery and processing light turns on. I'm talking about the one that's between the WLAN on and off switch and the flickering processing light...it's like an M with three lines below it.
I don't know what this is but I don't get this in Windows XP and I don't get it when I manually configure a kernel. Do you guys know what this means? It turns on at about 1/3 into the boot process.
Thanks!
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Sun Aug 26, 2007 12:12 pm    Post subject: Reply with quote

G2k wrote:
Hey this has nothing to do with fsfn but it's relevant to my VAIO VGN-FS660/W: when I build a genkernel-ed kernel, the little orange light next to the power, battery and processing light turns on. I'm talking about the one that's between the WLAN on and off switch and the flickering processing light...it's like an M with three lines below it.
I don't know what this is but I don't get this in Windows XP and I don't get it when I manually configure a kernel. Do you guys know what this means? It turns on at about 1/3 into the boot process.
Thanks!

look for a sony multimedia slot. that led is there to monitor activity. as long as I know there's no support of that type of card reader under linux... but I might be wrong.
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Mon Aug 27, 2007 11:12 pm    Post subject: Reply with quote

Well...it's just on. It doesn't blink or flicker. Also, it's permanently off when I manually configure the kernel. At first I thought that it turned on when there was an excessive use of RAM but conky tells me otherwise. Sony Multimedia slot? Never used...
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
pijalu
Guru
Guru


Joined: 04 Oct 2004
Posts: 365

PostPosted: Tue Aug 28, 2007 7:36 am    Post subject: Reply with quote

it's actually the memory stick bay (this is the reason why it got a nice M)... started to lit around kernel 2.6.20 if I remember well (manual config, but no clue what I enabled... I never look too deep on new function when "make oldconfig"....
Side node: it's also "on" on Ubuntu 7.04...

btw no clue if it's "really" working :-)...
Back to top
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Tue Aug 28, 2007 4:00 pm    Post subject: Reply with quote

Yeah I noticed that it went "on" on Ubuntu when I tried it out some time ago. But on Windows it's off by default so I guess that's how I would like it to be :P I'll manually compile a kernel sometime in the future so it goes off...
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
die-hard
Apprentice
Apprentice


Joined: 20 Mar 2005
Posts: 255
Location: Italy

PostPosted: Sat Nov 10, 2007 4:57 pm    Post subject: Reply with quote

hi all, 1st thanks for this tool, 2nd help me :)

I installed all and my event is /dev/input/event2.
Back to top
View user's profile Send private message
pijalu
Guru
Guru


Joined: 04 Oct 2004
Posts: 365

PostPosted: Sat Nov 10, 2007 10:10 pm    Post subject: Reply with quote

Normally you don't need the sony_acpi anymore with kernel 2.6.21 and higher and the svn version support it
==> the easiest is to use the ebuild of peach (https://bugs.gentoo.org/show_bug.cgi?id=170694) [fsfn-9999.ebuild]
Back to top
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Sat Nov 10, 2007 11:03 pm    Post subject: Reply with quote

will it be in the official portage tree soon?
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
die-hard
Apprentice
Apprentice


Joined: 20 Mar 2005
Posts: 255
Location: Italy

PostPosted: Sat Nov 10, 2007 11:23 pm    Post subject: Reply with quote

pijalu wrote:
Normally you don't need the sony_acpi anymore with kernel 2.6.21 and higher and the svn version support it
==> the easiest is to use the ebuild of peach (https://bugs.gentoo.org/show_bug.cgi?id=170694) [fsfn-9999.ebuild]


i got spny vaio sz, i merged our ebuild but FN key is on event6 and all other keys are on event2.

What can i do?
Back to top
View user's profile Send private message
pijalu
Guru
Guru


Joined: 04 Oct 2004
Posts: 365

PostPosted: Sun Nov 11, 2007 12:50 pm    Post subject: Reply with quote

die-hard wrote:

i got spny vaio sz, i merged our ebuild but FN key is on event6 and all other keys are on event2.

What can i do?

Not really sure I follow - Normally (At least on the vaio's working with fsfn), the FN key does not have a specific event and are just some specific keyboard events that fsfn translates to action on the acpi.

Out of the blue, I will be curious to see the content of /proc/bus/input/devices and see the log of fsfn (in /var/log/messages) when you load it.
Back to top
View user's profile Send private message
die-hard
Apprentice
Apprentice


Joined: 20 Mar 2005
Posts: 255
Location: Italy

PostPosted: Sun Nov 11, 2007 11:21 pm    Post subject: Reply with quote

pijalu wrote:
die-hard wrote:

i got spny vaio sz, i merged our ebuild but FN key is on event6 and all other keys are on event2.

What can i do?

Not really sure I follow - Normally (At least on the vaio's working with fsfn), the FN key does not have a specific event and are just some specific keyboard events that fsfn translates to action on the acpi.

Out of the blue, I will be curious to see the content of /proc/bus/input/devices and see the log of fsfn (in /var/log/messages) when you load it.


Code:

VaioTux ~ # cat /proc/bus/input/devices
I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/class/input/input0
U: Uniq=
H: Handlers=event0
B: EV=21
B: SW=1

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button (CM)"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/class/input/input1
U: Uniq=
H: Handlers=kbd event1
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input2
U: Uniq=
H: Handlers=kbd event2
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0011 Vendor=0002 Product=0008 Version=0000
N: Name="PS/2 Mouse"
P: Phys=isa0060/serio1/input1
S: Sysfs=/class/input/input3
U: Uniq=
H: Handlers=mouse0 event3
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0011 Vendor=0002 Product=0008 Version=7321
N: Name="AlpsPS/2 ALPS GlidePoint"
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input4
U: Uniq=
H: Handlers=mouse1 event4
B: EV=f
B: KEY=420 0 70000 0 0 0 0 0 0 0 0
B: REL=3
B: ABS=1000003

I: Bus=0010 Vendor=104d Product=0000 Version=0000
N: Name="Sony Vaio Jogdial"
P: Phys=
S: Sysfs=/class/input/input5
U: Uniq=
H: Handlers=mouse2 event5
B: EV=7
B: KEY=40000 0 0 0 0 0 0 0 0
B: REL=100

I: Bus=0010 Vendor=104d Product=0000 Version=0000
N: Name="Sony Vaio Keys"
P: Phys=
S: Sysfs=/class/input/input6
U: Uniq=
H: Handlers=kbd event6
B: EV=3
B: KEY=1f ffff0000 0 20000 100000 0 2 0 0 100400 0 40300400 0 0 0 0

VaioTux ~ #


Code:

Nov 11 23:20:40 VaioTux fsfn[22719]: Loading config file /etc/fsfn.conf
Nov 11 23:20:40 VaioTux fsfn[22719]: Setting default configuration
Nov 11 23:20:40 VaioTux fsfn[22719]: Configuration: DEVICE=AUTO
Nov 11 23:20:40 VaioTux fsfn[22719]: Configuration: ALSA_NAME=Front
Nov 11 23:20:40 VaioTux fsfn[22719]: Configuration: F12_CMD=/bin/hibernate
Nov 11 23:20:40 VaioTux fsfn[22719]: Configuration: OSD_VCOLOR=red
Nov 11 23:20:40 VaioTux fsfn[22719]: Configuration: OSD_BCOLOR=blue
Nov 11 23:20:40 VaioTux fsfn[22719]: Configuration: OSD_FONT=-*-*-*-*-*-*-20-*-*-*-*-*-*-*
Nov 11 23:20:40 VaioTux fsfn[22719]: default configuration done
Nov 11 23:20:40 VaioTux fsfn[22719]: error opening config file
Nov 11 23:20:40 VaioTux fsfn[22720]: autodevice determines /dev/input/event2 as keyboard event
Nov 11 23:20:40 VaioTux fsfn[22720]: fsfn loaded


i have not fsfn.conf in /etc
Back to top
View user's profile Send private message
pijalu
Guru
Guru


Joined: 04 Oct 2004
Posts: 365

PostPosted: Mon Nov 12, 2007 7:54 pm    Post subject: Reply with quote

hmm....
Your laptop seems to support sonypi, so I don't think that fsfn is really the tools you need...
You can still give a shot to modprobe sony-laptop and check that you see this entry:
Code:

/sys/devices/platform/sony-laptop/fnkey

* If no: Then your laptop is not supported since this is the current way fsfn decode the FN keystroke... and since I don't own a comparable system, you are sadly left alone on this :-(

* If yes: you can still force fsfn to use input6 via the /etc/fsfn.conf and the entry
Code:

DEVICE=/dev/event6

But I really don't think this will really works... I guess you should try to get some info on sonypi and the possible ways to handle the FN keys
Back to top
View user's profile Send private message
die-hard
Apprentice
Apprentice


Joined: 20 Mar 2005
Posts: 255
Location: Italy

PostPosted: Mon Nov 12, 2007 8:11 pm    Post subject: Reply with quote

hi man my laptop support sonypi very well, but i don't know to configure script acpi default.sh. Can u help me in this ?
Back to top
View user's profile Send private message
pijalu
Guru
Guru


Joined: 04 Oct 2004
Posts: 365

PostPosted: Mon Nov 12, 2007 8:18 pm    Post subject: Reply with quote

for sonypi I will have to pass...
Back to top
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Fri Feb 15, 2008 8:08 pm    Post subject: Reply with quote

with the new portage versions (2.1.4.4) there's a problem with the manifest for the fsfn overlay. Does someone know how to fix this?
Also, I compiled my kernel (gentoo-sources-2.6.23-r8 ) with
Symbol: SONYPI_COMPAT [=y]
Symbol: SONY_LAPTOP [=y]
Symbol: SONYPI [=n]
So I thought I would somehow be able to use the fn keys by default but apparently that's not the case. Any clue as to what these things do?
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
pijalu
Guru
Guru


Joined: 04 Oct 2004
Posts: 365

PostPosted: Fri Feb 15, 2008 11:21 pm    Post subject: Reply with quote

What ebuild are you using ?
The only one that should works with newer kernel is the 9999 by peach, other versions only supported sony_acpi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 8 of 9

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum