Talk:Sony Vaio VGN-S4
From Gentoo Linux Wiki
I own a S4HP and I can't make my touchpad correctly working. Unable to disable tapping or anything. synclient -l gives me the right value but -h tells me I don't have any hardware. I use a 2.6.12.4 with the alps patch. I tried with /dev/psaux or /dev/event/event2 ... same problem and when I use the event dev, it's even worse : I've to unload and load psmouse several time before it works or pug an usb mouse then unload/load the module and it works ... I love Alps touchpad .... grrrr. I already had the same problem with my old Toshiba Satelitte 3000 and its Alps touchpad. Am I cursed ? --Arnaud
IDK, if you use gentoo try to post also in the support forum... and if you have gentoo you shouldn't need any alps patch, I believe it's already included. Mine worked right out of the box. Did you emerge x11-misc/synaptics ?
[edit] funroll-loops.
xushi added some suggestions for CFLAGS. I don't know if it was a joke or serious, but I can't feel like recomment in a HOW-TO to use funroll-loops. If nobody objects I would suggest to delete that part. By the way, this is not an HOW-TO about optimization, it's just to make a vaio laptop up and running. What to you think?
(xushi speaking)
I got recommended funroll-loops from within #gentoo last year, and i've used it on 3 laptops now the past year or so with no problems at all. However, now after reading the man page more thoroughly, i realise it's not that good of an option to keep. Sorry for that, and i'll remove it. As for the other two,
-ftracer
Perform tail duplication to enlarge superblock size.
This transformation simplifies the control flow of the
function allowing other optimizations to do better job.
-fweb
Constructs webs as commonly used for register allocation purposes
and assign each web individual pseudo register. This allows the
register allocation pass to operate on pseudos directly, but also
strengthens several other optimization passes, such as CSE, loop
optimizer and trivial dead code remover. It can, however, make
debugging impossible, since variables will no longer stay in a
home register.
Enabled at levels -O3
On another note, I tried the FN key + monitor brightness section, and it had a few mistakes in it. I'll correct them when i have the time.
Cheers, thanks a lot for you interest in this howto! :-) I'm actually using another solution for the fn-keys, involving catching acpi events and using acpi_fakekey, that IMHO is better, when I finish exams I'll update it. knefas 19:36, 23 April 2006 (UTC)
[edit] S3 suspend
Does anyone know if 2.6.17 has any changes that may help the situation?
xushi: This looks very promissing.
HOWTO Software Suspend v2
Unfortunately, i started testing it, then had to stop because i'm on ck-sources, and the patches refuse to get applied. So if anyone else wants to pickup with either their patched kernel, or vanilla + patches, go for it and keep us informed.
