public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Zinx Verituse <zinx@epicsol.org>
To: Christoph Hellwig <hch@infradead.org>, linux-kernel@vger.kernel.org
Subject: Re: [ANNOUNCE] cuecat serio driver for linux 2.6.0-test9
Date: Thu, 20 Nov 2003 13:20:27 -0600	[thread overview]
Message-ID: <20031120192027.GA7520@bliss> (raw)
In-Reply-To: <20031120113249.A30030@infradead.org>

On Thu, Nov 20, 2003 at 11:32:49AM +0000, Christoph Hellwig wrote:
> On Wed, Nov 19, 2003 at 07:45:14PM -0600, Zinx Verituse wrote:
[snip]
> > 
> > The major number is dynamicly allocated -- If you aren't using devfs,
> > check /proc/devices.
> > The minor number for reading all cuecats is 0, and the minor number
> > for individual cuecats is their [driver-assigned] index plus 1.
> > Recommended names are:
> > 	/dev/cuecat/cuecats
> > 	/dev/cuecat/0
> > 	/dev/cuecat/1
> > and so on.
> 
> Hmm?  A 2.6 input driver shouldn't create devices bz itself but rather use
> the input core to communicated with the upper drivers like evdev or moused..
> 

The input core really is designed for actual input devices, rather
than devices that send out arbitrary largish amounts of data.

The driver would probably be simplified a bit (superficially) by
sending barcodes as events (it would have to be multiple events
per barcode -- the input core has very small communications with
userland), but it would complicate userspace quite a bit, and it's
really just not the sort of thing I'd expect in the input core.

However, if you can think of a way to send the barcodes as a single
event, without changing the userland input core interface, I'm all
ears :)

-- 
Zinx Verituse

      reply	other threads:[~2003-11-20 19:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-20  1:45 [ANNOUNCE] cuecat serio driver for linux 2.6.0-test9 Zinx Verituse
2003-11-20 11:32 ` Christoph Hellwig
2003-11-20 19:20   ` Zinx Verituse [this message]

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=20031120192027.GA7520@bliss \
    --to=zinx@epicsol.org \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.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