Jump to content

Some tracks for VAIO display support


  • This topic is locked This topic is locked
85 replies to this topic

#21
Milance

Milance

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
huh... im sorry but im just windows user... i have no idea how to test this...

#22
mjw06d

mjw06d

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 4 posts
  • Gender:Male
  • Location:FL, US

Hello,

I started to search how the linux driver "sony_acpi" works under linux (ubuntu 8.10) , I load the sony_acpi.ko successfully. But then there is no "brightness" file in /proc/acpi/sony . I would like to test wether setting up the brightness while the lcd is off will turn on the the lcd. I would like to make this driver to work under linux to test under this os, and make some test before porting it under os x.

Here the attached source of sony_acpi.



I'm going to be working on doing the same thing -- Just might take some time as I am pretty busy, not much time to do leisurely. I'll dl and take a look at the files sometime within the next two weeks.

@Milance -- get linux first, then test.

#23
XFire

XFire

    XP You're Fired.

  • Members
  • PipPipPip
  • 170 posts
  • Gender:Male
Just like to say good luck to all of you! Hope you peeps succeed and bring graphics hope to all Vaio users :D

#24
epitorus

epitorus

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts

Hello,

I started to search how the linux driver "sony_acpi" works under linux (ubuntu 8.10) , I load the sony_acpi.ko successfully. But then there is no "brightness" file in /proc/acpi/sony . I would like to test wether setting up the brightness while the lcd is off will turn on the the lcd. I would like to make this driver to work under linux to test under this os, and make some test before porting it under os x.

Here the attached source of sony_acpi.


I made some trace in the code source and I notice that after a "sudo insmod sony_acpi.ko", the function "sony_acpi_add" is not executed. In fact in ubuntu 8.10 you have to stop the driver "sony_laptop" and "sonypi", by deleting the two drivers and restarting the machine for example. Then you can test.
But for me there is no "brightness" file in /proc/acpi/sony. I think my vaio (VGN-NR21Z) doesn't support it, maybe.

#25
Blackshore

Blackshore

    InsanelyMac Protégé

  • Members
  • Pip
  • 46 posts
Is this the same reason my GeForce 8400M GT can't enable QE/CI and Open GL?
In that case, will that development go any faster if we threw any money on it?
Seems like alot of vaio folks need this driver. Perhaps a project page and a donation possibility?
I would definitely pay a little if can get a 100% working driver..

How about it?

#26
XFire

XFire

    XP You're Fired.

  • Members
  • PipPipPip
  • 170 posts
  • Gender:Male
Yep, exactly the reason, its the exact same for me or any other Vaio user with ANY nVidia driver, except those who have the SZ series...

They have something called a Stamina/Speed switch which allows then to change from the Intel Graphics Media Acceleration which is integrated graphics in the chipset, use that and you get QE/CI etc... but that's only for those who have that, otherwise Nope..

So yep, a lotta vaio users are affected by this problem, unfortunately i don't have money.. or enough skills/time to do the work :gathering:

Though i can do some tests if a driver is released =D

#27
Blackshore

Blackshore

    InsanelyMac Protégé

  • Members
  • Pip
  • 46 posts
Are there any good driver writers at this community who you could pay to get this running?
Could any one take this up as a serious project and make it flow?!
How much would they charge?

A donation page would do it?!
Do google still sponsor code projects?

#28
Milance

Milance

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
is there any hope for VAIO nvidia users?

#29
anomie

anomie

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts

is there any hope for VAIO nvidia users?


I check this page frequently. I was looking to get a MacBook or iMac, but Apple keeps releasing overpriced and disappointing computers. I really hope there's a solution for VAIO owners ;)

#30
epitorus

epitorus

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts

I check this page frequently. I was looking to get a MacBook or iMac, but Apple keeps releasing overpriced and disappointing computers. I really hope there's a solution for VAIO owners ;)


hello, nvidia vaio owners,

