Jump to content

AnVAL (ACPI Loader)


  • Please log in to reply
1537 replies to this topic

#41
Azimutz

Azimutz

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 759 posts
  • Gender:Male
  • Location:Almadan - Pt.
  • Interests:At the moment, OSx86.. In general, music, audiophile, computers.. to much to mention...
@Freaky, that theme issue is another one of those... probably wouldn't happen if Andy were working with up to date sources, like updated to the trunk.
That's really the only remark i can do to this booter. Check Zef's comment on rev 87. All that stuff works fine here, using latest trunk, theme embedded or not. No need to rename folders or keep the Theme key on Boot.plist.

p.s.: check my previous post.

#42
Freaky Chokra

Freaky Chokra

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 353 posts
  • Gender:Male

@Freaky, that theme issue is another one of those... probably wouldn't happen if Andy were working with up to date sources, like updated to the trunk.
That's really the only remark i can do to this booter. Check Zef's comment on rev 87. All that stuff works fine here, using latest trunk, theme embedded or not. No need to rename folders or keep the Theme key on Boot.plist.

p.s.: check my previous post.


Hi Azimutz.

Thx for the input. Well, yesterday, I just logged in and posted before calling it a day. Very tiresome it was hah! :)

Can you post the link to Zef' comment on rev 87? Which page or topic? Here or other forum?

Well, your previous post you asked about the scripts on rebuilding the kexts.

I've researched and then did a bit of modifying the command so as to include i386 (32bit) & x86_64 (64bit) architecture kexts together for some of the kexts are 32bit only, as of yet.
And in default boot mode, where you have set the kernel flags as arch=x86_64 -x64,
then, Snowwill load successfully everything 64 bit -> kernels, kexts, everything.
BUT. but. but.
ONLY 64 bit. All the 32 bit things are ignored. applications will run, but any 32bit supported kexts will not be loaded.
Say the Realtek8139 isn't loaded if I have it disabled when I've started/rebooted my PC a couple of times.
It seems to auto-disable the 3rd party modded KEXT.
Again, similarly, it's just related to few kext issues that won't be loaded.
Hence, the combined architecture in the mkext, which includes both 32bit kext binaries, as well as 64 bit kext binaries.

However, to solve your dillemma, the -m does in fact work and is deployed by Apple in kextcache command.
The source of the following info? -> Terminal -> man kextcache

PRIMARY OPTIONS     You must specify one of these options to have kextcache do anything:     -m filename, -mkext filename              Create an mkext of the latest supported format.     -mkext1 filename              Create an mkext of format 1, used on Mac OS X versions 10.5 (Leopard) and earlier.     -mkext2 filename              Create an mkext of format 2, used on Mac OS X versions 10.6 (Snow Leopard) and later.     -e, -system-mkext              This option is a convenience to update the startup mkext for the root volume.  Using this option with -local-root updates the startup mkext for a local disk              startup.     -c [filename], -prelinked-kernel [filename]              Create a prelinked kernel.  filename is required unless this option is the last argument.  If this option is the last argument and no filename is given, the              startup prelinked kernel for the system is created.  See -all-loaded.     -system-prelinked-kernel              This option is a convenience to update the prelinked kernel used for startup on the root volume, with all kexts in the system extensions folder that have been              loaded to date.  This option implies -all-loaded.     -system-caches              Rebuild the info caches for system kexts on the root volume.     -u os_volume, -update-volume os_volume              Rebuild out-of-date caches and any helper partitions associated with os_volume.  The mkext is first checked and updated if needed.  Then any modified files that              belong in the helper partitions are updated.  If -force is also specified, all helper partition are fully updated regardless of whether the data in              /System/Library/Caches/com.apple.bootstamps/ suggests that they are up to date.  OS volumes without a /usr/standalone/bootcaches.plist file are ignored (success              is returned).     -U os_volume              Used by the system to update volumes during startup.  Not for use otherwise.

Hope that should do it.

Lastly, good inputs from you here and at projectosx about the ALC 883 audio issue.
Well, yesterday (as you must have read my previous post) I tried the latest VoodooHDA.kext version 0.2.6.
No success. I want my 5.1 speaker output.
Can you help me with that if possible?
I'm frustrated at the Audio {censored purposely} that Apple messes up. Coz it knows, no one can do without sound. Aaargh!

Regards,
Freaky Chokra

#43
Azimutz

Azimutz

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 759 posts
  • Gender:Male
  • Location:Almadan - Pt.
  • Interests:At the moment, OSx86.. In general, music, audiophile, computers.. to much to mention...

... Can you post the link to Zef' comment on rev 87? Which page or topic? Here or other forum?...

Hi @Freaky... better explain you how.
Go to Chameleon repo; select Chameleon, Source tab, Change log; then use the "Go to revision" button on the left to jump to the rev. Simple :P

Will, post more... trying to process your post :) to many hours without sleep...
Hum... better check this again.. been a while since i tested this stuff, need to refresh memory... later.

Edited by Azimutz, 02 May 2010 - 11:27 AM.


#44
nomaj

nomaj

    InsanelyMac Protégé

  • Members
  • PipPip
  • 72 posts

As many of u was waiting for this, let me introduce a new friend to your HDD on its way to vanilla.
I call it The Anv's Chameleon 2. Big thanks to Andy and the VoodooTeam for the hard work on this.
This is 2..0-RC5pre7...


People TNX for the nice work!

Now questions =)

I have lenovo g550 - and i'm relay happy with osx on it.... BUT!
Speedstep and high cpu temperature is what bothers me....

Does this means that with this boot loader i can load just dumped ACPI tables without their modifications?

Right now i dumped my tables and named it with SSDT-(X).aml and saved in EXTRA.
When i boot i see that boot log says that they not found? in boot.plst i have oemSSDT=Yes

when system is up and if in terminal i type ioreg -lw0 | grep CSTInfo
i get something like "CSTInfo" = 19136773
and after that ioreg -lw0 | grep PerformanceStateArray get something....98080000b88800000a0000000a000000230b0000230b0000......

Also i pached AppleLPC.kext with my device id.

In voodoomonitor i see that i have speedstep form 1194MHz to 2189MHz swapping between those values...
also i noticed that my sound is stuttering...

Need help here ... completely new for this stuff... =/

#45
valv

valv

    InsanelyMac Architect

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
  • Gender:Male
  • Location:Unrevealed Area
  • Interests:Operating Systems<br />Networking<br />Security
Dear Chokra,
this is how I edited my boot.plist
Attached File  bootplist.png   73.39KB   278 downloads
try using the wait key to halt the screen and look what kind of tables get loaded then.
btw: I don't mind using the default theme, but for your convenience I'll hope we get some light (merging from ther other branch stated by Azimutz)

Does this means that with this boot loader i can load just dumped ACPI tables without their modifications?

sure u can load modded ones, for this u could use oemSSDT=No, put your modded tables on disk (/Extra) and use DropSSDT=No

Right now i dumped my tables and named it with SSDT-(X).aml and saved in EXTRA.
When i boot i see that boot log says that they not found? in boot.plst i have oemSSDT=Yes
...In voodoomonitor i see that i have speedstep form 1194MHz to 2189MHz swapping between those values...

While using oemSSDT=Yes (those directly from your Bios, not the ones u were placing on disk) u have a fully working speed-step. that means to me, that u don't even need the SSDT-X amls on disk.

also i noticed that my sound is stuttering...

Audio stuttering is another story, I think it's related to IRQs as stated on post 283 from the "DSDT - Vanilla Speedstep - Generic Scope (_PR)" topic

#46
valv

valv

    InsanelyMac Architect

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
  • Gender:Male
  • Location:Unrevealed Area
  • Interests:Operating Systems<br />Networking<br />Security

