From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Melchior FRANZ <melchior.franz@gmail.com>
Cc: linux-input@vger.kernel.org,
Linus Torvalds <torvalds@linux-foundation.org>,
Dima Zavin <dmitriyz@google.com>,
Jonathan Cameron <jic23@cam.ac.uk>,
LKML <linux-kernel@vger.kernel.org>,
Zhang Rui <rui.zhang@intel.com>,
Amit Kucheria <amit.kucheria@verdurent.com>,
Jean Delvare <khali@linux-fr.org>, Greg KH <greg@kroah.com>,
Andrew Morton <akpm@linux-foundation.org>,
linux-iio@vger.kernel.org
Subject: Re: [BUG?] hid-core.c: hid->name = dev->manufacturer + dev->product ... why not + dev->serial?
Date: Tue, 9 Mar 2010 10:41:27 -0800 [thread overview]
Message-ID: <20100309184127.GE19814@core.coreip.homeip.net> (raw)
In-Reply-To: <201003091342.20273@rk-nord.at>
On Tue, Mar 09, 2010 at 01:42:20PM +0100, Melchior FRANZ wrote:
>
> > Nevertheless serials are exported in sysfs ('uniq' attribute). Also udev
> > can give persistent names device nodes based on physocal connection,
> > serial numbers, etc.
>
> It's not much fun to use all sorts of additional Linux specific interfaces,
> because the responsible one doesn't do its job.
>
Have you considered the fact that maybe you not using the
right interface? The legacy joystick interface (with all its warts like
"replaying" the button state, in-kernel scaling and defuzzing, etc.) is
not what I would think a good general-purpose data acquisition
interface.
FWIW evdev does provide access to serial numbers (EVIOCGUNIQ) but even
that in my opinion is not the proper interface, for the reasons I
mentioned in my previous email.
You need to work with guys at linux-iio@vger.kernel.org (which stands
for Industrial I/O which is exactly what you are working with).
--
Dmitry
next prev parent reply other threads:[~2010-03-09 18:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-07 15:55 [BUG?] hid-core.c: hid->name = dev->manufacturer + dev->product ... why not + dev->serial? Melchior FRANZ
2010-03-09 8:22 ` Dmitry Torokhov
2010-03-09 12:42 ` Melchior FRANZ
2010-03-09 18:41 ` Dmitry Torokhov [this message]
2010-03-09 18:52 ` Melchior FRANZ
2010-03-09 18:57 ` Dmitry Torokhov
2010-03-09 18:58 ` Melchior FRANZ
2010-03-13 23:50 ` Melchior FRANZ
2010-06-14 21:11 ` Melchior FRANZ
2010-06-14 21:12 Melchior FRANZ
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=20100309184127.GE19814@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=amit.kucheria@verdurent.com \
--cc=dmitriyz@google.com \
--cc=greg@kroah.com \
--cc=jic23@cam.ac.uk \
--cc=khali@linux-fr.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=melchior.franz@gmail.com \
--cc=rui.zhang@intel.com \
--cc=torvalds@linux-foundation.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).