View Single Post
Posts: 22 | Thanked: 0 times | Joined on Nov 2007
#240
Originally Posted by tz1 View Post
Thank you. The ps output is unexpected.

Which version are you using? The current one is 0.31f.

Only a very old version of minigpsd would start rfcomm by itself.

The current version launches btconnect.sh.

Try removing (manually remove /usr/bin/minigpsd if needed) and reinstalling the latest from maemo extras.
Originally Posted by tz1 View Post
It doesn't help me one bit seeing a highly edited output of ps. If I wanted selected bits I would have asked for them (you can go "ps >/media/mmc1/x.log" to save the output. Also make sure kml interval is set to zero or that the directory points to something which exists.

I still have no idea what is happening.

Are you starting minigpsd from the application/applets?

DO NOT start any GPS in any other way, not the map, not the location manager. Make sure all GPS activity is off before you do StartGPSD from the applet.
In order to resolve these unexpected errors I HAVE ENTIRELY REFLASHED MY N800 WITH THE LATEST DIABLO 5.2008.43-7 FIRMWARE and after installed MINIGPSD as first application.

Starting minigpsd from the applet with New KML Every 0 these are the processes:
PID Uid VSZ Stat Command
1 root 1468 SW init [2]
2 root SWN [ksoftirqd/0]
3 root SW [watchdog/0]
4 root SW< [events/0]
5 root SW< [khelper]
6 root SW< [kthread]
14 root SW< [dvfs/0]
66 root SW< [kblockd/0]
67 root SW< [kseriod]
79 root SW< [OMAP McSPI/0]
86 root SW< [ksuspend_usbd]
89 root SW< [khubd]
113 root SW [pdflush]
114 root SW [pdflush]
115 root SW< [kswapd0]
116 root SW< [aio/0]
119 root SW< [mipid_esd]
238 root SW [mtdblockd]
280 root SW< [kondemand/0]
281 root SW< [kmmcd]
292 root SW< [krfcommd]
303 root SW< [mmcqd]
310 root SW< [mmcqd]
339 root 1120 SW< dsme -d -l syslog -v 4 -p /usr/lib/dsme/libstartup.so
347 root 804 SW /usr/bin/bme_RX-34
349 root 564 SW /usr/sbin/kicker
396 root SW< [cx3110x]
416 root SWN [jffs2_gcd_mtd4]
448 root 1580 SW< /sbin/udevd --daemon
680 messagebus 2312 SW< /usr/bin/dbus-daemon --system
738 haldaemon 4012 SW /usr/sbin/hald
739 root 2828 SW hald-runner
758 root 2984 SW /usr/lib/hal/hald-addon-bme
760 root 2468 SW /usr/lib/hal/hald-addon-omap-gpio
761 root 2468 SW /usr/lib/hal/hald-addon-omap-gpio
762 root 2468 SW /usr/lib/hal/hald-addon-omap-gpio
764 root 2468 SW /usr/lib/hal/hald-addon-omap-gpio
765 root 2972 SW hald-addon-input: Listening on /dev/input/event2 /dev
766 root 2468 SW /usr/lib/hal/hald-addon-mmc
767 root 2468 SW /usr/lib/hal/hald-addon-mmc
769 root 2984 SW /usr/lib/hal/hald-addon-cpufreq
786 root 3788 SW< /sbin/mce --force-syslog
802 root 10924 SW< /usr/bin/Xomap -mouse tslib -nozap -dpi 96 -wr -nolis
829 user 1444 SW< /usr/sbin/temp-reaper
836 user 7268 SW< /usr/lib/sapwood/sapwood-server
840 user 9008 SW< /usr/bin/matchbox-window-manager -theme default -use_
848 root SW< [dsp/0]
851 root SW< [dsp/0]
854 root 2956 SW /usr/sbin/dsp_dld -p --disable-restart -c /lib/dsp/ds
914 root 4836 SW /usr/sbin/multimediad
919 root 2524 SW< /usr/bin/esd
972 root SW< [file-storage-ga]
976 haldaemon 2540 SW hald-addon-usb-cable: listening on /sys/devices/plat
1042 nobody 1808 SW< /usr/sbin/dnsmasq -k -i lo -a 127.0.0.1 -z
1096 messagebus 3356 SW /usr/lib/gconf2/gconfd-2
1180 user 2052 SW< /usr/bin/dbus-daemon --session
1278 systemui 24560 SW< /usr/bin/systemui
1308 user 5268 SW /usr/bin/alarmd
1449 user 7448 SW< /usr/bin/osso-media-server
1534 user 16580 SWN /usr/bin/metalayer-crawler -F
1574 user 7980 SW /usr/libexec/gnome-vfs-daemon
3810 root 7892 SW< /usr/sbin/ke-recv
3827 user 21308 SW< /usr/bin/maemo-launcher --daemon --booster gtk --quie
3854 user 1452 SW< /usr/bin/hildon-input-method
3855 user 30020 SW< /usr/bin/hildon-input-method
3860 user 3944 SW< /usr/bin/clipboard-manager
3897 user 1452 SW< /usr/bin/hildon-desktop
3898 user 67436 SW< /usr/bin/hildon-desktop
3967 root 2596 SW< /usr/sbin/hcid -n -x -s
3972 root 2512 SW< /usr/lib/bluetooth/bluetoothd-service-audio
3973 root 2448 SW< /usr/lib/bluetooth/bluetoothd-service-input
3977 root 2952 SW< /usr/bin/btcond -l
3980 root 3608 SW< /usr/sbin/wlancond
3984 root 4152 SW< /usr/sbin/icd2 -l0
4002 user 1452 SW< /usr/bin/osso-connectivity-ui-conndlgs
4003 user 23020 SW< /usr/bin/osso-connectivity-ui-conndlgs
4009 user 3208 SW< /usr/bin/obexsrv -l
4024 root 5116 SW< /usr/sbin/hulda
4025 root 3064 SW< /usr/sbin/hulda
4045 user 16640 SW /usr/bin/mediaplayer-engine
4061 user 40168 SW /usr/sbin/browserd -d -i microb
4063 user 67356 SW /usr/sbin/browserd -s 4063 -i microb
4091 user 3100 SW< /usr/bin/minigpsd
4101 user 1452 SW /usr/bin/osso-xterm
4102 user 26436 SW /usr/bin/osso-xterm
4103 user 1960 SW -sh
4105 user 1452 SW< rfcomm connect 0 00:xx:xx:xx:xx:xx
4107 user 1988 RW ps


You also can try doing

sh -x /usr/bin/btconnect.sh 0 00:xx:xx:xx:xx:xx &

And watch what is happening and where it is hanging up.
~ $ sh -x /usr/bin/btconnect.sh 0 00:xx:xx:xx:xx:xx &

+ sudo /usr/bin/l2ping -t 1 -c 1 00:xx:xx:xx:xx:xx

~ $ + exec rfcomm connect 0 00:xx:xx:xx:xx:xx

Can't connect RFCOMM socket: Operation now in progress

~ $
When i do the command after few moments the Bluetooth symbol become blue and the gps bt is connected, after ~5 seconds the Bluetooth symbol become white and the phrase
Can't connect RFCOMM socket: Operation now in progress
appears.