well people will just post stuff without clearly checking .... to score brownie points ? .. feed their ego ?

so valv, you clearly didnt check what your posting .... and people wonder why this scene is a mess.

have fun :)


People, why do I feel like being persecuted since I made this thing. anyway, Azimutz, bs0d and all the people that disliked this, am not saying like I am the member of the century, am just learning things, and sharing stuff with friends. so don't blame me if the forum get's messy with topics posted by people like me. blame your self for being too lazy to share knowledge. no offense, but many guys where asking for this. btw I don't feel like stealing things from Andy, because I was asking him first.
So if you find some interest on this, let's help improve things together. if you are here just to blame me with your unmeasured sarcasm, then go your way, and shut the ***k up. after all you are so geek, that you need to open your own forum without giving me membership for it. this way you keep it clean. not my problem if it remains as clean as empty though.

sorry for this guys, but I needed to say it, as such people not even thank you for trying, no they permit themselves to feel better then anybody else. and you're talking about ego? whatever..

sorry especially on Chokra and all the people that where asking for help. I was so discouraged with some posts, that I was not able to concentrate on the priorities. I know, Iknow, that's a weakness in it, but am human.. ;)

#47
nomaj

nomaj

    InsanelyMac Protégé

  • Members
  • PipPip
  • 72 posts

While using oemSSDT=Yes (those directly from your Bios, not the ones u were placing on disk) u have a fully working speed-step. that means to me, that u don't even need the SSDT-X amls on disk.
Audio stuttering is another story, I think it's related to IRQs as stated on post 283 from the "DSDT - Vanilla Speedstep - Generic Scope (_PR)" topic

Tnx! for your response!!!

Right... So this actually mean that with DropSSDT=YES and this boot i can load my dupmed non-modified tables?
Did i put ssdt-x.aml in right place?
I have speedstep but my battery life i short right now... and CPU temp goes around 60'. And problem is that i have only two cstate values.

Regards!

#48
Kasakka

Kasakka

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 145 posts
Is there any reason I should use this over AsereBLN 1.1.9? At the moment the only thing that isn't working is sleep (won't wake up), will this help with that?

#49
valv

valv

    InsanelyMac Architect

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
  • Gender:Male
  • Location:Unrevealed Area
  • Interests:Operating Systems<br />Networking<br />Security

Tnx! for your response!

Right... So this actually mean that with DropSSDT=YES and this boot i can load my dupmed non-modified tables?
Did i put ssdt-x.aml in right place?
I have speedstep but my battery life i short right now... and CPU temp goes around 60'. And problem is that i have only two cstate values.

Regards!

ok, I think we are doing messy things here. first off, if u use the DropSSDT=Yes, you will not even load those ssdts from bios. why do u use these?
did u inject your ssdts into dsdt? that's another way of making speed-step working (not my case).
could you post your boot.plist? and/or further explain what tables you've put into /extra. also take a look at mine two posts before.
regarding the place to put your tables in, yes you are using the right place.
for battery consumption and cpu temps it's related to more stuff than the bootloader itself. one thing about temps, is fine tuning your dsdt in a correct way. ssdts, if edited should be corrected. also take a look at the 2006/vista hack for fan device..

Is there any reason I should use this over AsereBLN 1.1.9? At the moment the only thing that isn't working is sleep (won't wake up), will this help with that?

I was never testing aserebln, so I cannot judge it. but heard that it doesn't honor smbios.plist (maybe am wrong. some clearance please).
this one should help you load all kind of acpi tables. concerning sleep, it is dsdt related. hack your table accordingly to what people using same machine as yours are saying. personally I've got to deal with usb hacks, lid etc. you can find big help on the forum for this. if not then we'll maybe take a look into.
btw: if u already edited your dsdt, and sleep is missing only with this bootloader, then try using following keys on boot.plist: ForceHPET=Yes, USBLegacyOff=Yes.. u better take a look into boothelp though

