kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: Pratyush Das <reikdas@gmail.com>
To: Greg KH <greg@kroah.com>
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: HID Driver
Date: Fri, 15 Mar 2019 18:23:37 +0530	[thread overview]
Message-ID: <CAFzLTskQh5zRNZKQj4nqf+xowpxdxhm8mh4MTDPyUiws1K_SSA@mail.gmail.com> (raw)
In-Reply-To: <20190314200938.GA16742@kroah.com>


[-- Attachment #1.1: Type: text/plain, Size: 1111 bytes --]

Hi,

I want the device operated by the Arduino Uno board to be recognised as a
mouse by my Linux OS. To control the cursor I am using the X11 API.

Thanks,

On Fri, 15 Mar, 2019, 01:39 Greg KH, <greg@kroah.com> wrote:

> On Thu, Mar 14, 2019 at 11:18:34PM +0530, Pratyush Das wrote:
> > Hi,
> >
> > I have a device operated via an Arduino UNO board. I would like to write
> a
> > driver for it so that my computer running linux recognises it natively.
> >
> > I have no experience writing drivers. Where should I start to
> specifically
> > do something like this? Are there any templates or guides for drivers for
> > this sort of thing specifically?
> >
> > Do I need to start over from scratch - learning how to write drivers? If
> > so, could you recommend any resources in particular which would take me
> on
> > the path to write drivers for HIDs in particular(to begin with)?
>
> You should not need to write any kernel driver for Linux to support a
> HID device, it's all included already.
>
> HAve you tried using your device on Linux?  What did, or did not, work
> for you?
>
> thanks,
>
> greg k-h
>

[-- Attachment #1.2: Type: text/html, Size: 1570 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

  reply	other threads:[~2019-03-15 12:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-14 17:48 HID Driver Pratyush Das
2019-03-14 20:09 ` Greg KH
2019-03-15 12:53   ` Pratyush Das [this message]
2019-03-15 14:20     ` Greg KH
2019-03-15 14:58     ` Yann Droneaud

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=CAFzLTskQh5zRNZKQj4nqf+xowpxdxhm8mh4MTDPyUiws1K_SSA@mail.gmail.com \
    --to=reikdas@gmail.com \
    --cc=greg@kroah.com \
    --cc=kernelnewbies@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).