case value already specified dsdt как исправить

Ошибки DSDT и способы их исправления

case value already specified dsdt как исправить case value already specified dsdt как исправить

Result is not used, possible operator timeout will be missed Use of compiler reserved name (_T_1) Not all control paths return a value Effective AML package length is zero syntax error, unexpected PARSEOP_ARG0 Statement is unreachable ResourceTag larger than Field (Tag: 16 bits, Field: 8 bits) ResourceTag larger than Field (Tag: 64 bits, Field: 32 bits) Object does not exist (GOST) Object not found or not accessible from scope Name already exists in scope (\TNOT) _HID suffix must be all hex digits Reserved method should not return a value

Comments

Underbeat: Кто может подсказать, как эту убрать?
local variable is not initialized (local0)

Dr.Prokhor: Привет подскажи как исправить ошибку, object does not exist (\RMKB)

Евгений Алейников: помогите пожалуйста одна осталась
13253 Warning Unknown reserved name (_CFG)

Wagner MEDEIROS: Fantastic! How I fix parseop internet error? Thx.

Контр Адмирал: цукме

Murad Akhmedov: Здравствуйте. Ни как не могу завершить свой DSDT, ноутбук HP PAVILION n058sr.Вы не встречали warning Q80 и Q81 Temperature up и down?Добавил в конце этих методов Return(Zero).Но потом Появился другой Warning Q91, который возвращает либо 0x80 либо 0x81. Его вообще не получилось исправить.
Если я пришлю свой DSDT файл не могли бы вы посмотреть его? Ну и на ютуб можно было бы выложить 🙂

RepublicanMug: Раскрыл pci шину на ноутбуке с вашим гайдом.
Спасибо.

Serj anonim: Мужик большое спасибо тебе, очень выручил этим видео.

I need your help please, to solve the audio, in my laptop, I install captitan 10.11.5 and my specifications are:

Dell Inspiron 14 5000 series (5458)

— Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz

— Intel HD Graphics 5500

Intel Dual Band Wireless-AC 3160 AC HMC WiFi Adapter

Realtek RTL8139/810x Fast Ethernet Adapter

Realtek ALC255 @ Intel Wildcat Point-LP PCH High defi.

12011 6126 syntax error, unexpected PARSEOP_ARG0

How can i fix this,
And enable the audio completely.

Please help me, my dear friend.

I would thank you infinitely
God bless you

Игорь Сергеевич: Спасибо чувак. Не знал что скобки полсвечиваются.

Умный дом Pro:Mobile: Привет, посмотрел твое видео про исправление ошибок в DSDT. Спасибо. Но не могу справится со своим DSDT. Можешь помочь? Если да скину тебе файлы. Спасибо.

Алексей Демшин: Приветствую подскажи знаешь что нибудь,
не могу найти никакой информации по предупреждению
Statement is unreachable

pavlinux: Device (SBRG)
<
Name (_ADR, 0x00140003) // _ADR: Address
OperationRegion (LPCS, PCI_Config, Zero, 0x0100)
Field (LPCS, AnyAcc, NoLock, Preserve)
<
Offset (0x40),
, 7,
ECEN, 1,
Offset (0xA4),
ECAD, 16
>

Name (ECIN, Zero)
Mutex (ECMU, 0x00)
Mutex (MLMU, 0x00)
If (ECEN)
<
ECIN = (ECAD & 0xFFFE)
OperationRegion (ECBP, SystemIO, ECIN, 0x02)
Field (ECBP, ByteAcc, NoLock, Preserve)
<
BPIO, 8
>

pavlinux: Автор, откуда уверенность, что все методы возвращают Zero? Откуда уверенность, что Byte на Word можно менять?

KIDS FAMILY: 3526 Warning ResourceTag smaller than Field (Tag: 1 bit, Field: 8 bits) привет помоги исправить вот эту ошибку я загуглил ничего не нашел полезного

Юрий Иванов: Здравствуйте, можете помочь через скайп?

Serg XYZ: Not a control method, cannot invoke (PS0X is a Untyped). Помогите, пожалуйста.

Kolya mehanik: очень полезное видео! спасибо)

Video on this topic

case value already specified dsdt как исправить

Редактирование и патч DSDT через MaciASL – Урок 2

case value already specified dsdt как исправить

Патч и редактирование DSDT

case value already specified dsdt как исправить

Три способа как извлечь DSDT – Hackintosh MaciASL Clover Ubuntu Patchmatic

case value already specified dsdt как исправить

Три способа как извлечь DSDT – Hackintosh MaciASL www.hackintosh-amd.ru https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/

Исправление ошибок DSDT – Hackintosh

case value already specified dsdt как исправить

Исправление ошибок DSDT – Hackintosh www.hackintosh-intel.ru www.hackintosh-amd.ru DSDT Editor http://dfiles.ru/files/ablku96gd.

Ошибки DSDT и способы их исправления

case value already specified dsdt как исправить

филиалы: Москва | Санкт-Петербург | Екатеринбург | Нижний Новгород | Самара | Уфа | Челябинск | Тюмень | Новосибирск | Владивосток | Хабаровск

Источник

[GUIDE] Extract and Fix DSDT MSI Z77A-G43

case value already specified dsdt как исправить

Hey, I just fixed all my compilation errors on the MSI Z77A-G43 (BIOS v2.4) and I thought I could share my edits here if anybody else runs into the same troubles. So this is a small guide on how to get your DSDT compiled without any errors or warnings and apply some additional patches to get a nice, clean and more «Apple like» DSDT to start with.

What I’m going to explain:

— Extract your DSDT
— Fix compilation errors
— Name your devices more «Apple like»
— Add DGTP method

— A DSDT Editor (I recommend DSDT Editor)

Note that this whole procedure could also be done a little easier with DSDT auto patching for some fixes but doing it manually you learn a lot more and get used to patching DSDT by yourself.

So let’s get started:

1. Patch your BIOS to latest version (v2.4)

This is very important because in the worst case scenario you could damage your motherboard. This guide is for BIOS v2.4, so you have to get exactly that same version. It could probably work for earlier or later versions, but your are on your own doing this.

2. Extract your DSDT

This is simple: Open up DSDT editor and choose «File > Extract DSDT«.

3. Fix compilation errors

In DSDT Editor choose «IASL > Compile«, a window should pop up showing a bunch of errors and warnings:
compile-errors.png
You can see that it tells you we have errors, warnings and remarks. There should be only 1 error and we can fix it right away with DSDT Editor. Simply click on «Fix errors» and it now should say «0 Errors».

But we still have left a lot of warnings and remarks that have to be fixed, so let’s move on. We will go through this step by step. You have to double click on each error message and it takes you to the location where the error occured.

2226 Warning ResourceTag larger than Field (Tag: 64 bits, Field: 32 bits)

Источник

Just another weblog about Linux

Le grande dsdt error central

И этим все сказано.

Access width of Field Unit extends beyond region limit

This error consists on that the limit of data is less that the quantity of the same

Argument count mismatch error

If we look inside the DSDT.dsl, we can verify that the error is here:

There should be no code after these lines:

By simply erasing those two lines, you should be able to try and compile again, and see if it generates a new error.

Called method returns no value ^
This error shows itself like this: (may appear different)

You have to look for the Method itself, you will find itВґs a empty method:

Just add a retun to it and the compiler will feel happy.

Internal compiler error ^ (null Op pointer)

The incorrect part of the code is:

It can be fixed by these changes:

local variable is not initialized

If we revise the code, and look at line 408 we find the following error:

How do we know what in the DSDT.dsl needs fixing? If you search for “Store” in the menu, and look just below the error, you will see something like this:

The first value of “Store” is a hexadecimal value, and the second, a variable. There is the error. In the code (Local0,local0), it is supposed that the first value is a hexadecimal, not a variable. we could add 0x00 or also zero, in a format like this:

Here we have the fix for gigabytes that have a similar problem:

Note that Gigabyte puts Local0 in the quotes to fix the error. Then we should have initialized everything that the compiler asks us.

Maximum error count (200) exceeded

The problem here is that the compiler doesn’t like the following:

It can be fixed by using this code:

Then we must find and replace every occurrence in the code that has ^CPU0 for _PR.CPU0 to skip this error:

Method local variable is not initialized

In this case, you must change all “Local1” in that line to “Local2” (Only in this case, in others it could be another error.)

Method local variable is not initialized (Local0)

This error is produced because a variable tries to store it’s value in itself.

Local0 enclosed with “” :

Missing ResourceSource string

To fix this error we must eliminate the value of 0x00 from all erroneous entries:

Search for all the lines and repair

must return a value (_WAK)

At the end of the _WAK method, this must be added:

Not all control paths return a value

In this case, the solution consists on using the returned value of \ECFL and then add it in place of “Debug”

Not all control paths return a value

In this other case, a value of this kind must be returned at the end of the method:

The fix is something like:

Object does not exist ^ (\LOR)

Object does not exist ^ (_PR.C000)

In this error, there is missing code that needs to be added to the beginning.

This is the code to be added:

Just below the header of the DSDT, like this:

Operation Region requires ByteAcc

What is happening here? Well This:

The compiler tells us that Anyacc isn’t correct, it must be ByteAcc, so that way we change this:

Is similar to the error above, of the uninitialized variable, does it sound familiar to you all?

We fix it like this:

Possible operator timeout is ignored

In this error, the value of MUTE must be changed from 0xXXXX to 0xFFFF

it must be replaced where ever it gives error.

Reserved method has too few arguments

This error is solved by changing:

Reserved method has too many arguments

In this error you must change this:

Reserved method must return a value (_PSR)

Here the problem is that it is not detected the change from battery/AC

Extracted from the ACPI specifications:

Returns the current power source devices. Used for the AC adapter and is located under the AC adapter

object in name space. Used to determine if system is running off the AC adapter.

0x00000000 – Off-line

0x00000001 – On-line

This is the erroneous code:

And here the solution:

Reserved method must return a value (_STA)

This is the original code:

Result is not used, operator has no effect

It can be fixed changing:

Result is not used, operator has no effect ^

The error is produced because “Shiftright” stores no value:

it must be changed to this :

String must be entirely alphanumeric

Remove the “*” character

too many arguments

Solution: eliminate the arguments:

this was a simple one 🙂

On this case the compiler is complaining about the use of “-” on a specified method name.

Just change _BCG to BCG and the compiler will be happy again.

Use of reserved word ^ (_T_0)

Источник

Помогите починить dsdt

Помогите собрать dsdt без ошибок. Сам уже замучился разбираться в этом asl, жутко странный язык, на русском ничего по нему не нашел, а по-английски не готов читать. Ошибки какие-то не типичные. Также не понятно, как asus собрал dsdt интеловским компилятором 2012 года, если у меня он выдает 5 ошибок (может декомпилируется с ошибками?).

здесь уже было достаточно тем по DSDT, используй поиск

Не особо они помогают. Вы не в курсе ssdt тоже нужно править для исправления проблем (пытаюсь решить проблемы с гибернацией и предупреждениями в dmesg)?

Я вкурсе что всем лень возвращаться к этой теме. См. изъяснения init6.

case value already specified dsdt как исправить

Сначала из жлобства купить асус, а потом ныть на форумах, что асус — дерьмо. Это типично для среднестатистического посетителя этого ресурса.

case value already specified dsdt как исправить

нет, ssdt править (для заявленных проблем) — не нужно.

case value already specified dsdt как исправить

пытаюсь решить проблемы с гибернацией и предупреждениями в dmesg

Если всё остальное работает, то предупреждения просто игнорируй.

Гибернация же унылое ненужно говно. Просто научись выключать свой ноут. С сегодняшними SSD загрузка к полностью работоспособному окружению проходит очень оперативно. И при этом не нужно юзать недоработанное поделие и еще и свопа ему выделять.

case value already specified dsdt как исправить

Тупица открой для себя эпичнейшие баги dsdt у apple! Некоторые модели есть так асус будет героем на фоне яббла.

Мало того в данном вопросе производитель и/или цена изделия не играет никакой роли ибо чаще как повезет.

юзеры апла заморочились и создали приложение для фикса типичных багов dsdt 😉

init6? Что или кто это?

Гибернация же унылое ненужно говно.

Не согласен. Лично для меня удобная и нужная (особенно с hdd). Предлагаю больше не спорить на эту тему.

Написал в поддержку асуса с просьбой обновить биос и исправить ошибки в dsdt. Как думаете что ответят?

нет, ssdt править (для заявленных проблем) — не нужно.

юзер, собрал типичные ошибки решения траблов dsdt в кучу, за что ему благодарочка
не писал его юзером, т.к. это его кастанет, а ему тоже лень разбираться в чужих проблемах
изпользуй поиск, я ж намекнул в своем первом посте

Дааа. Эти ошибки кое-как убрал появилось 3 новых (которые тоже исправил) и 109 warnings, 205 Remarks, 196 Optimizations, 8 Constants Folded. Предупреждения от dmesg никуда не делись.

Что-то править без малейшего понимания что я делаю, желания нет. Может кто знает какие либо статьи по этому языку (asl). Желательно на русском, но на английском не сильно раздутые тоже пойдут.

Спасибо, посмотрю. (Посмотрите мой пост выше)

case value already specified dsdt как исправить

т.к. это его кастанет, а ему тоже лень разбираться в чужих проблемах

в результате меня всё-равно кастануло но по тэгу.

опиши для начала свои проблемы по пунктам, чтоб два раза не перечитывать
типо
* жму кнопку такую-то и не уходит в сон
* и т.д.
(ну т.е. я счтаю что передал тебя в руки мастера, если только он спать не ушел)

Главная проблема одна: гибернация работает не стабильно. Когда система относительно свежая (перезагрузка была недавно, много программ не запускал) система может восстановиться после гибернации нормально, но если я открываю смотреть фильм, копаюсь в файловом менеджере и открываю браузер с десяткой вкладок, то зависание при восстановлении обеспечено. После добавления к параметрам ядра

Dmesg при штатной загрузке показывает несколько конфликтов в озу, связанных с apic. (было на 4 больше, пока не отключил дискретную видеокарту).

case value already specified dsdt как исправить

case value already specified dsdt как исправитьSimarc

Так вот а с тем что ты дал:

А это ^ говорит о том что либо dsdt снят криво, либо asus таки полный asnus и dsdt настолько упорот что. в общем ну ты понял.

case value already specified dsdt как исправить

Продолжаем. продолжать. Как это делается по уму. Сперва делаем небольшой файлик:

Затем повторяем декомпиляцию но уже из *.dat:

Штука в том что вон ^ там выше где было Compilation complete. 201 Errors, 0 Warnings, 0 Remarks, 0 Optimizations так вот эта строчка намекает на то DSDT неполный.

Теперь об этом предупреждает и сам iasl собственно вон там Additional ACPI tables may be required to properly disassemble the code. The resulting disassembler output file may not compile because the disassembler did not know how many arguments to assign to the unresolved methods.

В любом случае чтоб что-то сказать нужны все ssdt потому-что они могут отличатся.

case value already specified dsdt как исправить

Исправил только dsdt.dsl

Дальше неплохо бы исправлять ssdt*.dsl там тоже ад.

case value already specified dsdt как исправитьSimarc как заберешь отпишись.

Недавно появилась тема http://archlinux.org.ru/forum/topic/16311 с точно такой же проблемой как у меня, тоже asus (но другой очень похожий), тоже нет гибернации, dmesg ошибки, конфликты. Причем ошибки похожи вплоть до адресов конфликтов.

case value already specified dsdt как исправить

У твоей железки образцово показательное уг в acpi причем не только в dsdt но и в ssdt. К то-же еще и в зависимости от того как именно снимать dsdt и результат, как ты мог сам убедится, тоже будет разный.

На твоём месте я бы добил до конца ещё и все ssdt. Зачем? Ну во первых ошибок в ssdt у тебя там не меньше и решать их надо таким же макаром как и в случае dsdt а как быть дальше вон почитай к примеру там и всё поймешь. Во вторых точнее вычисляй и локализуй свои проблемы так можно быстрее найти именно тот баг который за это ответственен. Как это сделать?

Скрипты там Ими можно сгенерировать дерево методов по твоим таблицам. Дальше тупо в спецификации acpi есть описание каждого элемента. Ну к примеру _PR_ это проц. Так вот вспоминаешь что конкретно у тебя не работает либо работает не так как обязано. По спекам acpi находишь как оно обзывается в dsdt/ssdt ищешь этот элемент в дереве методов. И вот ты локализовал место поисков в тоннах текстов dsdt/ssdt.

Это самое забавное. Чаще гораздо проще найти работающий кусок и разобраться как же оно должно быть на самом деле.

И да вообще acpi в linux тот ещё лагодром. Так что не жди что вот так просто сразу всё исправится и станет просто хорошо. В acpi есть костыли на разных уровнях от BIOS/EFI, ядра до юзерспейса и глючить может в разных местах. И баги соответственно тоже могут быть от абсолютно разного да и ещё и от сочетаний этого разного в разных местах.

Источник

Правка dsdt

case value already specified dsdt как исправить

Доброго времени.
Решил попробовать поравить свои dsdt-таблицы.
Выполняю все по мануалу из вики.

Input file dsdt.dat, Length 0x10C73 (68723) bytes
ACPI: DSDT 0x0000000000000000 010C73 (v02 ACRSYS ACRPRDCT 00000000 1025 00040000)
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Found 15 external control methods, reparsing with new information
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

iASL Warning: There were 15 external control methods found during
disassembly, but only 0 were resolved (15 unresolved). Additional
ACPI tables may be required to properly disassemble the code. This
resulting disassembler output file may not compile because the
disassembler did not know how many arguments to assign to the
unresolved methods. Note: SSDTs can be dynamically loaded at
runtime and may or may not be available via the host OS.

Создается dsdt.dsl с предупреждениями (что и написано выше), препятствующими диассемблированию.

case value already specified dsdt как исправить

iASL Warning: There were 15 external control methods found during
disassembly, but only 8 were resolved (7 unresolved).

case value already specified dsdt как исправить

case value already specified dsdt как исправить

iASL: Segmentation Fault
iASL: Terminating

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *