From: ranshalit@gmail.com (Ran Shalit)
To: kernelnewbies@lists.kernelnewbies.org
Subject: disable input event device
Date: Sat, 3 Dec 2016 21:13:53 +0200 [thread overview]
Message-ID: <CAJ2oMh+6dbw5yMyEBa8UDrknT=_c38PGSoTeGvx3M06=dBCPrQ@mail.gmail.com> (raw)
In-Reply-To: <CAF3SDA6He_PdpsdAwHt6aKO6m5TWHHhT4O5yBhf-RyUpvPqVbQ@mail.gmail.com>
On Sat, Dec 3, 2016 at 8:58 PM, Daniel. <danielhilst@gmail.com> 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@gmail.com>:
> >
> >
> > On Sat, Dec 3, 2016 at 7:59 PM, Ran Shalit <ranshalit@gmail.com> wrote:
> >>
> >>
> >>
> >> On Sat, Dec 3, 2016 at 7:48 PM, Daniel. <danielhilst@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@gmail.com>:
> >>> >
> >>> >
> >>> > On Sat, Dec 3, 2016 at 3:15 PM, Greg KH <greg@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
>
> _______________________________________________
> 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/dfdf0993/attachment-0001.html
next prev parent reply other threads:[~2016-12-03 19:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-03 12:43 disable input event device Ran Shalit
2016-12-03 13:15 ` Greg KH
2016-12-03 17:18 ` Ran Shalit
2016-12-03 17:48 ` Daniel.
2016-12-03 17:59 ` Ran Shalit
2016-12-03 18:04 ` Ran Shalit
2016-12-03 18:58 ` Daniel.
2016-12-03 18:59 ` Daniel.
2016-12-03 19:13 ` Ran Shalit [this message]
2016-12-04 10:33 ` Greg KH
2016-12-04 10:43 ` Ran Shalit
2016-12-04 21:43 ` Ran Shalit
2016-12-28 6:54 ` Ran Shalit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJ2oMh+6dbw5yMyEBa8UDrknT=_c38PGSoTeGvx3M06=dBCPrQ@mail.gmail.com' \
--to=ranshalit@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).