Re: [PATCH] Input: add appleir USB driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Apr 17, 2010 at 10:44:55PM +0100, Bastien Nocera wrote:
> On Sat, 2010-04-17 at 01:12 -0700, Dmitry Torokhov wrote: 
> > HI Bastien,
> > 
> > On Fri, Apr 16, 2010 at 05:19:52PM +0100, Bastien Nocera wrote:
> > > This driver was originally written by James McKenzie, updated by
> > > Greg Kroah-Hartman, further updated by myself, with suspend support
> > > added.
> > > 
> > > More recent versions of the IR receiver are also supported through
> > > a patch by Alex Karpenko.
> > > 
> > > Tested on a MacbookAir1,1
> > > 
> > 
> > A few comments...
> 
> All fixed. I removed the suspend/resume code as it worked fine without
> it (I was working of an old patch).
> 
> Sent the new patch separately.

Hmm, I am curious why suspend and resume is not necessary for this
device... Are you relying on the USB core to tear down and re-create the
device? Then you may lose user-applied settings (like changed keymap).

But if suspend and resume are really not needed then you need to
complete cleanup and get rid of APPLIEIR_OPENED and APPLEIR_SUSPENDED
and their handling in applieir_open() and appleir_close().

> 
> > > Signed-off-by: Bastien Nocera <hadess@xxxxxxxxxx>
> > > ---
> > >  Documentation/input/appleir.txt |   45 ++++
> > >  drivers/hid/hid-apple.c         |    4 -
> > >  drivers/hid/hid-core.c          |    5 +-
> > >  drivers/hid/hid-ids.h           |    1 +
> > 
> > HID pieces need to go through Jiri or he needs to ack them to go through
> > my tree...
> 
> The HID pieces are necessary to get the "lirc" part of the documentation
> working (in appleir.txt). The driver is fine without it, but it won't
> work with lirc until the HID patch is in.
> 

Right. I was just saying that Jiri needs to either take HID parts
through his tree or give OK for me to take through mine.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux