Re: Keytouch IEC 60945 USB Keyboard not working

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

 



On Tue, Feb 15, 2011 at 5:09 PM, Jiri Kosina <jkosina@xxxxxxx> wrote:
>
> [ re-introduced original CC list, please don't drop it, thanks ]
>
I am sorry. It was my mistake. I was in hurry, so i pushed "Reply"
button instead of "Reply to all".

These are the keyboard behavior:
== 1. In case, Alan patch applied:
When I plugged the keyboard and dmesg print somethings like:

Feb 16 15:55:58 kalau kernel: [  130.797482] usb 2-1.1: new high speed
USB device using ehci_hcd and address 8
Feb 16 15:55:58 kalau kernel: [  130.889638] hub 2-1.1:1.0: USB hub found
Feb 16 15:55:58 kalau kernel: [  130.889844] hub 2-1.1:1.0: 4 ports detected
Feb 16 15:55:58 kalau kernel: [  131.160265] usb 2-1.1.4: new full
speed USB device using ehci_hcd and address 9
Feb 16 15:55:58 kalau kernel: [  131.257050] input: Keytouch as QWERTY
Panel as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1.4/2-1.1.4:1.0/input/input9
Feb 16 15:55:58 kalau kernel: [  131.257282] generic-usb
0003:0926:3333.0003: input,hidraw1: USB HID v1.10 Keyboard
[Keytouch as QWERTY Panel] on usb-0000:00:1d.0-1.1.4/input0

LeftShift, LeftControl, LeftMeta, LeftAlt, RightAlt, and RightShift
Button is works well. If press "Shift" button on keytouch keyboard +
"A" button on my laptop keyboard, it will print "A" character instead
of "a".
But others still not works.

When I plugged the keyboard and dmesg print somethings like:
Feb 16 15:55:18 kalau kernel: [   90.931662] usb 2-1.1: new high speed
USB device using ehci_hcd and address 6
Feb 16 15:55:18 kalau kernel: [   91.023978] hub 2-1.1:1.0: USB hub found
Feb 16 15:55:18 kalau kernel: [   91.024188] hub 2-1.1:1.0: 4 ports detected
Feb 16 15:55:18 kalau kernel: [   91.294754] usb 2-1.1.4: new full
speed USB device using ehci_hcd and address 7
Feb 16 15:55:23 kalau kernel: [   96.380007] generic-usb: probe of
0003:0926:3333.0002 failed with error -32

The keyboard not working at all.

== 2. In case, Your patch and Alan patch applied:
Give same behavior as Alan patch applied. But events output is changed.

>
> Please apply the patch below, compile your kernel with CONFIG_HID_KEYTOUCH
> enabled, retest, and report back the results.
>
I've manually added "CONFIG_HID_KEYTOUCH=y" to my config file before
compiled, but it automatically change to "CONFIG_HID_KEYTOUCH=m" after
compilation.

Because 'lsmod' show nothing about keytouch module, I've tried to load
module manually:
kholis@kalau:/usr/src/linux/drivers/hid# modprobe hid-keytouch
kholis@kalau:/usr/src/linux/drivers/hid# lsmod
Module                  Size  Used by
hid_keytouch            1070  0
binfmt_misc             6413  1
vboxnetadp              6454  0
vboxnetflt             15152  0
vboxdrv               190199  2 vboxnetadp,vboxnetflt
parport_pc             25956  0
ppdev                   5368  0
snd_hda_codec_intelhdmi     9510  1
joydev                  8615  0
snd_hda_codec_conexant    30003  1
snd_hda_intel          21853  2
snd_hda_codec          86327  3
snd_hda_codec_intelhdmi,snd_hda_codec_conexant,snd_hda_intel
snd_hwdep               5040  1 snd_hda_codec
snd_pcm                70486  2 snd_hda_intel,snd_hda_codec
snd_seq_midi            4588  0
lib80211_crypt_tkip     7704  0
snd_rawmidi            17740  1 snd_seq_midi
snd_seq_midi_event      6047  1 snd_seq_midi
wl                   1959533  0
snd_seq                46801  2 snd_seq_midi,snd_seq_midi_event
snd_timer              18561  2 snd_pcm,snd_seq
snd_seq_device          5744  3 snd_seq_midi,snd_rawmidi,snd_seq
i915                  290890  5
drm_kms_helper         29563  1 i915
drm                   166803  5 i915,drm_kms_helper
psmouse                57691  0
snd                    48629  13
snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
uvcvideo               54950  0
videodev               42970  1 uvcvideo
soundcore                880  1 snd
snd_page_alloc          7088  2 snd_hda_intel,snd_pcm
intel_agp              26347  2 i915
intel_ips              10939  0
v4l1_compat            13359  2 uvcvideo,videodev
serio_raw               4022  0
agpgart                31489  2 drm,intel_agp
i2c_algo_bit            4960  1 i915
video                  18287  1 i915
output                  1883  1 video
lib80211                5026  2 lib80211_crypt_tkip,wl
lp                      7218  0
parport                31435  3 parport_pc,ppdev,lp
usbhid                 36220  0
usb_storage            39792  0
hid                    66453  2 hid_keytouch,usbhid
r8169                  36099  0
mii                     4425  1 r8169

But nothing change.

>
> If the problem is still not fixed, I'd need the exact same output you
> already provided in the previous round, plus dmesg output.
>
Your patch changed events output. Here is the logs:
   evtest /dev/input/event9 -> http://pastebin.com/gkyFH1BG
   cat /sys/kernel/debug/hid/0003:0926:3333.0002/rdesc ->
http://pastebin.com/zm2sJ1y6
   cat /sys/kernel/debug/hid/0003:0926:3333.0002/events ->
http://pastebin.com/64UR8hzR (Second row means: when released)

Tested on kernel 2.6.35 (with some modification. such a 'hid_info' ->
'dev_info') and on latest kernel 2.6.28rc5.

Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" 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]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux