kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Pratyush Das <reikdas@gmail.com>
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: HID Driver
Date: Thu, 14 Mar 2019 13:09:38 -0700	[thread overview]
Message-ID: <20190314200938.GA16742@kroah.com> (raw)
In-Reply-To: <CAFzLTsnGkpq4J5ooodg22L_vhvHAfe8NHYeJyYNL7qTTAxLADw@mail.gmail.com>

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

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

  reply	other threads:[~2019-03-14 20:10 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 [this message]
2019-03-15 12:53   ` Pratyush Das
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=20190314200938.GA16742@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=reikdas@gmail.com \
    /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).