Op Monday 07 January 2008 18:47:28 schreef u:
> Hi Jonas,
>
> I took the freedom to put the list back in CC - maybe we discover
> something of common interest.
>
> Jonas Delrue wrote:
> > Hi,
> >
> > I have compiled the newest linux kernel and tried to add your patch in
> > the source (manually). However, the system doesn't respond to my bottom
> > buttons. This is how my hid-input.c looks like in the section I changed.
> >
> > case HID_UP_MSVENDOR:
> >
> >                     /* special case - Chicony Chicony KU-0418 tactical pad 
*/
> >                     if (device->vendor == 0x04f2 && device->product == 
0x0418) {
> >                             set_bit(EV_REP, input->evbit);
> >                             switch(usage->hid & HID_USAGE) {
> >                                     case 0xff01: 
map_key_clear(BTN_1);              break;
> >                                     case 0xff02: 
map_key_clear(BTN_2);              break;
> >                                     case 0xff03: 
map_key_clear(BTN_3);              break;
> >                                     case 0xff04: 
map_key_clear(BTN_4);              break;
> >                                     case 0xff05: 
map_key_clear(BTN_5);              break;
> >                                     case 0xff06: 
map_key_clear(BTN_6);              break;
> >                                     case 0xff07: 
map_key_clear(BTN_7);              break;
> >                                     case 0xff08: 
map_key_clear(BTN_8);              break;
> >                                     case 0xff09: 
map_key_clear(BTN_9);              break;
> >                                     case 0xff0a: 
map_key_clear(BTN_A);              break;
> >                                     case 0xff0b: 
map_key_clear(BTN_B);              break;
> >                                     default:    goto ignore;
> >                             }
> >                     } else if (device->vendor == 0x045e && device->product 
== 0x0713) {
>
> Did you check that vendor and product ID match your device? See output
> of lsusb. Maybe MS issued another revision and chose a different product
> ID.
>
> >                                set_bit(EV_REP, input->evbit);
> >                                switch(usage->hid & HID_USAGE) {
> >                                        /* Make MS Presenter 8000
> > bottom-side keys useful,
> >                                         * e.g. under OOffice */
> >                                        case 0xfd08:
> > map_key_clear(KEY_RIGHT); break;
> >                                        case 0xfd09:
> > map_key_clear(KEY_LEFT); break;
> >                                        case 0xfd0b:
> > map_key_clear(KEY_PAUSE); break;
> >                                        case 0xfd0f:
> > map_key_clear(KEY_F5); break;
> >                                        default:    goto ignore;
> >                                }
> >                        } else
> >                                 goto ignore;
> >                         break;
> >
> > Did I do something wrong? How can I fix it? Will this mouse be supported
> > by the default kernel in the future?
>
> The patch (more precisely its second revision) is in Jiri's patch queue
> for 2.6.25, so it should hit mainline.
>
> Jan
Jan,

The mouse is not in lsusb list but  I found the data using hidd --show. Seems 
like my product id is 0x0701.

0:12:5A:64:50:78 Microsoft Mouse [045e:0701] connected


Kind regards,
Jonas

(forgot cc sorry)

Reply via email to