Re: support for Logitech Wave

2008-02-12 Thread Jiri Kosina
On Tue, 12 Feb 2008, Timo Aaltonen wrote:

   yes. Could you please grab reasonably recent kernel 
   (2.6.24-rcanything would be ok), compile it with CONFIG_HID_DEBUG, 
   modprobe the 'hid' module with 'debug=1' parameter, and send me the 
   output from the time you connect the keyboard and from pressing the 
   non-working keys? It should be trivial to fix then.
  Hi! I managed to get the event codes with evtest. Here's the output, 
  followed by mappings to what the buttons really are. The ones that are 
  mapped below 255 are working on X:
 Jiri, did you notice this post? Is there enough information for you to patch
 the driver?

No, sorry, I missed it, please don't drop me from To:/Cc:, otherwise I am 
likely to miss posts :)

If all the events are seen by evtest, then everything is fine on the 
kernel side and you should just tweak your X configuration.

-- 
Jiri Kosina
-
To unsubscribe from this list: send the line unsubscribe linux-input in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: support for Logitech Wave

2008-01-17 Thread Jiri Kosina
On Thu, 17 Jan 2008, Taneli Vähäkangas wrote:

 Thanks for prompt reply Jiri. Now I get some information for extra 
 function keys at the top row, but still nothing for the piano keys. 

That's strange. Could you please try to snoop the traffic on USB, to see 
if the keys that don't produce any HID debugging output at all at least 
produce some USB traffic?

See Documentation/usb/usbmon.txt for details.

 Here's the output for two previously non-functioning keys:
 Jan 17 00:27:13 newer kernel: drivers/hid/hid-core.c: report (size 4)
 (numbered)
 Jan 17 00:27:13 newer kernel: drivers/hid/hid-core.c: report 4 (size 3) =  02 
 00 00
 Jan 17 00:27:13 newer kernel: hid-debug: input ff00.0001 = 0
 Jan 17 00:27:13 newer kernel: hid-debug: input ff00.0001 = 1
 Jan 17 00:27:13 newer kernel: hid-debug: input ff00.0001 = 0
 Jan 17 00:27:13 newer last message repeated 13 times
 Jan 17 00:27:13 newer kernel: drivers/hid/hid-core.c: report (size 4) 
 (numbered)
 Jan 17 00:27:13 newer kernel: drivers/hid/hid-core.c: report 4 (size 3) =  00 
 00 00
 Jan 17 00:27:13 newer kernel: hid-debug: input ff00.0001 = 0
 Jan 17 00:27:13 newer last message repeated 15 times

Hmm, this looks only like output for on key, is it really for two?

 Is this the information you asked? I can make you the full mapping of
 non-working keys to log messages. However, I don't think that's very
 useful if the piano keys don't work, as they're the main reason for
 having such a keyboard in the first place.

Yes, we'll need to figure out where the data from these keys are getting 
lost.

 (I think all the log entries after 00:23:59 are key presses, but
 couldn't tell for sure.)

Yes, they are.

 BTW, here's a picture of the keyboard in question ... just in case my
 descriptions don't seem to make sense:
 http://images.tw.creative.com/images/corporate/artwork/hires_prodikeyspcmidiusb.jpg

Could it be that the keyboard is a totally separate device? Does alsa 
report anything, when you connect it, for example?

-- 
Jiri Kosina

Re: support for Logitech Wave

2008-01-16 Thread Dmitry Torokhov
Hi Timo,

On Tue, Jan 15, 2008 at 03:49:14PM +0200, Timo Aaltonen wrote:

   Hi

   I've got a Logitech Wave keyboard, that has a number of extra keys on it, 
 and most of them fail to work with evdev. I get no output with xev or while 
 trying to cat the input device. I've been told that it's a kernel issue if 
 the device shows no events, hence this email.

 What should I do to get full support for all the keys on it? It's a nice 
 keyboard, so I'd like to get the most of it :)


Please try booting with the latest -rc kernel (currently 2.6.26-rc8) and run
evtest utility. You should see it report MSC_SCAN events when you press keys
on your keyboard. Compose list of keys and corresponding codes and send it to
Jiri Kosina so he can add proper mappings to the HID driver.

Thanks!

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


Re: support for Logitech Wave

2008-01-16 Thread Timo Aaltonen

On Thu, 17 Jan 2008, Timo Aaltonen wrote:


268 (?) Vista Gadget (


hmm, this was not complete.. that key is apparently used for launching the 
vista gadget library.. never seen one but that's the name of the key on 
the manual.


btw, the kernel was 2.6.24-rc7 from Ubuntu Hardy.

t
-
To unsubscribe from this list: send the line unsubscribe linux-input in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html