public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] bthid 2.6.5 bad keycode
@ 2004-04-19 21:54 Michal Semler (volny.cz)
  2004-04-19 22:07 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Michal Semler (volny.cz) @ 2004-04-19 21:54 UTC (permalink / raw)
  To: bluez-users

Hi Marcel,

there is bug in 2.6.5 and bthid configuration.
It badly resolve "|" key:

KeyPress event, serial 28, synthetic NO, window 0x2800001,
    root 0x3f, subw 0x0, time 645528, (104,-2), root:(695,18),
    state 0x90, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyPress event, serial 28, synthetic NO, window 0x2800001,
    root 0x3f, subw 0x0, time 645982, (104,-2), root:(695,18),
    state 0x91, keycode 111 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyRelease event, serial 28, synthetic NO, window 0x2800001,
    root 0x3f, subw 0x0, time 646121, (104,-2), root:(695,18),
    state 0x91, keycode 111 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyRelease event, serial 28, synthetic NO, window 0x2800001,
    root 0x3f, subw 0x0, time 646842, (104,-2), root:(695,18),
    state 0x91, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 characters:  ""

It returns Print and not "|"

It is problem to use unix like system without | :)

Michal


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] bthid 2.6.5 bad keycode
  2004-04-19 21:54 [Bluez-users] bthid 2.6.5 bad keycode Michal Semler (volny.cz)
@ 2004-04-19 22:07 ` Marcel Holtmann
  2004-04-19 22:13   ` Michal Semler (volny.cz)
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2004-04-19 22:07 UTC (permalink / raw)
  To: cijoml; +Cc: BlueZ Mailing List

Hi Michal,

> there is bug in 2.6.5 and bthid configuration.
> It badly resolve "|" key:
> 
> KeyPress event, serial 28, synthetic NO, window 0x2800001,
>     root 0x3f, subw 0x0, time 645528, (104,-2), root:(695,18),
>     state 0x90, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
>     XLookupString gives 0 characters:  ""
> 
> KeyPress event, serial 28, synthetic NO, window 0x2800001,
>     root 0x3f, subw 0x0, time 645982, (104,-2), root:(695,18),
>     state 0x91, keycode 111 (keysym 0xff61, Print), same_screen YES,
>     XLookupString gives 0 characters:  ""
> 
> KeyRelease event, serial 28, synthetic NO, window 0x2800001,
>     root 0x3f, subw 0x0, time 646121, (104,-2), root:(695,18),
>     state 0x91, keycode 111 (keysym 0xff61, Print), same_screen YES,
>     XLookupString gives 0 characters:  ""
> 
> KeyRelease event, serial 28, synthetic NO, window 0x2800001,
>     root 0x3f, subw 0x0, time 646842, (104,-2), root:(695,18),
>     state 0x91, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
>     XLookupString gives 0 characters:  ""
> 
> It returns Print and not "|"
> 
> It is problem to use unix like system without | :)

what is your X11 keyboard setting? You need to use a pc105 keyboard
layout to get the pipe key back.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] bthid 2.6.5 bad keycode
  2004-04-19 22:07 ` Marcel Holtmann
@ 2004-04-19 22:13   ` Michal Semler (volny.cz)
  2004-04-19 22:18     ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Michal Semler (volny.cz) @ 2004-04-19 22:13 UTC (permalink / raw)
  To: bluez-users

Hi Marcel,

my XFreeconfig:

<snip>

Section "InputDevice"
        Identifier  "Laptop_keyboard"
        Driver      "keyboard"
        Option      "XkbRules"  "xfree86"
        Option      "XkbModel"  "microsoftpro"
        Option      "XkbLayout" "us"
        #Option     "Xleds"     "1 2 3"
        #Option     "XkbVariant"        "nodeadkeys"
EndSection

</snip>

What's wrong? Couldn't it have the same behavior as under 2.4.26?
I found out, that some multimedia keys returns another events too.

And now question to multimedia keys.
Does any standart exist for return codes after key press of any key?
I have another 4 multimedia keys on my laptop and they returns another even=
ts=20
for e-mail, web etc keys as your bthid translation.

Michal

