LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 07-19-2007, 04:58 AM   #1
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 36
How to configure a Sun Type 7 Keyboard (Solaris 10 11/06)


Hi.

I know, today I'm flooding the forum... but this is the last problem to solve. I bought a Sun Type 7 (UNIX) keyboard. I plugged it in and configured Xorg's kbd driver to use this kind of keyboard. The problem is that some keys, such as the 3 volume keys, the sleep key, the composite key, doesn't appear to work. In the official documentation there's no other installation hint but "to plug it in".

Has anyone any experience configuring this keyboard?

Thanks again,
Enrico.

Last edited by crisostomo_enrico; 07-19-2007 at 08:27 AM.
 
Old 07-19-2007, 08:15 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Tribblix, Ubuntu/WSL
Posts: 9,768

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
Are these keys sending events (use /usr/openwin/demo/xev to check it out) ?
 
Old 07-19-2007, 08:24 AM   #3
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 36
Well... I don't know!

This night I'll check and let you know.

Thanks jlliagre, as always!
 
Old 07-20-2007, 02:37 AM   #4
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 36
Hi jlliagre.

I tried xev and every key sends events. Another odd thing I discovered is that before that Xorg starts, compose key works (at least the led on the keyboards turns on); as soon as Xorg starts, the led on the keyboard doesn't respond any longer.

Thanks,
Enrico.
 
Old 07-20-2007, 04:51 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Tribblix, Ubuntu/WSL
Posts: 9,768

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
I guess you are using a Spanish keyboard layout. Perhaps there is something missing/misconfigured in that table.

You can manually add a key mapping with xmodmap:
xmodmap -e "keycode <keycode> = <keysym> ... "

"xmodmap" will show you what your modifiers keys are (compose is one of them, I'm not sure precisely which one).
"xmodmap -pk" will show the mapping between keycodes and keysyms.
 
Old 07-20-2007, 05:28 AM   #6
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 36
Hi jlliagre!

Quote:
I guess you are using a Spanish keyboard layout.
Ususally I do, but this machine has an English keyboard because it's pretty easier to write code with this layout than with spanish one.

By the way, I'll check xmodmap and it's documentation. I only used in linux for some hack (for example the typical fn button in a laptop) but in this case I expected the keyboard to work and not a key mapping issue. Furthermore, I don't know how this keys should be mapped, and neither did I encounter this information in the documentation.

Start searching...

Thanks,
Enrico.
 
Old 07-26-2007, 05:02 AM   #7
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 36
The final update.

After applying the latest Solaris 10_x86 patch cluster (which broke xorgcfg... ) and after experimenting a little bit, it sounded me strange that, removing entirely the keyboard configuration from xorg.conf, Xorg log file reported the proper automatic detection of the keyboard.

I then discovered that the keys DO work correctly, even if this is true only for CDE. JDS is not aware of those Sun* special keys until you properly configure shortcuts, which is actually straightforward. The only keys which I could not configure (yet) are keys of the left pad (again, stop, front, etc.).

This behavior was a bit misleading, at least for me... Does not sun want to sell its keyboards, or does sun want us to use CDE (longer)? I do not use CDE and I noticed this only after one entire day figthing with configuration files and restarting X...

Bye,
Enrico.
 
Old 07-26-2007, 05:38 AM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Tribblix, Ubuntu/WSL
Posts: 9,768

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
Quote:
Originally Posted by crisostomo_enrico
After applying the latest Solaris 10_x86 patch cluster (which broke xorgcfg... ) and after experimenting a little bit, it sounded me strange that, removing entirely the keyboard configuration from xorg.conf, Xorg log file reported the proper automatic detection of the keyboard.
I'm not surprised, a current Xorg goal (on Solaris at least) is to have all being configured automatically.
Quote:
I then discovered that the keys DO work correctly
The xev test already demonstrated that.
Quote:
, even if this is true only for CDE. JDS is not aware of those Sun* special keys until you properly configure shortcuts, which is actually straightforward. The only keys which I could not configure (yet) are keys of the left pad (again, stop, front, etc.).
How did you configured them ? Can you share that step ?
By the way, the left pad should map to keys F11 to F20.
Quote:
This behavior was a bit misleading, at least for me... Does not sun want to sell its keyboards,
I doubt the keyboard business is considered to be a strategic one by Sun
Quote:
or does sun want us to use CDE (longer)?
Sun is definitely pushing Gnome and JDS however many traditional Sun's customers are used to CDE.
IBM, HP/UX users are familiar with it too.

This isuue doesn't really bother me, I have been using Sun keyboards for a couple of decades now and in fact I don't remember having really used any of these extra keys. I don't even use the numeric keypad and stick with the most common central ones.
 
Old 07-26-2007, 06:41 AM   #9
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 36
Hi jlliagre.

Quote:
The xev test already demonstrated that.
Yes, that's why I lost time trying to discover why and which application should receive and process those signals...

Quote:
How did you configured them ? Can you share that step?
I'm going to deceive you : with the hotkey applet in JDS preferences menu! The first time I tried, perhaps because of my impatience, I didn't realize that it was seeing those keys. The only trade off is that events are preconfigured and it seems that it's not possible to define a new action, at least through the GUI.

Quote:
By the way, the left pad should map to keys F11 to F20.
I didn't know that, thank you.

Quote:
I doubt the keyboard business is considered to be a strategic one by Sun
Quote:
This issue doesn't really bother me, I have been using Sun keyboards for a couple of decades now and in fact I don't remember having really used any of these extra keys. I don't even use the numeric keypad and stick with the most common central ones.
Yes, you're righe, I'm going to use such keys once or twice a year. But I expected that a Sun keyboard I paid for should work without further configuration in a Sun workstation!

Quote:
Sun is definitely pushing Gnome and JDS however many traditional Sun's customers are used to CDE. IBM, HP/UX users are familiar with it too.
Yes, that's what I'm used, too. Even though I'm slipping to JDS, I stick with CDE only on slow machines.

Thanks and bye,
Enrico.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Difference Between Sun, Sun Os & Solaris rajaniyer123 Solaris / OpenSolaris 5 01-04-2010 08:28 AM
Confiuring a Sun Type 6 USB Keyboard on RHEL4 bmoney637 Red Hat 2 06-01-2007 10:37 AM
RHEL WS 4u4 + KVM + Sun type 6 keyboard problem TomL Red Hat 5 12-07-2006 08:33 PM
configure sun keyboard in red-hat shterenhaim Linux - General 3 03-20-2006 10:05 AM
Sun solaris 10 khdo80 Linux - Software 3 02-17-2005 01:04 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 09:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration