Syntax error unexpected integer number

Thanks, installed altera modelsim and rewrote quartus eda tools options.

You mean error file? I suppose modelsim creates this. 

 

// Copyright (C) 1991-2013 Altera Corporation
// Your use of Altera Corporation's design tools, logic functions
// and other software and tools, and its AMPP partner logic
// functions, and any output files from any of the foregoing
// (including device programming or simulation files), and any
// associated documentation or information are expressly subject
// to the terms and conditions of the Altera Program License
// Subscription Agreement, Altera MegaCore Function License
// Agreement, or other applicable license agreement, including,
// without limitation, that your use is for the sole purpose of
// programming logic devices manufactured by Altera and sold by
// Altera or its authorized distributors. Please refer to the
// applicable agreement for further details.
// *****************************************************************************
// This file contains a Verilog test bench with test vectors .The test vectors
// are exported from a vector file in the Quartus Waveform Editor and apply to
// the top level entity of the current Quartus project .The user can use this
// testbench to simulate his design using a third-party simulation tool .
// *****************************************************************************
// Generated on "12/17/2013 11:18:31"

// Verilog Self-Checking Test Bench (with test vectors) for design : freq_dev
//
// Simulation tool : 3rd Party
//
`timescale 1 ps/ 1 ps
module freq_dev_vlg_sample_tst(
input,
sampler_tx
);
input input;
output sampler_tx;
reg sample;
time current_time;
always @(input)

begin
if ($realtime > 0)
begin
if ($realtime == 0 || $realtime != current_time)
begin
if (sample === 1'bx)
sample = 0;
else
sample = ~sample;
end
current_time = $realtime;
end
end
assign sampler_tx = sample;
endmodule
module freq_dev_vlg_check_tst (
output,
sampler_rx
);
input output;
input sampler_rx;
reg output_expected;
reg output_prev;
reg output_expected_prev;
reg last_output_exp;
reg trigger;
integer i;
integer nummismatches;
reg on_first_change ;
initial
begin
trigger = 0;
i = 0;
nummismatches = 0;
on_first_change = 1'b1;
end
// update real /o prevs
always @(trigger)
begin
output_prev = output;
end
// update expected /o prevs
always @(trigger)
begin
output_expected_prev = output_expected;
end
// expected output
initial
begin
output_expected = 1'bX;
end
// generate trigger
always @(output_expected or output)
begin
trigger <= ~trigger;
end
always @(posedge sampler_rx or negedge sampler_rx)
begin
`ifdef debug_tbench
$display("Scanning pattern %d @time = %t",i,$realtime );
i = i + 1;
$display("| expected output = %b | ",output_expected_prev);
$display("| real output = %b | ",output_prev);
`endif
if (
( output_expected_prev !== 1'bx ) && ( output_prev !== output_expected_prev )
&& ((output_expected_prev !== last_output_exp) ||
on_first_change)
)
begin
$display ("ERROR! Vector Mismatch for output port output :: @time = %t", $realtime);
$display (" Expected value = %b", output_expected_prev);
$display (" Real value = %b", output_prev);
nummismatches = nummismatches + 1;
on_first_change = 1'b0;
last_output_exp = output_expected_prev;
end
trigger <= ~trigger;
end
initial
begin
$timeformat(-12,3," ps",6);
# 1000000;
if (nummismatches > 0)
$display ("%d mismatched vectors : Simulation failed !",nummismatches);
else
$display ("Simulation passed !");
$finish;
end
endmodule
module freq_dev_vlg_vec_tst();
// constants
// general purpose registers
reg input;
// wires
wire output;
wire sampler;
// assign statements (if any)
freq_dev i1 (
// port map - connection between master ports and signals/registers
.input (input),
.output (output)
);
// input
always
begin
input = 1'b0;
input =# 25000 1'b1;
# 25000;
end
freq_dev_vlg_sample_tst tb_sample (
.input(input),
.sampler_tx(sampler)
);
freq_dev_vlg_check_tst tb_out(
.output(output),
.sampler_rx(sampler)
);
endmodule

Содержание

  1. Как исправить «Uncaught SyntaxError: Unexpected number», появляющийся только в Chrome?
  2. Syntax error unexpected number что
  3. Syntax error, unexpected integer number, expecting identifier

Как исправить «Uncaught SyntaxError: Unexpected number», появляющийся только в Chrome?

Я пытаюсь запустить сайт Django, используя Gunicorn (с компоновкой докеров). В Firefox все работает, как и ожидалось, но Chrome сообщает об ошибке «Uncaught SyntaxError: Unexpected number» для случайных скриптов .js. Если я перезагружаю страницу, скрипты загружаются без ошибок.

Итак, сначала у меня была аналогичная проблема, так как Chrome случайным образом не загружал скрипты. Я решил это, изменив порт в Gunicorn с 8080 на 80. Однако, как только я это сделал, скрипты начали загружаться, но также начали выдавать ошибку «Неожиданный номер».

Я протестировал его как на Chromium (Ubuntu 18), так и на Google Chrome (Windows), запустив веб-сайт локально и с сервера.

Кроме того, я заметил следующее:

1) файлы, которые выдают ошибки, редко бывают одинаковыми, поэтому в одном окне скрипт example1.js может работать, а example2.js выдает ошибку, а в другом окне example3.js выдает ошибку, а остальные работают.

2) если я перезагружу страницу, ни один файл .js не выдаст ошибку.

3) каждая ошибка указывает на то, что проблема в строке 5, например: «Uncaught SyntaxError: Unexpected number jquery-3.2.1.min.js:5».

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

Откройте инструменты разработчика Chrome и нажмите на информацию об ошибке в консоли, чтобы увидеть, какой код на самом деле получил Chrome.

, что возникла проблема с сетью, из-за которой Chrome на самом деле не получает ожидаемые данные.

Спасибо за предложение Эрик. Мне удалось решить проблему, и вы были правы. Как только я добавил nginx в конфигурацию, у меня не было проблем с загрузкой статических файлов. Я не совсем уверен, где именно была проблема, но это решило ее.

Источник

Syntax error unexpected number что

Success! Subscription added.

Success! Subscription removed.

Sorry, you must verify to complete this action. Please click the verification link in your email. You may re-send via your profile.

  • Intel Communities
  • Product Support Forums
  • FPGA
  • Intel® Quartus® Prime Software
  • Re: Syntax error, unexpected integer number, expecting identifier

Syntax error, unexpected integer number, expecting identifier

  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

Hello there. I am starter at FPGA. I’ve advanced digital design course at my M.Sc class. Lecturer give us a homework about on Quartus 2,creating schematic designs, graphical test vector and simulate it, simulating it via Modelsim at impelement designs to DE2 board and obversing the results. There are my schematic design, pin assigments and when I tried to make a functional simulating at waveform graph I got an error. Don’t get confuse with the name of project. At firs I intended to design a 2×1 Mux with logic gates but then I just designed a simple circuit like that. What is my problem?

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

the problem is that you named the project 21mux. To work in modelsim it has to convert the schematic to an HDL (VHDL or verilog), which appears to be verilog in your case. Neither HDL allow names to start with numbers.

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

I am very grateful to you Sir. Thanks for help. I was near to destroy my laptop because of this error. I open new project and named it as » multip » and it worked.

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

I’m having relative problem, the error text is:

# ** Error: Waveform.vwf.vt(30): near «,»: syntax error, unexpected ‘,’# ** Error: C:/modeltech64_10.1c/win64/vlog failed.# Executing ONERROR command at macro ./freq.do line 4

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

You didnt show the code with the error.

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

You mean error file? I suppose modelsim creates this.

// Copyright (C) 1991-2013 Altera Corporation // Your use of Altera Corporation’s design tools, logic functions // and other software and tools, and its AMPP partner logic // functions, and any output files from any of the foregoing // (including device programming or simulation files), and any // associated documentation or information are expressly subject // to the terms and conditions of the Altera Program License // Subscription Agreement, Altera MegaCore Function License // Agreement, or other applicable license agreement, including, // without limitation, that your use is for the sole purpose of // programming logic devices manufactured by Altera and sold by // Altera or its authorized distributors. Please refer to the // applicable agreement for further details. // ***************************************************************************** // This file contains a Verilog test bench with test vectors .The test vectors // are exported from a vector file in the Quartus Waveform Editor and apply to // the top level entity of the current Quartus project .The user can use this // testbench to simulate his design using a third-party simulation tool . // ***************************************************************************** // Generated on «12/17/2013 11:18:31» // Verilog Self-Checking Test Bench (with test vectors) for design : freq_dev // // Simulation tool : 3rd Party // `timescale 1 ps/ 1 ps module freq_dev_vlg_sample_tst( input, sampler_tx ); input input; output sampler_tx; reg sample; time current_time; always @(input) begin if ($realtime > 0) begin if ($realtime == 0 || $realtime != current_time) begin if (sample === 1’bx) sample = 0; else sample =

sample; end current_time = $realtime; end end assign sampler_tx = sample; endmodule module freq_dev_vlg_check_tst ( output, sampler_rx ); input output; input sampler_rx; reg output_expected; reg output_prev; reg output_expected_prev; reg last_output_exp; reg trigger; integer i; integer nummismatches; reg on_first_change ; initial begin trigger = 0; i = 0; nummismatches = 0; on_first_change = 1’b1; end // update real /o prevs always @(trigger) begin output_prev = output; end // update expected /o prevs always @(trigger) begin output_expected_prev = output_expected; end // expected output initial begin output_expected = 1’bX; end // generate trigger always @(output_expected or output) begin trigger 0) $display («%d mismatched vectors : Simulation failed !»,nummismatches); else $display («Simulation passed !»); $finish; end endmodule module freq_dev_vlg_vec_tst(); // constants // general purpose registers reg input; // wires wire output; wire sampler; // assign statements (if any) freq_dev i1 ( // port map — connection between master ports and signals/registers .input (input), .output (output) ); // input always begin input = 1’b0; input =# 25000 1’b1; # 25000; end freq_dev_vlg_sample_tst tb_sample ( .input(input), .sampler_tx(sampler) ); freq_dev_vlg_check_tst tb_out( .output(output), .sampler_rx(sampler) ); endmodule

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

You cannot have an input called input — it is a reserved word in verilog.

Источник

FFPowerMan

1999 / 1118 / 473

Регистрация: 11.10.2018

Сообщений: 5,707

1

03.10.2019, 14:58. Показов 1683. Ответов 7

Метки asm, avr (Все метки)


Здравствуйте. Почему не компилируется эта строка?

Assembler
1
adiw r25:24, 1

Эту строку я взял из справки Студии.
AVR Studio 4.19 для AT90USB162.
Остальные строки нормальные.
Сообщение компилятора:
(Тут путь)SeriePolosi.asm(46): error: syntax error, unexpected INTEGER, expecting REGISTER or REGDEF



0



Kukuxumushu

1624 / 809 / 146

Регистрация: 13.06.2015

Сообщений: 3,262

03.10.2019, 15:05

2

FFPowerMan, надо только младший регистр указывать:

Assembler
1
adiw r24,1

Не по теме:

В документации Atmel столько ошибок и опечаток, что не удивлюсь, если несколько инженеров свели счёты с жизнью, не понимая причину неработоспособности их разработок.



0



liv

Модератор

Эксперт CЭксперт С++

5107 / 4538 / 854

Регистрация: 07.10.2015

Сообщений: 9,462

03.10.2019, 16:06

3

Цитата
Сообщение от FFPowerMan
Посмотреть сообщение

adiw r25:24, 1

Надо:

Assembler
1
adiw r25:r24, 1

Цитата
Сообщение от Kukuxumushu
Посмотреть сообщение

надо только младший регистр указывать

неверное утверждение. Можно и так, и так.

Добавлено через 1 минуту
А для X, Y, Z можно и так:

Assembler
1
adiw Z, 1

Добавлено через 5 минут
Посмотрел справку. Действительно, в наличии описка…



1



1999 / 1118 / 473

Регистрация: 11.10.2018

Сообщений: 5,707

03.10.2019, 16:16

 [ТС]

4

А сравнить можно сразу по паре регистров. Например, X сравнить c Z?



0



liv

Модератор

Эксперт CЭксперт С++

5107 / 4538 / 854

Регистрация: 07.10.2015

Сообщений: 9,462

03.10.2019, 16:18

5

FFPowerMan, чего ж нельзя? Легко!

Assembler
1
2
cp XL, ZL
cpc XH, ZH



0



1624 / 809 / 146

Регистрация: 13.06.2015

Сообщений: 3,262

03.10.2019, 16:18

6

Цитата
Сообщение от FFPowerMan
Посмотреть сообщение

А сравнить можно сразу по паре регистров.

одной командой нет



0



Модератор

Эксперт CЭксперт С++

5107 / 4538 / 854

Регистрация: 07.10.2015

Сообщений: 9,462

03.10.2019, 16:19

7

FFPowerMan, разумеется, одной командой нельзя… Контроллер-то 8-битный. А парой команд — запросто



0



1999 / 1118 / 473

Регистрация: 11.10.2018

Сообщений: 5,707

03.10.2019, 18:21

 [ТС]

8

Спасибо.



0



  • #1

Patched DSDT.dsl with MacIASL to fix Brightness keys, after Rehabmans guide. found some others with similar problem, but i didn’t get the dsdt native, it was already patched before, and other patches already worked. is there any other reason or solution to fix the error?
error pops out two times for ‘Notify(PNP0303, 0x0405)’ and ‘Notify(PNP0303, 0x0406)

Code:

            Method (_Q14, 0, NotSerialized)  // _Qxx: EC Query
            {
                
                // Brightness Up
                Notify(PNP0303, 0x0406)




            }


            Method (_Q15, 0, NotSerialized)  // _Qxx: EC Query
            {
                
                // Brightness Down
                Notify(PNP0303, 0x0405)




            }

regards

  • #2

Thinkpad E540 syntax error, unexpected_integer, expecting ‘,’

Patched DSDT.dsl with MacIASL to fix Brightness keys, after Rehabmans guide. found some others with similar problem, but i didn’t get the dsdt native, it was already patched before, and other patches already worked. is there any other reason or solution to fix the error?
error pops out two times for ‘Notify(PNP0303, 0x0405)’ and ‘Notify(PNP0303, 0x0406)

Code:

            Method (_Q14, 0, NotSerialized)  // _Qxx: EC Query
            {
                
                // Brightness Up
                Notify(PNP0303, 0x0406)




            }


            Method (_Q15, 0, NotSerialized)  // _Qxx: EC Query
            {
                
                // Brightness Down
                Notify(PNP0303, 0x0405)




            }

regards

Your patch is wrong.

See guide: http://www.tonymacx86.com/el-capita…ching-dsdt-ssdt-laptop-backlight-control.html

  • #3

Thinkpad E540 syntax error, unexpected_integer, expecting ‘,’

I Just Changed The Device Id of The Keyboard and my ec Key id. It is The wrong Form?

  • #4

Thinkpad E540 syntax error, unexpected_integer, expecting ‘,’

I Just Changed The Device Id of The Keyboard and my ec Key id. It is The wrong Form?

Your keyboard cannot be at PNP0303. ACPI identifiers are limited to 4 characters.

  • #5

Thinkpad E540 syntax error, unexpected_integer, expecting ‘,’

yes okay makes sense. Just found out right HID = KBD
now no errors
after install to efi part
reboot
failed
nothing happens
any idea?

  • #6

Thinkpad E540 syntax error, unexpected_integer, expecting ‘,’

yes okay makes sense. Just found out right HID = KBD
now no errors
after install to efi part
reboot
failed
nothing happens
any idea?

What do you mean by «failed» and «nothing happens»?

Are you unable to boot?

If you can boot, please describe your problem clearly… And…

Download patchmatic: https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-patchmatic-2015-0107.zip
Extract the ‘patchmatic’ binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,

Code:

if [ -d ~/Downloads/RehabMan ]; then rm -R ~/Downloads/RehabMan; fi
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

Note: It is easier if you use copy/paste instead of typing the commands manually.

Post contents of Downloads/RehabMan directory (as ZIP).

Also, post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

And output from:

Code:

kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
kextstat|grep -y applelpc

Also, post EFI/Clover folder (press F4 at main Clover screen before collecting). Please eliminate ‘themes’ directory, especially if you have an overabundance of themes installed.

Also post output of:

Code:

sudo touch /System/Library/Extensions && sudo kextcache -u /

  • #7

Thinkpad E540 syntax error, unexpected_integer, expecting ‘,’

No it boots, but Brightness keys won’t work.

first
Patchmatic

Code:

[FONT=Menlo]Last login: Tue Jan  5 22:48:48 on console[/FONT]
[FONT=Menlo]LR-MacBook-Pro:~ leon.rulle$ if [ -d ~/Downloads/RehabMan ]; then rm -R ~/Downloads/RehabMan; fi[/FONT]
[FONT=Menlo]LR-MacBook-Pro:~ leon.rulle$ mkdir ~/Downloads/RehabMan[/FONT]
[FONT=Menlo]LR-MacBook-Pro:~ leon.rulle$ cd ~/Downloads/RehabMan[/FONT]
[FONT=Menlo]LR-MacBook-Pro:RehabMan leon.rulle$ patchmatic -extract
[/FONT]

second

Code:

[FONT=Menlo]LR-MacBook-Pro:RehabMan leon.rulle$ kextstat|grep -y acpiplat[/FONT]
[FONT=Menlo]   13    2 0xffffff7f828b7000 0x60000    0x60000    com.apple.driver.AppleACPIPlatform (4.0) 295F7A91-2DF7-3FFE-9550-A0C1A6F9D575 <12 11 7 6 5 4 3 1>[/FONT]
[FONT=Menlo]LR-MacBook-Pro:RehabMan leon.rulle$ kextstat|grep -y appleintelcpu[/FONT]
[FONT=Menlo]LR-MacBook-Pro:RehabMan leon.rulle$ kextstat|grep -y applelpc[/FONT]
[FONT=Menlo]   89    0 0xffffff7f82376000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 0C90B22D-637B-3000-8C44-B7955D57E10A <85 12 5 4 3>
[/FONT]

third

Code:

[FONT=Menlo]LR-MacBook-Pro:~ leon.rulle$ sudo touch /System/Library/Extensions && sudo kextcache -u /[/FONT]
[FONT=Menlo]Password:[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8111.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AHCI_Intel_Generic_SATA.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelBacklight.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext GenericUSBXHCI.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_LPCSensors.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_GPUSensors.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_CPUSensors.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_ACPISensors.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HD_Graphics.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDAHardwareConfigDriver.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67061 0xFFFFFFFFFFFEFA0B for kext AppleHDA.kext[/FONT]
[FONT=Menlo]kext file:///System/Library/Extensions/AHCI_3rdParty_SATA.kext/ is in hash exception list, allowing to load[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIDebug.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBacklight.kext
[/FONT]

View attachment RehabMan 2.zip
View attachment LR MacBook Pro.zip

  • #8

Thinkpad E540 syntax error, unexpected_integer, expecting ‘,’

No it boots, but Brightness keys won’t work.

first
Patchmatic

Code:

[FONT=Menlo]Last login: Tue Jan  5 22:48:48 on console[/FONT]
[FONT=Menlo]LR-MacBook-Pro:~ leon.rulle$ if [ -d ~/Downloads/RehabMan ]; then rm -R ~/Downloads/RehabMan; fi[/FONT]
[FONT=Menlo]LR-MacBook-Pro:~ leon.rulle$ mkdir ~/Downloads/RehabMan[/FONT]
[FONT=Menlo]LR-MacBook-Pro:~ leon.rulle$ cd ~/Downloads/RehabMan[/FONT]
[FONT=Menlo]LR-MacBook-Pro:RehabMan leon.rulle$ patchmatic -extract
[/FONT]

second

Code:

[FONT=Menlo]LR-MacBook-Pro:RehabMan leon.rulle$ kextstat|grep -y acpiplat[/FONT]
[FONT=Menlo]   13    2 0xffffff7f828b7000 0x60000    0x60000    com.apple.driver.AppleACPIPlatform (4.0) 295F7A91-2DF7-3FFE-9550-A0C1A6F9D575 <12 11 7 6 5 4 3 1>[/FONT]
[FONT=Menlo]LR-MacBook-Pro:RehabMan leon.rulle$ kextstat|grep -y appleintelcpu[/FONT]
[FONT=Menlo]LR-MacBook-Pro:RehabMan leon.rulle$ kextstat|grep -y applelpc[/FONT]
[FONT=Menlo]   89    0 0xffffff7f82376000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 0C90B22D-637B-3000-8C44-B7955D57E10A <85 12 5 4 3>
[/FONT]

third

Code:

[FONT=Menlo]LR-MacBook-Pro:~ leon.rulle$ sudo touch /System/Library/Extensions && sudo kextcache -u /[/FONT]
[FONT=Menlo]Password:[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8111.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AHCI_Intel_Generic_SATA.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelBacklight.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext GenericUSBXHCI.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_LPCSensors.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_GPUSensors.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_CPUSensors.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_ACPISensors.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HD_Graphics.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDAHardwareConfigDriver.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67061 0xFFFFFFFFFFFEFA0B for kext AppleHDA.kext[/FONT]
[FONT=Menlo]kext file:///System/Library/Extensions/AHCI_3rdParty_SATA.kext/ is in hash exception list, allowing to load[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIDebug.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext[/FONT]
[FONT=Menlo]kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBacklight.kext
[/FONT]

View attachment 170717
View attachment 170726

The version of VoodooPS2Controller.kext is too old. It does not implement the feature you’re trying to use.

https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller

  • #9

Thinkpad E540 syntax error, unexpected_integer, expecting ‘,’

Works!
Superb. Thanks for support.

  • #10

Works!
Superb. Thanks for support.

Marked solved.

Понравилась статья? Поделить с друзьями:
  • Syntax error unexpected expecting name
  • Syntax error unexpected expecting expression
  • Syntax error insert to complete methodbody
  • Syntax error unexpected expecting end of input
  • Syntax error unexpected expecting end of file перевод