Dne =FAt 20. dubna 2004 00:07 Marcel Holtmann napsal(a):
> Hi Michal,
>
> > there is bug in 2.6.5 and bthid configuration.
> > It badly resolve "|" key:
> >
> > KeyPress event, serial 28, synthetic NO, window 0x2800001,
> >     root 0x3f, subw 0x0, time 645528, (104,-2), root:(695,18),
> >     state 0x90, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
> >     XLookupString gives 0 characters:  ""
> >
> > KeyPress event, serial 28, synthetic NO, window 0x2800001,
> >     root 0x3f, subw 0x0, time 645982, (104,-2), root:(695,18),
> >     state 0x91, keycode 111 (keysym 0xff61, Print), same_screen YES,
> >     XLookupString gives 0 characters:  ""
> >
> > KeyRelease event, serial 28, synthetic NO, window 0x2800001,
> >     root 0x3f, subw 0x0, time 646121, (104,-2), root:(695,18),
> >     state 0x91, keycode 111 (keysym 0xff61, Print), same_screen YES,
> >     XLookupString gives 0 characters:  ""
> >
> > KeyRelease event, serial 28, synthetic NO, window 0x2800001,
> >     root 0x3f, subw 0x0, time 646842, (104,-2), root:(695,18),
> >     state 0x91, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
> >     XLookupString gives 0 characters:  ""
> >
> > It returns Print and not "|"
> >
> > It is problem to use unix like system without | :)
>
> what is your X11 keyboard setting? You need to use a pc105 keyboard
> layout to get the pipe key back.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli=
ck
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] bthid 2.6.5 bad keycode
  2004-04-19 22:13   ` Michal Semler (volny.cz)
@ 2004-04-19 22:18     ` Marcel Holtmann
  2004-04-19 22:28       ` Michal Semler (volny.cz)
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2004-04-19 22:18 UTC (permalink / raw)
  To: cijoml; +Cc: BlueZ Mailing List

Hi Michal,

> my XFreeconfig:
> 
> <snip>
> 
> Section "InputDevice"
>         Identifier  "Laptop_keyboard"
>         Driver      "keyboard"
>         Option      "XkbRules"  "xfree86"
>         Option      "XkbModel"  "microsoftpro"
>         Option      "XkbLayout" "us"
>         #Option     "Xleds"     "1 2 3"
>         #Option     "XkbVariant"        "nodeadkeys"
> EndSection
> 
> </snip>
> 
> What's wrong? Couldn't it have the same behavior as under 2.4.26?
> I found out, that some multimedia keys returns another events too.

actually for me this was XFree 4.2 against 4.3 and the pipe key is not
present on a pc104 keyboard layout.

> And now question to multimedia keys.
> Does any standart exist for return codes after key press of any key?
> I have another 4 multimedia keys on my laptop and they returns another events 
> for e-mail, web etc keys as your bthid translation.

You are asking the wrong guy. I am no X11 or input expert.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] bthid 2.6.5 bad keycode
  2004-04-19 22:18     ` Marcel Holtmann
@ 2004-04-19 22:28       ` Michal Semler (volny.cz)
  0 siblings, 0 replies; 5+ messages in thread
From: Michal Semler (volny.cz) @ 2004-04-19 22:28 UTC (permalink / raw)
  To: bluez-users

Hi,

I tried change to pc105 layout, but without success:

KeyPress event, serial 28, synthetic NO, window 0x2000001,
    root 0x3f, subw 0x0, time 100219, (-255,261), root:(336,281),
    state 0x0, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyPress event, serial 28, synthetic NO, window 0x2000001,
    root 0x3f, subw 0x0, time 100559, (-255,261), root:(336,281),
    state 0x1, keycode 111 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyRelease event, serial 28, synthetic NO, window 0x2000001,
    root 0x3f, subw 0x0, time 100660, (-255,261), root:(336,281),
    state 0x1, keycode 111 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyRelease event, serial 28, synthetic NO, window 0x2000001,
    root 0x3f, subw 0x0, time 100698, (-255,261), root:(336,281),
    state 0x1, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
    XLookupString gives 0 characters:  ""

I think microsoftpro includes pc105 layout...so no change :(

Michal

Dne =FAt 20. dubna 2004 00:18 Marcel Holtmann napsal(a):
> Hi Michal,
>
> > my XFreeconfig:
> >
> > <snip>
> >
> > Section "InputDevice"
> >         Identifier  "Laptop_keyboard"
> >         Driver      "keyboard"
> >         Option      "XkbRules"  "xfree86"
> >         Option      "XkbModel"  "microsoftpro"
> >         Option      "XkbLayout" "us"
> >         #Option     "Xleds"     "1 2 3"
> >         #Option     "XkbVariant"        "nodeadkeys"
> > EndSection
> >
> > </snip>
> >
> > What's wrong? Couldn't it have the same behavior as under 2.4.26?
> > I found out, that some multimedia keys returns another events too.
>
> actually for me this was XFree 4.2 against 4.3 and the pipe key is not
> present on a pc104 keyboard layout.
>
> > And now question to multimedia keys.
> > Does any standart exist for return codes after key press of any key?
> > I have another 4 multimedia keys on my laptop and they returns another
> > events for e-mail, web etc keys as your bthid translation.
>
> You are asking the wrong guy. I am no X11 or input expert.

Well, I'll try directly linux-kerne@vger

>
> Regards
>
> Marcel

Michal


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-04-19 22:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-19 21:54 [Bluez-users] bthid 2.6.5 bad keycode Michal Semler (volny.cz)
2004-04-19 22:07 ` Marcel Holtmann
2004-04-19 22:13   ` Michal Semler (volny.cz)
2004-04-19 22:18     ` Marcel Holtmann
2004-04-19 22:28       ` Michal Semler (volny.cz)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox