<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/acpid/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/acpid/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/acpid/bugs/</id><updated>2013-01-17T16:25:42Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>X Crashes when entering Tablet Mode</title><link href="https://sourceforge.net/p/acpid/bugs/25/" rel="alternate"/><published>2013-01-17T16:25:42Z</published><updated>2013-01-17T16:25:42Z</updated><author><name>jemofthewest</name><uri>https://sourceforge.net/u/jemofthewest/</uri></author><id>https://sourceforge.net69363a8e923e3833f6695912286e010a80cec1e7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Using current Linux kernel (ArchLinux, both stock and PF), X segfaults when flipping the screen around and closing (tablet mode).  Killing and/or removing acpid fixes the problem, so I believe it has to do with the 'tablet-mode' acpi event. Someone else seems to be having this problem, but both of our first thought was to submit a bug report to X.org&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bugs.freedesktop.org/show_bug.cgi?id=56523" rel="nofollow"&gt;https://bugs.freedesktop.org/show_bug.cgi?id=56523&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here is my Xorg.0.log:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sprunge.us/hcWZ" rel="nofollow"&gt;http://sprunge.us/hcWZ&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This doesn't occur on Linux LTS.  If I was smart, I would've noticed right away after uprading the kernel what version number but I'm still learning.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>acpid buffer overflow</title><link href="https://sourceforge.net/p/acpid/bugs/24/" rel="alternate"/><published>2011-10-15T02:47:53Z</published><updated>2011-10-15T02:47:53Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netef42ad2c333d13354510e21e4922b59bfa1c1829</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;fancy buffer in acpid by rfdslabs - rafaelsilva@rfdslabs.com.br&lt;/p&gt;
&lt;p&gt;Kernel Version 2.6.32-5-vserver-amd64 #1 SMP Wed Sep 14 01:27:56 UTC 2011 x86_64 GNU/Linux&lt;/p&gt;
&lt;p&gt;vmfindbugs:~# cat /etc/debian_version &lt;br /&gt;
6.0.3&lt;/p&gt;
&lt;p&gt;root@fwsingular:~# acpid -v&lt;br /&gt;
acpid-2.0.7&lt;/p&gt;
&lt;p&gt;(gdb) run -s AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA&lt;br /&gt;
Starting program: /usr/sbin/acpid -s AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA&lt;/p&gt;
&lt;p&gt;Program received signal SIGSEGV, Segmentation fault.&lt;br /&gt;
0x0000414141414141 in ?? ()&lt;br /&gt;
(gdb) i r&lt;br /&gt;
rax            0xffffffff       4294967295&lt;br /&gt;
rbx            0x4141414141414141       4702111234474983745&lt;br /&gt;
rcx            0xffffffffffffffa8       -88&lt;br /&gt;
rdx            0x62     98&lt;br /&gt;
rsi            0x7fffffffe6b0   140737488348848&lt;br /&gt;
rdi            0x9      9&lt;br /&gt;
rbp            0x4141414141414141       0x4141414141414141&lt;br /&gt;
rsp            0x7fffffffe740   0x7fffffffe740&lt;br /&gt;
r8             0x16     22&lt;br /&gt;
r9             0x70     112&lt;br /&gt;
r10            0x1      1&lt;br /&gt;
r11            0x202    514&lt;br /&gt;
r12            0x4141414141414141       4702111234474983745&lt;br /&gt;
r13            0x7fffffffeb80   140737488350080&lt;br /&gt;
r14            0x0      0&lt;br /&gt;
r15            0x0      0&lt;br /&gt;
rip            0x414141414141   0x414141414141&lt;br /&gt;
eflags         0x10202  [ IF RF ]&lt;br /&gt;
cs             0x33     51&lt;br /&gt;
ss             0x2b     43&lt;br /&gt;
ds             0x0      0&lt;br /&gt;
es             0x0      0&lt;br /&gt;
fs             0x0      0&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ability to turn off all logging</title><link href="https://sourceforge.net/p/acpid/bugs/23/" rel="alternate"/><published>2010-03-31T20:37:36Z</published><updated>2010-03-31T20:37:36Z</updated><author><name>Samuli Suominen</name><uri>https://sourceforge.net/u/ssuominen/</uri></author><id>https://sourceforge.netc6234b1c094e517800fdffda32dbd339aadfe2ea</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Alexandr Kozyrev wrote a patch for option to turn off all logging for acpid here:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bugs.gentoo.org/show_bug.cgi?id=238934" rel="nofollow"&gt;http://bugs.gentoo.org/show_bug.cgi?id=238934&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Patch here:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bugs.gentoo.org/attachment.cgi?id=222207" rel="nofollow"&gt;http://bugs.gentoo.org/attachment.cgi?id=222207&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Would you consider including it upstream? We'd rather not start carrying this custom patch in distro-level.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CVE-2009-4235 Weak permissions on log</title><link href="https://sourceforge.net/p/acpid/bugs/22/" rel="alternate"/><published>2009-12-13T02:08:56Z</published><updated>2009-12-13T02:08:56Z</updated><author><name>Ted Felix</name><uri>https://sourceforge.net/u/tedfelix/</uri></author><id>https://sourceforge.netc5d7cd75f8cd176bb342f029f289ae971436aa17</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This is against 1.0.4, so it's a pretty old bug and has been fixed in later releases.  The problem centers around the open_logs() routine in acpid.c.  This routine opens a log file like this:&lt;/p&gt;
&lt;p&gt;logfd = open(logfile, O_WRONLY|O_CREAT|O_APPEND);&lt;/p&gt;
&lt;p&gt;Problem is that if the file gets created, it will need permissions and the last argument to open() which specifies those permissions is missing.  Consequently, the file will get random permissions based on garbage on the stack.  The line should look something like this:&lt;/p&gt;
&lt;p&gt;logfd = open(logfile, O_WRONLY|O_CREAT|O_APPEND, 0640);&lt;/p&gt;
&lt;p&gt;But this is against a very old version, so I'd be inclined to just say, "upgrade to 1.0.10."  Anyway, just entering this for reference.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>acpid events triggered twice</title><link href="https://sourceforge.net/p/acpid/bugs/21/" rel="alternate"/><published>2009-10-18T11:15:21Z</published><updated>2009-10-18T11:15:21Z</updated><author><name>Edwin</name><uri>https://sourceforge.net/u/exry/</uri></author><id>https://sourceforge.net282ae5073d2dd96a50e6e01d2a0abcffc894d063</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;On my laptop acpid 1.0.10-1 trigger sleep/button, close/open-lid functions twice. And will because of that(?) suspend after the lid is opened.&lt;/p&gt;
&lt;p&gt;I used kernel 2.6.31-ARCH&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>acpid doesn't survive input device removal</title><link href="https://sourceforge.net/p/acpid/bugs/20/" rel="alternate"/><published>2009-09-24T06:24:37Z</published><updated>2009-09-24T06:24:37Z</updated><author><name>Mikhail Krivtsov</name><uri>https://sourceforge.net/u/mkborg/</uri></author><id>https://sourceforge.netd401cd85f5e84278a4fc4f2c4321a730ed4a7029</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have second set of keyboard and mouse attached via "PS2 to USB Converter". Sometimes it is temporarily disconnected. In such case corresponding /dev/input/event* items disappear and acpid starts complaining "acpid: input layer read error: No such device (19)" and finally exits with message "acpid: too many errors reading input layer - aborting".&lt;br /&gt;
It would be nice to make acpid survive input device removal and notice addition of new input devices.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ACPID doesnt work with Medion Akoya Laptop</title><link href="https://sourceforge.net/p/acpid/bugs/19/" rel="alternate"/><published>2009-08-01T10:20:34Z</published><updated>2009-08-01T10:20:34Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.nete8ee6182eca2924788fa895414924ce96f2ce304</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;ACPID doesnt work with Medion Akoya Laptop&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>handler.sh should handle AC &amp; ACAD</title><link href="https://sourceforge.net/p/acpid/bugs/18/" rel="alternate"/><published>2009-03-19T07:38:31Z</published><updated>2009-03-19T07:38:31Z</updated><author><name>Anish Bhatt</name><uri>https://sourceforge.net/u/anish7/</uri></author><id>https://sourceforge.netc23a66d37028872e7adcbb39978966b2a7f7f37c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;My machine returns 'ACAD' when the adapter is connected or disconnected, handler.sh only checks for AC.&lt;/p&gt;
&lt;p&gt;Line 29 should read:&lt;br /&gt;
'AC | ACAD)'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title># in acpid.8</title><link href="https://sourceforge.net/p/acpid/bugs/17/" rel="alternate"/><published>2009-02-10T22:39:33Z</published><updated>2009-02-10T22:39:33Z</updated><author><name>Darren Salt</name><uri>https://sourceforge.net/u/dsalt/</uri></author><id>https://sourceforge.netec57e8ccf4a1ed7f4282f554060a0e71eb285338</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;# = hash.&lt;br /&gt;
# != pound.&lt;br /&gt;
£ = pound.&lt;br /&gt;
You are confusing the two.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>stdout/stderr opened read-only</title><link href="https://sourceforge.net/p/acpid/bugs/16/" rel="alternate"/><published>2009-02-10T04:11:10Z</published><updated>2009-02-10T04:11:10Z</updated><author><name/><uri>https://sourceforge.net</uri></author><id>https://sourceforge.netcc3700a95c61957a3d44f7431034cbd56cbde6ab</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Stdout/stderr are connected to /dev/null, but this is opened read-only. Thus event scripts might fail.&lt;/p&gt;
&lt;p&gt;See the Debian bug for details: &lt;a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483805" rel="nofollow"&gt;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483805&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
harry&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>