论坛风格切换切换到宽版
  • 6656阅读
  • 19回复

路由器加载lcd4linux实现aprs日志显示 [复制链接]

上一主题 下一主题
离线BG6JJI
 
发帖
4942
只看楼主 倒序阅读 0楼 发表于: 2011-12-28
经过实验,目前已经实现了路由器加载lcd4linux软件在usb lcd上显示系统信息,aprs日志等信息,目前正在调试aprs4r的lcd4linux插件,还没有调试成功,老是报lcd4linuxplugin.rb run killed,还没搞懂怎么回事。
相关图片在6cr的群里已经发过了。如果需要,回来再补发。

研究成功后,在这里会发一个帖子,以方便大家调试。

欢迎有linux 编程经验的朋友们一起调试,互通有无。
离线BG6JJI
发帖
4942
只看该作者 1楼 发表于: 2011-12-28
错误1:

[error] 2011-12-27 2359 pluginmanager:: error loading plugin: wmr plugin, ex: no such file or directory - /dev/usb/tts/1       这个关掉气象站插件即可。默认是打开的。
[error] 2011-12-27 2359 pluginmanager:: (eval)in `create'     这个错误还不知道哦
(eval)in `new'
/usr/lib/ruby/1.8/aprs4r/wmrweatherplugin.rbin `setup'
/usr/lib/ruby/1.8/aprs4r/pluginmanager.rbin `setup_plugin'
/usr/lib/ruby/1.8/aprs4r/pluginmanager.rbin `start'
/usr/lib/ruby/1.8/aprs4r/pluginmanager.rbin `each'
/usr/lib/ruby/1.8/aprs4r/pluginmanager.rbin `start'
/usr/lib/ruby/1.8/aprs4r.rb:140
离线BG6JJI
发帖
4942
只看该作者 2楼 发表于: 2011-12-28
错误2:


/usr/lib/ruby/1.8/aprs4r/lcd4linuxplugin.rbin `run'killed  
/usr/lib/ruby/1.8/aprs4r/lcd4linuxplugin.rbin `run'killed
/usr/lib/ruby/1.8/aprs4r/lcd4linuxplugin.rbin `run'       好像它运行了,但是没产生lcd需要的那个 aprs-lcd.log 而且还被杀掉了,程序跑飞了?
离线BG6JJI
发帖
4942
只看该作者 3楼 发表于: 2011-12-28
[log] 2011-12-28 0044 socketrecvthread:: message recv on is0: ba5bj-9 -> apotc1 via [wide1-1, qar, ba5bj-1]: (!2953.39n/12132.85e>126/013/a=000002 12.8v 21c)


这个程序是去读这个日志,分析后产生一个下面格式的文件:
aprs4r-1.0.3 xx4dx7h
rf0 in xxxx out yyyy
is0 in xxxx out yyyy
日志信息(可能是显示一条简要的日志记录,就像上面的这一条,可能会简化)



上面内容中,第一行 显示版本,已运行时间
第二行 通过电台收发的数字统计
第三行 通过网络收发的数字统计
第四行 最新的记录显示


如果是这样的话,我在考虑,如果能写一个程序,直接到lcd需要的一个文件里,其实可以跳过aprs4r的插件,并且别的软件也可以用,最重要的是,还能显示自己想显示的内容。
正在考虑中...希望有朋友帮助。
离线汤圆
发帖
1157
只看该作者 4楼 发表于: 2011-12-28
我在用tp-link 741nd 做802.1x eap的有线认证 因为学校里面 网络比较变态 有没有什么内部人说说 echolink可不可以做成软件包用于 openwrt... 弄个usb声卡多好
离线BG6JJI
发帖
4942
只看该作者 5楼 发表于: 2011-12-28
linux的echolink还没注意过有没有,您可以搜搜
离线BG4TGO
发帖
783
只看该作者 6楼 发表于: 2011-12-28
[quote=汤圆]我在用tp-link 741nd 做802.1x eap的有线认证 因为学校里面 网络比较变态 有没有什么内部人说说 echolink可不可以做成软件包用于 openwrt... 弄个usb声卡多好[/quote]
呵呵,我也是想可不可以弄个arm系统跑个安卓或者linux 在上面运行echolink
离线BG2TOS
发帖
1749
只看该作者 7楼 发表于: 2011-12-28
越研究越高明

严重关注 并赞一个
离线汤圆
发帖
1157
只看该作者 8楼 发表于: 2011-12-28
'
呵呵,我也是想可不可以弄个arm系统跑个安卓或者linux 在上面运行echolink
'

安卓的确可以 但是控制没有办法解决 除非获取源码 改个gpio连接对讲机rx指示信号
离线BG1ESR
发帖
145
只看该作者 9楼 发表于: 2011-12-28
好像不灵光,如下:

installation
1. which operating systems are supported?
echolink is designed to run on all 32-bit and 64-bit versions of microsoft windows. it has been tested on windows 95, windows 98, windows nt 4.0, windows me, windows 2000, windows xp, windows server 2003, windows server 2008, windows vista, and windows 7. windows 2000 or above is strongly recommended.

windows 95: echolink requires certain system components which are normally packaged with microsoft internet explorer, version 4.0 or above. if you are running windows 95, you might also need to install the winsock 2 upgrade, which can be downloaded here. (this update should not be required for other versions of windows.) for more information, see using echolink with windows 95.

currently, there are no plans to offer versions of echolink for other operating systems. however, if you are running a macintosh with os x, you can use the program echomac by n9yty, which is compatible with echolink.   (support for echomac is not available through the echolink web site.)

if you are running a linux distribution, you may be able to run echolink on the wine platform, as some other users have done. wine is an optional component of most linux distributions, such as ubuntu, fedora, and debian.

2. will echolink run on a pda, such as an iphone or a windows mobile device?
an edition of echolink for the apple iphone and ipod touch is now available, free of charge, at the app store. you must already be a validated echolink user before you can use this edition of the program; if you are not already validated, please download and install the windows version on a pc first, then follow the validation procedure as outlined on this site.

an edition of echolink for android is also available, from the android market. however, there are no plans to offer echolink for other mobile platforms. please note that windows pc applications such as echolink cannot be installed on a windows mobile device.
离线BG6JJI
发帖
4942
只看该作者 10楼 发表于: 2011-12-28
怎么成了echolink的讨论贴了。。。。
离线BH4QBO
发帖
29
只看该作者 11楼 发表于: 2011-12-28
linux下面的echolink可以用qtel,用路由装的话,要加载一个u盘.要不然装不下.用soundmodem,加ttl就可以了连接电台了.
离线BG6JJI
发帖
4942
只看该作者 12楼 发表于: 2011-12-29
给大家发个图看看
离线BG2TOS
发帖
1749
只看该作者 13楼 发表于: 2011-12-29
离线BG6JJI
发帖
4942
只看该作者 14楼 发表于: 2011-12-29
想请公鸡哥哥给看看aprs4r的lcd4linuxplugin插件程序,没有输出aprs-lcd.log的动作,也运行不了,不知道公鸡哥哥有没有时间。
离线BH4TDV
发帖
1189
只看该作者 15楼 发表于: 2011-12-29
linux不懂帮顶,只会做板子,要么做块lcd板子,直接接到tx\rx线,一会儿路由器挂出来,也拍个照你看看
离线汤圆
发帖
1157
只看该作者 16楼 发表于: 2011-12-29
'
linux下面的echolink可以用qtel,用路由装的话,要加载一个u盘.要不然装不下.用soundmodem,加ttl就可以了连接电台了.
'


这个好
离线BG6JJI
发帖
4942
只看该作者 17楼 发表于: 2011-12-29
'
[表情] linux不懂帮顶,只会做板子,要么做块lcd板子,直接接到tx\rx线,一会儿路由器挂出来,也拍个照你看看 [表情]
'
这个好
离线ZL1CH
发帖
374
只看该作者 18楼 发表于: 2012-05-25
顶起~~~求最新消息?~~
- Hamradio Operator (ZL1CH, BG5HSC)
- Network Operator at Auckland Transport Operations Centre (ATOC)
- Ex Police Officer / Reporter
- Auckland, New Zealand
- Twitter, Instagram & Facebook: ZL1CH
- Email: bg5hsc@gmail.com
- Blog: http://blog.sina.com.cn/bg5hsc
离线BG6JJI
发帖
4942
只看该作者 19楼 发表于: 2012-06-04
木有消息,谁会编程,截取aprs4r的日志到一个日志文件用来显示?
到处游荡的机器人火腿,目前在丽江
RIG:我有一堆uSDX
ANT:随时都能抄走的拉杆GP天线
QQ:1416160    我的DIY群:777353770
http://www.dxsummit.fi/DxSpots.aspx