#50
FKA

FKA

    are we there yet?

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,626 posts
  • Gender:Male
it is quite buggy - I'm back with trunk for now.
The option to load, from file, each table is very useful though. :thumbsup_anim:

D

#51
dlach

dlach

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 252 posts
Valv and Andy,

Thanks for this. Valv, I don't blame you for venting. There are a lot of people who like to criticize on these boards and many of them make no contribution. Things are steadily improving but only because people like Andy make changes and people like Valv test them and help get other people to help test.

Keep up the good work both of you and don't let the criticism get to you.

#52
valv

valv

    InsanelyMac Architect

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
  • Gender:Male
  • Location:Unrevealed Area
  • Interests:Operating Systems<br />Networking<br />Security

it is quite buggy - I'm back with trunk for now.
The option to load, from file, each table is very useful though. :)

D

no prob. understand. me playin' with this for a long time, as I never get enough of Andys stuff, have reached the point where I can plainely enjoy this little gem (so to say).
anyway, thank u Formerly for trying this out, and hope it gets to a point that lets u come back to us ;) keep tuned.

Valv and Andy,

Thanks for this. Valv, I don't blame you for venting. There are a lot of people who like to criticize on these boards and many of them make no contribution. Things are steadily improving but only because people like Andy make changes and people like Valv test them and help get other people to help test.

Keep up the good work both of you and don't let the criticism get to you.

Dear,
I really appreciate your post. it even made me smile. It is from people like you that the world gets its hope batteries charged :thumbsup_anim: thank u for this nifty thought, my friend.

#53
Common Sense

Common Sense

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 226 posts

it is quite buggy - I'm back with trunk for now.
The option to load, from file, each table is very useful though. :thumbsup_anim:

D


Can you please share the username, password and url to the svn trunk.

CS

#54
valv

valv

    InsanelyMac Architect

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
  • Gender:Male
  • Location:Unrevealed Area
  • Interests:Operating Systems<br />Networking<br />Security

Can you please share the username, password and url to the svn trunk.

CS

u don't need one.
url: http://forge.voodoop...g/svn/chameleon

#55
Freaky Chokra

Freaky Chokra

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 353 posts
  • Gender:Male

no prob. understand. me playin' with this for a long time, as I never get enough of Andys stuff, have reached the point where I can plainely enjoy this little gem (so to say).
anyway, thank u Formerly for trying this out, and hope it gets to a point that lets u come back to us ;) keep tuned.


Dear,
I really appreciate your post. it even made me smile. It is from people like you that the world gets its hope batteries charged :rolleyes: thank u for this nifty thought, my friend.


You know dear valv? I would partially blame you for bearing the brunt. You should NOT be.
I toljya, like two days back, to ignore bs0d or whoever else. As is this new bootloader requires too much attention and programming skills, something I severely lag behind in. And, that's why I'd like to be the test bed for whoever needs test beds.
So? I mean to say, why even bother with some person/people who just up their number of posts without even contributing to the scene.
I'm happy that I like to be the guinea pig, even though I just have one PC and my work depends on it. I simply love the thrill and recreation, even though it is tiresome at times.

Simply ignore such posts. You have a higher purpose.
You know, I'd just written a step-by-step instruction for my mobo setup from information I'd collected from, like everywhere on the Internet. Even, My lid was blown off one day when I found both my guides copied all over the place, on several blog sites, forums etc... Everywhere!
But, you know what? I'm the last person to be giving advice for calming down. I myself ain't less than Mount Fujiyama! ;) :tomato: Someone had actually prescribed me anger management lessons! :tomato: :hysterical:

Now, I'm truly glad that you are trying your best to make this progress faster, or better at least.
That is why, I'm using all my free vacation time to do as much testing as possible. Soon, my PG Univ calsses will begin then, I'll not get much time. You know...!?

