Friday, January 20, 2012

MacBook Pro serial console port config

Serial Communication in OSX Terminal

I knew it had to be possible to view serial data in the OSX terminal window, but I'm not enough of a unix geek to figure it out. Finally, a little googling told me what I needed to know. Here's how to read and send serial data from the terminal in OSX.

First, open Terminal. If you've never used it before, it's under Applications/Utilities/Terminal. Next, type

ls /dev/tty.*

to get a list of all of your serial ports. Pick the one that you want to open. For example, my list looks like this:

/dev/tty.BTRS232                        /dev/tty.Tigoe6630-AppleAgent-1 /dev/tty.Bluetooth-Modem                /dev/tty.Tigoe6630-Dial-UpNetwor-2 /dev/tty.KeySerial1                     /dev/tty.modem 

And I know from previous experience that /dev/tty.Keyserial1 is my Keyspan USB-to-serial adaptor. It's connected to a PIC at the moment. The PIC's programmed to read one byte of serial data at 9600 bits per second, then send back three bytes, "A", "B" and "C".

Knowing the serial port, you can just type screen portname datarate to show the serial data on the screen. In my case, it was:

screen /dev/tty.Keyserial1 9600 

Then I started typing bytes at the PIC, and it sent bytes back to me. Whee! No need for zTerm! To quit the screen app, tyoe control-A, then control-\.

source from: http://www.tigoe.net/pcomp/resources/archives/avr/000749.shtml

Tuesday, December 9, 2008

Apple Ipod Touch /Iphone related

1) http://www.ipodtouchhacks.com/ipod-touch/detailed-instructions-on-how-to-use-quickpwn/
2) http://lifehacker.com/355036/put-all-of-wikipedia-on-your-iphone-or-ipod-touch
3) http://www.quickpwn.com/2008/09/jailbreak-ipod-touch-21.html
4) http://www.ipodtouchfans.com/forums/showthread.php?t=1570
5) http://quickfreedom.com/
6) http://appulo.us/appdb/
7) http://www.iphonedownloadblog.com/2008/08/18/mobileinstallation-for-iphone/
8) http://www.metacafe.com/watch/2395900/how_to_install_cracked_ipa_apps_onto_ipod_touch_iphone_2_2/
9) http://www.iphonedownloadblog.com/2008/08/04/how-to-add-ipa-apps-to-your-iphone/
10) http://www.malaysiaiphone.com/blog/upgrade-and-jailbreakunlock-your-iphone-2g3g/
11) http://blog.iphone-dev.org/
12) http://www.blogsdna.com/3742/download-custom-ipsw-30-for-iphone-3g-2g-30-ipod-touch-30.htm
13) http://techblissonline.com/download-ultrasn0w-and-unlock-iphone-3g-os-30/
14) http://www.blogsdna.com/3755/how-to-jailbreak-unlock-ipod-touch-2g-1g-os-30-with-redsn0w-07.htm
15) http://www.ihackintosh.com/2009/06/jailbreak-iphone-3g-os-30-redsn0w-windows-mac/
16) HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
delete the WinXP registry key "TcpWindowSize"
17) http://answers.yahoo.com/question/index?qid=20090702070402AAGj6M0
18) http://www.mydigitallife.info/2009/06/28/activate-and-enable-iphone-as-internet-tethering-wireless-modem-without-hack-or-jailbreak/
19) http://www.ismashphone.com/2009/06/how-to-jailbreak-iphone-os-30-on-windows.html
20) http://ipodtouchtricks.net/os-30-jailbreak/how-to-installsync-jailbroken-apps-with-appsync-on-ipod-touch-os-30-mipatch-alternative/
21) http://www.iphonedownloadblog.com/iphone-downloads/
22) Appulous alternatives
hxxp://iphonecake.com/appcake
http://apptrackr.org/
hxxp://iapplications.ru/
And those contributed by others:
Revjohn:
hxxp://www.iphoneapplist.net/
hxxp://www.vnmstore.net/
hxxp://idownloads.ru/
hxxp://www.irapple.com/
hxxp://imods.ru/
hxxp://imodzone.net/
hxxp://crackedapps.webnode.com/all-cracked-ipas/

Afroman:
hxxp://ihacks.ru/

pabliman:
hxxp://www.igui.ru/

borealiszio:
hxxp://www.iphoneiso.com/
hxxp://www.macthemes.net/ (more for themes)

jendol:
hxxp://www.ipmart-forum.com/
hxxp://macosmovil.com/

oldhouse:
hxxp://www.netloaded.org/?s=iphone
hxxp://www.iphoneapplist.net

hxxp://www.vnmstore.net

hxxp://idownloads.ru

hxxp://www.irapple.com
===================================================

Monday, September 10, 2007

Online Magazine

01.天下雜誌http://www.cw.com.tw/
02.電腦家庭http://www.pchome.com.tw/
03.電腦DIY http://www.computerdiy.com.tw/
04.第三波http://www.acertwp.com.tw/
05.台灣通訊http://www.twntelecom.com/
06.卓越雜誌http://www.anfeng.com.tw/apc001.html
07.空中美語http://www.englishdigest.com/
08.常春藤http://www.ivy.com.tw/
09.健康雜誌http://www.health-plus.com.tw/
10.理財顧問http://www.anfeng.com.tw/APC005.HTML
11.陶藝雜誌http://www.arts.com.tw/media/ceramic.htm
12.新台灣http://www.newtaiwan.com.tw/
13.新視聽http://primeav.audionet.com.tw/
14.漢華訊息http://www.sino21.com/big/home.htm
15.錢網http://www.money.com.tw/
16.新觀念http://www.1988newidea.com.tw/
17.雜誌展http://www.magazine.org.tw/
18.書呆子http://www.isl.net.tw/books/journal.html
19.Pc http://www.pcoffice.com.tw
20.OfficePcDIY http://www.pcdiy.com.tw
21.軟體世界http://www.swm.com.tw/
22.音樂時代http://music.era.com.tw/
23.新視界http://www.tsmedia.com/newvision/
24.一手車訊http://www.carnews.com.tw/
25.車界雜誌http://www.tncar.com.tw/
26.車主雜誌http://www.autonet.com.tw/
27.世界電影http://www.worldscreen.com.tw/
28.網路時裝http://www.fashionmall.com/
29.儂儂雜誌http://www.nongnong.com.tw/
30.摩登家庭http://www.modernhome.com.tw/
31.嬰兒母親http://www.baby-mother.com.tw/
32.芙蓉坊http://fashion-colour-beauty.com.tw/
33.女性雜誌http://www.anfeng.com.tw/APC010.HTML
34.世界電影http://www.worldscreen.com.tw/
35.建築資訊http://www.chi.org.tw/
36.網路時裝http://www.fashionmall.com/
37.娛樂生活http://www.plem.com/
38.玩樂吃喝http://www.yum.com.tw/
39.空間雜誌http://space.com.tw/
40.健康雜誌http://www.commonhealth.com.tw/
41.攝影網路http://www.photonet.net/
42.博學堂http://www.chinesebooks.net/
43.海棠藝術http://www.arts.com.tw/index0.htm
44.留學情報http://www.ief.com.tw/
45.留日情報http://www.acd.com.tw/
46.中華醫學http://www.vghtpe.gov.tw/~cmj/index_c.htm
47.行動大學http://www.mei.com.tw/
48.植根雜誌http://www.root.com.tw/
49.play雜誌http://play.yes.net.tw/
50.世界民航http://www.airway.com.tw/
51.年青人http://www.yes.com.hk/
52.國外雜誌http://www.pathfinder.com/welcome/
53.原住民http://abori.pts.org.tw/
54. http://www.books.com.tw
55. http://www.eslite.com.tw
56. http://paoxue.com/index.php 泡茗社交学

Thursday, September 6, 2007

Investment and Business News


