Ticket #92 (assigned defect)

Opened 12 months ago

Last modified 12 months ago

problem: importing lcd4linux to another machine

Reported by: anonymous Owned by: michael
Priority: normal Component: lcd4linux
Version: 0.1 Severity: minor
Keywords: class 'Keypad' not supported importing Cc:

Description

Hello,
I configured lcd4linux on a testing machine and copied everything onto my machine on which I want to use lcd4linux (it is the same hardware excepting hdd and ram). But somehow it does not work. This is the message lcd4linux delivers:
initializing layout 'info'
widget 'confirm_info': class 'Keypad' not supported
widget 'leave_menu': class 'Keypad' not supported


I would be glad, if someone is able to help me.
Thanks

Attachments

Change History

follow-up: ↓ 2   Changed 12 months ago by michael

  • priority changed from high to normal
  • status changed from new to assigned
  • severity changed from major to minor

I suppose you have different versions of lcd4linux running, one supporting keypads, the other not.

Please vompare the version number emitted by running 'lcd4linux -h'

in reply to: ↑ 1 ; follow-up: ↓ 3   Changed 12 months ago by anonymous

Replying to michael:

I suppose you have different versions of lcd4linux running, one supporting keypads, the other not. Please vompare the version number emitted by running 'lcd4linux -h'

The version-number of lcd4linux on the testing machine was 0.10.1-CVS and the other was 0.10.1-798.
For being sure I now downloaded the newest version via svn, but I still have the same problem.

in reply to: ↑ 2 ; follow-up: ↓ 4   Changed 12 months ago by anonymous

Replying to anonymous:

Replying to michael:

I suppose you have different versions of lcd4linux running, one supporting keypads, the other not. Please vompare the version number emitted by running 'lcd4linux -h'

The version-number of lcd4linux on the testing machine was 0.10.1-CVS and the other was 0.10.1-798.
For being sure I now downloaded the newest version via svn, but I still have the same problem.

I fixed the problem. I added a few lines in drv_HD44780.c:
line 66: #include "widget_keypad.h"
line 1351: /* register keypad widget */

wc = Widget_Keypad;
widget_register(&wc);

perhaps it is not meant to be this way, but who cares? it works.

in reply to: ↑ 3 ; follow-up: ↓ 5   Changed 12 months ago by michael

Replying to anonymous:

Replying to anonymous:

Replying to michael:

I suppose you have different versions of lcd4linux running, one supporting keypads, the other not. Please vompare the version number emitted by running 'lcd4linux -h'

The version-number of lcd4linux on the testing machine was 0.10.1-CVS and the other was 0.10.1-798.
For being sure I now downloaded the newest version via svn, but I still have the same problem.

I fixed the problem. I added a few lines in drv_HD44780.c:
line 66: #include "widget_keypad.h"
line 1351: /* register keypad widget */
wc = Widget_Keypad;
widget_register(&wc);
perhaps it is not meant to be this way, but who cares? it works.

Ok, I'll double-check this.

Did you use exactly the same config (and the same display) on both machines?

in reply to: ↑ 4   Changed 12 months ago by anonymous

Replying to michael:

Replying to anonymous:

Replying to anonymous:

Replying to michael:

I suppose you have different versions of lcd4linux running, one supporting keypads, the other not. Please vompare the version number emitted by running 'lcd4linux -h'

The version-number of lcd4linux on the testing machine was 0.10.1-CVS and the other was 0.10.1-798.
For being sure I now downloaded the newest version via svn, but I still have the same problem.

I fixed the problem. I added a few lines in drv_HD44780.c:
line 66: #include "widget_keypad.h"
line 1351: /* register keypad widget */
wc = Widget_Keypad;
widget_register(&wc);
perhaps it is not meant to be this way, but who cares? it works.

Ok, I'll double-check this. Did you use exactly the same config (and the same display) on both machines?

yes I did.. It was the same..

Add/Change #92 (problem: importing lcd4linux to another machine)

Author



Change Properties
<Author field>
Action
as assigned
as The resolution will be set. Next status will be 'closed'
to The owner will change. Next status will be 'new'
 
Note: See TracTickets for help on using tickets.