<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: The Linux Tablet: Wacom rotations &#8211; waking up on the wrong side</title>
	<atom:link href="http://blog.ciscavate.org/2009/01/the-linux-tablet-wacom-rotations-waking-up-on-the-wrong-side.html/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.ciscavate.org/2009/01/the-linux-tablet-wacom-rotations-waking-up-on-the-wrong-side.html</link>
	<description>Musings of a Seattle-area hacker with a bent on improving digital lifestyles.</description>
	<lastBuildDate>Thu, 30 Jul 2009 09:59:59 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kinst</title>
		<link>http://blog.ciscavate.org/2009/01/the-linux-tablet-wacom-rotations-waking-up-on-the-wrong-side.html/comment-page-1#comment-20</link>
		<dc:creator>Kinst</dc:creator>
		<pubDate>Sat, 14 Feb 2009 03:33:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ciscavate.org/?p=64#comment-20</guid>
		<description>&lt;p&gt;I&#039;m not sure if that fixed it. I don&#039;t think it worked but I don&#039;t know. And I don&#039;t know how to make xhost + run on startup, maybe I can try that?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure if that fixed it. I don&#8217;t think it worked but I don&#8217;t know. And I don&#8217;t know how to make xhost + run on startup, maybe I can try that?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: rcreswick</title>
		<link>http://blog.ciscavate.org/2009/01/the-linux-tablet-wacom-rotations-waking-up-on-the-wrong-side.html/comment-page-1#comment-19</link>
		<dc:creator>rcreswick</dc:creator>
		<pubDate>Fri, 13 Feb 2009 17:58:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ciscavate.org/?p=64#comment-19</guid>
		<description>&lt;p&gt;that&#039;s the error you&#039;ll see if the user running the command (xrandr or xsetwacom) can&#039;t access the current display (:0.0).&lt;/p&gt;

&lt;p&gt;Are you running:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;
xhost +
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;from a terminal as your user, when you log in to x? (before suspending).&lt;/p&gt;

&lt;p&gt;(side note: you can use &lt;pre&gt; tags to post formatted content in the comments here.)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>that&#8217;s the error you&#8217;ll see if the user running the command (xrandr or xsetwacom) can&#8217;t access the current display (:0.0).</p>

<p>Are you running:</p>

<p><pre>
xhost +
</pre></p>

<p>from a terminal as your user, when you log in to x? (before suspending).</p>

<p>(side note: you can use &lt;pre&gt; tags to post formatted content in the comments here.)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Kinst</title>
		<link>http://blog.ciscavate.org/2009/01/the-linux-tablet-wacom-rotations-waking-up-on-the-wrong-side.html/comment-page-1#comment-18</link>
		<dc:creator>Kinst</dc:creator>
		<pubDate>Fri, 13 Feb 2009 15:14:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ciscavate.org/?p=64#comment-18</guid>
		<description>&lt;p&gt;It says:&lt;/p&gt;

&lt;p&gt;No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It says:</p>

<p>No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)
No protocol specified
Failed to open display (:0.0)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: rcreswick</title>
		<link>http://blog.ciscavate.org/2009/01/the-linux-tablet-wacom-rotations-waking-up-on-the-wrong-side.html/comment-page-1#comment-17</link>
		<dc:creator>rcreswick</dc:creator>
		<pubDate>Fri, 13 Feb 2009 05:05:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ciscavate.org/?p=64#comment-17</guid>
		<description>&lt;p&gt;keep in mind that the xrandr switches actually are preceded by a double-dash:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;
xrandr --verbose --query
&lt;/pre&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>keep in mind that the xrandr switches actually are preceded by a double-dash:</p>

<p><pre>
xrandr --verbose --query
</pre></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Kinst</title>
		<link>http://blog.ciscavate.org/2009/01/the-linux-tablet-wacom-rotations-waking-up-on-the-wrong-side.html/comment-page-1#comment-16</link>
		<dc:creator>Kinst</dc:creator>
		<pubDate>Fri, 13 Feb 2009 03:13:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ciscavate.org/?p=64#comment-16</guid>
		<description>&lt;p&gt;It seems to work only on the second time I suspend. I can&#039;t get the xrandr -verbose -query thing to work.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It seems to work only on the second time I suspend. I can&#8217;t get the xrandr -verbose -query thing to work.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: rcreswick</title>
		<link>http://blog.ciscavate.org/2009/01/the-linux-tablet-wacom-rotations-waking-up-on-the-wrong-side.html/comment-page-1#comment-15</link>
		<dc:creator>rcreswick</dc:creator>
		<pubDate>Fri, 13 Feb 2009 00:49:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ciscavate.org/?p=64#comment-15</guid>
		<description>&lt;p&gt;&lt;pre&gt;
not a resum&#124;thaw event: suspend
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;That is fine.  The script is just being invoked when the tablet is being put to sleep as well as woken up.   You could remove that line if you really want, or make the *) pattern more specific.&lt;/p&gt;

&lt;p&gt;I&#039;m not sure why the unknown orientation message is showing up -- that is a bit disturbing.  It may be that the script runs before the X server is fully woken up, or something like that, and xrandr produces partial output.&lt;/p&gt;

&lt;p&gt;For what it&#039;s worth, I get the same output here, and it is working.  Are you still having calibration issues?  (If you are, have that script spit out the results of &#039;xrandr --verbose --query&#039; somewhere, and see how it looks.)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><pre>
not a resum|thaw event: suspend
</pre></p>

<p>That is fine.  The script is just being invoked when the tablet is being put to sleep as well as woken up.   You could remove that line if you really want, or make the *) pattern more specific.</p>

<p>I&#8217;m not sure why the unknown orientation message is showing up &#8212; that is a bit disturbing.  It may be that the script runs before the X server is fully woken up, or something like that, and xrandr produces partial output.</p>

<p>For what it&#8217;s worth, I get the same output here, and it is working.  Are you still having calibration issues?  (If you are, have that script spit out the results of &#8216;xrandr &#8211;verbose &#8211;query&#8217; somewhere, and see how it looks.)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Kinst</title>
		<link>http://blog.ciscavate.org/2009/01/the-linux-tablet-wacom-rotations-waking-up-on-the-wrong-side.html/comment-page-1#comment-14</link>
		<dc:creator>Kinst</dc:creator>
		<pubDate>Fri, 13 Feb 2009 00:28:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ciscavate.org/?p=64#comment-14</guid>
		<description>&lt;p&gt;Okay I got it to run by making it owned by root (instead of owned by me). Then I fixed xsetwacom because mine is in /usr/bin/xsetwacom, not /usr/local/bin/xsetwacom.&lt;/p&gt;

&lt;p&gt;Now it runs but it says this:
not a resum&#124;thaw event: suspend
Thu Feb 12 19:09:48 EST 2009
Orientation: 
ERROR!! unknown orientation! 
root&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Okay I got it to run by making it owned by root (instead of owned by me). Then I fixed xsetwacom because mine is in /usr/bin/xsetwacom, not /usr/local/bin/xsetwacom.</p>

<p>Now it runs but it says this:
not a resum|thaw event: suspend
Thu Feb 12 19:09:48 EST 2009
Orientation: 
ERROR!! unknown orientation! 
root</p>]]></content:encoded>
	</item>
	<item>
		<title>By: rcreswick</title>
		<link>http://blog.ciscavate.org/2009/01/the-linux-tablet-wacom-rotations-waking-up-on-the-wrong-side.html/comment-page-1#comment-13</link>
		<dc:creator>rcreswick</dc:creator>
		<pubDate>Thu, 12 Feb 2009 22:17:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ciscavate.org/?p=64#comment-13</guid>
		<description>&lt;p&gt;hm.. so it&#039;s not writing a log anywhere?&lt;/p&gt;

&lt;p&gt;Can you create another similar (simpler) script and put it in /etc/pm/sleep.d/ and see if it gets run? (maybe just have it touch a file in your home dir, or something...)&lt;/p&gt;

&lt;p&gt;xhost controls who can connect to your xsession.  you can run &lt;code&gt;xhost +&lt;/code&gt; from a terminal after starting up X, and it should do what you need, but only for that xsession.  Once you get this working then we can figure out how to make it run each time you log in.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>hm.. so it&#8217;s not writing a log anywhere?</p>

<p>Can you create another similar (simpler) script and put it in /etc/pm/sleep.d/ and see if it gets run? (maybe just have it touch a file in your home dir, or something&#8230;)</p>

<p>xhost controls who can connect to your xsession.  you can run

<div class="codecolorer-container text" style="height:35px;">xhost +</div>

from a terminal after starting up X, and it should do what you need, but only for that xsession.  Once you get this working then we can figure out how to make it run each time you log in.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Kinst</title>
		<link>http://blog.ciscavate.org/2009/01/the-linux-tablet-wacom-rotations-waking-up-on-the-wrong-side.html/comment-page-1#comment-12</link>
		<dc:creator>Kinst</dc:creator>
		<pubDate>Thu, 12 Feb 2009 21:02:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ciscavate.org/?p=64#comment-12</guid>
		<description>&lt;p&gt;Okay...the script isn&#039;t running when I resume. It only runs if I do it manually and then it says &#039;this is not a resume&#039;. Can you help me make it run on resume? I put it in /etc/pm/sleep.d made it executable by everyone, I don&#039;t understand the xhost thing because I don&#039;t seem to have a hidden .xsession file.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Okay&#8230;the script isn&#8217;t running when I resume. It only runs if I do it manually and then it says &#8216;this is not a resume&#8217;. Can you help me make it run on resume? I put it in /etc/pm/sleep.d made it executable by everyone, I don&#8217;t understand the xhost thing because I don&#8217;t seem to have a hidden .xsession file.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: rcreswick</title>
		<link>http://blog.ciscavate.org/2009/01/the-linux-tablet-wacom-rotations-waking-up-on-the-wrong-side.html/comment-page-1#comment-11</link>
		<dc:creator>rcreswick</dc:creator>
		<pubDate>Thu, 12 Feb 2009 07:04:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ciscavate.org/?p=64#comment-11</guid>
		<description>&lt;p&gt;@Kinst:&lt;/p&gt;

&lt;p&gt;I&#039;ve updated the post with some details re: using xhost, and an updated script that has better error output.  If you still can&#039;t get it to work, please post the log with some details of what actions you&#039;re taking.  (I&#039;ve found it&#039;s simplest to test from a &quot;fresh&quot; X start-up--that is, log out, log in, clear the log, rotate the screen, rotate back, verify the stylus is calibrated, sleep, resume, then look at the log if it&#039;s not working.&lt;/p&gt;

&lt;p&gt;--Rogan&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Kinst:</p>

<p>I&#8217;ve updated the post with some details re: using xhost, and an updated script that has better error output.  If you still can&#8217;t get it to work, please post the log with some details of what actions you&#8217;re taking.  (I&#8217;ve found it&#8217;s simplest to test from a &#8220;fresh&#8221; X start-up&#8211;that is, log out, log in, clear the log, rotate the screen, rotate back, verify the stylus is calibrated, sleep, resume, then look at the log if it&#8217;s not working.</p>

<p>&#8211;Rogan</p>]]></content:encoded>
	</item>
</channel>
</rss>
