[mythtv-users] LCD Navigation of music module

Poul Petersen petersp at MATH.ORST.EDU
Wed Feb 4 13:14:41 EST 2004


	I recently got a CrystalFontz 633 LCD and I started playing with
getting it to work with mythtv-0.14. The first problem I ran into was that
the input keys are mapped differently (the 633 has a six key keypad):

--- libs/libmyth/lcddevice.h.orig        2004-01-19 21:53:40.000000000 -0800
+++ libs/libmyth/lcddevice.h      2004-02-04 01:12:11.000000000 -0800
@@ -14,8 +14,8 @@

 #define LCD_KEY_UP    'A'
 #define LCD_KEY_LEFT  'B'
-#define LCD_KEY_DOWN  'C'
-#define LCD_KEY_RIGHT 'D'
+#define LCD_KEY_DOWN  'D'
+#define LCD_KEY_RIGHT 'C'
 #define LCD_KEY_YES   'E'
 #define LCD_KEY_NO    'F'

	Obviously the orignal mappings are correct for some other LCD
device. There doesn't seem to be a way to remap these keys using lcdproc
(at least in 0.4.4), but I suppose that would be the "best" place for
that map to happen (kind of like configuring lirc with myth)?

	The problem I am having now is that the menus don't seem to always
line up. For example, if I start at the main myth menu and use the LCD to 
select "Music" then mythtv switches to the music module, but the LCD
only displays the clock instead of the first menu item, "Select Music". If
I press OK or cursor up or down, then the LCD menus are updated correctly.

	Now, in the "Select Music" tree, with the cursor on "All My Music"
I press the left button to close the "All My Music" tree, and it closes.
If I then press the down button, the cursor moves down, but the display
still reads "All My Music". If I press down again, then the cursor moves to
"All My Playlists" but the LCD reads one item behind, "CD -- none" and so on.
I get the same behaviour if I simply try to navigate the artists.
Interestingly, if I select an item, say a song, then the LCD menu updates
to show the correct item and the selection [de]/activated. 

Many thanks for any suggestions...

-poul



More information about the mythtv-users mailing list