Hope you didn't feel bad. ;) :whistle: Coz you're the :star_smile: here! :rolleyes:

Ok. Now for some new AWESOME update:

I GOT SLEEP WORKING Finally! First time ever! I never ever ever have tried that. Not even in Tiger!
Here's how
But today I re-did my DSDT, put in SpeedStepping, and used the newer SleepEnabler.kext.
And, even with your bootloader, sleep works perfectly... Guess, why it didn't work for Kasakka? :unsure:

And lastly, Just as dlach said about don't let it get to you, and Formerly will be back soon. It is good that he breaks off. That way there will be more people working on different branches, which one day, possibly can be merged by the likes of Formerly, Andy and several others. Just like a developers environment, you know? And we should be ready, up in arms, against the latest news doing the rounds about the next 10.7 tightened :police: OS implementation. :gun:

I accept, that I can't even fathom a single class or structure in the DSDT, doing the dissection of bootloaders is totally Na'avi to me.. LOLZ! ;) :hysterical:

So, well... See you soon... with more updates, and probably fixes. :dev: I'm always here. :pirate2:

Regards,
Freaky Chokra

#56
valv

valv

    InsanelyMac Architect

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
  • Gender:Male
  • Location:Unrevealed Area
  • Interests:Operating Systems<br />Networking<br />Security
:rolleyes: congrats my friend.
btw: I don't mind people criticize me/my work, as long as respect doesn't get missed. it can really become irritating at times...
ok I give up. u are probably right.
and u made a pretty nice work on your guides. keep it up :star_smile:

#57
nomaj

nomaj

    InsanelyMac Protégé

  • Members
  • PipPip
  • 72 posts
Hey Valv

here is my boot
[codebox]<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Timeout</key>
<string>5</string>
<key>Kernel Flags</key>
<string>arch=i386</string>
<key>EthernetBuiltIn</key>
<string>y</string>
<key>GraphicsEnabler</key>
<string>y</string>
<key>Graphics Mode</key>
<string>1366x768x32</string>
<key>DropSSDT</key>
<string>y</string>

</plist>[/codebox]

And here is link for DSDT and SSDTs lenovo g550

regards!

#58
valv

valv

    InsanelyMac Architect

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
  • Gender:Male
  • Location:Unrevealed Area
  • Interests:Operating Systems<br />Networking<br />Security
Dear Nomaj,
I cannot download those. from where did you get ssdts? try not putting 'em on disk, then go with IORegistryExplorer and open the AppleACPIPlatformExpert section. Rights look into ACPI Tables. there u'll find tables that got loaded. give feedback, so we can investigatye further.

Try not using DropSSDT=Yes, and use oemSSDT=Yes instead, to see. try to play a little with these keys, and looking at IORegEx at each modification to understand how they work.

#59
nomaj

nomaj

    InsanelyMac Protégé

  • Members
  • PipPip
  • 72 posts

Dear Nomaj,
I cannot download those. from where did you get ssdts? try not putting 'em on disk, then go with IORegistryExplorer and open the AppleACPIPlatformExpert section. Rights look into ACPI Tables. there u'll find tables that got loaded. give feedback, so we can investigatye further.

Try not using DropSSDT=Yes, and use oemSSDT=Yes instead, to see. try to play a little with these keys, and looking at IORegEx at each modification to understand how they work.

Btw: welcome to Zef & Slice, I really appreciate u being over here guys.


RIGHT! first thank you for your time!

i look on IORegistryExplorer and found that i have loaded:
APIC, BOOT, DBGP, DSDT, FACP, FACS, HPET, MCFG, RSDT, SLIX, SSDT, SSDT-1, SSDT-2

#60
valv

valv

    InsanelyMac Architect

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
  • Gender:Male
  • Location:Unrevealed Area
  • Interests:Operating Systems<br />Networking<br />Security
Are u right now using same keys as before? would u mind making the changes stated on the post above





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