disable input event device

Daniel. danielhilst at gmail.com
Sat Dec 3 13:59:26 EST 2016


it can be used*

2016-12-03 16:58 GMT-02:00 Daniel. <danielhilst at gmail.com>:
> Is xinput avaible? I know that it can be use to disable input devices,
> but IFAIK android use custom GUI, that is not X...
>
>
> 2016-12-03 16:04 GMT-02:00 Ran Shalit <ranshalit at gmail.com>:
>>
>>
>> On Sat, Dec 3, 2016 at 7:59 PM, Ran Shalit <ranshalit at gmail.com> wrote:
>>>
>>>
>>>
>>> On Sat, Dec 3, 2016 at 7:48 PM, Daniel. <danielhilst at gmail.com> 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 at mako:/sys/devices/virtual/input/input2 # ls
>> capabilities
>> event2
>> id
>> modalias
>> name
>> phys
>> power
>> properties
>> subsystem
>> uevent
>> uniq
>>
>> root at mako:/sys/devices/virtual/input/input2/event2/device # ls
>> capabilities
>> event2
>> id
>> modalias
>> name
>> phys
>> power
>> properties
>> subsystem
>> uevent
>> uniq
>>
>> root at 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 at gmail.com>:
>>>> >
>>>> >
>>>> > On Sat, Dec 3, 2016 at 3:15 PM, Greg KH <greg at kroah.com> 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 at kernelnewbies.org
>>>> > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> "Do or do not. There is no try"
>>>>   Yoda Master
>>>>
>>>> _______________________________________________
>>>> Kernelnewbies mailing list
>>>> Kernelnewbies at kernelnewbies.org
>>>> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>>
>>>
>>
>
>
>
> --
> "Do or do not. There is no try"
>   Yoda Master



-- 
"Do or do not. There is no try"
  Yoda Master



More information about the Kernelnewbies mailing list