Перевернут тачскрин на Tablet PC с Samsung Exynos 4412

Всё о Samsung
Aleksej
Интересующийся
Интересующийся
Сообщения: 12
Зарегистрирован: 29.01.2015 21:53
Откуда: Германия

Перевернут тачскрин на Tablet PC с Samsung Exynos 4412

Непрочитанное сообщение#1 » Aleksej » 19.09.2015 23:33

Всем привет!

На моём тэблете SmartPad EP800 (проц. Samsung Exynos 4412) был установлен новый тачскрин.
К сожалению по вертикали (ось Y) тач работает зеркально.
Кто нибудь решал такую проблему на телефонах или тэблетах Samsung с проц. EXYNOS?

заранее спасибо!

Алексей

Аватара пользователя
Blaze
Информатик-аналитик
Информатик-аналитик
Сообщения: 8933
Зарегистрирован: 24.05.2007 17:23
Модель телефона: POCO X3 Pro 6/128
Прошивка: crDroid v7.7
Sat-ресивер: Tiviar Mini HD
Откуда: Данков
Контактная информация:

Перевернут тачскрин на Tablet PC с Samsung Exynos 4412

Непрочитанное сообщение#2 » Blaze » 21.09.2015 19:13

Aleksej писал(а):был установлен новый тачскрин.
Оригинальный тачскрин, соответствующий маркировки буква в букву и цифра в цифру?

Aleksej
Интересующийся
Интересующийся
Сообщения: 12
Зарегистрирован: 29.01.2015 21:53
Откуда: Германия

Перевернут тачскрин на Tablet PC с Samsung Exynos 4412

Непрочитанное сообщение#3 » Aleksej » 21.09.2015 19:42

Тач не оригинальный, оригинальный нигде не достать.
Калибровка отличная, только ось Y зеркально.
script.bin как у Allwinner у этого Android'а нет.
Как повернуть - понятия не имею.

Аватара пользователя
Blaze
Информатик-аналитик
Информатик-аналитик
Сообщения: 8933
Зарегистрирован: 24.05.2007 17:23
Модель телефона: POCO X3 Pro 6/128
Прошивка: crDroid v7.7
Sat-ресивер: Tiviar Mini HD
Откуда: Данков
Контактная информация:

Перевернут тачскрин на Tablet PC с Samsung Exynos 4412

Непрочитанное сообщение#4 » Blaze » 21.09.2015 21:46

Если есть /system/usr/gsensor.cfg (искать через Root Explorer с root правами), то можно подобрать нужно значение для параметров

Код: Выделить всё

gsensor_direct_x = false
gsensor_direct_y = true
gsensor_direct_z = false
gsensor_xy_revert = false
могут быть значения true или false

Aleksej
Интересующийся
Интересующийся
Сообщения: 12
Зарегистрирован: 29.01.2015 21:53
Откуда: Германия

Перевернут тачскрин на Tablet PC с Samsung Exynos 4412

Непрочитанное сообщение#5 » Aleksej » 21.09.2015 23:23

Спасибо, но такого файла нет.
Есть /system/usr/idc/s5pc210_ts.idc и pixcir-i2c-ts.idc с установками для драйвера тачскрина.
Но я не вижу, какие параметры нужны дла переворота на 180.

Аватара пользователя
Blaze
Информатик-аналитик
Информатик-аналитик
Сообщения: 8933
Зарегистрирован: 24.05.2007 17:23
Модель телефона: POCO X3 Pro 6/128
Прошивка: crDroid v7.7
Sat-ресивер: Tiviar Mini HD
Откуда: Данков
Контактная информация:

Перевернут тачскрин на Tablet PC с Samsung Exynos 4412

Непрочитанное сообщение#6 » Blaze » 22.09.2015 20:13

Есть-ли такое подобие параметров см. здесь

Aleksej
Интересующийся
Интересующийся
Сообщения: 12
Зарегистрирован: 29.01.2015 21:53
Откуда: Германия

Перевернут тачскрин на Tablet PC с Samsung Exynos 4412

Непрочитанное сообщение#7 » Aleksej » 22.09.2015 20:37

Спасибо,
но к сожалению на эти параметры тэблет тоже не реагирует.

Аватара пользователя
Blaze
Информатик-аналитик
Информатик-аналитик
Сообщения: 8933
Зарегистрирован: 24.05.2007 17:23
Модель телефона: POCO X3 Pro 6/128
Прошивка: crDroid v7.7
Sat-ресивер: Tiviar Mini HD
Откуда: Данков
Контактная информация:

Перевернут тачскрин на Tablet PC с Samsung Exynos 4412

Непрочитанное сообщение#8 » Blaze » 22.09.2015 21:10

Можно увидеть содержимое /system/usr/idc/ .idc файлов?

Aleksej
Интересующийся
Интересующийся
Сообщения: 12
Зарегистрирован: 29.01.2015 21:53
Откуда: Германия

Перевернут тачскрин на Tablet PC с Samsung Exynos 4412

Непрочитанное сообщение#9 » Aleksej » 23.09.2015 23:29

Вот файл /system/usr/idc/s5pc210_ts.idc
Реагирует на изменения touch.orientationAware (тач поворачивается вместе с экраном).
Вот тут я нашёл описание подобных файлов,
но ничего про поворот оси Y на 180.

Код: Выделить всё

# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# Input Device Calibration File for the touch screen.
#

# Basic Parameters
touch.deviceType = touchScreen
touch.orientationAware = 1

# Size
# Based on empirical measurements, we estimate the size of the contact
# using size = sqrt(area) * 43 + 0.
touch.size.calibration = area
touch.size.scale = 43
touch.size.bias = 0
touch.size.isSummed = 0

# Pressure
# Driver reports signal strength as pressure.
#
# A normal thumb touch typically registers about 80 signal strength
# units although we don't expect these values to be accurate.
touch.pressure.calibration = amplitude
touch.pressure.scale = 0.0125

# Orientation
touch.orientation.calibration = none

Аватара пользователя
Blaze
Информатик-аналитик
Информатик-аналитик
Сообщения: 8933
Зарегистрирован: 24.05.2007 17:23
Модель телефона: POCO X3 Pro 6/128
Прошивка: crDroid v7.7
Sat-ресивер: Tiviar Mini HD
Откуда: Данков
Контактная информация:

Перевернут тачскрин на Tablet PC с Samsung Exynos 4412

Непрочитанное сообщение#10 » Blaze » 26.09.2015 12:41

Нашел два idc файла с таким содержимым

raydium_ts.idc

Код: Выделить всё

# Copyright (C) 2012 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Input Device Configuration File for the Atmel Maxtouch touch screen.
#
# These calibration values are derived from empirical measurements
# and may not be appropriate for use with other touch screens.
# Refer to the input device configuration documentation for more details.
#
# Basic Parameters
touch.deviceType = touchScreen
touch.orientationAware = 1
# Touch Size
touch.touchSize.calibration = pressure
# Tool Size
# Driver reports tool size as an area measurement.
#
# Based on empirical measurements, we estimate the size of the tool
# using size = sqrt(22 * rawToolArea + 0) * 6 + 0.
touch.toolSize.calibration = area
touch.toolSize.areaScale = 22
touch.toolSize.areaBias = 0
touch.toolSize.linearScale = 6
touch.toolSize.linearBias = 0
touch.toolSize.isSummed = 0
# Pressure
# Driver reports signal strength as pressure.
#
# A normal index finger touch typically registers about 80 signal strength
# units although we don't expect these values to be accurate.
touch.pressure.calibration = amplitude
touch.pressure.source = default
touch.pressure.scale = 0.0125
# Size
touch.size.calibration = normalized
# Orientation
touch.orientation.calibration = vector
bu21018mwv-ics.idc

Код: Выделить всё

# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# Input Device Configuration File for the bu21018mwv touch screen.
#
# These calibration values are derived from empirical measurements
# and may not be appropriate for use with other touch screens.
# Refer to the input device calibration documentation for more details.
#

# Basic Parameters
touch.deviceType = touchScreen
touch.orientationAware = 1

# Touch Size
touch.touchSize.calibration = pressure

# Tool Size
# Driver reports tool size as an area measurement.
#
# Based on empirical measurements, we estimate the size of the tool
# using size = sqrt(22 * rawToolArea + 0) * 6 + 0.
touch.toolSize.calibration = area
touch.toolSize.areaScale = 22
touch.toolSize.areaBias = 0
touch.toolSize.linearScale = 6
touch.toolSize.linearBias = 0
touch.toolSize.isSummed = 0

# Pressure
# Driver reports signal strength as pressure.
#
# A normal index finger touch typically registers about 80 signal strength
# units although we don't expect these values to be accurate.
touch.pressure.calibration = amplitude
touch.pressure.source = default
touch.pressure.scale = 0.0125
# Size
touch.size.calibration = geometric
# Orientation
touch.orientation.calibration = interpolated
в качестве подсказки можно взять значение параметров из них. Например

Код: Выделить всё

# Size
touch.size.calibration = normalized
# Orientation
touch.orientation.calibration = vector
и

Код: Выделить всё

# Size
touch.size.calibration = geometric
# Orientation
touch.orientation.calibration = interpolated

Ответить