Re: [coreboot] IBM x60t test - DSDT is in fact incomplete

2014-12-09 Thread Charles Devereaux
Hello On Tue, Dec 9, 2014 at 5:29 PM, Garreau, Alexandre wrote: > Oh wait, sorry if I only get the thread here and I lost the beginning, > but, does that mean you found how to make screen position (tablet or > laptop mode) finally detectable through ACPI? ’cos I still didn’t > understand why it

Re: [coreboot] IBM x60t test - DSDT is in fact incomplete

2014-12-09 Thread Garreau, Alexandre
Le 09/12/2014 à 23h08, Charles Devereaux a écrit : > So basically it's only reading the TMOD field from the EC, but in > src/ec/lenovo/h8/acpi/ec.asl, I see MKHP, but no MKHG > > A simple fix will be to add MKHG > > Meanwhile, commenting out send_acpi_ev=false from hotkey_notify_usrevent > seems in

Re: [coreboot] IBM x60t test - DSDT is in fact incomplete

2014-12-09 Thread Charles Devereaux
Hello My mistake, after carefully checking, it's just the pen that's not giving anything at all ; however I am getting the exact same 5E and 5F for the screen rotation - but no ACPI event. For the pen, I'm not getting any event at all - even with the modified kernel with the original DSDT that p

Re: [coreboot] IBM x60t test - DSDT is in fact incomplete

2014-12-05 Thread Charles Devereaux
Hello For your information, this patch does not gives me any of these ACPI events on the x60 tablet, so the patch may be specific to the X220t To correct the events value, I tried to replicate your events output with : enable CONFIG_DYNAMIC_DEBUG echo -n 'file ec.c +p' | sudo tee /sys/kernel/debu

Re: [coreboot] IBM x60t test - DSDT is in fact incomplete

2014-09-01 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 01.09.2014 22:08, Charles Devereaux wrote: > Hello > Keep list CC'ed. https://wiki.ubuntu.com/Kernel/Reference/ACPITricksAndTips > Sorry for the late reply. Yesterday I tried acpi_debug with various > values, but even with 0x I could not get logs similar to yours : > [17493.249126] ACPI

Re: [coreboot] IBM x60t test - DSDT is in fact incomplete

2014-09-01 Thread Charles Devereaux
Hello On Mon, Sep 1, 2014 at 4:16 PM, Vladimir 'φ-coder/phcoder' Serbinenko < phco...@gmail.com> wrote: > Keep list CC'ed. > Ok! > https://wiki.ubuntu.com/Kernel/Reference/ACPITricksAndTips > Which values are you using for /sys/module/acpi/parameters/debug_layer and debug_level? Thanks --

Re: [coreboot] IBM x60t test - DSDT is in fact incomplete

2014-08-25 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 25.08.2014 22:53, Vladimir 'φ-coder/phcoder' Serbinenko wrote: >>> Ideally, the DSDT should be fixed within coreboot, but this goes beyond >>> my present abilities. >> Not true. Just do the same changes to the corresponding *.asl files in >> coreboot repo and send the patch to gerrit. Other than

Re: [coreboot] IBM x60t test - DSDT is in fact incomplete

2014-08-25 Thread Vladimir 'φ-coder/phcoder' Serbinenko
>> Ideally, the DSDT should be fixed within coreboot, but this goes beyond >> my present abilities. > Not true. Just do the same changes to the corresponding *.asl files in > coreboot repo and send the patch to gerrit. Other than a layer of > preprocessing, it's exactly the same code as you got fro

Re: [coreboot] IBM x60t test - DSDT is in fact incomplete

2014-08-25 Thread David Hubbard
Hi Charles, I'm focusing in on this error message first: ACPI Warning: For \_SB_.PCI0.LPCB.EC__.LED_: Excess arguments - needs 1, found 2 Can you take a look at the .asl files in your coreboot build? I believe you will find something like "Method (LED, 2, NotSerialized)" which means the LED meth

Re: [coreboot] IBM x60t test - DSDT is in fact incomplete

2014-08-25 Thread Charles Devereaux
Hello, On Mon, Aug 25, 2014 at 5:54 AM, David Hubbard < david.c.hubbard+coreb...@gmail.com> wrote: > > Is there a version of acpi_3.rom or the decompiled dsl version I could > look at? Others might also be interested to take a look. > Sure. Sent. > If there are copyright issues preventing the d

Re: [coreboot] IBM x60t test - DSDT is in fact incomplete

2014-08-25 Thread Charles Devereaux
Hello On Mon, Aug 25, 2014 at 2:42 AM, Vladimir 'φ-coder/phcoder' Serbinenko < phco...@gmail.com> wrote: > > > - missing ACPI events when the stylus is inserted/removed > How is the OS supposed to react to them? > Issue stylus insert and remove messages which can then be mapped to scripts [ 1

Re: [coreboot] IBM x60t test - DSDT is in fact incomplete

2014-08-25 Thread The Gluglug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Ideally, the DSDT should be fixed within coreboot, but this goes > beyond my present abilities. Alternatively, I plan to release a > patched x60t DSDT for use with libreboot. > Please submit it to upstream (coreboot). The same applies for any ot

Re: [coreboot] IBM x60t test - DSDT is in fact incomplete

2014-08-25 Thread David Hubbard
On Sun, Aug 24, 2014 at 8:39 PM, Charles Devereaux wrote: > > Hello > > Previously ( http://www.coreboot.org/pipermail/coreboot/2014-July/078320.html) I mentioned that 3 bugs seemed to be related to the DSDT: > - missing ACPI events when the stylus is inserted/removed > - errors when trying to m

Re: [coreboot] IBM x60t test - DSDT is in fact incomplete

2014-08-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 25.08.2014 04:39, Charles Devereaux wrote: > Hello > > Previously > (http://www.coreboot.org/pipermail/coreboot/2014-July/078320.html) I > mentioned that 3 bugs seemed to be related to the DSDT: > - missing ACPI events when the stylus is inserted/removed How is the OS supposed to react to them

[coreboot] IBM x60t test - DSDT is in fact incomplete

2014-08-24 Thread Charles Devereaux
Hello Previously (http://www.coreboot.org/pipermail/coreboot/2014-July/078320.html) I mentioned that 3 bugs seemed to be related to the DSDT: - missing ACPI events when the stylus is inserted/removed - errors when trying to make the leds blink with tpacpi - errors during TPM initialization The