LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-27-2004, 03:34 PM   #1
Jonas
LQ Newbie
 
Registered: Aug 2001
Location: Sweden
Distribution: Mandrake 10.1
Posts: 12

Rep: Reputation: 0
Cherry CyMotion keyboard software


I am trying to install the keyman software on Mandrake 10.1. The software is available on:
http://support.cherry.de/download/KeyMan_LINUX_06.zip

When I run ./configure I got an error message:

"Couldn't find KDE development headers!"
"Configuration in kkeymanconfig failed!"

I have installed the libkdebase4-devel package so it shouldn't be any problem, should it?
 
Old 12-29-2004, 04:39 AM   #2
Jonas
LQ Newbie
 
Registered: Aug 2001
Location: Sweden
Distribution: Mandrake 10.1
Posts: 12

Original Poster
Rep: Reputation: 0
The part of the config-file that doesn't work looks like this:


Quote:
echo "$as_me:$LINENO: checking for KDE includes" >&5
echo $ECHO_N "checking for KDE includes... $ECHO_C" >&6
ac_kde_includes=""
kde_includes=""
kde_include_dirs="\
/usr/include
/opt/kde3/include"
if [ -n "$KDEDIR" ]; then
kde_include_dirs="$KDEDIR/include $kde_include_dirs"
fi
for d in $kde_include_dirs; do
if [ -r "$d/kapplication.h" ]; then
kde_includes=$d
break
fi
done
if [ -z "$kde_includes" ]; then
have_kde_inc="no"
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
else
have_kde_inc="yes"
echo "$as_me:$LINENO: result: $kde_includes" >&5
echo "${ECHO_T}$kde_includes" >&6
fi
KDEINCLUDES="$kde_includes"

if [ "$have_kde_inc" == "no" ]; then
{ { echo "$as_me:$LINENO: error: \"Couldn't find KDE development headers!\"" >&5
echo "$as_me: error: \"Couldn't find KDE development headers!\"" >&2;}
{ (exit 1); exit 1; }; }
fi"
My kapplication.h file is in /usr/include/kapplication.h.

Any suggestions?
 
Old 12-30-2004, 10:10 PM   #3
smudge|lala
Member
 
Registered: Jan 2004
Location: New Zealand
Distribution: Mint | Sabayon
Posts: 160

Rep: Reputation: 16
Tough call I'm afraid.

I have the same problems. The SuSe and other sources won't compile and I cannot find the headers even after searching the system for the headers. I didn't check but are you using Mandrake? I have requested an rpm but no-joy so far.

There are some good tutorials on this website for locating and specifying an install and ./configure for problematic 'KDE Header Files not found' problems. Check out this. Follow the guides. It didn't help me (yet) but others have has success.
 
Old 01-01-2005, 01:18 PM   #4
Jonas
LQ Newbie
 
Registered: Aug 2001
Location: Sweden
Distribution: Mandrake 10.1
Posts: 12

Original Poster
Rep: Reputation: 0
Yes, I am using Mandrake 10.1.

The problem seems to be the "./configuration" is looking for a file called kapplication.h. I have this file in /usr/include. I think that has to be added to cymolin-0.6.0-2/systray/configure on line 3222 as I have done above. I don't know why it doesn't work, but I don't know much about configuration files...
 
Old 01-02-2005, 07:17 AM   #5
Jonas
LQ Newbie
 
Registered: Aug 2001
Location: Sweden
Distribution: Mandrake 10.1
Posts: 12

Original Poster
Rep: Reputation: 0
solved the configuration problem, but when I run "make" I get:
"cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++" a lot of times and finally:

"Entering plugins ...
Entering kde ...
MOCing kdeguiapplication.moc ...
make[3]: moc: Command not found
make[3]: *** [kdeguiapplication.moc] Error 127
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2"

Help!
 
Old 01-04-2005, 12:03 PM   #6
chrisdi
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Rep: Reputation: 0
Hi!

Quote:
Originally posted by Jonas
solved the configuration problem
How did you solve this problem?

Regards,

ChrisDi
 