Bursa Malaysia --> http://www.bursamalaysia.com/
The edge --> http://www.theedgedaily.com/
Biznews --> http://www.biznewsdb.com/
iCapital --> http://www.icapital.com/
ZoomFinance --> http://galvatron.zoomfinance.com/corporate/BusinessTimes/fr_zoomFinance.jsp
Business times --> http://www.btimes.com.my/
Bloomberg --> http://www.bloomberg.com/markets/stocks/wei_region3.html
iFeng --> http://www.ifeng.com/
CNBC ---> http://www.cnbc.com/
CIMB WealthAdvisors --> CIMB WealthAdvisors
CIMB Principal Asset management --> CIMB Princicap Asset Management
Public Mutual Fund --> http://www.publicmutual.com.my/
China大豆 http://futures.hexun.com/soybean/index.html
China大豆 index http://quote.futures.hexun.com/price.aspx
SoyBean Oil Chart http://www.investing.com/commodities/us-soybean-oil-advanced-chart
CrudeOil Chart http://www.investing.com/commodities/crude-oil-advanced-chart 
http://marketviking.blogspot.com/
http://www.cmegroup.com/trading/commodities/grain-and-oilseed/soybean-oil.html
http://www.agriculture.com/markets/analysis
CNBC bean oil
http://samgangblogspot.com/member/wp-login.php
shares ebook http://www.tumawo.cn/topview/4e/6530.html
電子書籍 http://zh-tw.ebookcn.com/book/
http://www.ewqs.net/user1/photolive/archives/2008/17679.html
RHB derievaties
http://futures.tradingcharts.com/intraday/CL_V1?anticache=1315962816


Singapore Business News

SI.MSCI index http://esite.sgx.com/live/dt/DTfuture.asp?SGFE
Singpaore MSCI info
Singapore Futures info

香港HK business news
MingPao Finance http://www.mpfinance.com/htm/Finance/main.htm
HK Business News http://www.hket.com/eti/
股票、基金討論區 HK http://www.getjetso.com/forum/forum-7-1.html
http://redmonkeyblog.blogspot.com/
http://www.editgrid.com/user/redmonkey/China_Bank
http://www.editgrid.com/user/redmonkey/Stock_Valuation
HK listed company info http://www.hkexnews.hk/listedco/listconews/advancedsearch/search_active_main.asp
曹仁超——投資者日記 http://chaozmarket.blogspot.com/谢国忠的博客
谢国忠的博客2
http://finance.ifeng.com/topic/zzyhgjc/index.shtml
华尔街日报 http://chinese.wsj.com/gb/index.asp


US Market related
US Stock rating http://moneycentral.msn.com/investor/StockRating/srsmain.asp?Symbol=AMZN
Options Express http://www.optionsxpress.com/
MSN Money center http://moneycentral.msn.com/
CNBC http://www.cnbc.com/
東尼(copy)的日志 http://sns.ganguba.com/space-701-do-blog-view-me.html

English Newspapers
Thesun --> http://www.sunsurf.com/
TheStar --> http://www.thestar.com.my/
News Straits Time --> http://www.nstp.com.my/

Chinese Newspapers
Chinapress --> http://www.chinapress.com.my/
Sinchew --> http://www.sinchew-i.com/
Oriental Daily --> http://www.orientaldaily.com.my/
Nanyang --> http://www.nanyang.com/
Guangming --> http://www.guangming.com.my/
NLP http://www.nlp.cn
Forum
Chinese Cari --> http://chinese.cari.com.my/

Entertainment related

Youtube --> http://www.youtube.com/
Crunchyroll --> http://www.crunchyroll.com/
Online video --> http://www.tvcells.org/2007/09/07-theatre.html
TV cells --> http://engine.tvcells.org/?cx=018268480634581477206%3Ayilccg2vngq&cof=FORID%3A10&q=life+of+drive#1171
Veoh --> http://www.veoh.com/videos/v827608mEsgwN2m
Free TV online --> http://www.freetvonline.com/
http://petua18sx.blogspot.com/
Tudou --> http://www.tudou.com/index.php
56 --> http://www.56.com/
一日五餐 http://www.astro.com.my/1Day5Meals/info.asp
Lyrics http://www.coolmanmusic.com/cmwww/main.php
onine songs http://www.sogou.com/
All Malaysia food http://www.allfoodnet.com/
Malaysia foods http://www.vkeong.com/2009/01/10/tenji-japanese-buffet-solaris-mont-kiara/
http://www2.spbo.com/live.html/undefined
http://www.spbo.com/live.htm
http://www.nowgoal.com/18.shtml
http://newsntrends.com/ -- online series streaming
http://www.zq356.com/
http://www.607888.com/
http://www.zq878.com/

IT related - Useful links

This summary is not available. Please click here to view the post.