Open Xf0ur opened 2 years ago
Could it be that because you already have a serial driver claiming the interface, android is not able to claim this for itself? Are you able to disable the driver?
Hi, Thanks for replying. The android build i'm using has HAL for serial GPS devices I can only comment this line in build.prop ro.kernel.android.gps=ttyACM1 Can you explain how i can disable the driver?
Edit: here is some other logs
I chatty : uid=10163(org.broeuschmeul.android.gps.usb.provider) pool-5-thread-1 identical 104 lines
E NotificationService: No Channel found for pkg=org.broeuschmeul.android.gps.usb.provider, channelId=null, id=2131689517, tag=null, opPkg=org.broeuschmeul.android.gps.usb.provider, callingUid=10163, userId=0, incomingUserId=0, notificationUid=10163, notification=Notification(channel=null shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x0 color=0x00000000 vis=PRIVATE)
I chatty : uid=10163(org.broeuschmeul.android.gps.usb.provider) pool-5-thread-1 identical 19 lines
I chatty : uid=10163(org.broeuschmeul.android.gps.usb.provider) pool-5-thread-1 identical 24 lines
I chatty : uid=10163(org.broeuschmeul.android.gps.usb.provider) pool-5-thread-1 identical 40 lines
I chatty : uid=10163(org.broeuschmeul.android.gps.usb.provider) pool-5-thread-1 identical 13 lines
I chatty : uid=10163(org.broeuschmeul.android.gps.usb.provider) pool-5-thread-1 identical 12 lines
I chatty : uid=10163(org.broeuschmeul.android.gps.usb.provider) pool-5-thread-1 identical 48 lines
I chatty : uid=10163(org.broeuschmeul.android.gps.usb.provider) pool-5-thread-1 identical 29 lines
Hi, Are you able to use your android phone as an external GPS for your tablet via USB using an app like Share GPS then intercept the GPS data using your UsbGps4Droid app?
I can only comment this line in build.prop ro.kernel.android.gps=ttyACM1
Remove that line and see what happens?
Otherwise, if you have root access, can you run lsmod
and send the output here?
Are you able to use your android phone as an external GPS for your tablet via USB using an app like Share GPS then intercept the GPS data using your UsbGps4Droid app?
No, USB Gps is just designed for serial GPS devices :/
Remove that line and see what happens?
I removed it, still see the same log errors
Otherwise, if you have root access, can you run
lsmod
and send the output here?
I do have root however lsmod doesn't show any loaded modules.
I think you should have the phone in hand in order to solve that issue. Thanks anyway.
Hi, I have an old symbian phone which i want to use its internal GPS to provide location for Raspberry pi. I succeeded doing so by using Bluetooth GPS provider apps. However, i would like to use USB GPS as well.
Here is some log:
P.S. The phone creates ttyACM1 acm device and i can actually see GPS data coming when i run cat /dev/ttyACM1 after having GPS fix.
Any help?