Показать сообщение отдельно
Старый 15.11.2017, 15:54   #1108
Sonador
Новый Пользователь
 
Аватар для Sonador
 
Регистрация: 16.10.2011
Возраст: 33
Город: Тверь-Москва
Регион: 69
Машина: Peugeot 207
Сообщений: 7
Sonador is on a distinguished road
По умолчанию

Друзья, прошу помощи!
Хочу подключить к Pipo X9 usb gps свисток как внутреннее устройство.
Исходные данные:

Устройство:
Pipo X9
Android 4.4.4
Ядро 3.10.20

GPS:
Locosys LS23030-G

Что пробовал:
1. GPS работает через фиктивное местоположение и софтину PL2303GPS MockLocation Demo. (Данные идут, но ловит плохо, неточно, возможно из-за того что GPS в автомобиле под стеклом).
2. Пробовал загружать модуль вручную, в папку /system/lib/modules/ , но данном устройстве нет такой папки, создавал в ручную, выставлял права, не работает.
3. Пробовал загружать модуль софтиной Module Loader, ничего не меняется.
4. Прописывал в /system/build.prop строки ro.kernel.android.gps=ttyUSB2; ro.kernel.android.gps=115200

Данные о tty взял из софтины catlog, подключал и отключал GPS и фильтровал по параметру dongle. Лог прикладываю.

11-15 13:29:45.613 I/ActivityManager(564): START u0 {act=android.hardware.usb.action.USB_DEVICE_ATTACH ED flg=0x10000000 cmp=com.intel.dongle/.DongleUsbHelperActivity (has extras)} from pid 564
11-15
13:29:45.673 D/Dongle---------->(25306): DongleUsbHelperActivity, onCreate(), ENTER
11-15
13:29:45.673 W/ContextImpl(25306): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1145 android.content.ContextWrapper.sendBroadcast:365 com.intel.dongle.DongleUsbHelperActivity.onCreate: 30 android.app.Activity.performCreate:5231 android.app.Instrumentation.callActivityOnCreate:1 087
11-15
13:29:45.803 D/Dongle---------->(25306): DongleStateReceiver, Receviced Intent: com.intel.dongle.ACTION_USB_DEVICE_ATTACHED,
11-15
13:29:45.803 D/Dongle---------->(25306): UsbDevice: UsbDevice[mName=/dev/bus/usb/001/016,mVendorId=1659,mProductId=8963,mClass=0,mSubcl ass=0,mProtocol=0,mInterfaces=[Landroid.os.Parcelable;@2679ef48]
11-15
13:29:45.803 D/Dongle---------->(25306): DongleStateReceiver, bootComplete : false
11-15
13:29:45.803 W/Dongle---------->(25306): DongleStateReceiver, handleUsbDevice
11-15
13:29:45.803 D/Dongle---------->(25306): DongleStateReceiver, Device id 067b:2303 class is 255
11-15
13:29:45.803 D/Dongle---------->(25306): DongleStateReceiver, Device id test it
11-15
13:29:46.803 E/Dongle---------->(25306): DongleStateReceiver, device name /dev/bus/usb/001/016
11-15
13:29:46.803 D/Dongle---------->(25306): DongleStateReceiver, vid/PID:16598963
11-15
13:29:46.803 D/Dongle---------->(25306): DongleStateReceiver, deviceid=16598963 content://dongle/device/
11-15
13:29:46.803 E/Dongle---------->(25306): DongleStateReceiver, mAtPort == null
11-15
13:29:46.813 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB0
11-15
13:29:47.813 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:29:48.813 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:29:49.813 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:29:50.813 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:29:51.813 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:29:52.813 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:29:53.813 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:29:54.813 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:29:55.823 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:29:55.823 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:29:55.823 D/Dongle---------->(25306): DongleStateReceiver, ttyUSB2 init error
11-15
13:29:55.823 D/Dongle---------->(25306): DongleStateReceiver, simLockPoll pin
11-15
13:30:50.103 D/Dongle---------->(25306): DongleStateReceiver, Receviced Intent: android.hardware.usb.action.USB_DEVICE_DETACHED,
11-15
13:30:50.103 D/Dongle---------->(25306): UsbDevice: UsbDevice[mName=/dev/bus/usb/001/016,mVendorId=1659,mProductId=8963,mClass=0,mSubcl ass=0,mProtocol=0,mInterfaces=[Landroid.os.Parcelable;@26789e80]
11-15
13:30:50.113 D/Dongle---------->(25306): DongleStateReceiver, To stop Dongle service !!!!
11-15
13:30:50.113 W/ContextImpl(25306): Calling a method in the system process without a qualified user: android.app.ContextImpl.stopService:1507 android.content.ContextWrapper.stopService:499 android.content.ContextWrapper.stopService:499 com.intel.dongle.DongleStateReceiver$2.run:100 java.lang.Thread.run:841
11-15
13:30:50.123 W/ContextImpl(25306): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1145 android.content.ContextWrapper.sendBroadcast:365 android.content.ContextWrapper.sendBroadcast:365 com.intel.dongle.DongleStateReceiver$2.run:103 java.lang.Thread.run:841
11-15
13:30:58.123 D/Dongle---------->(25306): DongleStateReceiver, set to 0.SystemProperties.get("persist.dongle_support")=0
11-15
13:31:13.093 I/ActivityManager(564): START u0 {act=android.hardware.usb.action.USB_DEVICE_ATTACH ED flg=0x10000000 cmp=com.intel.dongle/.DongleUsbHelperActivity (has extras)} from pid 564
11-15
13:31:13.253 D/Dongle---------->(25306): DongleUsbHelperActivity, onCreate(), ENTER
11-15
13:31:13.263 W/ContextImpl(25306): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1145 android.content.ContextWrapper.sendBroadcast:365 com.intel.dongle.DongleUsbHelperActivity.onCreate: 30 android.app.Activity.performCreate:5231 android.app.Instrumentation.callActivityOnCreate:1 087
11-15
13:31:13.353 D/Dongle---------->(25306): DongleStateReceiver, Receviced Intent: com.intel.dongle.ACTION_USB_DEVICE_ATTACHED,
11-15
13:31:13.353 D/Dongle---------->(25306): UsbDevice: UsbDevice[mName=/dev/bus/usb/001/017,mVendorId=1659,mProductId=8963,mClass=0,mSubcl ass=0,mProtocol=0,mInterfaces=[Landroid.os.Parcelable;@267a5ae0]
11-15
13:31:13.353 D/Dongle---------->(25306): DongleStateReceiver, bootComplete : false
11-15
13:31:13.353 W/Dongle---------->(25306): DongleStateReceiver, handleUsbDevice
11-15
13:31:13.353 D/Dongle---------->(25306): DongleStateReceiver, Device id 067b:2303 class is 255
11-15
13:31:13.353 D/Dongle---------->(25306): DongleStateReceiver, Device id test it
11-15
13:31:14.353 E/Dongle---------->(25306): DongleStateReceiver, device name /dev/bus/usb/001/017
11-15
13:31:14.353 D/Dongle---------->(25306): DongleStateReceiver, vid/PID:16598963
11-15
13:31:14.353 D/Dongle---------->(25306): DongleStateReceiver, deviceid=16598963 content://dongle/device/
11-15
13:31:14.353 E/Dongle---------->(25306): DongleStateReceiver, mAtPort == null
11-15
13:31:14.353 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB0
11-15
13:31:15.353 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:31:16.353 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:31:17.353 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:31:18.363 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:31:19.363 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:31:20.363 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:31:21.363 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:31:22.363 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:31:23.363 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:31:23.363 D/Dongle---------->(25306): DongleHelper, modemInit port = ttyUSB2
11-15
13:31:23.363 D/Dongle---------->(25306): DongleStateReceiver, ttyUSB2 init error
11-15
13:31:23.363 D/Dongle---------->(25306): DongleStateReceiver, simLockPoll pin

В каком направлении двигаться дальше понять не могу. Heeeeelp....
__________________
Только одно делает исполнение мечты невозможным – страх неудачи. Когда ты желаешь чего-нибудь очень сильно, вся Вселенная помогает тебе достигнуть этого. – Пауло Коэльо
Sonador вне форума   Ответить с цитированием