Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various script errors #24

Open
roydenyates opened this issue Jan 10, 2017 · 2 comments
Open

Various script errors #24

roydenyates opened this issue Jan 10, 2017 · 2 comments

Comments

@roydenyates
Copy link

I am not smart enough to submit a diff :-(

In
/master/src/opentom_skel/bin/start_bt_gps_listenner

line 10: /mnt/sdcard/wildtom/rfcomm listen /dev/rfcomm1 1 &
and
line 16: /mnt/sdcard/wildtom/rfcomm show | grep rfcomm1 | grep connected

the path obviously is legacy and wrong- should be: /mnt/sdcard/opentom/bin/rfcomm

In addition, line 8 likely is missing an "!":
if ps w | grep rfcomm | grep listen | grep -v grep | grep -c rfcomm1

The comparable line in start_bt_ppp_listenner is:
if ! ps w | grep rfcomm | grep listen | grep -v grep | grep -c rfcomm3

In /src/opentom_skel/etc/nxmenu.cfg
line 103: onoff Listen with GPS data|start_bt_gpsdata_listenner
should be
onoff Listen with GPS data|start_bt_gps_listenner

@george-hopkins
Copy link
Owner

george-hopkins commented Jan 14, 2017

Thank you reporting and the fixes! It really seems that this file wasn't updated in a long time.

I prepared a patch in #25. Do you think that is sufficient to get it running?

@roydenyates
Copy link
Author

I will take a closer look. Run on a Go 730 (SiRF III), there is no GPS output until Navit is started. Then it works. Apparently the GPS chip needs to be started, which the script does not do. Perhaps with non-SiRF III chips, invoking the needed gltt did that?
Another script rc.restartgps references an executable for SiRF III chips - /bin/sirfreset. That is not built for opentom but perhaps like gltt it needs extracting from the TomTom ttsystem? Aside of whatever use it may be, the absence is a problem for rc.restartgps as unlike in the case of gltt, there is no error message asking for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants