<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7002881</id><updated>2024-10-25T05:52:39.205+08:00</updated><category term="Embedded System"/><category term="Unix"/><category term="Ubuntu"/><category term="Windows Programming"/><category term="Android"/><category term="OMAP4"/><category term="Windows CE"/><category term="MST"/><category term="OMAP3"/><category term="Network/Server"/><category term="Source Control"/><category term="TV related"/><category term="Qt"/><category term="i.MX6"/><category term="3D Printer"/><category term="POS"/><category term="Yocto"/><category term="misc"/><title type='text'>Allen&#39;s memo</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>68</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7002881.post-4305772977760540366</id><published>2023-03-27T12:40:00.002+08:00</published><updated>2023-03-27T12:40:20.580+08:00</updated><title type='text'>Cursor 試用心得</title><content type='html'>&lt;p&gt;利用時間試用了一下 Cursor(https://www.cursor.so/)，使用的是最近開發BLE專案用到的開源代碼 pc-ble-driver-py (https://github.com/NordicSemiconductor/pc-ble-driver-py)&lt;/p&gt;&lt;p&gt;pc-ble-driver-py主要是拿來 nrf Connect for Desktop 做不到的功能，開發客製DFU升級工具程式。&lt;/p&gt;&lt;p&gt;心得：&amp;nbsp;&lt;/p&gt;&lt;p&gt;測試一: prompt: provide the caller &amp;amp; callee relation chart&lt;/p&gt;&lt;p&gt;感覺是有產生出物件的說明&lt;/p&gt;&lt;p&gt;The code does not include a caller and callee relation chart. However, we can infer the relationship between the various classes and objects based on their usage in the code. The BSCollector class is the main class that manages the BLE driver and adapter, and is responsible for calling methods on the other classes and objects as needed. The BLEDriverObserver and BLEAdapterObserver classes are used to observe events from the BLE driver and adapter, respectively, and are called by the BSCollector class. The `BLEGapScanParams`, `BLEGapSecParams`, `BLEGapSecKDist`, and BLEUUID classes are used to define various parameters for the BLE connection, and are used by the BSCollector class when scanning for devices and connecting to them. The EvtSync class is used to synchronize events between the BLE driver and adapter, and is used by the BSCollector class to wait for events from the device. Finally, the Queue class is used to manage a queue of connections to the device, and is used by the BSCollector class to store connections to the device.&lt;/p&gt;&lt;p&gt;測試二:&lt;/p&gt;&lt;p&gt;prompt: if i need to add disconnect handle, how to do it?&lt;/p&gt;&lt;p&gt;第一感覺被嚇到，這麼聰明嗎? 但，搜尋了一下代碼，發現這是原本就有的參考範例。&lt;/p&gt;&lt;p&gt;測試三:&lt;/p&gt;&lt;p&gt;試著用 Attempt Change 套用到我的測試代碼裡，發現就給些很無用的建議了&lt;/p&gt;&lt;p&gt;感想：&lt;/p&gt;&lt;p&gt;從無到有的生成，其實已經相對成熟。 但如果要在已經既有的代碼專案裡面，給修改指導，其實還在很初階的階段。&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/4305772977760540366/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/4305772977760540366' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/4305772977760540366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/4305772977760540366'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2023/03/cursor.html' title='Cursor 試用心得'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-8783596726972361231</id><published>2022-11-28T10:35:00.003+08:00</published><updated>2022-11-28T10:35:54.359+08:00</updated><title type='text'>GCP ACE認證資料參考</title><content type='html'>&lt;p&gt;&amp;nbsp;GCP ACE認證&lt;/p&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;https://zhuanlan.zhihu.com/p/478981425&lt;/p&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;https://liuyuchen777.github.io/2022/02/20/ACE-Prepare-Note/&lt;/p&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;https://github.com/kibablu/associate-cloud-engineer&lt;/p&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;https://ravikirans.com/gcp-associate-cloud-engineer-exam-study-guide/&lt;br /&gt;&lt;br /&gt;線上課程&lt;br /&gt;https://www.udemy.com/course/google-cloud-certification-associate-cloud-engineer/&lt;br /&gt;&lt;br /&gt;https://www.udemy.com/course/google-certified-associate-cloud-engineer-2019-prep-course/&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/8783596726972361231/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/8783596726972361231' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/8783596726972361231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/8783596726972361231'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2022/11/gcp-ace.html' title='GCP ACE認證資料參考'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-7049948097199318375</id><published>2022-06-23T14:37:00.003+08:00</published><updated>2022-06-23T14:39:47.383+08:00</updated><title type='text'> Build openwert in docker</title><content type='html'>&lt;p&gt;&amp;nbsp;Build openwert in docker&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;docker run -itd \&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; --name lede-build \&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; -h r6525 \&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; -p 10022:22 \&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; -v ~/firefly_openwrt:/home/user/firefly_openwrt \&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; p3terx/openwrt-build-env:18.04&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;docker exec -it lede-build zsh&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;missing apps&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;sudo apt install repo&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;sudo apt install bison&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;sudo apt install bc&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;sudo apt install liblz4-tool&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;sudo apt install time&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/7049948097199318375/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/7049948097199318375' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/7049948097199318375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/7049948097199318375'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2022/06/openwert-in-docker-docker-run-itd-name.html' title=' Build openwert in docker'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-4168675343999382513</id><published>2022-06-07T22:54:00.003+08:00</published><updated>2022-06-07T22:54:33.730+08:00</updated><title type='text'>How can I tell Ubuntu to do nothing when I close my laptop lid?</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;Ubuntu&amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: white; color: #232629;&quot;&gt;21.10&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;border-radius: var(--br-md); border: 0px; box-sizing: inherit; color: var(--highlight-color); font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: var(--lh-md); margin-bottom: 0px; margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: var(--su12); vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;/etc/systemd/logind.conf&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;border-radius: var(--br-md); border: 0px; box-sizing: inherit; color: var(--highlight-color); font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: var(--lh-md); margin-bottom: calc(var(--s-prose-spacing-condensed) + 0.1em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: var(--su12); vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;HandleLidSwitch=ignore&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;border-radius: var(--br-md); border: 0px; box-sizing: inherit; color: var(--highlight-color); font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: var(--lh-md); margin-bottom: calc(var(--s-prose-spacing-condensed) + 0.1em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: var(--su12); vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;sudo systemctl restart systemd-logind&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;border-radius: var(--br-md); border: 0px; box-sizing: inherit; color: var(--highlight-color); font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: var(--lh-md); margin-bottom: calc(var(--s-prose-spacing-condensed) + 0.1em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: var(--su12); vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;h3 style=&quot;background-color: white; border: 0px; box-sizing: inherit; color: #232629; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; line-height: 1.3; margin: 0px 0px 0.74em; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: courier; font-size: small;&quot;&gt;Ubuntu 20.04&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #232629; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;/etc/UPower/UPower.conf&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;p style=&quot;background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #232629; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: var(--s-prose-spacing); margin-left: 0px; margin-right: 0px; margin-top: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;background-color: var(--black-075); border-radius: var(--br-sm); border: 0px; box-sizing: inherit; color: var(--black-800); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: var(--su2) var(--su4); vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;IgnoreLid=true&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #232629; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: var(--s-prose-spacing); margin-left: 0px; margin-right: 0px; margin-top: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: var(--black-800); font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;sudo systemctl restart&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: var(--black-800); font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;&quot;&gt;&amp;nbsp;upower&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/4168675343999382513/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/4168675343999382513' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/4168675343999382513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/4168675343999382513'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2022/06/how-can-i-tell-ubuntu-to-do-nothing.html' title='How can I tell Ubuntu to do nothing when I close my laptop lid?'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-8279745048020072465</id><published>2022-06-05T08:12:00.004+08:00</published><updated>2022-06-05T08:12:21.579+08:00</updated><title type='text'></title><content type='html'>&lt;h1 style=&quot;background-color: white; box-sizing: border-box; color: #1a1a1a; font-family: &amp;quot;Nunito Sans&amp;quot;, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 2rem; letter-spacing: 3px; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px; text-transform: uppercase;&quot;&gt;HOW TO MOVE DOCKER DATA DIRECTORY TO ANOTHER LOCATION ON UBUNTU&lt;/h1&gt;&lt;p&gt;https://www.guguweb.com/2019/02/07/how-to-move-docker-data-directory-to-another-location-on-ubuntu/&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/8279745048020072465/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/8279745048020072465' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/8279745048020072465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/8279745048020072465'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2022/06/how-to-move-docker-data-directory-to.html' title=''/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-3613834602209666309</id><published>2022-04-06T23:32:00.003+08:00</published><updated>2022-04-06T23:35:23.548+08:00</updated><title type='text'></title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;h2 style=&quot;background-color: white; box-sizing: border-box; color: #24292f; line-height: 1.25; margin: 0px 0px 16px; padding-bottom: 0.3em; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: trebuchet; font-weight: normal;&quot;&gt;Installing Nextcloud on a Raspberry Pi with docker&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;I found a good reference on&amp;nbsp;https://github.com/chrisbeardy/nextcloud-docker-raspberrypi-tutorial&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/3613834602209666309/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/3613834602209666309' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/3613834602209666309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/3613834602209666309'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2022/04/blog-post.html' title=''/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-6418400461414949365</id><published>2018-12-27T10:37:00.002+08:00</published><updated>2018-12-27T10:37:44.670+08:00</updated><title type='text'>Prevent .vmem file created</title><content type='html'>VMWare guest on SSD, prevent .vmem files created&lt;br /&gt;&lt;br /&gt;prefvmx.minVmMemPct = &quot;100&quot;&lt;br /&gt;MemTrimRate = &quot;0&quot;&lt;br /&gt;mainMem.useNamedFile = &quot;FALSE&quot;&lt;br /&gt;sched.mem.pshare.enable = &quot;FALSE&quot;&lt;br /&gt;prefvmx.useRecommendedLockedMemSize = &quot;TRUE&quot;</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/6418400461414949365/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/6418400461414949365' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/6418400461414949365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/6418400461414949365'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2018/12/prevent-vmem-file-created.html' title='Prevent .vmem file created'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-5959654632635242391</id><published>2015-11-12T09:40:00.001+08:00</published><updated>2015-11-12T09:49:21.045+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="3D Printer"/><title type='text'>CR-7 3DP enlargement &amp; improvment</title><content type='html'>&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;The note for CR-7 modification.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;https://www.facebook.com/groups/CR7.3Dprinter/permalink/1694600304104248/&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;https://www.facebook.com/groups/CR7.3Dprinter/permalink/1707951899435755/&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;https://www.facebook.com/groups/CR7.3Dprinter/permalink/1712531022311176/&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;b&gt;1. Base&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;acrylic 6mm&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #141823; font-size: 15px; line-height: 20.7px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Y axis M4 x 4, X axis M4 x 3，Z axis M5 x 3&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;https://www.facebook.com/groups/CR7.3Dprinter/1713610108869934/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;b&gt;2. Slide plate (4 wheels)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;acrylic 6mm&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;https://www.facebook.com/groups/CR7.3Dprinter/1712531438977801/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;b&gt;3. Printing Base (with 4 magnet)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;acrylic 6mm&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;https://www.facebook.com/groups/CR7.3Dprinter/1712531222311156/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;b&gt;4. 3mm 210x210mm glass (with 4 magnet)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;b&gt;5. V-Slot&amp;nbsp;aluminum extrusion&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;2040 370mm x 1 (Z axis)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;2040 340mm x 1 (Y axis)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;2020 295mm x 1 (X axis)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;2020 140mm x 1 (X axis)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;b&gt;6. T8-Lead Screw holder&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;https://www.facebook.com/groups/CR7.3Dprinter/1702000616697550/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;b&gt;7. T8 Lead Screw&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;8. Beam Coupling&lt;span style=&quot;color: #252525;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14px; line-height: 22.4px;&quot;&gt;&amp;nbsp;(5mm to 8mm)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;b&gt;9. belt 2M&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;b&gt;10. PTFE tube (4*2mm) 400mm&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;b&gt;11. opto limit for Z asix&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;b&gt;12.&amp;nbsp;Slide nut M4 x 13 M5 x 1 (optional)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/5959654632635242391/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/5959654632635242391' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/5959654632635242391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/5959654632635242391'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2015/11/cr-7-3dp-enlargement-improvment.html' title='CR-7 3DP enlargement &amp; improvment'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-9163807752831515239</id><published>2014-07-04T16:23:00.000+08:00</published><updated>2014-07-04T16:26:08.008+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Embedded System"/><category scheme="http://www.blogger.com/atom/ns#" term="i.MX6"/><category scheme="http://www.blogger.com/atom/ns#" term="Yocto"/><title type='text'>Savageboard Dual/Solo with BCM43241 in Yocto</title><content type='html'>&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Yocto image for Savageboard Dual/Solo with BCM43241&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;This image 
includes:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18pt; mso-list: l0 level1 lfo1; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;1.&lt;span style=&quot;font-family: Times New Roman; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;opencv library (for more 
information: this link is helpful: &lt;a href=&quot;http://imxcv.blogspot.tw/2014/02/building-opencv-24x-for-freescales-imx6.html&quot; title=&quot;blocked::http://imxcv.blogspot.tw/2014/02/building-opencv-24x-for-freescales-imx6.html&quot;&gt;http://imxcv.blogspot.tw/2014/02/building-opencv-24x-for-freescales-imx6.html&lt;/a&gt; 
)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18pt; mso-list: l0 level1 lfo1; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;2.&lt;span style=&quot;font-family: Times New Roman; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;gstermer for 
fsl&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18pt; mso-list: l0 level1 lfo1; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;3.&lt;span style=&quot;font-family: Times New Roman; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;opengles demo with 3D 
acceleration&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;To test WiFi &amp;amp; 
BT:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18pt; mso-list: l1 level1 lfo2; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;1.&lt;span style=&quot;font-family: Times New Roman; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;WIFI (modify 
/etc/wpa_supplicant.conf for your WiFi environment. Using wpa_passphrase ssid 
key to generate the key)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;modprobe bcmdhd (insert wifi 
driver)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;ifup wlan0 (bring up wifi 
&amp;amp; wpa_supplicant, then udhcpc will try to get IP address from WiFi 
AP)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18pt;&quot;&gt;
&lt;span style=&quot;color: red; font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;PS: Please 
unpluging ethernet cable beforce wifi testing, due to udhcpc may not get DNS 
setting at ethernet cable plugged.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18pt; mso-list: l1 level1 lfo2; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;2.&lt;span style=&quot;font-family: Times New Roman; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;BT&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 11pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;rfkill unblock 
wimax&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 11pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;brcm_patchram_plus 
--no2bytes --baudrate 3000000 --use_baudrate_for_download --patchram 
/etc/wifi/bcm4324.hcd /dev/ttymxc2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 11pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;hciattach -s 3000000 
/dev/ttymxc2 any 3000000 flow&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 11pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;rfkill unblock 
bluetooth&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 11pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;hciconfig hci0 
up&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 11pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;hcitool scan (will show BT 
devices nearby)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;To test 
OpenCV:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 11pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Use 
the camera_test in &lt;a href=&quot;http://imxcv.blogspot.tw/2014/02/building-opencv-24x-for-freescales-imx6.html&quot; title=&quot;blocked::http://imxcv.blogspot.tw/2014/02/building-opencv-24x-for-freescales-imx6.html&quot;&gt;http://imxcv.blogspot.tw/2014/02/building-opencv-24x-for-freescales-imx6.html&lt;/a&gt; 
with USB UVC camera.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 11pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Ex: 
DISPLAY=:0 ./camera_test&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;To test 
Gstermer:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp; gst-launch filesrc 
location=1080p.mp4 typefind=true ! aiurdemux ! queue ! vpudec ! 
mfw_v4lsink&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp; &lt;span style=&quot;color: red;&quot;&gt;PS: If getting “gst-launch-0.10: page allocation failure: 
order:11, mode:0xd&lt;st1:chmetcnv hasspace=&quot;False&quot; negative=&quot;False&quot; numbertype=&quot;1&quot; sourcevalue=&quot;1&quot; tcsc=&quot;0&quot; unitname=&quot;”&quot; w:st=&quot;on&quot;&gt;1”&lt;/st1:chmetcnv&gt;, 
please free more system memory by “echo 3 &amp;gt; 
/proc/sys/vm/drop_caches”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/9163807752831515239/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/9163807752831515239' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/9163807752831515239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/9163807752831515239'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2014/07/savageboard-dualsolo-with-bcm43241-in.html' title='Savageboard Dual/Solo with BCM43241 in Yocto'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-4415115507867256560</id><published>2013-12-27T15:51:00.002+08:00</published><updated>2013-12-27T15:52:43.946+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Embedded System"/><category scheme="http://www.blogger.com/atom/ns#" term="i.MX6"/><title type='text'>add exist git repo up to github</title><content type='html'>&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Take uboot_savage_mx6 as example.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;1. &lt;span style=&quot;line-height: 18px;&quot;&gt;git remote add pb https://github.com/allencyhsu/uboot_savage_mx6.git&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;2.&amp;nbsp;git remote -v&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;origin &amp;nbsp;git://git.freescale.com/imx/uboot-imx.git (fetch)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;origin &amp;nbsp;git://git.freescale.com/imx/uboot-imx.git (push)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;pb &amp;nbsp;https://github.com/allencyhsu/uboot_savage_mx6.git&amp;nbsp;(fetch)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;pb &amp;nbsp;https://github.com/allencyhsu/uboot_savage_mx6.git (push)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;3.&amp;nbsp;git push pb savage-jb&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;answer the id &amp;amp; pass question.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;4. wait couple minutes to complete upload.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;5. go to github to check the code uploaded.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/4415115507867256560/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/4415115507867256560' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/4415115507867256560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/4415115507867256560'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2013/12/add-exist-git-repo-up-to-github.html' title='add exist git repo up to github'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-4854585943439868311</id><published>2013-09-17T00:31:00.002+08:00</published><updated>2013-11-22T16:01:36.808+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="OMAP3"/><title type='text'>Add a project on exist AOSP repository</title><content type='html'>&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Add a project on exist AOSP repository (ex: realtek android driver)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;li&gt;Make a git repository &amp;amp; add/commit files&lt;/li&gt;
&lt;/span&gt;&lt;/ul&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;/span&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; cd /hardware/realtek/wlan&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;git init&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;git add *&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;git commit -m &quot;1st release&quot; -a&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;li&gt;Create .repo/projects&lt;/li&gt;
&lt;/span&gt;&lt;/ul&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; cd .git&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;mkdir -p ../../../../.repo/projects/hardware/realtek/wlan.git&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cp -a * ../../../../.repo/projects/hardware/realtek/wlan.git/&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Remove local git files &amp;amp; make link to .repo/projects&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; rm -rf branches/ config description hooks/ info/ logs/ objects/ refs/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ln -s ../../../../.repo/projects/hardware/realtek/wlan.git/branches .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ln -s ../../../../.repo/projects/hardware/realtek/wlan.git/config .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ln -s ../../../../.repo/projects/hardware/realtek/wlan.git/description .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ln -s ../../../../.repo/projects/hardware/realtek/wlan.git/hooks .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ln -s ../../../../.repo/projects/hardware/realtek/wlan.git/info .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ln -s ../../../../.repo/projects/hardware/realtek/wlan.git/logs .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ln -s ../../../../.repo/projects/hardware/realtek/wlan.git/objects .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ln -s ../../../../.repo/projects/hardware/realtek/wlan.git/refs .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Edit project.list and&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;manifest.xml&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; vi .repo/project.list&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-&amp;nbsp;add&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;hardware/realtek/wlan&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; vi .repo/manifest.xml&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-&amp;nbsp;add&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;project name=&quot;hardware-realtek-wlan&quot; path=&quot;hardware/realtek/wlan&quot;&gt;&lt;/project&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/4854585943439868311/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/4854585943439868311' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/4854585943439868311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/4854585943439868311'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2013/09/add-project-on-exist-aosp-repository.html' title='Add a project on exist AOSP repository'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-9124120945078699093</id><published>2013-04-15T13:02:00.001+08:00</published><updated>2013-04-15T13:02:33.143+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Network/Server"/><category scheme="http://www.blogger.com/atom/ns#" term="OMAP4"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Ubuntu pptp server</title><content type='html'>&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;1. install pptpd service&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo apt-get install&amp;nbsp;pptpd&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;2. iptables rules&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;-A INPUT -i xyz0 -p tcp -m state --state NEW --dport 1723 -j ACCEPT&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;-A INPUT -i xyz0 -p gre -j ACCEPT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;-A OUTPUT -i xyz0 -p gre -j ACCEPT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;-A INPUT -i xyz0 -p tcp --sport 1723 -s xxx.xxx.xxx.xxx -j ACCEPT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;-A OUTPUT -i xyz0 -p tcp --dport 1723 -d xxx.xxx.xxx.xxx -j ACCEPT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;xyz0 is the out interface.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;xxx.xxx.xxx.xxx is the pptp server address&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;3. /etc/pptpd.conf&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;modify localip &amp;amp; remoteip&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;localip xxx.xxx.xxx.xxx&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;remoteip 192.168.x.51-59&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;xxx.xxx.xxx.xxx is the pptp server address&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;4.&amp;nbsp;/etc/ppp/chap-secrets&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;add one entry for pptpd&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# client server secret IP addresses&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&quot;user&quot; pptpd &quot;password&quot; *&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;5. start pptpd service&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/9124120945078699093/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/9124120945078699093' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/9124120945078699093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/9124120945078699093'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2013/04/ubuntu-pptp-server.html' title='Ubuntu pptp server'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-3818021789277739569</id><published>2013-03-12T15:09:00.001+08:00</published><updated>2013-03-12T15:09:21.902+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Use tmpfs in Ubuntu to speed up</title><content type='html'>Why? Sometime, you will use USB stick to boot up to another testing Ubuntu distribution, but the USB stick as main disk is really slow. So, I choose to use Linux tmpfs to avoid un-necessary access.&lt;br /&gt;
&lt;br /&gt;
/etc/fstab&lt;br /&gt;
tmpfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /tmp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tmpfs &amp;nbsp; defaults,noatime,mode=1777 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;br /&gt;
&lt;br /&gt;
tmpfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /var/spool &amp;nbsp; &amp;nbsp; &amp;nbsp;tmpfs &amp;nbsp; defaults,noatime,mode=1777 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;br /&gt;
tmpfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /var/tmp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tmpfs &amp;nbsp; defaults,noatime,mode=1777 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/3818021789277739569/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/3818021789277739569' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/3818021789277739569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/3818021789277739569'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2013/03/use-tmpfs-in-ubuntu-to-speed-up.html' title='Use tmpfs in Ubuntu to speed up'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-2394200366238814553</id><published>2013-03-08T17:03:00.001+08:00</published><updated>2013-03-08T17:03:32.595+08:00</updated><title type='text'>Install Android JB build environment on Ubuntu precise x64</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; border: none; list-style: none; margin: 0cm 0cm 0pt; padding: 0px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;border: none; list-style: none; margin: 0cm 0cm 0pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;Install Oracle JDK :&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;border: none; list-style: none; margin: 0cm 0cm 0pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;go to &quot;https://raw.github.com/flexiondotorg/oab-java6/&quot; get oab-java.sh&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;border: none; list-style: none; margin: 0cm 0cm 0pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;chmod +x oab-java.sh&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;border: none; list-style: none; margin: 0cm 0cm 0pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;sudo ./oab-java.sh&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;border: none; list-style: none; margin: 0cm 0cm 0pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;after oab-jave.sh finished.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;border: none; list-style: none; margin: 0cm 0cm 0pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;line-height: 19px;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo apt-get install sun-java6-jdk&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;border: none; list-style: none; margin: 0cm 0cm 0pt; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;border: none; list-style: none; margin: 0cm 0cm 0pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 19px;&quot;&gt;sudo update-alternatives --config java&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;border: none; list-style: none; margin: 0cm 0cm 0pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;choose &quot;java-6-sun&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;border: none; list-style: none; margin: 0cm 0cm 0pt; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;border: none; list-style: none; margin: 0cm 0cm 0pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;Install Android build necessary package&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 19px;&quot;&gt;Ubuntu 12.04&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 19px;&quot;&gt;&amp;nbsp;x64:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;border: none; list-style: none; margin: 0cm 0cm 0pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;border: none; list-style: none; margin: 0cm 0cm 0pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;sudo apt-get install git-core gnupg flex bison gperf build-essential z&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 19px;&quot;&gt;ip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 19px;&quot;&gt;libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 19px;&quot;&gt;libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 19px;&quot;&gt;&amp;nbsp;python-markdown libxml2-utils xsltproc zlib1g-dev:i386 uboot-mkimage&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;border: none; list-style: none; margin: 0cm 0cm 0pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;border: none; list-style: none; margin: 0cm 0cm 0pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/2394200366238814553/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/2394200366238814553' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/2394200366238814553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/2394200366238814553'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2013/03/install-android-jb-build-environment-on.html' title='Install Android JB build environment on Ubuntu precise x64'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-5420046093699255622</id><published>2012-10-21T19:30:00.001+08:00</published><updated>2012-10-21T19:34:02.908+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Embedded System"/><category scheme="http://www.blogger.com/atom/ns#" term="OMAP4"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Pandaboard mldonkey server</title><content type='html'>1. the original mldonkey with precise has bug.&lt;br /&gt;
&lt;a href=&quot;https://bugs.launchpad.net/ubuntu/+source/mldonkey/+bug/1060007&quot;&gt;https://bugs.launchpad.net/ubuntu/+source/mldonkey/+bug/1060007&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
2. try to build for my own.&lt;br /&gt;
&amp;nbsp; &amp;nbsp;- get&amp;nbsp;mldonkey-3.1.3.tar.bz2 from official site&lt;br /&gt;
&amp;nbsp; &amp;nbsp;- extract &amp;amp; get build depend package&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;apt-get install build-essential checkinstall ocaml-nox ocaml-native-compilers&amp;nbsp;zlib1g-dev&lt;br /&gt;
&amp;nbsp; &amp;nbsp;- change CXXFLAGS -O2 to -Os&lt;br /&gt;
&amp;nbsp; &amp;nbsp;-&amp;nbsp;./configure --disable-multinet&lt;br /&gt;
&amp;nbsp; &amp;nbsp;- make -j2&lt;br /&gt;
&amp;nbsp; &amp;nbsp;- copy ./mlnet to /usr/bin/mlnet (to replace the old one)&lt;br /&gt;
&lt;br /&gt;
3. regarding the password for remote user.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; - telnet 127.0.0.1 4000&lt;br /&gt;
&amp;nbsp; &amp;nbsp; - useradd admin xxxx (xxxx is password you want)&lt;br /&gt;
&lt;br /&gt;
Ref:&amp;nbsp;&lt;a href=&quot;https://help.ubuntu.com/community/MLDonkey&quot;&gt;https://help.ubuntu.com/community/MLDonkey&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://mldonkey.sourceforge.net/Quickstart_guide&quot;&gt;http://mldonkey.sourceforge.net/Quickstart_guide&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://mldonkey.sourceforge.net/CompilationProblems&quot;&gt;http://mldonkey.sourceforge.net/CompilationProblems&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/5420046093699255622/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/5420046093699255622' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/5420046093699255622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/5420046093699255622'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2012/10/pandaboard-mldonkey-server.html' title='Pandaboard mldonkey server'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-2260542826439506182</id><published>2012-10-21T12:50:00.003+08:00</published><updated>2012-10-22T20:32:54.354+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Embedded System"/><category scheme="http://www.blogger.com/atom/ns#" term="OMAP4"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Pandaboard - fix smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped</title><content type='html'>1. add&amp;nbsp;smsc95xx.turbo_mode=N in /boot/boot.script&lt;br /&gt;
&lt;br /&gt;
2. &amp;nbsp;/etc/sysctl.conf&lt;br /&gt;
&amp;nbsp; &amp;nbsp; -&amp;nbsp;vm.min_free_kbytes = &lt;strike&gt;16384&lt;/strike&gt;&amp;nbsp;32768&lt;br /&gt;
&amp;nbsp; &amp;nbsp; -&amp;nbsp;vm.vfs_cache_pressure = &lt;strike&gt;200 &lt;/strike&gt;&amp;nbsp;300&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3. &amp;nbsp;update systcl&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; - sudo sysctl -p&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/2260542826439506182/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/2260542826439506182' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/2260542826439506182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/2260542826439506182'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2012/10/pandaboard-fix-smsc95xx-1-1110-eth0.html' title='Pandaboard - fix smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-7628883288933718543</id><published>2012-10-21T11:38:00.003+08:00</published><updated>2012-10-21T11:38:50.010+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Embedded System"/><category scheme="http://www.blogger.com/atom/ns#" term="OMAP4"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>lsmod result in Ubuntu precise on Pandaboard</title><content type='html'>&lt;br /&gt;
ppp_deflate &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4867 &amp;nbsp;0&lt;br /&gt;
zlib_deflate &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 21306 &amp;nbsp;1 ppp_deflate&lt;br /&gt;
bsd_comp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5569 &amp;nbsp;0&lt;br /&gt;
ppp_async &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 7602 &amp;nbsp;1&lt;br /&gt;
crc_ccitt &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1628 &amp;nbsp;1 ppp_async&lt;br /&gt;
xt_tcpudp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2573 &amp;nbsp;29&lt;br /&gt;
xt_state &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1384 &amp;nbsp;1&lt;br /&gt;
iptable_filter &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1733 &amp;nbsp;1&lt;br /&gt;
ipt_MASQUERADE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1954 &amp;nbsp;1&lt;br /&gt;
iptable_nat &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4528 &amp;nbsp;1&lt;br /&gt;
nf_nat &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 19315 &amp;nbsp;2 ipt_MASQUERADE,iptable_nat&lt;br /&gt;
nf_conntrack_ipv4 &amp;nbsp; &amp;nbsp; &amp;nbsp;14233 &amp;nbsp;4 iptable_nat,nf_nat&lt;br /&gt;
nf_conntrack &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 85255 &amp;nbsp;5 xt_state,ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4&lt;br /&gt;
nf_defrag_ipv4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1594 &amp;nbsp;1 nf_conntrack_ipv4&lt;br /&gt;
ip_tables &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;13212 &amp;nbsp;2 iptable_filter,iptable_nat&lt;br /&gt;
x_tables &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 19387 &amp;nbsp;6 xt_tcpudp,xt_state,iptable_filter,ipt_MASQUERADE,iptable_nat,ip_tables&lt;br /&gt;
dm_crypt &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 18016 &amp;nbsp;0&lt;br /&gt;
wl12xx &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;174783 &amp;nbsp;0&lt;br /&gt;
mac80211 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;490889 &amp;nbsp;1 wl12xx&lt;br /&gt;
cfg80211 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;203992 &amp;nbsp;2 wl12xx,mac80211&lt;br /&gt;
wl12xx_sdio &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3829 &amp;nbsp;0&lt;br /&gt;
compat &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3663 &amp;nbsp;4 wl12xx,mac80211,cfg80211,wl12xx_sdio&lt;br /&gt;
gpio_keys &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 9031 &amp;nbsp;0&lt;br /&gt;
leds_gpio &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3788 &amp;nbsp;0&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/7628883288933718543/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/7628883288933718543' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/7628883288933718543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/7628883288933718543'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2012/10/lsmod-result-in-ubuntu-precise-on.html' title='lsmod result in Ubuntu precise on Pandaboard'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-2054339775331418742</id><published>2012-10-21T03:35:00.000+08:00</published><updated>2012-10-21T03:35:17.455+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Embedded System"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Pandaboard disable ondemand cpu governor</title><content type='html'>1.&amp;nbsp;sudo update-rc.d ondemand disable&lt;br /&gt;
&lt;br /&gt;
2. modify rc.local&lt;br /&gt;
# By default this script does nothing.&lt;br /&gt;
#set scaling_governor to userspace&lt;br /&gt;
echo userspace &amp;gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor&lt;br /&gt;
echo userspace &amp;gt; /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor&lt;br /&gt;
# set cpufreq to 800Mhz&lt;br /&gt;
echo 800000 &amp;gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed&lt;br /&gt;
echo 800000 &amp;gt; /sys/devices/system/cpu/cpu1/cpufreq/scaling_setspeed&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/2054339775331418742/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/2054339775331418742' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/2054339775331418742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/2054339775331418742'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2012/10/pandaboard-disable-ondemand-cpu-governor.html' title='Pandaboard disable ondemand cpu governor'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-3723683529951212504</id><published>2012-10-21T02:29:00.000+08:00</published><updated>2012-10-21T02:29:27.102+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Embedded System"/><title type='text'>Android keylayout support</title><content type='html'>1. kernel add gpio key support&lt;br /&gt;
2. choose the right .kl &amp;amp; .kcm&lt;br /&gt;
it should be the same with the gpio key driver name(ex: gpio-keys.xx)</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/3723683529951212504/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/3723683529951212504' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/3723683529951212504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/3723683529951212504'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2012/10/android-keylayout-support.html' title='Android keylayout support'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-4940986798043157678</id><published>2012-10-21T02:28:00.000+08:00</published><updated>2012-10-21T02:29:43.427+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Embedded System"/><category scheme="http://www.blogger.com/atom/ns#" term="POS"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Openbravo POS note in Lucid (ARMv7)</title><content type='html'>RXTX could use the repo&#39;s package&lt;br /&gt;
&lt;br /&gt;
but, RXTXComm.jar need to be put in /usr/lib/jvm/java-6-openjdk/jre/lib/ext&lt;br /&gt;
&lt;br /&gt;
librxtxParallel.so, librxtxSerial.so need to be put in /usr/lib/jvm/java-6-openjdk/jre/lib/arm&lt;br /&gt;
&lt;br /&gt;
Use TestSerialPort to do the test.&lt;br /&gt;
1. javac *.java&lt;br /&gt;
2. java ListCommPorts (check result)&lt;br /&gt;
&lt;br /&gt;
Ubuntu ttySx default only root &amp;amp; dialout have permission to use.&lt;br /&gt;
so, the openbravo user need to join dialout group.&lt;br /&gt;
&lt;br /&gt;
for autologon &amp;amp; auto-launch openbravo-pos&lt;br /&gt;
/etc/lxdm/lxdm.conf need to be modified&lt;br /&gt;
[base]&lt;br /&gt;
autologin=opos&lt;br /&gt;
session=/opt/openbravopos-2.30/start.sh&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/4940986798043157678/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/4940986798043157678' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/4940986798043157678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/4940986798043157678'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2012/10/openbravo-pos-note-in-lucid-armv7.html' title='Openbravo POS note in Lucid (ARMv7)'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-2595417857751430482</id><published>2012-10-21T02:16:00.000+08:00</published><updated>2012-10-21T02:25:27.653+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Embedded System"/><category scheme="http://www.blogger.com/atom/ns#" term="OMAP4"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Pandaboard Ubuntu 12.04 precise note</title><content type='html'>My goal is make an device that be my wireless access point, transmission daemon, mldonkey daemon &amp;amp; samba server in my home.&lt;br /&gt;
&lt;br /&gt;
1. first I take a look the following info as reference.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; h&lt;a href=&quot;http://drizztcp.wordpress.com/category/pandaboard/&quot;&gt;ttp://drizztcp.wordpress.com/category/pandaboard/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
2. Grab the Ubuntu 12.04 image from&amp;nbsp;&lt;a href=&quot;http://cdimage.ubuntu.com/releases/12.04/release/&quot;&gt;http://cdimage.ubuntu.com/releases/12.04/release/&lt;/a&gt;. I choose&amp;nbsp;http://cdimage.ubuntu.com/releases/12.04/release/ubuntu-12.04-preinstalled-server-armhf+omap4.img.gz for &amp;nbsp;my Pandaboard A2.&lt;br /&gt;
&lt;br /&gt;
3. Make bootable SDCard &amp;amp; following the install instruction.&amp;nbsp;&lt;a href=&quot;https://wiki.ubuntu.com/ARM/OmapDesktopInstall&quot;&gt;https://wiki.ubuntu.com/ARM/OmapDesktopInstall&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
4. Now, I have an bootable Panda.&lt;br /&gt;
&lt;br /&gt;
5. Configuration the hostapd. &amp;nbsp;I don&#39;t want just take my panda as AP only. So, I decide to run dhcpd on wlan0.&lt;br /&gt;
&amp;nbsp; 5.1 dhcp-server part:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;5.1.1. apt-get install&amp;nbsp;isc-dhcp-server&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;5.1.2 modify /etc/default/isc-dhcp-server&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;nbsp;INTERFACES=&quot;wlan0&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;5.1.3 modify /etc/dhcp/dhcpd.conf&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;nbsp;option domain-name &quot;myhome.net&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - option domain-name-servers 168.95.192.1, 168.95.1.1; (for my Hinet DNS)&lt;br /&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;nbsp;subnet 192.168.0.0 netmask 255.255.255.0 {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; range 192.168.0.100 192.168.0.150;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; option subnet-mask 255.255.255.0;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; option broadcast-address 192.168.0.255;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; option routers 192.168.0.254;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; 5.2 hostapd part:&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; 5.2.1 /etc/network/interfaces We need wlan0 has static ip to be the rule of dhcp-server.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- auto wlan0&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; iface wlan0 inet static&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; address 192.168.0.254&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;netmask 255.255.255.0&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;network 192.168.0.0&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;broadcast 192.168.0.255&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; 5.2.2 /etc/hostapd/hostapd.conf&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;nbsp;interface=wlan0&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;driver=nl80211&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ssid=panda-wifi&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;hw_mode=g&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ieee80211n=1 &amp;nbsp;# enable 802.11n support.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;wmm_enabled=1&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;#ht_capab=[HT40-][HT40+] #Ti wl1271 only up to 65Mbps. HT40 will cause module hang.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;channel=5&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;macaddr_acl=0&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;#0 is allow all connection, 1 is deny all connect, only accept in hostspd.accept&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;accept_mac_file=/etc/hostapd/hostapd.accept&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;deny_mac_file=/etc/hostapd/hostapd.deny&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;auth_algs=1&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ignore_broadcast_ssid=0&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;wpa=2&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;wpa_passphrase=xxxxxx #choose the password you want.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;wpa_key_mgmt=WPA-PSK&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;wpa_pairwise=TKIP&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;rsn_pairwise=CCMP&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; 5.2.3 touch&amp;nbsp;/etc/hostapd/hostapd.accept &amp;amp;&amp;nbsp;/etc/hostapd/hostapd.deny to let hostapd daemon running.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; OK, we have wlan0 &amp;amp; hostapd work now. Next, I want the pppoe work. Zyxel P874 seems performance is not good enough for P2P.&lt;/div&gt;
&lt;div&gt;
6. PPPoE on eth0&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; 6.1 install ppp, pppoe support&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- apt-get install ppp&amp;nbsp;pppconfig&amp;nbsp;pppoe&amp;nbsp;pppoeconf&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; 6.2 /etc/ppp/peers/dsl-provider&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;nbsp;pty &quot;/usr/sbin/pppoe -I eth0 -T 80 -m 1452&quot;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;noipdefault&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;usepeerdns&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;defaultroute&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;user &quot;????????@ip.hinet.net&quot;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; 6.3 /etc/ppp/chap-secrets, /etc/ppp/pap-secrets&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;nbsp;&quot;????????@ip.hinet.net&quot; * &quot;??????&quot;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; 6.4 /etc/network/interfaces&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- add dsl-provider section&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;auto dsl-provider&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;iface dsl-provider inet ppp&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;provider dsl-provider&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; 6.5 PPPoE keepalive.sh (for auto-reconnect)&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
#!/bin/sh&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
# keepalive.sh&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
# This is a keepalive script for the Casema cable modems. This script was&lt;/div&gt;
&lt;div&gt;
# lifted from the /usr/doc/HOWTO/unmaintained/mini/Dynamic-IP-Hacks&lt;/div&gt;
&lt;div&gt;
# document. There should be an entry in your crontab looking like:&lt;/div&gt;
&lt;div&gt;
# */2 * * * * /etc/ppp/keepalive.sh&lt;/div&gt;
&lt;div&gt;
# to run this script every 2 minutes to see if your connection is still&lt;/div&gt;
&lt;div&gt;
# up, if not, gracefully kill the pppd process and remake it.&lt;/div&gt;
&lt;div&gt;
# Modify paths as necessary.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
if [ -f /var/run/ppp0.pid ]; then&lt;/div&gt;
&lt;div&gt;
testing=$(ping -c4 -l4 168.95.192.1 2&amp;gt;&amp;amp;1 | grep &quot;0 packets&quot;)&lt;/div&gt;
&lt;div&gt;
if [ &quot;$testing&quot; != &quot;&quot; ]; then&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /usr/bin/poff -a&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sleep 10&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /usr/bin/pon dsl-provider&lt;/div&gt;
&lt;div&gt;
fi&lt;/div&gt;
&lt;div&gt;
else&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /usr/bin/pon dsl-provider&lt;/div&gt;
&lt;div&gt;
fi&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; 6.6 /etc/crontab&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - */2 * &amp;nbsp; &amp;nbsp;* * * &amp;nbsp; root &amp;nbsp; &amp;nbsp;/etc/ppp/keepalive.sh &amp;nbsp;(for auto-reconnect)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
7. To be an Wireless router&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; 7.1&amp;nbsp;/etc/sysctl.conf&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- enable IPv4 forward&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;net.ipv4.ip_forward=1&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; 7.2 add iptable rule.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- wlan0 as LAN (192.168.0.xxx/24) , ppp0 as Internet connection&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;7.2.1 /etc/firewall-rules&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
*nat&lt;/div&gt;
&lt;div&gt;
:PREROUTING ACCEPT [0:0]&lt;/div&gt;
&lt;div&gt;
:POSTROUTING ACCEPT [0:0]&lt;/div&gt;
&lt;div&gt;
:OUTPUT ACCEPT [0:0]&lt;/div&gt;
&lt;div&gt;
-A POSTROUTING -s 192.168.0.0/24 -o ppp0 -j MASQUERADE&lt;/div&gt;
&lt;div&gt;
COMMIT&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
*filter&lt;/div&gt;
&lt;div&gt;
:INPUT DROP [0:0]&lt;/div&gt;
&lt;div&gt;
:FORWARD ACCEPT [0:0]&lt;/div&gt;
&lt;div&gt;
:OUTPUT ACCEPT [0:0]&lt;/div&gt;
&lt;div&gt;
-A INPUT -i wlan0 -s 127.0.0.1/8 -j DROP&lt;/div&gt;
&lt;div&gt;
-A OUTPUT -o wlan0 -d 127.0.0.1/8 -j DROP&lt;/div&gt;
&lt;div&gt;
-A INPUT -i ppp0 -s 127.0.0.1/8 -j DROP&lt;/div&gt;
&lt;div&gt;
-A OUTPUT -o ppp0 -d 127.0.0.1/8 -j DROP&lt;/div&gt;
&lt;div&gt;
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;/div&gt;
&lt;div&gt;
-A INPUT -s 127.0.0.0/8 -d 127.0.0.0/8 -i lo -j ACCEPT&lt;/div&gt;
&lt;div&gt;
-A INPUT -i ppp0 -p tcp -m tcp --dport 22 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
#for transmission package&lt;/div&gt;
&lt;div&gt;
-A INPUT -i ppp0 -p tcp -m tcp --dport 9091 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
-A INPUT -i ppp0 -p tcp -m tcp --dport 51413 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
#for FTP&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
-A INPUT -i wlan0 -p tcp -m tcp --dport 20 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
-A INPUT -i wlan0 -p tcp -m tcp --dport 21 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
# for SSH&lt;/div&gt;
&lt;div&gt;
-A INPUT -i wlan0 -p tcp -m tcp --dport 22 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
#for SMB/CIFS&lt;/div&gt;
&lt;div&gt;
-A INPUT -i wlan0 -p tcp -m tcp --dport 139 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
-A INPUT -i wlan0 -p tcp -m tcp --dport 445 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
#for transmission package&lt;/div&gt;
&lt;div&gt;
-A INPUT -i wlan0 -p tcp -m tcp --dport 4001 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
-A INPUT -i wlan0 -p tcp -m tcp --dport 9091 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
#for SMB/CIFS&lt;/div&gt;
&lt;div&gt;
-A INPUT -i wlan0 -p udp -m udp --dport 137 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
-A INPUT -i wlan0 -p udp -m udp --dport 138 -j ACCEPT&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
#deny hacker scan&lt;/div&gt;
&lt;div&gt;
-A INPUT -p tcp --tcp-flags ALL NONE -j DROP&lt;/div&gt;
&lt;div&gt;
-A FORWARD -p tcp --tcp-flags ALL NONE -j DROP&lt;/div&gt;
&lt;div&gt;
-A INPUT -p tcp --tcp-flags SYN,FIN SYN,FIN -j DROP&lt;/div&gt;
&lt;div&gt;
-A FORWARD -p tcp --tcp-flags SYN,FIN SYN,FIN -j DROP&lt;/div&gt;
&lt;div&gt;
-A INPUT -p tcp --tcp-flags SYN,RST SYN,RST -j DROP&lt;/div&gt;
&lt;div&gt;
-A FORWARD -p tcp --tcp-flags SYN,RST SYN,RST -j DROP&lt;/div&gt;
&lt;div&gt;
-A INPUT -p tcp --tcp-flags FIN,RST FIN,RST -j DROP&lt;/div&gt;
&lt;div&gt;
-A FORWARD -p tcp --tcp-flags FIN,RST FIN,RST -j DROP&lt;/div&gt;
&lt;div&gt;
-A INPUT -p tcp --tcp-flags ACK,FIN FIN -j DROP&lt;/div&gt;
&lt;div&gt;
-A FORWARD -p tcp --tcp-flags ACK,FIN FIN -j DROP&lt;/div&gt;
&lt;div&gt;
-A INPUT -p tcp --tcp-flags ACK,URG URG -j DROP&lt;/div&gt;
&lt;div&gt;
-A FORWARD -p tcp --tcp-flags ACK,URG URG -j DROP&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
# icmp allow list&lt;/div&gt;
&lt;div&gt;
-A INPUT -p icmp --icmp-type 0 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
-A INPUT -p icmp --icmp-type 3 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
-A INPUT -p icmp --icmp-type 3/4 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
-A INPUT -p icmp --icmp-type 4 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
-A INPUT -p icmp --icmp-type 11 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
-A INPUT -p icmp --icmp-type 12 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
-A INPUT -p icmp --icmp-type 14 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
-A INPUT -p icmp --icmp-type 16 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
-A INPUT -p icmp --icmp-type 18 -j ACCEPT&lt;/div&gt;
&lt;div&gt;
COMMIT&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;7.2.2 /etc/network/interfaces&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - modify dsl-provider section.&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;auto dsl-provider&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;iface dsl-provider inet ppp&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;pre-up iptables-restore &amp;lt; /etc/firewall-rules&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;provider dsl-provider&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
8. install transmission daemon &amp;amp; do basic setting.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
BTW, I upgrade the kernel to 3.4.0 (from PPA) &amp;amp; upgrade the&amp;nbsp;tiwlan-wl12xx-dkms,&amp;nbsp;tiwlan-wl12xx-firmware to help wl1271 more stable.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Done...&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/2595417857751430482/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/2595417857751430482' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/2595417857751430482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/2595417857751430482'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2012/10/pandaboard-ubuntu-1204-precise-note.html' title='Pandaboard Ubuntu 12.04 precise note'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-6489518641076147744</id><published>2012-10-15T12:54:00.000+08:00</published><updated>2012-10-21T03:35:52.216+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Embedded System"/><category scheme="http://www.blogger.com/atom/ns#" term="OMAP3"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Upgrade lucid to precise</title><content type='html'>1. boot.scr
mmc init 2;fatload mmc 2 80200000 uImage;bootm 0x80200000
setenv bootargs console=ttyO2,115200n8 mem=512M@0x80000000 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait mpurate=${mpurate} ethaddr=${ethaddr} omapdss.def_disp=dvi omapfb.mode=dvi:800x600MR-16@60 vram=4M --no-log

ps: --no-log is workaround for &quot;init: Failed to create pty - disabling logging for job&quot;&lt;br /&gt;
&lt;br /&gt;
2. apt sources.list
modify /etc/apt/sources.list, replace lucid to precise&lt;br /&gt;
&lt;br /&gt;
3. do dist-upgrade
apt-get dist-upgrade -o APT::Immediate-Configure=false

during dist-upgrade, some configuration file will be changed&lt;br /&gt;
&lt;br /&gt;
4. mkdir lib/modules dir
mkdir -p /lib/modules/2.6.37-gb0042ce
touch /lib/modules/2.6.37-gb0042ce/modules.dep&lt;br /&gt;
&lt;br /&gt;
5. remove old udev net rules
rm /etc/udev/rules.d/70-persistent-net.rules&lt;br /&gt;
&lt;br /&gt;
6. do backup
tar cvpf gogobox-ubuntu-precise-20121015.tar.gz --exclude=/proc --exclude=/lost+found --exclude=/mnt --exclude=/sys /</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/6489518641076147744/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/6489518641076147744' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/6489518641076147744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/6489518641076147744'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2012/10/upgrade-lucid-to-precise.html' title='Upgrade lucid to precise'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-8783376816404871884</id><published>2011-06-24T16:44:00.000+08:00</published><updated>2012-10-21T02:28:02.521+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Embedded System"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>OMAPDSS:How to enable DVI display</title><content type='html'>How to enable DVI display&lt;br /&gt;    DVI display can be enabled in two ways &lt;br /&gt;         1.  Using bootargs&lt;br /&gt; Eg: omapdss.def_disp=&quot;dvi&quot; omapfb.mode=dvi:720x480@60 &lt;br /&gt;         2.  Using SYSFS attributes&lt;br /&gt;echo 0 &gt; /sys/devices/platform/omapdss/display0/enabled&lt;br /&gt;echo &quot;&quot; &gt; /sys/devices/platform/omapdss/manager0/display&lt;br /&gt;fbset -fb /dev/fb0 -xres 720 -yres 480&lt;br /&gt;echo &quot;dvi&quot; &gt; /sys/devices/platform/omapdss/manager0/display&lt;br /&gt;echo 1 &gt; /sys/devices/platform/omapdss/display2/enabled&lt;br /&gt;kill &lt;matrix_gui PID&gt;&lt;br /&gt;Restart without enabling rotation: matrix_gui -qws /usr/share/matrix/html/menu_main.html &lt;br /&gt;&lt;br /&gt;ref: http://processors.wiki.ti.com/index.php/AM37x_EVM_Software_Developer%27s_Guide</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/8783376816404871884/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/8783376816404871884' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/8783376816404871884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/8783376816404871884'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2011/06/omapdsshow-to-enable-dvi-display.html' title='OMAPDSS:How to enable DVI display'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-8923925798679763430</id><published>2011-06-16T00:40:00.001+08:00</published><updated>2012-10-21T02:26:01.035+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Bash - rename your file name</title><content type='html'>for i in *.rmvb; do mv $i `echo $i | cut -d &#39;.&#39; -f 2,3,4,5,6`; done&lt;br /&gt;&lt;br /&gt;ex: 远古外星人.Ancient.Aliens.S02E10.HDTV-RMVB.rmvb to Ancient.Aliens.S02E10.HDTV-RMVB.rmvb</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/8923925798679763430/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/8923925798679763430' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/8923925798679763430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/8923925798679763430'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2011/06/bash-rename-your-file-name.html' title='Bash - rename your file name'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7002881.post-9210257697469550956</id><published>2011-03-27T01:50:00.001+08:00</published><updated>2012-10-21T02:26:18.791+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Ubuntu Backup/Restore</title><content type='html'>reference from: http://ubuntuforums.org/showthread.php?t=81311&lt;br /&gt;&lt;br /&gt;1. Gen the Tar file:&lt;br /&gt;tar cvpf sendai-backup.tar --exclude=/proc --exclude=/lost+found --exclude=/sendai-backup.tar --exclude=/mnt --exclude=/sys /&lt;br /&gt;&lt;br /&gt;2. Restore the tar to target&lt;br /&gt;tar xvpf sendai-backup.tar -C /&lt;br /&gt;&lt;br /&gt;3. mkdir the exclude dir&lt;br /&gt;mkdir proc&lt;br /&gt;mkdir lost+found&lt;br /&gt;mkdir mnt&lt;br /&gt;mkdir sys</content><link rel='replies' type='application/atom+xml' href='http://allenhsu.blogspot.com/feeds/9210257697469550956/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7002881/9210257697469550956' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/9210257697469550956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7002881/posts/default/9210257697469550956'/><link rel='alternate' type='text/html' href='http://allenhsu.blogspot.com/2011/03/ubuntu-backuprestore.html' title='Ubuntu Backup/Restore'/><author><name>Allen Hsu</name><uri>http://www.blogger.com/profile/05501137621468968138</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>