Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Genius LuxeMate 810 Media Cruiser

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


frantisek at augusztin

Apr 30, 2007, 10:44 AM

Post #1 of 12 (14900 views)
Permalink
Genius LuxeMate 810 Media Cruiser

Hi,

i bought this wireless media keyboard and i have some problems :

1) some keys don't generate any keycode or scancode. There are just few of
them, so i can survive that.

2) some keys generate high keycodes (got them via showkey). Those are :

* LiveTV=377
* RecTV=389
* Guide=362
* DVDMenu=410
* MyMusic=391
* MyPictures=226
* MyVideos=393

As i found out, those codes are actually defined by kernel HID layer (like
KEY_TV constant = 377, which is same as you can see at LiveTV button) and
this is the reason i can't get any scandcodes for it via showkey -s (and
maybe the reason for some keys not returning any keycode - HID layer doesn't
know them).

Now, those keycodes are too high for Xorg, ie xev doesn't print anything for
it. I tried both "keyboard" and "evdev" Xorg driver, with no change. Anyone
had luck with this keyboard ? Can anyone suggest me what can i do with that ?

OS: Gentoo, Kernel 2.6.19, Xorg 7.2
--
Frantisek Augusztin
frantisek [at] augusztin
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


frantisek at augusztin

Apr 30, 2007, 11:44 AM

Post #2 of 12 (14689 views)
Permalink
Re: Genius LuxeMate 810 Media Cruiser [In reply to]

> OS: Gentoo, Kernel 2.6.19, Xorg 7.2

A small mistake, Xorg 7.1.1 :-)

--
Frantisek Augusztin
frantisek [at] augusztin
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


daworm at comcast

Apr 30, 2007, 11:46 AM

Post #3 of 12 (14583 views)
Permalink
Re: Genius LuxeMate 810 Media Cruiser [In reply to]

František Augusztin wrote:
>> OS: Gentoo, Kernel 2.6.19, Xorg 7.2
>
> A small mistake, Xorg 7.1.1 :-)
>
Perhaps the Gizmo Daemon would work for you?


_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


frantisek at augusztin

Apr 30, 2007, 12:31 PM

Post #4 of 12 (14592 views)
Permalink
Re: Genius LuxeMate 810 Media Cruiser [In reply to]

Jeff Wormsley:
> Perhaps the Gizmo Daemon would work for you?

Looks like not :

# gizmod

Gizmo Daemon v2:3 -=- (c) 2006, Tim Burrell <tim.burrell [at] gmail>
-----------------

...
Loading Generic Plugin [Keyboard]...
- Found [Genius MCE RX] at [/dev/input/event1]
...
Processing Events...

And the only event i ever get in debug mode (gizmod -g)
are "GizmoPluginGeneric :: onInputRepeat" events for standard keys. No
keypress/keyrelease events for any key.

Btw, i had exactly the same problem with remote - it pretended itself to be a
input device (/dev/input/event0 to be exact) and emited high key codes
without scan codes. I solved that with lirc. But this one is not so easy :-)
--
Frantisek Augusztin
frantisek [at] augusztin
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


frantisek at augusztin

May 1, 2007, 3:18 AM

Post #5 of 12 (14676 views)
Permalink
Re: Genius LuxeMate 810 Media Cruiser [In reply to]

Another follow-up. According to my test, the key presses are printed out only
in showkey and i can see them in dmesg if i load the evbug module. But that's
all, nothing goes to /dev/input/eventX, so this is probably the reason why X
ignores them even with evdev driver.

I'm really out of ideas, i tried everything i found so far and nothing
works :-(.
--
Frantisek Augusztin
frantisek [at] augusztin
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


frantisek at augusztin

May 1, 2007, 3:35 AM

Post #6 of 12 (14589 views)
Permalink
Re: Genius LuxeMate 810 Media Cruiser [SOLVED] [In reply to]

Finally solved. Due unknown reasons these keys are routed not to the keyboard
event device, but to the mouse event device ! Now i can map all keys (except
those 3) via xmodmap. Yipee :-)
--
Frantisek Augusztin
frantisek [at] augusztin
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


eduardhc at gmail

May 6, 2007, 4:15 AM

Post #7 of 12 (14589 views)
Permalink
Re: Genius LuxeMate 810 Media Cruiser [In reply to]

------------------------------

Finally solved. Due unknown reasons these keys are routed not to the
keyboard
event device, but to the mouse event device ! Now i can map all keys (except

those 3) via xmodmap. Yipee :-)


Hi,
May I ask you how you solved it? I have the very same keyboard and I've
tried to set up a .Xmodmap file with all the special keys (except those 3
not working also for me...) using the codes obtained through 'showkey'. Even
if the file loads well using xmodmap, MythTV seems to completely ignore
them, and it only detects the ones that detected previously without using
xmodmap (volume up/down, play/pause, stop, next, prev, etc...). Nothing
about channel up/down, LiveTV, DVDMenu, etc...

Do I need to do anything else in addition to the .Xmodmap file and
loading it? I'm using Sabayon 3.3 (Gentoo-based) and lastest kernel 2.6.21.

Cheers
Eduard Huguet


frantisek at augusztin

May 6, 2007, 9:36 AM

Post #8 of 12 (14554 views)
Permalink
Re: Genius LuxeMate 810 Media Cruiser [In reply to]

> May I ask you how you solved it? I have the very same keyboard and I've
> tried to set up a .Xmodmap file with all the special keys (except those 3
> not working also for me...) using the codes obtained through 'showkey'.
> Even if the file loads well using xmodmap, MythTV seems to completely
> ignore them, and it only detects the ones that detected previously without
> using xmodmap (volume up/down, play/pause, stop, next, prev, etc...).
> Nothing about channel up/down, LiveTV, DVDMenu, etc...

Well, i stoped right here :-). I seen that it sends events (i can see them in
xev), but didn't have time to set up xmodmap or mythtv. I created a xmodmap
file, but it won't load for me. This is content of my xmodmap file :

keycode 124 = XF86PowerOff
keycode 150 = XF86Standby
keycode 123 = XF86AudioRaiseVolume
keycode 122 = XF86AudioLowerVolume
keycode 121 = XF86AudioMute
keycode 172 = XF86AudioPlay
keycode 175 = XF86AudioRecord
keycode 174 = XF86AudioStop
keycode 173 = XF86AudioPrev
keycode 171 = XF86AudioNext
keycode 176 = XF86AudioRewind
!No AudioForward action, so we use BackForward :-)
keycode 216 = XF86BackForward
keycode 166 = XF86Back
keycode 138 = XF86Forward
keycode 143 = XF86Music
keycode 234 = XF86Pictures
keycode 145 = XF86Video
keycode 127 = Pause
!CH- key
keycode 154 = XF86ApplicationRight
!CH+ key
keycode 155 = XF86ApplicationLeft
!LiveTV (F21)
keycode 129 = XF86Launch0
!RecTV
keycode 141 = XF86Launch1
!DVDmenu
keycode 162 = XF86Launch2
!(conflict with Right) keycode 114 = Guide
!(conflict with Home) keycode 110 = XF86Start


Too bad i get following errors if i run xmodmap with this file :

xmodmap: .Xmodmap:2: bad keycode value (out of range)
xmodmap: .Xmodmap:6: bad keycode value (out of range)
xmodmap: .Xmodmap:7: bad keycode value (out of range)
xmodmap: .Xmodmap:8: bad keycode value (out of range)
xmodmap: .Xmodmap:9: bad keycode value (out of range)
xmodmap: .Xmodmap:10: bad keycode value (out of range)
xmodmap: .Xmodmap:11: bad keycode value (out of range)
xmodmap: .Xmodmap:13: bad keycode value (out of range)
xmodmap: .Xmodmap:14: bad keycode value (out of range)
xmodmap: .Xmodmap:15: bad keycode value (out of range)
xmodmap: .Xmodmap:16: bad keycode value (out of range)
xmodmap: .Xmodmap:17: bad keycode value (out of range)
xmodmap: .Xmodmap:18: bad keycode value (out of range)
xmodmap: .Xmodmap:21: bad keycode value (out of range)
xmodmap: .Xmodmap:23: bad keycode value (out of range)
xmodmap: .Xmodmap:27: bad keycode value (out of range)
xmodmap: .Xmodmap:29: bad keycode value (out of range)

Do you have different xmodmap file (i mean keycodes) ?
--
Frantisek Augusztin
frantisek [at] augusztin
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


eduardhc at gmail

May 6, 2007, 2:11 PM

Post #9 of 12 (14503 views)
Permalink
Re: Genius LuxeMate 810 Media Cruiser [In reply to]

> ---------- Missatge reenviat ----------
> From: František Augusztin <frantisek [at] augusztin>
> To: mythtv-users [at] mythtv
> Date: Sun, 6 May 2007 18:36:43 +0200
> Subject: Re: [mythtv-users] Genius LuxeMate 810 Media Cruiser
> > May I ask you how you solved it? I have the very same keyboard and
> I've
> > tried to set up a .Xmodmap file with all the special keys (except those
> 3
> > not working also for me...) using the codes obtained through 'showkey'.
> > Even if the file loads well using xmodmap, MythTV seems to completely
> > ignore them, and it only detects the ones that detected previously
> without
> > using xmodmap (volume up/down, play/pause, stop, next, prev, etc...).
> > Nothing about channel up/down, LiveTV, DVDMenu, etc...
>
> Well, i stoped right here :-). I seen that it sends events (i can see them
> in
> xev), but didn't have time to set up xmodmap or mythtv. I created a
> xmodmap
> file, but it won't load for me. This is content of my xmodmap file :
>
> keycode 124 = XF86PowerOff
> keycode 150 = XF86Standby
> keycode 123 = XF86AudioRaiseVolume
> keycode 122 = XF86AudioLowerVolume
> keycode 121 = XF86AudioMute
> keycode 172 = XF86AudioPlay
> keycode 175 = XF86AudioRecord
> keycode 174 = XF86AudioStop
> keycode 173 = XF86AudioPrev
> keycode 171 = XF86AudioNext
> keycode 176 = XF86AudioRewind
> !No AudioForward action, so we use BackForward :-)
> keycode 216 = XF86BackForward
> keycode 166 = XF86Back
> keycode 138 = XF86Forward
> keycode 143 = XF86Music
> keycode 234 = XF86Pictures
> keycode 145 = XF86Video
> keycode 127 = Pause
> !CH- key
> keycode 154 = XF86ApplicationRight
> !CH+ key
> keycode 155 = XF86ApplicationLeft
> !LiveTV (F21)
> keycode 129 = XF86Launch0
> !RecTV
> keycode 141 = XF86Launch1
> !DVDmenu
> keycode 162 = XF86Launch2
> !(conflict with Right) keycode 114 = Guide
> !(conflict with Home) keycode 110 = XF86Start
>
>
> Too bad i get following errors if i run xmodmap with this file :
>
> xmodmap: .Xmodmap:2: bad keycode value (out of range)
> xmodmap: .Xmodmap:6: bad keycode value (out of range)
> xmodmap: .Xmodmap:7: bad keycode value (out of range)
> xmodmap: .Xmodmap:8: bad keycode value (out of range)
> xmodmap: .Xmodmap:9: bad keycode value (out of range)
> xmodmap: .Xmodmap:10: bad keycode value (out of range)
> xmodmap: .Xmodmap:11: bad keycode value (out of range)
> xmodmap: .Xmodmap:13: bad keycode value (out of range)
> xmodmap: .Xmodmap:14: bad keycode value (out of range)
> xmodmap: .Xmodmap:15: bad keycode value (out of range)
> xmodmap: .Xmodmap:16: bad keycode value (out of range)
> xmodmap: .Xmodmap:17: bad keycode value (out of range)
> xmodmap: .Xmodmap:18: bad keycode value (out of range)
> xmodmap: .Xmodmap:21: bad keycode value (out of range)
> xmodmap: .Xmodmap:23: bad keycode value (out of range)
> xmodmap: .Xmodmap:27: bad keycode value (out of range)
> xmodmap: .Xmodmap:29: bad keycode value (out of range)
>
> Do you have different xmodmap file (i mean keycodes) ?
> --
> Frantisek Augusztin
> frantisek [at] augusztin
>
>
This is my .Xmodmap file:
!
! Genius Luxemate 850:
!


keycode 115 = XF86AudioRaiseVolume
keycode 114 = XF86AudioLowerVolume
keycode 113 = XF86AudioMute

! Channels:
keycode 402 = XF86RockerUp
keycode 403 = XF86RockerDown

keycode 164 = XF86AudioPlay
keycode 167 = XF86AudioRecord
keycode 166 = XF86AudioStop

keycode 163 = XF86AudioNext
keycode 165 = XF86AudioPrev
keycode 208 = XF86Forward
keycode 168 = XF86Back

keycode 377 = XF86Launch0
keycode 389 = XF86Launch1
keycode 362 = XF86Launch2
keycode 410 = XF86Launch3
keycode 391 = XF86Music
keycode 226 = XF86Pictures
keycode 393 = XF86Video

keycode 116 = XF86PowerOff
keycode 142 = XF86Sleep


It loads fine, but MythTV seems to completely ignore these definitions. How
can I test if they are effectively working? Using 'xev' doesn't show any of
these associated codes either. For most of the multimedia keys it keeps
showing nothing about those keys.

Cheers


frantisek at augusztin

May 6, 2007, 11:18 PM

Post #10 of 12 (14538 views)
Permalink
Re: Genius LuxeMate 810 Media Cruiser [In reply to]

Eduard Huguet:
> It loads fine, but MythTV seems to completely ignore these definitions. How
> can I test if they are effectively working? Using 'xev' doesn't show any of
> these associated codes either. For most of the multimedia keys it keeps
> showing nothing about those keys.

Do you execute xmodmap before starting mythfrontend ? What window manager do
you use ? I use evilwm with simple .xinitrc, where i load xmodmap, irexec,
mythfrontend and evilwm (in this order).

--
Frantisek Augusztin
frantisek [at] augusztin
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


eduardhc at gmail

May 7, 2007, 8:09 AM

Post #11 of 12 (14498 views)
Permalink
Re: Genius LuxeMate 810 Media Cruiser [In reply to]

>
> ---------- Missatge reenviat ----------
> From: František Augusztin <frantisek [at] augusztin>
> To: Discussion about mythtv <mythtv-users [at] mythtv>
> Date: Mon, 7 May 2007 08:18:42 +0200
> Subject: Re: [mythtv-users] Genius LuxeMate 810 Media Cruiser
> Eduard Huguet:
> > It loads fine, but MythTV seems to completely ignore these definitions.
> How
> > can I test if they are effectively working? Using 'xev' doesn't show any
> of
> > these associated codes either. For most of the multimedia keys it keeps
> > showing nothing about those keys.
>
> Do you execute xmodmap before starting mythfrontend ? What window manager
> do
> you use ? I use evilwm with simple .xinitrc, where i load xmodmap, irexec,
> mythfrontend and evilwm (in this order).
>
> --
> Frantisek Augusztin
> frantisek [at] augusztin
>


Yes, I execute xmodmap in the same script that starts mythfrontend, right
before it. But mythfrontend seems to simply ignore these keys definitions,
it doesn't detect any keypress for any of the keys I define.

I'm using KDE. Maybe it's a Qt problem? MythTV is programmed over Qt and
maybe this library doesn't correctly support this method.

Cheers


frantisek at augusztin

May 7, 2007, 11:16 AM

Post #12 of 12 (14518 views)
Permalink
Re: Genius LuxeMate 810 Media Cruiser [In reply to]

Eduard Huguet:
> I'm using KDE. Maybe it's a Qt problem? MythTV is programmed over Qt and
> maybe this library doesn't correctly support this method.

Well, as i see in some links i found via google, MythTV uses Qt key constants,
which doesn't include all X key constants. Maybe some MythTV developer can
confirm it.

--
Frantisek Augusztin
frantisek [at] augusztin
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.