<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DBAlife &#187; palm</title>
	<atom:link href="http://www.dbalife.com/archives/tag/palm/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dbalife.com</link>
	<description>星光照耀前方</description>
	<lastBuildDate>Wed, 14 Jul 2010 08:13:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Palm Mojo SDK keyboard &amp; mouse controls</title>
		<link>http://www.dbalife.com/archives/266.html</link>
		<comments>http://www.dbalife.com/archives/266.html#comments</comments>
		<pubDate>Mon, 29 Jun 2009 03:06:16 +0000</pubDate>
		<dc:creator>skywalker</dc:creator>
				<category><![CDATA[Program]]></category>
		<category><![CDATA[emulator]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[mojo]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[palm]]></category>
		<category><![CDATA[pre]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://www.dbalife.com/?p=266</guid>
		<description><![CDATA[Palm Pre 采用的web OS系统的SDK（Mojo）已经发布，其中包含有web OS模拟器。Palm Pre的操作有多种形式，本文列出SDK中用键盘和鼠标操作模拟器的方法。
Mojo SDK keyboard &#38; mouse controls
--------------------------------------------------------------------------------
Here's my Q&#38;D notes on emulator. Thanks to others for some info.
--Keyboard
Escape is Back Gesture,
Home is Center Button,
End is the Flick Up Gesture (like to bring up card view or the launcher),
Left/Right arrows switch applications,
Shift is Shift (duh!),
Alt is Option (orange),
Left Ctrl+letter does Sym for [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Palm Pre 采用的web OS系统的SDK（Mojo）已经发布，其中包含有web OS模拟器。Palm Pre的操作有多种形式，本文列出SDK中用键盘和鼠标操作模拟器的方法。</p>
<p>Mojo SDK keyboard &amp; mouse controls</p>
<p>--------------------------------------------------------------------------------</p>
<p>Here's my Q&amp;D notes on emulator. Thanks to others for some info.</p>
<p>--Keyboard<br />
Escape is Back Gesture,<br />
Home is Center Button,<br />
End is the Flick Up Gesture (like to bring up card view or the launcher),<br />
Left/Right arrows switch applications,<br />
Shift is Shift (duh!),<br />
Alt is Option (orange),<br />
Left Ctrl+letter does Sym for that letter,<br />
and of course there's the keyboard too.</p>
<p>--Mouse<br />
Left Mouse click is "touching screen".<br />
Left Mouse drag is "dragging on screen". Useful in card view to "swipe up" (close),and drag left right (card view, launcher, etc.).<br />
Left Mouse click and hold will select card in card view for shuffling cards, or changing out Quick Launch applications.<br />
Double left mouse click, is zoom in/out on selected paragraph in browser. Not same as two finger zoom?<br />
To bring up the Quick Launch "wave", drag up from the bottom of the screen. Note that this is hard to get to work, as one has to start in the exact bottom row of pixels.</p>
<p>--Emulator<br />
The "Host" key defaults to Right Ctrl, used for accessing emulator menus. Following is a short list:<br />
Tap and release Host key to return keyboard capture to PC (i.e. done using emulator). Note if using "Activation follows mouse (X-Mouse)", this is not required (see "Tweak UI", MS Power Toy, for info).<br />
Host+F Full screen toggle<br />
Host+N Session information dialog<br />
Host+S Take a snapshot (from emulator)<br />
Host+Q Close emulator</p>
<p>--Helper Batch Files, in "C:\Program Files\Palm\SDK\bin" (I've not tried, YMMV):</p>
<p>palm-emulator.bat - Starts emulator.<br />
palm-generate.bat - Create Application template. Will create directory if it doesn't exist.<br />
palm-inspector.bat - Runs Palm inspector. Appears to be the debugger interface.<br />
palm-install.bat - Installs App on USB connected Prē (usb), or emulator (tcp).<br />
palm-launch.bat - Launch App on USB connected Prē (usb), or emulator (tcp). With debugging options.<br />
palm-package.bat - Package App into ipk format.<br />
Open up "DOS" command shell to use. Installing SDK adds bin directory to your path.</p>
<p>Run batch file with no arguments to get usage.</p>
<p>--Mojo API</p>
<p>TBD<br />
See sample code in "C:\Program Files\Palm\SDK\share\samples" for now.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dbalife.com/archives/266.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu下同步palm</title>
		<link>http://www.dbalife.com/archives/158.html</link>
		<comments>http://www.dbalife.com/archives/158.html#comments</comments>
		<pubDate>Tue, 02 Sep 2008 07:15:06 +0000</pubDate>
		<dc:creator>skywalker</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[palm]]></category>
		<category><![CDATA[pilot]]></category>

		<guid isPermaLink="false">http://www.dbalife.com/archives/ubuntu%e4%b8%8b%e5%90%8c%e6%ad%a5palm/</guid>
		<description><![CDATA[Palm只提供了windows平台的客户端，在linux下，在经过一些配置后，同样可以对palm设备进行管理。
本文档在Ubuntu8.04、Palm Centro(Palm OS 5)环境下测试通过。
Ubuntu的源中可以找到Pilot、Kpilot、Jpilot等多种工具，其中Jpilot对新设备的支持比较好，推荐使用。
当palm通过usb接入计算机后，linux的日志会记录下usb接口的信息，
通过这个命令查看：
$dmesg
在标准的ubuntu下，会看到这样的信息：
Jul 21 08:34:43 laptop kernel: [31222.449600] usb 2-2: new full speed USB device using uhci_hcd and address 3
Jul 21 08:34:43 laptop kernel: [31222.623557] usb 2-2: configuration #1 chosen from 1 choice
Jul 21 08:34:54 laptop kernel: [31232.920043] usb 2-2: USB disconnect, address 3
这表示系统可以看到usb设备，但是无法识别是什么设备。
让ubuntu与设备通讯：
$sudo /sbin/modprobe usbserial
$sudo /sbin/modprobe visor
再查看一下日志，会看到新的信息
Jul 21 08:37:27 laptop kernel: [31385.682799] usb [...]


Related posts:<ol><li><a href='http://www.dbalife.com/archives/84.html' rel='bookmark' title='Permanent Link: Ubuntu7.10解决JDK1.6中文乱码的问题'>Ubuntu7.10解决JDK1.6中文乱码的问题</a></li>
<li><a href='http://www.dbalife.com/archives/82.html' rel='bookmark' title='Permanent Link: ubuntu7.10 JDK手动安装'>ubuntu7.10 JDK手动安装</a></li>
<li><a href='http://www.dbalife.com/archives/94.html' rel='bookmark' title='Permanent Link: Netscape Navigator 归来'>Netscape Navigator 归来</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Palm只提供了windows平台的客户端，在linux下，在经过一些配置后，同样可以对palm设备进行管理。</p>
<p>本文档在Ubuntu8.04、Palm Centro(Palm OS 5)环境下测试通过。</p>
<p>Ubuntu的源中可以找到Pilot、Kpilot、Jpilot等多种工具，其中Jpilot对新设备的支持比较好，推荐使用。</p>
<p>当palm通过usb接入计算机后，linux的日志会记录下usb接口的信息，<br />
通过这个命令查看：</p>
<div style="margin-left: 40px;">$dmesg</div>
<p>在标准的ubuntu下，会看到这样的信息：</p>
<div style="margin-left: 40px;">Jul 21 08:34:43 laptop kernel: [31222.449600] usb 2-2: new full speed USB device using uhci_hcd and address 3<br />
Jul 21 08:34:43 laptop kernel: [31222.623557] usb 2-2: configuration #1 chosen from 1 choice<br />
Jul 21 08:34:54 laptop kernel: [31232.920043] usb 2-2: USB disconnect, address 3</div>
<p>这表示系统可以看到usb设备，但是无法识别是什么设备。</p>
<p>让ubuntu与设备通讯：</p>
<div style="margin-left: 40px;">$sudo /sbin/modprobe usbserial<br />
$sudo /sbin/modprobe visor</div>
<p>再查看一下日志，会看到新的信息</p>
<div style="margin-left: 40px;">Jul 21 08:37:27 laptop kernel: [31385.682799] usb 2-2: USB disconnect, address 5<br />
Jul 21 08:37:27 laptop kernel: [31385.683606] visor ttyUSB0: Handspring Visor / Palm OS converter now disconnected from ttyUSB0<br />
Jul 21 08:37:27 laptop kernel: [31385.683751] visor ttyUSB1: Handspring Visor / Palm OS converter now disconnected from ttyUSB1</div>
<p>也可以通过lsmod检查ubuntu是否识别了新设备：</p>
<div style="margin-left: 40px;">$ sudo /sbin/lsmod | grep visor<br />
visor                  20364  0<br />
usbserial              32488  1 visor<br />
usbcore               134280  9 visor,usbserial,usbhid,ndiswrapper,usb_storage,lib usual,ehci_hcd,uhci_hcd</div>
<p>让系统可以再下次引导后加载新设备</p>
<div style="margin-left: 40px;">$sudo vi /etc/modprobe.d/options<br />
添加新的一行：<br />
options visor vendor=0x830 product=0x61</div>
<p>在每次挂载palm设备时创建/dev/pilot的符号链接</p>
<div style="margin-left: 40px;">$sudo vi /etc/udev/rules.d/10-custom.rules<br />
添加新的一行：<br />
KERNEL="ttyUSB*", NAME="%k", SYMLINK="pilot", GROUP="uucp", MODE="0666"</div>
<p>现在如果重新登录系统，让变更生效，在palm sync时就会创建/dev/ttyUSB0或/dev/ttyUSB1等设备链接。但此时它也许是不可写的，因此需要变更相应的权限：</p>
<div style="margin-left: 40px;">$sudo vi /etc/udev/rules.d/40-permissions.rules<br />
在＃Serial devices 这一段，<br />
将<br />
KERNEL=="ttyLTM[0-9]*",                 GROUP="dialout", MODE="0660"<br />
修改为<br />
KERNEL=="ttyLTM[0-9]*",                 GROUP="dialout", MODE="0666"</div>
<p>最后再为系统启动添加设备模块</p>
<div style="margin-left: 40px;">$sudo vi /etc/modules<br />
添加两行：<br />
usbserial<br />
visor</div>
<p>重启系统——运行jpilot——安装palm用户——现在，你的palm可以跟linux交互了</p>
<div class="flockcredit" style="text-align: right; color: #CCC; font-size: x-small;">Blogged with the <a style="color: #999; font-weight: bold;" title="Flock Browser" href="http://www.flock.com/blogged-with-flock" target="_new">Flock Browser</a></div>
<p><!-- technorati tags begin --></p>
<p style="font-size:10px;text-align:right;">Tags: <a rel="tag" href="http://technorati.com/tag/palm">palm</a>, <a rel="tag" href="http://technorati.com/tag/ubuntu">ubuntu</a>, <a rel="tag" href="http://technorati.com/tag/linux">linux</a>, <a rel="tag" href="http://technorati.com/tag/pilot">pilot</a>, <a rel="tag" href="http://technorati.com/tag/sync">sync</a></p>
<p><!-- technorati tags end --></p>


<p>Related posts:<ol><li><a href='http://www.dbalife.com/archives/84.html' rel='bookmark' title='Permanent Link: Ubuntu7.10解决JDK1.6中文乱码的问题'>Ubuntu7.10解决JDK1.6中文乱码的问题</a></li>
<li><a href='http://www.dbalife.com/archives/82.html' rel='bookmark' title='Permanent Link: ubuntu7.10 JDK手动安装'>ubuntu7.10 JDK手动安装</a></li>
<li><a href='http://www.dbalife.com/archives/94.html' rel='bookmark' title='Permanent Link: Netscape Navigator 归来'>Netscape Navigator 归来</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.dbalife.com/archives/158.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