I discovered a few days ago something very interesting.
Under Ubuntu I managed to redirect the video signal using SNC : either in the LCD either in the VGA port or both.
Now there is a hope to make this internal screen to work.

compile sony_acpi_mod
load the driver

to test this driver under unbuntu 8.10, please remove the sony-laptop driver from the memory, sonypi as well

then compile switchScreen
run it
or you can type in a console

echo -n "1" > /proc/acpi/sony/sodv

Attached Files



#31
Matheo

Matheo

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts
any working solutions?

#32
Milance

Milance

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
hm cool but i dont use ubuntu??? can someone make test kext for leopard??

#33
epitorus

epitorus

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
Hello I started to write a little driver KEXT to switch the screen under Leopard iDeneb 10.5.5 using XCode
I used the class IOACPIPlatformDevice but although there's no crash, the screen doesn't switch.
I know that the method "SODV" in the SNC device is found, because when I evaluate an object that doesn't exist, the function evaluateObject returns an error.

here the source code project

hope this works someday...

Attached Files



#34
Milance

Milance

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
hmmm so how can i test this?? can u post some test kext?

programmers c'mon take ur time and code vaio_nvidia kext pleasee

#35
epitorus

epitorus

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts

hmmm so how can i test this?? can u post some test kext?

programmers c'mon take ur time and code vaio_nvidia kext pleasee


in the folder build/Release of the archive there is a kext : VaioSNC.kext

to test

to view the message of the driver, in a terminal make:

tail -f /var/logs/system.log

to load the driver, in another terminal make:

sudo cp -R VaioSNC.kext /tmp
sudo kextload -v /tmp/VaioSNC.kext

to unload the driver make :
sudo kextunload /tmp/VaioSNC.kext

...

#36
Milance

Milance

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
ok ill try this week.... do i need some drivers???... or i need just clean osx install...without any natit or else.....
i have nvidia 7600go 128mb in vaio vgn fe41z...

cheers

oh and for info i use iPC 10.5.6...

#37
epitorus

epitorus

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts

oh and for info i use iPC 10.5.6...


you have to recompile the code and modify the info.plist in the project and put the version of AppleACPIPlatform inside, I don't remember (1.2.4???)

#38
Milance

Milance

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
oh before i start installing ... is that version of AppleACPIPlatform included in iPC ???
thats what i have to choose...
if not where can i download it...
im newbe sorry...

#39
epitorus

epitorus

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
there's nothing to choose, AppleACPIPlatform.kext is a driver provided by OS X iPC 10.5.6

this is the DSDT method of the device SNC, which allows me to switch the video output under ubuntu 8.10

[codebox]Method (SODV, 1, NotSerialized)
{
DBGC (0xF6, 0x80, BCEN)
If (LNotEqual (DSEN, Zero))
{
Return (Ones)
}

Store (Arg0, AODV)
If (LNot (And (AODV, CADD)))
{
Store (One, AODV)
}

If (LNotEqual (CADD, PADD))
{
Store (CADD, PADD)
Notify (PCI0, Zero)
Notify (PEGP, Zero)
Sleep (0x02EE)
}

Notify (GFX0, 0x80)
Notify (^^^PEGP.NGFX, 0x80)
DBGC (0xF6, 0x81, BCEN)
Return (Zero)
}[/codebox]

I modify this so that there is only the line Notify (GFX0, 0x80)
I compiled the dsl file, copied in initramfstool, then I made a "dpkgreconfigure"
and it's enough to switch the video output under ubuntu 8.10. (with the driver and program I provided)

but under OS X 10.5.6, nothing happen, but I know "SODV" the method is executed by evaluateInteger, since if I put Return(0x01020304) in the dsl file , I see 0x01020304 as result

So there are several questions:

does OS X support full ACPI ?
does the NVidia Driver turn off the power of the LCD on its own?

#40
mrroboto

mrroboto

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 142 posts
why don't you try to modify DST with DSDT patcher instead of making a full kext? should be easyier at least for testing, isn't it?





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy