On Sat, Dec 3, 2016 at 8:58 PM, Daniel. <danielhilst@xxxxxxxxx> wrote:
Is xinput avaible? I know that it can be use to disable input devices,
but IFAIK android use custom GUI, that is not X...
No, it's not available in Android.
2016-12-03 16:04 GMT-02:00 Ran Shalit <ranshalit@xxxxxxxxx>:
>
>
> On Sat, Dec 3, 2016 at 7:59 PM, Ran Shalit <ranshalit@xxxxxxxxx> wrote:
>>
>>
>>
>> On Sat, Dec 3, 2016 at 7:48 PM, Daniel. <danielhilst@xxxxxxxxx> wrote:
>>>
>>> Is blacklisting it an option??
>>>
>>
>> I think not, because blacklist is only for loaded modules, Right ?
>> While in android Linux, seems that all modules are built inside kernel
>> image...
>>
>
> Some more information about the touch device :
>
> I have sysfs entires for the touch device in kernel as following:
>
> /sys/devices/virtual/input/input2/event2/
>
> root@mako:/sys/devices/virtual/input/input2 # ls
> capabilities
> event2
> id
> modalias
> name
> phys
> power
> properties
> subsystem
> uevent
> uniq
>
> root@mako:/sys/devices/virtual/input/input2/event2/ device # ls
> capabilities
> event2
> id
> modalias
> name
> phys
> power
> properties
> subsystem
> uevent
> uniq
>
> root@mako:/sys/devices/virtual/input/input2/event2/ device # cat name
> touch_dev
>
>
> Thanks,
> Ran
>
>>
>>
>>
>>>
>>> Regards,
>>>
>>> 2016-12-03 15:18 GMT-02:00 Ran Shalit <ranshalit@xxxxxxxxx>:
>>> >
>>> >
>>> > On Sat, Dec 3, 2016 at 3:15 PM, Greg KH <greg@xxxxxxxxx> wrote:
>>> >>
>>> >> On Sat, Dec 03, 2016 at 02:43:30PM +0200, Ran Shalit wrote:
>>> >> > Hello,
>>> >> >
>>> >> > Is there some way to disable input event device ?
>>> >> > Maybe a way to disable its irq usage ?
>>> >> >
>>> >> > I actually rather do that from shell, not from kernel, because the
>>> >> > kernel
>>> >> > source is not available, and I thought that issue is also relevant
>>> >> > in
>>> >> > the
>>> >> > forum.
>>> >>
>>> >> But the Linux kernel source is available, why not just not load the
>>> >> driver for the device you are wanting to not be "connected"?
>>> >>
>>> > Hi Greg,
>>> >
>>> > I am trying to do that from android, in a device where the kernel
>>> > source is
>>> > not available :( .....
>>> > By the way, I think the company (No.1 for D6 smartwatch) should supply
>>> > the
>>> > source because kernel is GPL , Right ?
>>> >
>>> > Therefore I try to achieve it by doing some actions in shell.
>>> >
>>> > Regards,
>>> > Ran
>>> >
>>> >>
>>> >> thanks,
>>> >>
>>> >> greg k-h
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > Kernelnewbies mailing list
>>> > Kernelnewbies@kernelnewbies.org
>>> > https://lists.kernelnewbies.org/mailman/listinfo/ kernelnewbies
>>> >
>>>
>>>
>>>
>>> --
>>> "Do or do not. There is no try"
>>> Yoda Master
>>>
>>> _______________________________________________
>>> Kernelnewbies mailing list
>>> Kernelnewbies@kernelnewbies.org
>>> https://lists.kernelnewbies.org/mailman/listinfo/ kernelnewbies
>>
>>
>
--
"Do or do not. There is no try"
Yoda Master
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/ kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies