iTTT Posted November 10, 2019 Share Posted November 10, 2019 (edited) 13 hours ago, vit9696 said: @iTTT, I am afraid we did not understand you. Could you be more descriptive on what happens, perhaps make a video or something… Is it the following? 1. You hold CMD+V before starting OpenCore 2. You release it 3. You launch OpenCore Shell 4. A number of v keys appears in shell input, i.e. you see: Shell> vvvvvvvvvvvv If so, I cannot imagine why would you do that, and it feels kind of expected to me? 10 hours ago, Andrey1970 said: I too use apple wired keyboard. Without UsbKbDxe.efi, with Input section: And with PollAppleHotKeys Yes Check the last version OpenCore from master, there were many improvings for keys. hello @vit9696 @Andrey1970 apple wired keyboard A. use UsbKbDxe.efi, PollAppleHotKeys=NO, KeySupport=NO 1. ShowPicker=NO 2. i hold Option button before starting OpenCore 3. release it and lanuch OpeCore Shell 4. if i try to input some words like .. a , b .... then it will auto input and show like Shell > aaaaaaaaaaaaaaaa i/o just Shell > a B. remove UsbKbDxe.efii, PollAppleHotKeys=YES, KeySupport=YES 1. ShowPicker=NO 2. i hold Option button before starting OpenCore 3. system just auto login OSX i/o show up OpenCore Picker. now i use Pavo's OCBuilder to upgrade all my OpenCore files and drivers but still nothing change. thanks. Edited November 10, 2019 by iTTT Link to comment Share on other sites More sharing options...
Addrii30 Posted November 10, 2019 Share Posted November 10, 2019 Hi. How do i setup the CPU frequency and BUS speed in opencore. Because in opencore have ARTfrequency and FSB frequency. My clock is very slow. Link to comment Share on other sites More sharing options...
RMTT Posted November 10, 2019 Share Posted November 10, 2019 Hi,guys, dose anyone know that how to record backlight on OC, it works on clover. I find that the nvram contains backlight variable, but it seems can not be read when booting. Link to comment Share on other sites More sharing options...
jl4c Posted November 10, 2019 Share Posted November 10, 2019 Hello guys What is the way to boot Linux with OC? In my old setup, I boot Linux through Clover using this: Link to comment Share on other sites More sharing options...
Sniki Posted November 10, 2019 Share Posted November 10, 2019 After resetting NVRAM from OpenCore everything starts on russian language ? Linux, macOS Installer, etc How do i reset it as english ? Link to comment Share on other sites More sharing options...
Guest Posted November 10, 2019 Share Posted November 10, 2019 (edited) 22 minutes ago, Sniki said: After resetting NVRAM from OpenCore everything starts on russian language ? Linux, macOS Installer, etc How do i reset it as english ? search in config prev-lang:kbd and put there right value if you use string value it is en:0 if you use data value you have to convert in that format for your info here you can convert value on line: https://codebeautify.org/string-hex-converter Edited November 10, 2019 by Guest add site info Link to comment Share on other sites More sharing options...
mhaeuser Posted November 10, 2019 Share Posted November 10, 2019 @jl4c Yes, check the PDF for "BootEntries" 1 Link to comment Share on other sites More sharing options...
jl4c Posted November 10, 2019 Share Posted November 10, 2019 @Download-Fritz, thank you. My issue is to find correct way to call vmlinuz-linux... Link to comment Share on other sites More sharing options...
Ellybz Posted November 10, 2019 Share Posted November 10, 2019 5 minutes ago, jl4c said: @Download-Fritz, thank you. My issue is to find correct way to call vmlinuz-linux... Also for those interested. Quadruple boot with OpenCore: ( Catalina, Mojave, Windows, Ubuntu ) Smooth experience My path entry for Ubuntu is: PciRoot(0x0)/Pci(0x17,0x0)/Sata(0x2,0xFFFF,0x0)/HD(1,GPT,6764064E-FA1D-4FC7-AEF5-C94FAE30F973,0x28,0x64000)/\EFI\ubuntu\grubx64.efi SCANPOLICY: 2689795 2 Link to comment Share on other sites More sharing options...
jl4c Posted November 10, 2019 Share Posted November 10, 2019 @Ellybz, thank you. The thing is I am not using any bootloader like Grub. Am trying to use OC to boot Linux directly. You can find more information about to boot Linux through Clover in: https://wiki.archlinux.org/index.php/Clover Link to comment Share on other sites More sharing options...
Ellybz Posted November 10, 2019 Share Posted November 10, 2019 (edited) 1 hour ago, jl4c said: @Ellybz, thank you. The thing is I am not using any bootloader like Grub. Am trying to use OC to boot Linux directly. You can find more information about to boot Linux through Clover in: https://wiki.archlinux.org/index.php/Clover Not Sure I understood. Similarly to Clover, You can use OC to boot any OS you'd like. Have you tried the following boot entry ? PciRoot(0x0)/Pci( 0xXX, 0x0 )/XXXX.(0x0xXXXX.0x0)/HD ((1,XXX,,XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX,0xXX,0xXXXXX) /\EFI\Archlinux\vmlinuz-itz You can find the hidden path thru the Clover Bootlog. ( Shell method for linux is incomplete ). Edited November 10, 2019 by Ellybz Link to comment Share on other sites More sharing options...
UefiBooter Posted November 11, 2019 Share Posted November 11, 2019 you can boot most vmlinuz files directly as they usually contain an efi-stub, without the need for grub, if you load ExtFs driver and then reference the file directly and pass appropriate arguments. Link to comment Share on other sites More sharing options...
jl4c Posted November 11, 2019 Share Posted November 11, 2019 @Ellybz, @UefiBooter Thank you, is working now. Link to comment Share on other sites More sharing options...
jsl2000 Posted November 11, 2019 Share Posted November 11, 2019 18 hours ago, Addrii30 said: Hi. How do i setup the CPU frequency and BUS speed in opencore. Because in opencore have ARTfrequency and FSB frequency. My clock is very slow. PlatformInfo->DataHub->ARTFrequency, FSBFrequency 1 Link to comment Share on other sites More sharing options...
jl4c Posted November 11, 2019 Share Posted November 11, 2019 Guys, in config.plist I've renamed the method _Q13 to XQ13 and used this code to map brightness keys: External (\HKNO, FieldUnitObj) External (\_SB.PCI0.LPCB.PS2K, DeviceObj) Method (_Q13, 0, Serialized) { Local0 = HKNO If ((Local0 == 0x07)) { Notify (\_SB.PCI0.LPCB.PS2K, 0x0405) } If ((Local0 == 0x08)) { Notify (\_SB.PCI0.LPCB.PS2K, 0x0406) } If ((Local0 == 0x04)) { Notify (\_SB.PCI0.LPCB.PS2K, 0x046E) } } I wonder how can I make this code only work for Darwin (aka If (_OSI ("Darwin"))) and return to original code (XQ13) for Windows and Linux. Link to comment Share on other sites More sharing options...
hardcorehenry Posted November 11, 2019 Share Posted November 11, 2019 8 hours ago, jl4c said: Guys, in config.plist I've renamed the method _Q13 to XQ13 and used this code to map brightness keys: External (\HKNO, FieldUnitObj) External (\_SB.PCI0.LPCB.PS2K, DeviceObj) Method (_Q13, 0, Serialized) { Local0 = HKNO If ((Local0 == 0x07)) { Notify (\_SB.PCI0.LPCB.PS2K, 0x0405) } If ((Local0 == 0x08)) { Notify (\_SB.PCI0.LPCB.PS2K, 0x0406) } If ((Local0 == 0x04)) { Notify (\_SB.PCI0.LPCB.PS2K, 0x046E) } } I wonder how can I make this code only work for Darwin (aka If (_OSI ("Darwin"))) and return to original code (XQ13) for Windows and Linux. Not sure, you have to test it. DefinitionBlock ("", "SSDT", 2, "HACK", "_Q13", 0x00000000) { External (_SB_.PCI0.LPCB.PS2K, DeviceObj) External (HKNO, FieldUnitObj) Method (_Q13, 0, Serialized) // _Qxx: EC Query, xx=0x00-0xFF { If (_OSI ("Darwin")) { Local0 = HKNO /* External reference */ If ((Local0 == 0x07)) { Notify (\_SB.PCI0.LPCB.PS2K, 0x0405) } If ((Local0 == 0x08)) { Notify (\_SB.PCI0.LPCB.PS2K, 0x0406) } If ((Local0 == 0x04)) { Notify (\_SB.PCI0.LPCB.PS2K, 0x046E) } } } } Link to comment Share on other sites More sharing options...
jl4c Posted November 11, 2019 Share Posted November 11, 2019 (edited) @hardcorehenry, thank you Yes, the code provided was the first one I tried, the problem is that it works for macOS (Darwin) but doesn't return to original code (XQ13) in DSDT for Windows or Linux. So the brightness keys do not work in those operating systems. Edited November 11, 2019 by jl4c Link to comment Share on other sites More sharing options...
Regi Yassin Posted November 11, 2019 Share Posted November 11, 2019 @jl4c why not just use Else { Return (XQ13) } if the original method is not in any scope/devices, if it is, example inside SB (\_SB.XQ13) Link to comment Share on other sites More sharing options...
jl4c Posted November 11, 2019 Share Posted November 11, 2019 (edited) @Regi Yassin, this I tried without success This is the output from Linux: [ 26.811221] atkbd serio0: Unknown key pressed (translated set 2, code 0xab on isa0060/serio0). [ 26.811229] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known. [ 26.817616] ACPI: BIOS _OSI(Darwin) query ignored [ 26.824203] atkbd serio0: Unknown key released (translated set 2, code 0xab on isa0060/serio0). [ 26.824206] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known. Edited November 11, 2019 by jl4c Link to comment Share on other sites More sharing options...
Andrey1970 Posted November 11, 2019 Share Posted November 11, 2019 57 minutes ago, jl4c said: @Regi Yassin, this I tried without success This is the output from Linux: [ 26.811221] atkbd serio0: Unknown key pressed (translated set 2, code 0xab on isa0060/serio0). [ 26.811229] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known. [ 26.817616] ACPI: BIOS _OSI(Darwin) query ignored [ 26.824203] atkbd serio0: Unknown key released (translated set 2, code 0xab on isa0060/serio0). [ 26.824206] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known. Copy to Else original code _Q13 from DSDT. Link to comment Share on other sites More sharing options...
jl4c Posted November 11, 2019 Share Posted November 11, 2019 (edited) @Andrey1970 thank you Yes, that is logic. What am trying to do is precisely avoid to copy the entire code from XQ13 in DSDT to this little SSDT and call the method (XQ13) from it. Edited November 11, 2019 by jl4c Link to comment Share on other sites More sharing options...
Andrey1970 Posted November 11, 2019 Share Posted November 11, 2019 (edited) 42 minutes ago, jl4c said: @Andrey1970 thank you Yes, that is logic. What am trying to do is precisely avoid to copy the entire code from XQ13 in DSDT to this little SSDT and call the method (XQ13) from it. You won't be able to use XQ13 in DSDT, because this method was deactivated by renamings _Q13 to XQ13. Edited November 11, 2019 by Andrey1970 Link to comment Share on other sites More sharing options...
Andrey1970 Posted November 11, 2019 Share Posted November 11, 2019 (edited) @jl4c Your example shows that is really necessary the DarwinOnly=Yes for ACPI Patch. Try to persuade @vit9696. Otherwise only this way: Edited November 11, 2019 by Andrey1970 Link to comment Share on other sites More sharing options...
jl4c Posted November 11, 2019 Share Posted November 11, 2019 (edited) 46 minutes ago, Andrey1970 said: You won't be able to use XQ13 in DSDT, because this method was deactivated by renamings _Q13 to XQ13. I am not sure of this, as an example, you can take the method with which Rehabman fix instant wake on usb ports, where the SSDT returns to the original code (XPRW) in DSDT. DefinitionBlock ("", "SSDT", 2, "HACK", "GPRW", 0x00000000) { External (XPRW, MethodObj) // 2 Arguments Method (GPRW, 2, NotSerialized) { If ((0x0D == Arg0)) { Return (Package (0x02) { 0x0D, Zero }) } Return (XPRW (Arg0, Arg1)) } } Edited November 11, 2019 by jl4c Link to comment Share on other sites More sharing options...
n.d.k Posted November 11, 2019 Share Posted November 11, 2019 14 hours ago, jl4c said: Guys, in config.plist I've renamed the method _Q13 to XQ13 and used this code to map brightness keys: External (\HKNO, FieldUnitObj) External (\_SB.PCI0.LPCB.PS2K, DeviceObj) Method (_Q13, 0, Serialized) { Local0 = HKNO If ((Local0 == 0x07)) { Notify (\_SB.PCI0.LPCB.PS2K, 0x0405) } If ((Local0 == 0x08)) { Notify (\_SB.PCI0.LPCB.PS2K, 0x0406) } If ((Local0 == 0x04)) { Notify (\_SB.PCI0.LPCB.PS2K, 0x046E) } } I wonder how can I make this code only work for Darwin (aka If (_OSI ("Darwin"))) and return to original code (XQ13) for Windows and Linux. Can you just add the a Method for _Q13 instead of renaming XQ13? Link to comment Share on other sites More sharing options...
Recommended Posts