Old 01-05-2005, 01:41 AM   #7
Jonas
LQ Newbie
 
Registered: Aug 2001
Location: Sweden
Distribution: Mandrake 10.1
Posts: 12

Original Poster
Rep: Reputation: 0
1. First check where kapplication.h is. In my case (and probably all Mandrake systems) it is in /usr/include. If you don't have it install it from ftp://ftp.heanet.ie/pub/mandrake/Man...01mdk.i586.rpm

2. In the "cymolin-0.6.0-2" folder change the following files kkeymanconfig/configure on line 3372 change /usr/include/kde to /usr/include. Do the same in systray/configure on line 3222 and in server/plugins/kde/configure on line 3365.

3. Run ./configue as root.

If someone solves the make problem, please tell!!
 
Old 01-05-2005, 03:06 AM   #8
chrisdi
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Rep: Reputation: 0
Hi!

Quote:
Originally posted by Jonas
2. In the "cymolin-0.6.0-2" folder change the following files kkeymanconfig/configure on line 3372 change /usr/include/kde to /usr/include. Do the same in systray/configure on line 3222 and in server/plugins/kde/configure on line 3365.
Ahh I didn't find the change in the server config file.

But now it won't compile complete also. I get the following output:

Code:
Entering  plugins ...
Entering  kde ...
make[3]: *** Keine Targets angegeben und keine ğmakeĞ-Steuerdatei gefunden.  Schluss.
make[2]: *** [all] Fehler 2
make[1]: *** [all] Fehler 2
make: *** [all] Fehler 2
But anyhow ... I just installed the rpms which came with the keyboard (aumix and keyman). The install script could not set symbolic links and I added them by hand.

But then I now run the rc script "cherry" the following happens:

Code:
[root@chrisdi cymolin-0.6.0-2]# /etc/init.d/cherry start
Setting up Cherry Keyboard CyMotion_Master on PS/2
setkeycodes: code outside bounds
Usage: setkeycodes [options] scancode keycode ...
 (where scancode is either xx or e0xx, given in hexadecimal,
  and keycode is given in decimal)
This is because the keycodes assigned by Cherry are out of limit. According to the man page of setkeycodes "a corresponding keycode can be assigned (in the range 1-127)". But Cherry only defined keycodes above 127 (see file etc/cherry/CyMotion_Master)

Code:
# list of pairs: first code from kernel, second keycode
# list entries:
#         search   eject    home     pwr_off  pwr_on   media    ScrollUp ScrollDn cut      paste    copy     XPress1  XPress2  XPress3  redo     undo     LeftWin
maptable="e065 136 e070 161 e032 172 e05f 143 e063 145 e06d 171 e00b 177 e012 178 e017 137 e00a 135 e018 133 e071 148 e02c 149 e072 202 e007 129 e008 131 e05b 200"
Anyone knows how to get lucky with this keycodes? Or is the only way to define new ones and adapt them to the X configuration?

Regards,

ChrisDi
 
Old 01-05-2005, 11:08 AM   #9
smudge|lala
Member
 
Registered: Jan 2004
Location: New Zealand
Distribution: Mint | Sabayon
Posts: 160

Rep: Reputation: 16
Multimedia keyboards setup

Some good thinking guys. It is clear to me that Cherry are as good at programing software as Creative; their only saving graces being the good hardware!

I changed the location of my kde headers from

/usr/includes/kde to /usr/inclde

and the configure worked perfectly. The problem is the same as the above post during the make. I haven't given up on cymotion yet but, if anyone here reads Linux Format Magazine, I read an article a while ago explaining how to set mulimedia keyboard hot keys up. I think it was based on a logitech keyboard but the point is that there is another way to install the key functions. The problem is finding the article. Has anyone else read this article? How about other software? There must be many ways of setting up these keys. Game controllers have programable interfaces. I'm basically cheesed off at actually paying hard cash for something that doesn't work. Perhaps the SuSe rpms work but I stopped using SuSe some time ago. How about a Mandrake 10.1 RPM? I have hunted online for hours (days really) to no avail. I cannot believe the magnitude of the linux community and the one official linux keyboard is an unknown! Are we the only individuals who can't get it to work?

