<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/acpi/dock.c, branch linux-2.6.24.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.24.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.24.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-08-12T02:12:10Z</updated>
<entry>
<title>ACPI: dock: Send key=value pair instead of plain value</title>
<updated>2007-08-12T02:12:10Z</updated>
<author>
<name>Holger Macht</name>
</author>
<published>2007-08-10T20:10:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=66b568218ab73be161dc109b913e6fa7dda44e16'/>
<id>urn:sha1:66b568218ab73be161dc109b913e6fa7dda44e16</id>
<content type='text'>
Send key=value pair along with the uevent instead of a plain value so that
userspace (udev) can handle it like common environment variables.

Signed-off-by: Holger Macht &lt;hmacht@suse.de&gt;
Acked-by: Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Cc: Stephan Berberig &lt;s.berberig@arcor.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: dock: fix oops when _DCK evaluation fails</title>
<updated>2007-07-19T00:37:06Z</updated>
<author>
<name>Dmitry Torokhov</name>
</author>
<published>2007-07-18T05:10:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9254bc845db90a123cf992e983539d0ee409f22a'/>
<id>urn:sha1:9254bc845db90a123cf992e983539d0ee409f22a</id>
<content type='text'>
Data returned by acpi_get_name in acpi_buffer is not acpi_object and
therefore should not be cast to it, otherwise we'll get an nice oops
trying to print error message.

Also print name of the ACPI object corresponding to the docking station
and elevate severity of the message printed when _DCK fails to KERN_ERR.

Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
Cc: Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: dock: send envp with uevent</title>
<updated>2007-05-10T07:30:41Z</updated>
<author>
<name>Kristen Carlson Accardi</name>
</author>
<published>2007-05-09T22:10:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=79a8f70b4b9127eacfc91dd1436c4a7be05e62ab'/>
<id>urn:sha1:79a8f70b4b9127eacfc91dd1436c4a7be05e62ab</id>
<content type='text'>
Send an env along with our KOBJ_CHANGE uevent so that user space has
the option of checking for that to see if a dock or undock has occurred.

Signed-off-by:  Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: dock: unsuppress uevents</title>
<updated>2007-05-10T07:30:41Z</updated>
<author>
<name>Kristen Carlson Accardi</name>
</author>
<published>2007-05-09T22:09:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ef2a9a9f08722998540ed2ff38bccd0c54344c8'/>
<id>urn:sha1:9ef2a9a9f08722998540ed2ff38bccd0c54344c8</id>
<content type='text'>
Platform devices may not send uevents by default - override the setting
so that we can send uevents on dock/undock.

Signed-off-by:  Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: dock: add immediate_undock option</title>
<updated>2007-05-10T07:30:41Z</updated>
<author>
<name>Kristen Carlson Accardi</name>
</author>
<published>2007-05-09T22:08:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a0cd35fdca0bb711854edeaf016cec6cdf82eeca'/>
<id>urn:sha1:a0cd35fdca0bb711854edeaf016cec6cdf82eeca</id>
<content type='text'>
Allow the driver to be loaded with an option that will allow userspace to
control whether the laptop is ejected immediately when the user presses the
button, or only when the syfs undock file is written.

if immediate_undock == 1, then when the user presses the undock button, the
laptop will send an event to userspace to notify userspace of the undock, but
then immediately undock without waiting for userspace.  This is the current
behavior, and I set this to be the default.

if immediate_undock == 0, then when the user presses the undock button, the
laptop will send an event to userspace and do nothing.  User space can query
the "flags" sysfs entry to determine if an undock request has been made by
the user (if bit 1 is set).  User space will then need to write the undock
sysfs entry to complete the undocking process.

Signed-off-by: Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: dock: use dynamically allocated platform device</title>
<updated>2007-05-10T07:30:41Z</updated>
<author>
<name>Kristen Carlson Accardi</name>
</author>
<published>2007-05-09T22:07:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0f6f2804563eee64f0fc7cbcb009b98b6f332af6'/>
<id>urn:sha1:0f6f2804563eee64f0fc7cbcb009b98b6f332af6</id>
<content type='text'>
Get rid of no release function warnings by switching to dynamically
allocating the platform_device and using the platform device release
routine in the base driver.

Signed-off-by:  Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: dock: fix opps after dock driver fails to initialize</title>
<updated>2007-05-10T07:30:41Z</updated>
<author>
<name>Chuck Ebbert</name>
</author>
<published>2007-05-09T22:05:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=22fe4c2114e29477ca6738729c074ee8f60d3b73'/>
<id>urn:sha1:22fe4c2114e29477ca6738729c074ee8f60d3b73</id>
<content type='text'>
The driver tests the dock_station pointer for nonnull
to check whether it has initialized properly. But in
some cases dock_station will be non-null after being
freed when driver init fails. Fix by zeroing the
pointer after freeing.

Signed-off-by: Chuck Ebbert &lt;cebbert@redhat.com&gt;
Signed-off-by: Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: dock: cleanup the uid patch</title>
<updated>2007-05-10T07:30:37Z</updated>
<author>
<name>Kristen Carlson Accardi</name>
</author>
<published>2007-05-09T22:04:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=38ff4ffc039ba5a5878f2dcbb03d87c3a1f02f1b'/>
<id>urn:sha1:38ff4ffc039ba5a5878f2dcbb03d87c3a1f02f1b</id>
<content type='text'>
Make uid sysfs file error path free memory, and cleanup sysfs file
when removing driver.  Also fix CodingStyle violations.

Signed-off-by:  Kristen Carlson Accardi &lt;kristen.c.accardi@intel.com&gt;
Cc: Illya A. Volynets-Evenbakh &lt;ilya@total-knowledge.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: dock: use NULL for pointer</title>
<updated>2007-03-29T03:31:43Z</updated>
<author>
<name>Randy Dunlap</name>
</author>
<published>2007-03-27T05:38:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=62a6d7fd9bc1d85f9aae734c46234e88fa839db0'/>
<id>urn:sha1:62a6d7fd9bc1d85f9aae734c46234e88fa839db0</id>
<content type='text'>
Use NULL instead of 0 for pointers:
drivers/acpi/dock.c:677:75: warning: Using plain integer as NULL pointer

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: dock: add access to ACPI docking station UID</title>
<updated>2007-03-10T02:40:23Z</updated>
<author>
<name>Ilya A. Volynets-Evenbakh</name>
</author>
<published>2007-02-19T23:19:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac122bb64b0d51f0512185d3522a75f3f3a80bc9'/>
<id>urn:sha1:ac122bb64b0d51f0512185d3522a75f3f3a80bc9</id>
<content type='text'>
It is useful to know whether your laptop is docked or not,
but it is even more useful to know which docking station it's
docked to. Attached patch adds "uid" file to sysfs.
Tested on Dell Latitude D600 with D/Dock.
Patch is against official 2.6.20 release.

Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
</feed>
