From: Anssi Hannula <anssi.hannula@gmail.com>
To: Jarod Wilson <jarod@redhat.com>
Cc: linux-input@vger.kernel.org, Jiri Kosina <jkosina@suse.cz>
Subject: Re: [PATCH] hid: ignore all recent SoundGraph iMON devices
Date: Mon, 03 Aug 2009 16:42:39 +0300 [thread overview]
Message-ID: <4A76E94F.1010508@gmail.com> (raw)
In-Reply-To: <200908030922.32334.jarod@redhat.com>
Jarod Wilson wrote:
> On Monday 03 August 2009 09:05:28 Anssi Hannula wrote:
>> Jarod Wilson wrote:
>>> Also, out of curiosity, what does a "proper HID driver for it" look
>>> like and/or do that the latest lirc_imon doesn't?
>> Well, I didn't want to use 3rdparty drivers with my device.
>>
>> Anyways.. my driver implements a hid_driver (see /drivers/hid/hid-*.c),
>> and sets a raw_event callback for the non-standard-hid-input events of
>> the 2nd interface and emits input layer events for those. The device
>> uses standard HID input protocol in first interface, so my driver
>> doesn't touch that at all and lets the general hid code handle that
>> (some remote control buttons are passed by that).
>
> Yeah, a lot of this sounds like what Rene Harder and I have discussed
> doing over on the lirc list. We're both a bit tied up with other things
> right now though, so its not really progressed in a few weeks, since
> we merged a bunch of touchscreen and mouse input device support a bit
> ago.
>
>> LCD write packets are
>> queued via usbhid_submit_report(). The driver also has code for
>> registering the LCD as standard framebuffer device and allowing led
>> subsystem access to the icons, though I'm not sure yet if those should
>> be there (1-bit framebuffers may not be supported by much userspace
>> code, haven't checked yet; having the icons registered for led subsystem
>> allows triggers and handling via /sys, but I'm not sure if that is
>> useful for these kind of icons).
>
> So is the LCD usable with, say, lcdproc? I hadn't ever really thought
> about using mine any other way (I have an 0045 device myself, its an
> Antec Veris Premiere, which is a rebranded iMON UltraBay).
Well, these can be additional to /dev/lcd*, not necessarily replacing it.
I also see that currently the LCD handling code is somewhat duplicated
at least with lcdproc and VDR imon
(http://projects.vdr-developer.org/wiki/plg-imonlcd), haven't searched
if there are other projects doin the same. Maybe an userspace library
would be better suited for this, though.
>>> We're already doing
>>> input layer stuff with the mouse mode and mouse buttons, and looking to
>>> further extend that, potentially making the driver pure input layer,
>>> but still usable with the lirc devinput userspace driver.
>> Oh, this sounds to me like active work getting lirc into upstreamable
>> condition :) Is it that?
>
> It is. I'm hoping to send another submission for upstream review Real
> Soon Now. lirc_imon, lirc_mceusb, lirc_serial and lirc_i2c are all in
> pretty good shape now, will probably limit the submission to those
> four this time around...
Great :)
>> More incentive for me to not submit my driver, then.
>
> More than anything, I'd love to see any worthwhile additions in your
> work merged into the lirc_imon driver.
I'll see. I have so much other work to do currently, that it may not
happen soon, though.
--
Anssi Hannula
next prev parent reply other threads:[~2009-08-03 13:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-31 14:56 [PATCH] hid: ignore all recent SoundGraph iMON devices Jarod Wilson
2009-07-31 18:41 ` Anssi Hannula
2009-07-31 19:00 ` Jarod Wilson
2009-08-03 1:16 ` Jarod Wilson
2009-08-03 13:05 ` Anssi Hannula
2009-08-03 13:22 ` Jarod Wilson
2009-08-03 13:42 ` Anssi Hannula [this message]
2009-10-19 17:10 ` Jarod Wilson
2009-08-08 0:22 ` Jiri Kosina
2009-08-08 9:49 ` Anssi Hannula
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=4A76E94F.1010508@gmail.com \
--to=anssi.hannula@gmail.com \
--cc=jarod@redhat.com \
--cc=jkosina@suse.cz \
--cc=linux-input@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.