Difference between revisions of "Talk:Futaba"

From MythTV Official Wiki
Jump to: navigation, search
(lcdproc)
(Test results)
 
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This page tells about USB problems:
+
{{SUSE_head|FRONT PANEL KEYS:}}
"If you don't have any USB port 3 problems you should see this in your hardware list as two devices, the VFD and the panel buttons..."
 
Is this a problem that can be fixed by the user? [[User:Maniacxs|Maniacxs]] 15:18, 16 August 2007 (UTC)
 
  
Hi the reference to the USB port 3 error originated from the Ubuntu wiki. Several guys reported this problem with the Hyper barebone.
+
(10:21:14 PM) moosylog: mythTV seems to uses Qt key constants, 
Maybe the problem is either in the specific hyper module or in the kernel 2.6.22
 
for info check the bug report:
 
https://bugs.launchpad.net/linux/+bug/122102/+activity
 
  
or on mythtv wiki
+
(10:21:14 PM) moosylog: which doesn't include all X key constants. Maybe some MythTV developer can  confirm it.
  
http://mythtv.org/wiki/index.php?title=Hiper_HMC-2K53A&printable=yes
+
(10:21:14 PM) moosylog: (i'm trying to define frontpanel buttons on my pc..they work in X....but not in mythfrontend)
  
--[[User:Hans B|Hans B]] 19:22, 16 August 2007 (UTC)
+
(10:31:27 PM) gbee: moosylog: correct
  
The issue with the broken USB port is fixed in kernels >= 2.6.22-git16. I am currently at 2.6.23-rc3 and it works like a charm.
+
(10:31:55 PM) gbee: you can use xmodmap to remap those buttons to something that mythtv understands
  
Hi Mat,
+
(10:32:53 PM) gbee: http://doc.trolltech.com/3.3/qt.html#Key-enum
i tried to search, where you downloaded the sourcecode from pluto, but i really was not able to find it. The FTP-Servers at pluto site are full of ?Movies? nothing that may help. Maybe you can post a link or download some more files ;)
 
[[User:Maniacxs|Maniacxs]] 07:54, 22 August 2007 (UTC)
 
  
Hi Maniacxs you van download the pluto source here [http://images.ibvs.se/Media_Live_LCDButtons.src.tar.bz2 Media_Live_LCDButtons.src.tar.bz2]
+
(10:33:49 PM) gbee: QT understands most multimedia keys, but there are still a few that aren't supported in QT3 (possibly QT4 but I haven't checked)
  
--[[User:Hans B|Hans B]] 09:01, 22 August 2007 (UTC)
+
(10:35:15 PM) gbee: the F21-30 range is pretty useful for remapping keys, since it's unlikely to be used by anything else
  
Sorry but this the link from the article.  
+
(10:35:53 PM) janneg: qt4 does look so much different: http://doc.trolltech.com/4.3/qt.html#Key-enum
There are some files included. The "testapp" e.g. needs a headerfile from the package pluto_main. I hoped, that there, where the tarball comes from the other files can be found, too. [[User:Maniacxs|Maniacxs]] 10:25, 22 August 2007 (UTC)
 
  
== lcdproc ==
+
(10:38:32 PM) gbee: looks like it supports some additional multimedia keys, the stuff from Key_Call to Key_Cancel is all new
  
Lcdproc with driver serialvfd and Display set to Futaba powers the Display on here, but nothing more. [[User:Maniacxs|Maniacxs]] 10:16, 25 August 2007 (UTC)
+
(10:40:34 PM) moosylog: Ok, understand...thanks guys
  
== Pluto source code ==
 
  
I updated the Futaba Wiki with a Pluto-site that contains all the source code. It's the development site I got the Media_Live_LCDbuttons from. Feel free to poke around and I am sure you will find what you need. [http://deb.plutohome.com/debian/dists/20dev/main/binary-i386/ deb.plutohome.com].
+
;Please test
 +
''I don't have a Futaba device, so I can not test for you. Please test and report your findings.''
 +
 
 +
You need to look at remap the key to a function mythfrontend understand !
 +
 
 +
Because I don't have the box, you need to test things for us.
 +
 
 +
*Create ~/.Xmodmap
 +
 
 +
create line
 +
 
 +
*keycode 162 = P
 +
 
 +
This example maps key 162 (think Audio Play) to mythTV function P (think play in mythfrontend)
 +
 
 +
''Other keyvalues are described on the [[Futaba]] page.''
 +
 
 +
;Test Results
 +
(Feb 2008) KvZ: I've tested this idee and it works perfectly. I'm using a MSI Media Live with Mythbuntu.
 +
 
 +
My ~/.Xmodmap file:
 +
keycode 162 = p
 +
keycode 164 = Escape
 +
keycode 144 = q
 +
keycode 153 = z
 +
keycode 152 = less
 +
keycode 180 = greater
 +
 
 +
Mythbuntu does not seem to use the user .Xmodmap. So I've just added the following line to the MythTV startup script.
 +
/usr/X11R6/bin/xmodmap $HOME/.Xmodmap
 +
 
 +
Thanks moosylog
 +
KvZ

Latest revision as of 16:12, 16 February 2008

FRONT PANEL KEYS

(10:21:14 PM) moosylog: mythTV seems to uses Qt key constants,

(10:21:14 PM) moosylog: which doesn't include all X key constants. Maybe some MythTV developer can confirm it.

(10:21:14 PM) moosylog: (i'm trying to define frontpanel buttons on my pc..they work in X....but not in mythfrontend)

(10:31:27 PM) gbee: moosylog: correct

(10:31:55 PM) gbee: you can use xmodmap to remap those buttons to something that mythtv understands

(10:32:53 PM) gbee: http://doc.trolltech.com/3.3/qt.html#Key-enum

(10:33:49 PM) gbee: QT understands most multimedia keys, but there are still a few that aren't supported in QT3 (possibly QT4 but I haven't checked)

(10:35:15 PM) gbee: the F21-30 range is pretty useful for remapping keys, since it's unlikely to be used by anything else

(10:35:53 PM) janneg: qt4 does look so much different: http://doc.trolltech.com/4.3/qt.html#Key-enum

(10:38:32 PM) gbee: looks like it supports some additional multimedia keys, the stuff from Key_Call to Key_Cancel is all new

(10:40:34 PM) moosylog: Ok, understand...thanks guys


Please test

I don't have a Futaba device, so I can not test for you. Please test and report your findings.

You need to look at remap the key to a function mythfrontend understand !

Because I don't have the box, you need to test things for us.

  • Create ~/.Xmodmap

create line

  • keycode 162 = P

This example maps key 162 (think Audio Play) to mythTV function P (think play in mythfrontend)

Other keyvalues are described on the Futaba page.

Test Results

(Feb 2008) KvZ: I've tested this idee and it works perfectly. I'm using a MSI Media Live with Mythbuntu.

My ~/.Xmodmap file:

keycode 162 = p
keycode 164 = Escape
keycode 144 = q
keycode 153 = z
keycode 152 = less
keycode 180 = greater

Mythbuntu does not seem to use the user .Xmodmap. So I've just added the following line to the MythTV startup script.

/usr/X11R6/bin/xmodmap $HOME/.Xmodmap

Thanks moosylog KvZ