From: "Alfred E. Heggestad" <aeh@db.org>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] input: driver for USB VoIP phones with CM109 chipset
Date: Sun, 22 Jun 2008 00:23:33 +0200 [thread overview]
Message-ID: <485D7F65.4080700@db.org> (raw)
In-Reply-To: <20080207165144.ZZRA012@mailhub.coreip.homeip.net>
Hi Dmitry
Dmitry Torokhov wrote:
> Hi Alfred,
>
> On Thu, Feb 07, 2008 at 07:38:10PM +0100, Alfred E. Heggestad wrote:
>> From: Alfred E. Heggestad <aeh@db.org>
>>
>> This driver adds support for USB VoIP phones using the CM109 chipset,
>> such as Komunikate KIP-1000 and Genius G-talk. 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 phone keymap
>> can be selected in run-time by using the "phone" module parameter.
>> The driver has been tested with linux 2.6.24 on i386, and also tested
>> to build cleanly on AMD64.
>> More testing and code review is welcome..
>>
>
> For a long time I was sitting on the patch not sure what to do about
> the pound key, but I think we need to allocate separate keycodes for
> remote controls and phones that work regardless of users keymap.
>
do you think we could add a new KEY_KPPOUND to include/linux/input.h ?
I just had a quick look in latest git, but could not find anything..
do you want me to define a key and make a patch for you?
BTW, for now I have defined a work-around in my cm109 driver:
#ifndef KEY_KPPOUND
#define KEY_KPPOUND (KEY_LEFTSHIFT | KEY_3 << 8)
#endif
that hack was "copied" from drivers/input/misc/yealink.c
case 0x32: return KEY_LEFTSHIFT |
KEY_3 << 8; /* # */
/alfred
<snip>
next prev parent reply other threads:[~2008-06-21 22:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-07 18:38 [PATCH] input: driver for USB VoIP phones with CM109 chipset Alfred E. Heggestad
2008-02-07 21:59 ` Dmitry Torokhov
2008-02-08 21:23 ` Alfred E. Heggestad
2008-06-21 22:23 ` Alfred E. Heggestad [this message]
2008-06-24 4:59 ` Dmitry Torokhov
2008-06-25 20:07 ` Alfred E. Heggestad
2008-06-26 10:31 ` Oliver Neukum
2008-02-09 19:12 ` Pavel Machek
2008-03-03 22:07 ` Alfred E. Heggestad
2008-03-03 22:13 ` Pavel Machek
[not found] ` <200802091023.02580.oliver@neukum.org>
2008-03-03 22:10 ` 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=485D7F65.4080700@db.org \
--to=aeh@db.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).