linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Alfred E. Heggestad" <aeh@db.org>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@atrey.karlin.mff.cuni.cz
Subject: Re: [PATCH] USB: driver for CM109 chipset
Date: Tue, 26 Jun 2007 00:29:40 +0200	[thread overview]
Message-ID: <468041D4.7090608@db.org> (raw)
In-Reply-To: <d120d5000706250729s3f0e8325n8e4eb9f5982d858c@mail.gmail.com>

Dmitry Torokhov wrote:
> Hi Alfred,
> 
> On 6/25/07, Alfred E. Heggestad <aeh@db.org> wrote:
>> From: Alfred E. Heggestad <aeh@db.org>
>>
>> This driver adds support for USB VoIP phones using the CM109 chipset,
>> such as the KIP-1000. Keypad is scanned and events are reported to
>> the input subsystem. The buzzer can be activated by sending SND_TONE
>> or SND_BELL to the input device.
>> The driver has been tested with linux 2.6.21.3 on i386 and AMD64,
>> and linux 2.6.21.1 on Broadcom BCM3302 (MIPS, OpenWRT Project)
>> The current patch applies cleanly and is tested on linux 2.6.22-rc4
>> More testing and code review is welcome..
>>
> 
> Thank you for your patch. I have couple of comments:
> 
> - "input_dev->cdev.dev = &intf->dev;" should be "input_dev->dev.parent
> = &intf->dev;"
> - do not access input->private directly; use input_set_drvdata() and
> input_get_drvdata() helpers.
> - error handling for input_register_device();

thanks for the comments, this is now fixed locally and will be
part of the new patch submitted tomorrow.


> - I guess we need KEY_POUNDSIGN because I don't like that business
> with key_shift + key_3 (I did not like it in yealink either...)
> 

yes that would be nice. I copied the logic from yealink.c, which I
also did not like, but I could not find any '#' signs in linux/input.h


> Also could you please send your patches inline instead of an
> attachment - it makes much easire to comment that way.
> 

sure no problem.


/alfred

> Thanks!
> 

  reply	other threads:[~2007-06-25 22:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-25 13:49 [PATCH] USB: driver for CM109 chipset Alfred E. Heggestad
2007-06-25 14:29 ` Dmitry Torokhov
2007-06-25 22:29   ` Alfred E. Heggestad [this message]
2007-07-02 15:37   ` Vojtech Pavlik
2007-07-12 14:47     ` Dmitry Torokhov
2007-07-12 15:25       ` Vojtech Pavlik
2007-07-12 16:22         ` Dmitry Torokhov
2007-07-12 22:38           ` Vojtech Pavlik
2007-07-20 19:14             ` Dmitry Torokhov
2007-07-21  8:16               ` Vojtech Pavlik
  -- strict thread matches above, loose matches on Subject: below --
2007-06-26 19:52 Alfred E. Heggestad
2007-08-29 16:39 Alfred E. Heggestad

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=468041D4.7090608@db.org \
    --to=aeh@db.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@atrey.karlin.mff.cuni.cz \
    /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).