{"id":12,"date":"2010-01-31T13:22:12","date_gmt":"2010-01-31T13:17:14","guid":{"rendered":""},"modified":"2017-03-07T16:02:51","modified_gmt":"2017-03-07T16:02:51","slug":"earth-to-rxtx","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/bangert\/2010\/01\/31\/earth-to-rxtx\/","title":{"rendered":"MTKII as \/dev\/ttyACM0 in bt747"},"content":{"rendered":"<p>During summer I got interested in <a href=\"http:\/\/en.wikipedia.org\/wiki\/GPS\">GPS<\/a> and <a href=\"http:\/\/www.openstreetmap.org\/\">mapping<\/a> and bought myself a mtkII based device. For these there is a java app called <a href=\"http:\/\/www.bt747.org\/\">bt747<\/a> in the <a href=\"http:\/\/znurt.org\/sci-geosciences\/bt747\">tree<\/a>. However I couldn&#8217;t get it to work &#8211; bt747 would not accept the device name I tried to convince it of using.<\/p>\n<p>Turns out that older devices where using a USB to serial converter to provide the USB interface: these show up as \/dev\/ttyUSBx &#8211; with x being an integer. The device I bought is a newer generation who appear to have an on-chip USB port, which will show up as \/dev\/ttyACMx (x again being an integer). So, support for ttyACMx type devices is needed in BT747. See <a href=\"http:\/\/bugs.gentoo.org\/show_bug.cgi?id=281888\">bug #281888<\/a>.<\/p>\n<p>It turns out BT747, being a java app, uses rxtx to provide support for serial device communication. So lets fix rxtx &#8211; see <a href=\"http:\/\/bugs.gentoo.org\/show_bug.cgi?id=301126\">bug #301126<\/a>.<\/p>\n<p>Meanwhile there is also <a href=\"http:\/\/sourceforge.net\/projects\/mtkbabel\/\">mtkbabel<\/a> in <a href=\"http:\/\/znurt.org\/sci-geosciences\/mtkbabel\">portage<\/a>, which is not so picky about the device names.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>During summer I got interested in GPS and mapping and bought myself a mtkII based device. For these there is a java app called bt747 in the tree. However I couldn&#8217;t get it to work &#8211; bt747 would not accept the device name I tried to convince it of using. Turns out that older devices &hellip; <a href=\"https:\/\/blogs.gentoo.org\/bangert\/2010\/01\/31\/earth-to-rxtx\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">MTKII as \/dev\/ttyACM0 in bt747<\/span><\/a><\/p>\n","protected":false},"author":39,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,3],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/bangert\/wp-json\/wp\/v2\/posts\/12"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/bangert\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/bangert\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/bangert\/wp-json\/wp\/v2\/users\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/bangert\/wp-json\/wp\/v2\/comments?post=12"}],"version-history":[{"count":2,"href":"https:\/\/blogs.gentoo.org\/bangert\/wp-json\/wp\/v2\/posts\/12\/revisions"}],"predecessor-version":[{"id":122,"href":"https:\/\/blogs.gentoo.org\/bangert\/wp-json\/wp\/v2\/posts\/12\/revisions\/122"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/bangert\/wp-json\/wp\/v2\/media?parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/bangert\/wp-json\/wp\/v2\/categories?post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/bangert\/wp-json\/wp\/v2\/tags?post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}