Some great responses though. I will look for that article in the meantime.
 
Old 01-05-2005, 11:36 AM   #10
chrisdi
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Rep: Reputation: 0
Re: Multimedia keyboards setup

Hi!

Quote:
Some good thinking guys. It is clear to me that Cherry are as good at programing software as Creative; their only saving graces being the good hardware!
I did some research today (and wrote an eMail to Cherry with the results).

1. Installing the RPMs works mostly.
2. You just have to set the symbolic links for the certain runlevels by hand because locations on SuSE and mandrake differ.
3. SuSE patched the tool "setkeyconfig". Normally it's only allowed to use keycodes in the area from 1 to 127. But on SuSE 9.1/9.2 one can set higher keycodes up to 256 (of course you can enter even higher values but it seems the higher values are calculated against mod 256).
4. Cherry uses keycodes in this patched area. This means that on an Mandrake system setkeyconfig will produce an error.

So I asked Cherry this afternoon if changing the keycodes will cause problems with the other tools Cherry provided (maybe because of hardcoded keycodes in their software). But tomorrow is an holiday in most areas of germany and also the christmas vacation will last until beginning of next week.

Also there is a version history on their website which may be interesting for you guys, because on it's second page it tells about USB problems and support for other distributions: http://support.cherry.de/download/in...tory_0.6.0.pdf

Regards,

ChrisDi
 
Old 01-05-2005, 01:52 PM   #11
smudge|lala
Member
 
Registered: Jan 2004
Location: New Zealand
Distribution: Mint | Sabayon
Posts: 160

Rep: Reputation: 16
Thanks for that information. Very informative.
 
Old 01-26-2005, 02:57 PM   #12
chrisdi
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Rep: Reputation: 0
Hi!

Just an update:

Today I had some time for investigations and email contact with Anries Brouwer, author of the kbd-tools, SuSE is using (http://www.win.tue.nl/~aeb/linux/). His version (the original one I think) can deal with keycodes higher than 127 ... But Mandrake (and Debain also) is using setkeycodes from the Linux Console Tools. You can test it with:

Code:
setkeycodes -V
setkeycodes: (console-tools) 0.2.3
This tool package is a fork of Andries' tools and can't deal with this higher keycodes. While Andries updated his tools package last time in beginning of 2004 the last update to the forked tools is from 2002 (http://lct.sourceforge.net/). I think that they are dead.

We now need a way to get the most updated tools into the distributions. If anyone has contact to debian/mandrake ...

Regards,

ChrisDI
 
Old 01-26-2005, 03:26 PM   #13
smudge|lala
Member
 
Registered: Jan 2004
Location: New Zealand
Distribution: Mint | Sabayon
Posts: 160

Rep: Reputation: 16
Thanks for the info! I will keep reading!
 
Old 02-01-2005, 12:44 PM   #14
freerider
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
smudge,
>I read an article a while ago explaining how to set mulimedia keyboard hot keys up. I think it was based on a logitech keyboard
There's an article on configuring multimedia keyboards in LF62 (Jan 2005) issue.
 
Old 02-01-2005, 12:51 PM   #15
chrisdi
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Rep: Reputation: 0
Hi!

After some email discussion with Anries it's tracked down to an Mandrake-only issue.

Of course Debian uses the console-tools, but a patched version which can deal with the higher keycodes. So I will submit an bugreport/feature request to mandrake only. Maybe they will change to Anries' tool and all the problems are gone...

Regards,

ChrisDi
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Afternoon from a Linux cherry BroBill1956 LinuxQuestions.org Member Intro 3 01-01-2006 04:42 PM
usb keyboard and soundcard conflict (sound set to keyboard?) netsurf Linux - Hardware 2 04-09-2005 07:08 AM
Cherry will offer Linux keyboard AxeZ General 1 08-21-2004 04:50 AM
keyboard problems with xfce4 - general keyboard question Villain Linux - General 2 06-20-2004 04:35 PM
popping my cherry - first time server install mcd Linux - Security 3 03-12-2004 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration