Re: How to use ACPI for touchscreen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 02, 2016 at 06:13:27PM +0000, sergk sergk2mail wrote:
> "Why do you think that mlsfw in modalias string has anything to do with
> loading firmware? I must have misunderstood your statement..."
> 
> Hi Dmitriy,
>   Its rather guessing based on such disovering: On Chuwi Vi10 rev 11
> under Android the only touch related module that is loaded is
> atmel_mxt_ts while I exactly know (and have firmware too) that in this
> tablet there is Chipone icn8528.h.   (drivers from Windows + dmesg
> provs this).
> When you rmmod atmel_mxt_ts the touch still continues to work! I guess
> someone just used atmel_mxt_ts probably as prototype for detecting
> (wake uping) chip and loading its firmware and after - no need in any
> module. According specs of Chipone icn85xx it looks that it even has
> corresponding mode - to be initialized from firmware and work after
> with it. It looks weird, but this is the clevest explanation that I
> could provide - I never seen before such behaviour in Android when
> there is no dedicated driver for touch screen.

I find this hard to believe. If you inspect /proc/bus/input/devices you
should be able to see the parent device for the touchscreen (via sysfs
entry) and if you inspect sysfs you should be able to see the driver
that is connected to the device (unless they use i2c dev from userspace
but then they'd have to resort to polling and their battery life would
be abysmal).

> 
> In anyway - this is only curiousity, the main goal is simple - to
> create a driver for icn85xx that wakeup it and loads firmware.
> I have specs, I have firmware, there is for arm open source drivers
> (including firmware in .h file):
> https://github.com/bbelos/rk3188-kernel/blob/master/drivers/input/touchscreen/ICN8503/icn85xx.c

Just so we are clear: the driver above is not an open source driver.
Even though it has MODULE_LICENSE("GPL") to circumvent kernel module
loading policies the actual copyright notice in the sources say that the
code is proprietary.

If any code is taken from it the resulting driver should not be
submitted for inclusion in mainline Linux kernel unless it is done by
ChipOne themselves.

Thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux