disable input event device
Ran Shalit
ranshalit at gmail.com
Sat Dec 3 13:04:39 EST 2016
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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20161203/a90724fc/attachment.html
More information about the Kernelnewbies
mailing list