[Kernel-packages] [Bug 89860] Re: /proc/acpi/button/lid/*/state always says open

2014-02-18 Thread juanmanuel
For those of you with a Samsung laptop showing this problem, please see this issue: https://bugs.launchpad.net/ubuntu/+source/acpi/+bug/971061 in particular my last two posts. I think a kernel patch can be made to flush the events from the embedded controller, at resume, in the same

[Kernel-packages] [Bug 1027368] Re: [Samsung NP530U3B-A01UK] Laptop does not suspend on lid close

2014-02-18 Thread juanmanuel
For those of you with a Samsung laptop showing this problem, please see this issue: https://bugs.launchpad.net/ubuntu/+source/acpi/+bug/971061 in particular my last two posts. I think a kernel patch can be made to flush the events (LID, AC plug/unplug, etc) from the Embedded

[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-21 Thread juanmanuel
This is not a bug in acpi (Ubuntu) as this is just a software package that displays information. Instead, this would be a bug in the linux kernel (ex. samsung-laptop.c) for not handling the laptop lid logic correctly. No, you are confounding two issues. This is a buggy behaviour in

[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-21 Thread juanmanuel
I'm sorry, yes, its not a bug in the userspace acpi program, rather a problem that can be fixed by the kernel ACPI or a userspace workaround (post #103). Cheers -- Juan Manuel Cabo -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in

[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread juanmanuel
If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ . I downloaded trusty-desktop-amd64.isofrom that link, and tested with my Series 5 NP530U3C, and the issue still persist in the

[Kernel-packages] [Bug 1283589] [NEW] LID close and AC and battery status events not produced anymore on samsung ultrabook.

2014-02-22 Thread juanmanuel
Public bug reported: LID close and AC and battery status events not produced anymore on samsung ultrabook. I have a Samsung Series 5 NP530U3C-A01 ultrabook. This is an old issue with a new workaround fix. I just posted here to give information for my computer, and to confirm that I've tested

[Kernel-packages] [Bug 1283589] Re: LID close and AC and battery status events not produced anymore on samsung ultrabook.

2014-02-22 Thread juanmanuel
Script that calls the program found in the other attachment after resume from sleep. ** Attachment added: 99samsung_fix_ec_events https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1283589/+attachment/3992107/+files/99samsung_fix_ec_events -- You received this bug notification because you

[Kernel-packages] [Bug 1283589] Re: LID close and AC and battery status events not produced anymore on samsung ultrabook.

2014-02-22 Thread juanmanuel
Attached DSDT of a Samsung Series 5 NP530U3C ultrabook with the same problem. Bios version is latest: P14AAJ ** Attachment added: DSDT_SamsungSeries5-NP530U3c-AB1_WithBios_P14AAJ.dsl

[Kernel-packages] [Bug 1283589] Re: LID close and AC and battery status events not produced anymore on samsung ultrabook.

2014-02-22 Thread juanmanuel
This is the program I made, that unstucks the computer so that it can send LID and AC and Battery events again. (it queries the embedded controller queued events, thus unblocking the EC so that it can start sending them again). Ideally run after resume from sleep, or at any other time. **

[Kernel-packages] [Bug 1283589] Re: LID close and AC and battery status events not produced anymore on samsung ultrabook.

2014-02-22 Thread juanmanuel
This is a patch created by Lan Tianyu on the kernel bugzilla to do the same that my workaround did, but in a more proper way, and from the kernel: https://bugzilla.kernel.org/show_bug.cgi?id=44161#c133 I tested it: https://bugzilla.kernel.org/show_bug.cgi?id=44161#c135 and

[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread juanmanuel
I also wanted to put all the info in one place, so I made this blog here: http://www.zenstep.com.ar/samsung-linux Cheers -- Juan Manuel Cabo -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1283589] Re: LID close and AC and battery status events not produced anymore on samsung ultrabook.

2014-02-22 Thread juanmanuel
More description about this issue found I posted in blog format here: http://www.zenstep.com.ar/samsung-laptop -- Juan Manuel Cabo -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-22 Thread juanmanuel
Christopher: I created the new issue here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1283589 -- Juan Manuel Cabo -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/971061

[Kernel-packages] [Bug 1283589] Re: LID close and AC and battery status events not produced anymore on samsung ultrabook.

2014-02-22 Thread juanmanuel
(sorry, the link is: http://www.zenstep.com.ar/samsung-linux ) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1283589 Title: LID close and AC and battery status events not

[Kernel-packages] [Bug 1283589] Re: [Samsung NP530U3C-A01] LID close, AC, and battery status events not produced anymore

2014-02-22 Thread juanmanuel
Christopher: you changed my description of the bug, and in doing so, confused the two different ways to force the issue to show up. You listed the second way as a fourth item of the first way, when it is a different way. Take a look at the original description. -- Juan Manuel Cabo -- You

[Kernel-packages] [Bug 1283589] Re: [Samsung NP530U3C-A01] LID close, AC, and battery status events not produced anymore

2014-02-23 Thread juanmanuel
UPDATED v2: Safer because it obtains the EC ports automatically from /proc/ioports, and it micro-pauses between queries, so that the EC returns each event only once. This replaces the little program in #3. This is the program I made, that unstucks the computer so that it can send LID

[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-02-23 Thread juanmanuel
UPDATED v2: Safer because it obtains the EC ports automatically from /proc/ioports, and it micro-pauses between queries, so that the EC returns each event only once. This replaces the little program in #3. This is the program I made, that unstucks the computer so that it can send LID

[Kernel-packages] [Bug 1283589] Re: [Samsung NP530U3C-A01] LID close, AC, and battery status events not produced anymore

2014-02-23 Thread juanmanuel
** Description changed: On my Samsung Series 5 NP530U3C-A01 the LID close, AC, and battery status events not produced anymore. The situation is the same (tested with trusty-desktop-amd64.iso 2014-02-22). I created a blog post where I can put all the information related to this bug here:

[Kernel-packages] [Bug 1283589] Re: [Samsung NP530U3C-A01] LID close, AC, and battery status events not produced anymore

2014-02-24 Thread juanmanuel
This is a NEW and BETTER patch created by Kieran Clancy on the kernel bugzilla to do the same that my workaround did, but in a more proper way, and from the kernel: https://bugzilla.kernel.org/show_bug.cgi?id=44161#c149 I also tested it this weekend, and it works (I forced the issue to

[Kernel-packages] [Bug 1283589] Re: [Samsung NP530U3C-A01] LID close, AC, and battery status events not produced anymore

2014-02-24 Thread juanmanuel
Many thanks juanmanuel for identifying the cause for this long running issue and for working diligently to find the fix. You're welcome, it fills me with joy reading all this good feedback!! -- Juan Manuel Cabo http://zenstep.com.ar/samsung-linux -- You received this bug notification because

[Kernel-packages] [Bug 1283589] Re: [Samsung NP530U3C-A01] LID close, AC, and battery status events not produced anymore

2014-02-24 Thread juanmanuel
Joseph: The best kernel patch so far was made by Kieran Clancy (see post #18 here). His patch is attached to a kernel bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=44161 in comment 149. I'm just the author of the userspace workaround (post #3, #4, #14) that started it all (see the other

[Kernel-packages] [Bug 971061] Re: acpi reports battery state incorrectly

2014-03-01 Thread juanmanuel
Breaking News! A fix in the form of a kernel patch has now been posted to the linux- acpi and linux-kernel mailing list: [PATCH v2] ACPI / EC: Clear stale EC events on Samsung systems http://marc.info/?l=linux-acpim=139359680828880w=2 That kernel patch was made by Kieran Clancy

[Kernel-packages] [Bug 1283589] Re: [Samsung NP530U3C-A01] LID close, AC, and battery status events not produced anymore

2014-03-01 Thread juanmanuel
Breaking News! A fix in the form of a kernel patch has now been posted to the linux- acpi and linux-kernel mailing list: [PATCH v2] ACPI / EC: Clear stale EC events on Samsung systems http://marc.info/?l=linux-acpim=139359680828880w=2 That kernel patch was made by Kieran Clancy

[Kernel-packages] [Bug 1259829] Re: htree_dirblock_to_tree:920: inode #53629599: block 214443464: comm rm: bad entry in directory: rec_len % 4 != 0 - offset=0(0), inode=1667681412, rec_len=45654, name

2014-08-17 Thread juanmanuel
OMG! Has anyone besides the OP reproduced the issue on these drives? I'm not even sure that his FS corruption, in this particular instance, is because of the hardware layer: The Original Poster (Ritesh), states in post #31