tag:blogger.com,1999:blog-7107999793408355374.post3014181310536478999..comments2013-01-17T13:40:26.691+01:00Comments on No Lean Thinking: Sony Vaio Z21 News: Switching off Nvidia card seems possible under Linux!Matzehttp://www.blogger.com/profile/01530395853165001656noreply@blogger.comBlogger30125tag:blogger.com,1999:blog-7107999793408355374.post-80666408075455260922009-04-08T06:50:00.000+02:002009-04-08T06:50:00.000+02:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-72700281296322779512009-03-09T11:24:00.000+01:002009-03-09T11:24:00.000+01:00Ok, thank you for the information... hoping that w...Ok, thank you for the information... hoping that will progress... <BR/>EmericAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-24840685453193585742009-03-08T22:26:00.000+01:002009-03-08T22:26:00.000+01:00Not much progress in the recent weeks, but I've tr...Not much progress in the recent weeks, but I've tried the trick dumping all ACPI objects and comparing them with the laptop in different states (speed vs. stamin, coming from XP or Linux). But the information is not conclusive.Matzehttps://www.blogger.com/profile/01530395853165001656noreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-38820995895280445602009-03-08T19:26:00.000+01:002009-03-08T19:26:00.000+01:00Hi, thanks for this work, already good job... Did ...Hi, thanks for this work, already good job... Did you find something new?<BR/>EmericAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-59678846223075149712009-03-06T00:20:00.000+01:002009-03-06T00:20:00.000+01:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-42095997923230276732009-02-20T08:50:00.000+01:002009-02-20T08:50:00.000+01:00jtechs, if you can achieve that, it will be a good...jtechs, if you can achieve that, it will be a good basis for moving forward. We'll try this weekend to dump all the ACPI variables in Speed and Stamina mode to see what changes between these modes. Maybe this will give us more hints.Matzehttps://www.blogger.com/profile/01530395853165001656noreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-9073796192739540852009-02-19T22:31:00.000+01:002009-02-19T22:31:00.000+01:00I agree, SPEED mode is a no go. Only the LED is af...I agree, SPEED mode is a no go. Only the LED is affected (on) but the card remains uninitialised. You will have to use the 'BOOT XP' method to get this working. <BR/><BR/>Regarding the NvidiaSony Driver: I have not had much time so I have not been able(nor do i know how yet) to decompile it or debug it. BUT I am sure its the driver that inits the hardware. There must be some mechanism that does Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-9098345261258568462009-02-19T16:33:00.000+01:002009-02-19T16:33:00.000+01:00@Michael: I think it's the "insmod" inside the mak...@Michael: I think it's the "insmod" inside the makefile you're talking about? That's only for development purposes.<BR/><BR/>@Mickaël: The "Speed/Stamina" switch is not taken into account. I don't know yet how to check it. Also, only Stamina mode works for now. You can set "Speed" by sysfs or module parameter, but it does not work.Matzehttps://www.blogger.com/profile/01530395853165001656noreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-1874117596743012722009-02-19T16:07:00.000+01:002009-02-19T16:07:00.000+01:00Matze,I have some further questions please clarify...Matze,<BR/>I have some further questions please clarify:<BR/>1."insmod sony-laptop speed_stamina=1",this seems not so good because if you use "insmod" you need to give the full route for sony-laptop.ko,I think "modprobe sony-laptop" will be better;<BR/>2.but I cannot switch to speed mod no matter how, I tried many ways but only the stamina light on;<BR/>3.Can you Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-66835153505395917172009-02-19T14:58:00.000+01:002009-02-19T14:58:00.000+01:00Matze,I've found out an solution "sudo cp /lib/mod...Matze,I've found out an solution "sudo cp /lib/modules/2.6.27-12-generic/updates/sony-laptop.ko /lib/modules/2.6.27-12-generic/kernel/drivers/misc/",because when ubuntu boot it load the driver from there and you need manually copy and replace the old one in there.<BR/>Now it work beautifully.<BR/><BR/>Thks.MichaelAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-85946762549000482992009-02-19T14:50:00.000+01:002009-02-19T14:50:00.000+01:00Hi,Thank you very much Matze for your work.I'm not...Hi,<BR/>Thank you very much Matze for your work.<BR/>I'm not sure to have all understood.<BR/><BR/>With your module, you boot on intel/Nvidia depending on stamina button position ?<BR/>The unused card is unpowered ?<BR/><BR/>But you can't swith on the fly !<BR/><BR/>Thank for your answers, I will try this week-end to install last archlinux.<BR/><BR/>MickaëlUnknownhttps://www.blogger.com/profile/17706541196629771703noreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-62370265525416734692009-02-19T14:38:00.000+01:002009-02-19T14:38:00.000+01:00Matze,I guess the problem maybe is that the old so...Matze,I guess the problem maybe is that the old sony-laptop loaded instead of yours when booting because I tried to check the modinfo and found the version is 0.6 and the author is not your name.<BR/><BR/>Maybe Ubuntu needs a different way to install as you are using Suse.<BR/><BR/>but I am sure the one in /updates/ is still yours because the modification date and time is correct.<BR/><BR/>Any Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-78506206390617206282009-02-19T13:14:00.001+01:002009-02-19T13:14:00.001+01:00@Mehran: it's not possible today, but it's on the ...@Mehran: it's not possible today, but it's on the list of things to do.Matzehttps://www.blogger.com/profile/01530395853165001656noreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-68621477362872225522009-02-19T13:14:00.000+01:002009-02-19T13:14:00.000+01:00Michael, can you check in /lib/modules/(kernel-ver...Michael, can you check in /lib/modules/(kernel-version)/update if there's a sony-laptop.ko with a matching modification date?Matzehttps://www.blogger.com/profile/01530395853165001656noreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-20188962041132721462009-02-19T12:59:00.000+01:002009-02-19T12:59:00.000+01:00Matze,I've tried many times but it won't work afte...Matze,I've tried many times but it won't work after reboot,any idea?<BR/>thks.MichaelAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-72821047102142025942009-02-19T10:21:00.000+01:002009-02-19T10:21:00.000+01:00Is there any way to turn the Intel card off after ...Is there any way to turn the Intel card off after the boot? <BR/>I need the graphics power, so I want to use the nvidia card.Mehranhttps://www.blogger.com/profile/14532685257684528354noreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-29451219389554221172009-02-19T08:54:00.000+01:002009-02-19T08:54:00.000+01:00Michael, the module should end up in /lib/modules/...Michael, the module should end up in /lib/modules/(kernel-version)/updates, and automatically be loaded on each reboot. It should not be necessary to make/make install each time.Matzehttps://www.blogger.com/profile/01530395853165001656noreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-45369833721241185522009-02-18T19:13:00.000+01:002009-02-18T19:13:00.000+01:00I've just downloaded and installed the 0.5,it work...I've just downloaded and installed the 0.5,it works (I mean the light for stamina on),but it will be off after a reboot so I have to make and make install everytime,is this normal or abnormal?<BR/>I am using Ubuntu 8.10 and my laptop model is vaio Z15 (a Chinese model but everything almost the same as yours).<BR/>thks for your hard working.<BR/>b/rgd.MichaelAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-66010517725723825452009-02-16T10:53:00.000+01:002009-02-16T10:53:00.000+01:00Switching the graphics cards on the fly is quite c...Switching the graphics cards on the fly is quite complex. In Stamina mode, the Nvidia card is completely powered down and the LCD (or DVI/HDMI/CRT) receives data from the Intel card. Flipping the switch means the driver needs to power up the nvidia device, completely initialize it, copy the settings of the currently active Intel card, then configure the video switch matrix to disconnect the IntelMatzehttps://www.blogger.com/profile/01530395853165001656noreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-75162163702173060952009-02-16T10:25:00.000+01:002009-02-16T10:25:00.000+01:00Sony/Nvidia = Sony Nvidia Driver. Yes I used the s...Sony/Nvidia = Sony Nvidia Driver. <BR/><BR/>Yes I used the special sony version and only that driver nothing else. I was going through the inf's and I think there is a service that controls the mode change, NVLDDMKM.SYS I was trying to decompile it but I ran out of time, <BR/><BR/>In the drivers there is a lot of registry keys that control the speed stanima mode.. <BR/><BR/>Do you think the speedAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-77642866235288961902009-02-16T09:10:00.000+01:002009-02-16T09:10:00.000+01:00@jtechs: did you install a generic nvidia driver o...@jtechs: did you install a generic nvidia driver or a special one for the z series?<BR/>EvaAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-14598497623771947082009-02-15T23:28:00.000+01:002009-02-15T23:28:00.000+01:00Ok thats good to know. I updated my kernel to 2.6....Ok thats good to know. <BR/><BR/>I updated my kernel to 2.6.27.11 and the compile worked and the stanima light came on.. so the old kernel was my main problem (duh)<BR/><BR/>Would the driver (nvidia) be the main activating point? With the vista dump, I installed only Vista and the Sony/Nvidia driver. With only that driver I was able to change the SPEED/STANIMA mode... <BR/><BR/>JtechsAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-66270518906182452352009-02-15T15:59:00.000+01:002009-02-15T15:59:00.000+01:00@jtechs: Thanks for sending me the DSDT dump of Vi...@jtechs: Thanks for sending me the DSDT dump of Vista. I've compared it with the one from Linux but I see only minor differences, no differences in functionality.Matzehttps://www.blogger.com/profile/01530395853165001656noreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-81221720021959834512009-02-14T14:41:00.000+01:002009-02-14T14:41:00.000+01:00Eva has updated the source package to 0.4, its a t...Eva has updated the source package to 0.4, its a tarball now with makefile and everything, ready to compile and test. 0.4 also backs out some experimental support for the backlight, but that seems at least to break on jtechs system.<BR/><BR/>download via http://www.basyskom.org/~eva/log_installation_vaio_z21vnx.htmlMatzehttps://www.blogger.com/profile/01530395853165001656noreply@blogger.comtag:blogger.com,1999:blog-7107999793408355374.post-13242292428179380512009-02-14T10:06:00.000+01:002009-02-14T10:06:00.000+01:00@jtechs: I've just emailed you, please send me bac...@jtechs: I've just emailed you, please send me back your Vista DSDT and also one from running under Linux. The LED not working makes me think you may have a different BIOS working.<BR/><BR/>By the way, did any of you test the 3G modem power switch?Matzehttps://www.blogger.com/profile/01530395853165001656noreply@blogger.com