Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Pipe character - Blade 1500 with UK PC keyboard.

65 views
Skip to first unread message

BertieB...@gmail.com

unread,
Mar 4, 2008, 5:39:51 AM3/4/08
to
Installed Solaris 9 on my Blade 1500 to which is attached a standard
UK USB PC keyboard and mouse.

Trouble is its not working properly. For starters (and most
importantly!) I cant get the pipe character - instead I get ^@ when I
hit the pipe key.

Any ideas?

Yes. I installed Solaris with UK support.

Andrew Gabriel

unread,
Mar 4, 2008, 5:54:41 AM3/4/08
to
In article <801416cf-432d-4328...@13g2000hsb.googlegroups.com>,

"BertieB...@gmail.com" <BertieB...@gmail.com> writes:
> Installed Solaris 9 on my Blade 1500 to which is attached a standard
> UK USB PC keyboard and mouse.
>
> Trouble is its not working properly. For starters (and most
> importantly!) I cant get the pipe character - instead I get ^@ when I
> hit the pipe key.
>
> Any ideas?

Try the ~ key ;-)

> Yes. I installed Solaris with UK support.

Was the keyboard plugged in when system was powered up? If not, try
doing that.

Don't have a Blade 1500 to try this out on and I'm not sure how this
is supposed to work (I thought USB keyboards were self-identifying),
but you might try: eeprom keyboard-layout=UK-English
and reboot.

--
Andrew Gabriel
[email address is not usable -- followup in the newsgroup]

BertieB...@gmail.com

unread,
Mar 4, 2008, 6:14:22 AM3/4/08
to
On Mar 4, 10:54 am, and...@cucumber.demon.co.uk (Andrew Gabriel)
wrote:
> In article <801416cf-432d-4328-8de2-33607339c...@13g2000hsb.googlegroups.com>,

>         "BertieBigBol...@gmail.com" <BertieBigBol...@gmail.com> writes:
>
> > Installed Solaris 9 on my Blade 1500 to which is attached a standard
> > UK USB PC keyboard and mouse.
>
> > Trouble is its not working properly. For starters (and most
> > importantly!) I cant get the pipe character - instead I get ^@ when I
> > hit the pipe key.
>
> > Any ideas?
>
> Try the ~ key ;-)

Same.

> Was the keyboard plugged in when system was powered up? If not, try
> doing that.

Yes. Was connected.

>
> Don't have a Blade 1500 to try this out on and I'm not sure how this
> is supposed to work (I thought USB keyboards were self-identifying),
> but you might try: eeprom keyboard-layout=UK-English
> and reboot.

I assume you mean that this command is from the OK prompt? No joy...

Casper H.S. Dik

unread,
Mar 4, 2008, 6:49:17 AM3/4/08
to
and...@cucumber.demon.co.uk (Andrew Gabriel) writes:

Many USB keyboards are not self-identifying; Sun keyboards are.

I'm not exactly sure why keyboards need any identiifcation; why can't they
just send what's on the key caps?


Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

Andrew Gabriel

unread,
Mar 4, 2008, 7:09:38 AM3/4/08
to
In article <3cf86244-b758-4b1a...@e6g2000prf.googlegroups.com>,

"BertieB...@gmail.com" <BertieB...@gmail.com> writes:
> On Mar 4, 10:54 am, and...@cucumber.demon.co.uk (Andrew Gabriel)
> wrote:
>> In article <801416cf-432d-4328-8de2-33607339c...@13g2000hsb.googlegroups.com>,
>>         "BertieBigBol...@gmail.com" <BertieBigBol...@gmail.com> writes:
>>
>> > Installed Solaris 9 on my Blade 1500 to which is attached a standard
>> > UK USB PC keyboard and mouse.
>>
>> > Trouble is its not working properly. For starters (and most
>> > importantly!) I cant get the pipe character - instead I get ^@ when I
>> > hit the pipe key.
>>
>> > Any ideas?
>>
>> Try the ~ key ;-)
> Same.

Might not be just a misidentified keyboard problem.
(I should have said ~ character, i.e. shift-~)

>> Was the keyboard plugged in when system was powered up? If not, try
>> doing that.
> Yes. Was connected.
>>
>> Don't have a Blade 1500 to try this out on and I'm not sure how this
>> is supposed to work (I thought USB keyboards were self-identifying),
>> but you might try: eeprom keyboard-layout=UK-English
>> and reboot.
> I assume you mean that this command is from the OK prompt? No joy...

No, it's from the Solaris command line.
You can achieve the same from the OK prompt too,
but I'm not sure what the syntax is for that.

BertieB...@gmail.com

unread,
Mar 4, 2008, 10:03:18 AM3/4/08
to
On Mar 4, 12:09 pm, and...@cucumber.demon.co.uk (Andrew Gabriel)
wrote:
> In article <3cf86244-b758-4b1a-88ee-6afccd002...@e6g2000prf.googlegroups.com>,

Nope. Doesnt work :-(.

Man pages for eeprom dont mention keyboard-layout as one of the
parameters. Only thing similar is keymap.

BTW - Shift-~ gives the same.

Thomas Maier-Komor

unread,
Mar 4, 2008, 11:10:43 AM3/4/08
to
BertieB...@gmail.com schrieb:

>
> Nope. Doesnt work :-(.
>
> Man pages for eeprom dont mention keyboard-layout as one of the
> parameters. Only thing similar is keymap.
>
> BTW - Shift-~ gives the same.

have you already read kbd(1) and tried the layout setting described in
this man page?

Casper H.S. Dik

unread,
Mar 4, 2008, 11:33:07 AM3/4/08
to
"BertieB...@gmail.com" <BertieB...@gmail.com> writes:

>Man pages for eeprom dont mention keyboard-layout as one of the
>parameters. Only thing similar is keymap.

I think that's only an x86 parameter.

Alan Coopersmith

unread,
Mar 4, 2008, 1:25:27 PM3/4/08
to
Casper H.S. Dik <Caspe...@Sun.COM> writes in comp.unix.solaris:

|I'm not exactly sure why keyboards need any identiifcation; why can't they
|just send what's on the key caps?

Because that's not the way the USB HID standard was written 10 years
ago - it sends "shift" then "2" and you have to know the layout to
figure out what character is in that position on your keyboard.

--
Alan Coopersmith * al...@alum.calberkeley.org * Alan.Coo...@Sun.COM
http://blogs.sun.com/alanc/ * http://people.freedesktop.org/~alanc/
http://del.icio.us/alanc/ * http://www.csua.berkeley.edu/~alanc/
Working for, but definitely not speaking for, Sun Microsystems, Inc.

Casper H.S. Dik

unread,
Mar 5, 2008, 3:44:57 AM3/5/08
to
Alan Coopersmith <al...@alum.calberkeley.org> writes:

>Casper H.S. Dik <Caspe...@Sun.COM> writes in comp.unix.solaris:
>|I'm not exactly sure why keyboards need any identiifcation; why can't they
>|just send what's on the key caps?

>Because that's not the way the USB HID standard was written 10 years
>ago - it sends "shift" then "2" and you have to know the layout to
>figure out what character is in that position on your keyboard.

Surely there's a way to do that correctly? (I understand that lots
of applicaitons want to see all the modifers as separate events but
it should be possible to properly communicate the shifted values)

BertieB...@gmail.com

unread,
Mar 5, 2008, 5:05:46 AM3/5/08
to
So has anyone else got a USB keyboard plugged in to their Sun
workstation where the keyboard actually works correctly?

I'm wondering if this problem is keyboard specific and whether there
might be some mileage in trying an alternative keyboard (if I can find
one!)

(Got loads of Sun keyboards - dont suppose they do a sun keyboard-USB
adaptor do they?)

Casper H.S. Dik

unread,
Mar 5, 2008, 5:35:19 AM3/5/08
to
"BertieB...@gmail.com" <BertieB...@gmail.com> writes:

>So has anyone else got a USB keyboard plugged in to their Sun
>workstation where the keyboard actually works correctly?

A non-Sun USB keyboard you mean?

I've been using Sun USB keyboards exclusively (including on
PCs) but those certainly work.

It's possible that your particular keyboard is broken; have
you tried it on another system.

>(Got loads of Sun keyboards - dont suppose they do a sun keyboard-USB
>adaptor do they?)

I think they do but there probably isn't much of a market for those
these days as Sun now exclusively sells USB keyboards.

(Types 4/5/5c came in "Sun Keyboard" versions only; type 6 came in
USB and non-USB and type 7 only comes in USB)

BertieB...@gmail.com

unread,
Mar 5, 2008, 6:23:30 AM3/5/08
to
On Mar 5, 10:35 am, Casper H.S. Dik <Casper....@Sun.COM> wrote:

> "BertieBigBol...@gmail.com" <BertieBigBol...@gmail.com> writes:
> >So has anyone else got a USB keyboard plugged in to their Sun
> >workstation where the keyboard actually works correctly?
>
> A non-Sun USB keyboard you mean?
>
> I've been using Sun USB keyboards exclusively (including on
> PCs) but those certainly work.
>
> It's possible that your particular keyboard is broken; have
> you tried it on another system.

Tried two keyboards and they're both the same. They're both Compaq
keyboards so unless there is a problem with Compaq USB keyboards on
the Sun?

Simon Clubley

unread,
Mar 5, 2008, 7:35:49 AM3/5/08
to
In article <47ce5d89$0$14354$e4fe...@news.xs4all.nl>, Casper H.S. Dik <Caspe...@Sun.COM> writes:

> Alan Coopersmith <al...@alum.calberkeley.org> writes:
>
>>Because that's not the way the USB HID standard was written 10 years
>>ago - it sends "shift" then "2" and you have to know the layout to
>>figure out what character is in that position on your keyboard.
>
> Surely there's a way to do that correctly? (I understand that lots
> of applicaitons want to see all the modifers as separate events but
> it should be possible to properly communicate the shifted values)
>

Think about when the shift key itself _is_ the value, for example, when
selecting items within a GUI environment.

That's why events like "shift is down" do actually need to be separate events.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980's technology to a 21st century world

Neal A. Lucier

unread,
Mar 5, 2008, 6:03:15 PM3/5/08
to

This is just a poor rehashing of the things I have learned from "ottomeister", a
Sun employee working on Sun Ray firmware who fully understands keyboards, and
you are better off searching the Sun Ray mailing list archives for information
on keyboards from him/her.

http://www.sun-rays.org/mailing-list.html

One such short email on the subject is:
http://www.mail-archive.com/sunray...@filibeto.org/msg00434.html

However, there are longer ones that go into more detail both for Linux and Solaris.

That being said, keyboards need to have their layout properly set in their
firmware, so that when the X server queries the keyboard it can apply the proper
layout. Sun as a responsible keyboard manufacturer always ensures that their
keyboards report the proper keyboard layout code; however, many PC keyboard
manufacturer's just set the layout value to '0'. In the land of UNIX, this will
cause the X server to use a US keyboard layout instead of the appropriate one.

If you are only going to be connecting UK layout keyboards that report
themselves as layout '0' keyboards on this machine, you can edit the default
keytable mappings to change all type '0' keyboards to be UK keyboards.

I think this would be done by editing:
/usr/openwin/etc/keytables/keytable.map

And change:
0 0 US4.kt

to:
0 0 UK4.kt

There is also an xkbtable.map that may need to be edited if you are using xkb.

Again my understanding of this problem and solution is completely 2nd hand, and
I have never had to use it in the past having always purchased Sun keyboards.

Neal

DoN. Nichols

unread,
Mar 6, 2008, 12:46:12 AM3/6/08
to
On 2008-03-05, BertieB...@gmail.com <BertieB...@gmail.com> wrote:
> So has anyone else got a USB keyboard plugged in to their Sun
> workstation where the keyboard actually works correctly?

Well ... if you leave out the requirement that it bea UK PC
keyboard -- yes. I have Sun USB keyboards plugged into:

2 each Sun Blade 1000
1 each Sun Fire 280r
1 each intel-based Mac Mini

and all work -- three into Suns, and one into a Mac -- because I prefer
the location of the Control key on the Sun keyboards (at least, on some
of them, such as:

Model 6 type USB
3201273-01
(the one with the Control key to the left of the 'A' key.)

> I'm wondering if this problem is keyboard specific and whether there
> might be some mileage in trying an alternative keyboard (if I can find
> one!)

Try a Sun USB keyboard. If you still have problems with it,
then it is time to examine what key maps are loaded and from where.

> (Got loads of Sun keyboards - dont suppose they do a sun keyboard-USB
> adaptor do they?)

I don't know. I'm happy with the Sun USB keyboards, and not so
with PC keyboards.

On ebay at the moment I find two lots with that keyboard:

360030066888 (it has six keyboards in one lot)

130203445172 (one keyboard and one mouse)

It looks as though the same vendor is offering both lots.

Now -- what is the difference between a UK keyboard and the Sun
US keyboard? The Sun keyboard has the Euro symbol beside the number 4
but you have to use an alt sequence to get a Pounds Sterling symbol. Is
there anything else that matters to you?

If you prefer the layout with Caps-Lock to the left of the 'A',
Sun sells them, too. I've got some, because my wife prefers them.

Good Luck,
DoN.

--
Email: <dnic...@d-and-d.com> | Voice (all times): (703) 938-4564
(too) near Washington D.C. | http://www.d-and-d.com/dnichols/DoN.html
--- Black Holes are where God is dividing by zero ---

Casper H.S. Dik

unread,
Mar 6, 2008, 5:47:26 AM3/6/08
to
"DoN. Nichols" <dnic...@d-and-d.com> writes:

> Model 6 type USB
> 3201273-01
> (the one with the Control key to the left of the 'A' key.)

That's what we call the "UNIX layout" (I have a stack of those)
(Control in the proper place, caps lock out of the way and ESC next to the
1 plus a blank key between F1 and Help)

BertieB...@gmail.com

unread,
Mar 6, 2008, 5:49:38 AM3/6/08
to
On Mar 5, 11:03 pm, "Neal A. Lucier" <nluc...@math.purdue.edu> wrote:

> BertieBigBol...@gmail.com wrote:
> > Installed Solaris 9 on my Blade 1500 to which is attached a standard
> > UK USB PC keyboard and mouse.
>
> > Trouble is its not working properly. For starters (and most
> > importantly!) I cant get the pipe character - instead I get ^@ when I
> > hit the pipe key.
>
> > Any ideas?
>
> > Yes. I installed Solaris with UK support.
>
> This is just a poor rehashing of the things I have learned from "ottomeister", a
> Sun employee working on Sun Ray firmware who fully understands keyboards, and
> you are better off searching the Sun Ray mailing list archives for information
> on keyboards from him/her.
>
> http://www.sun-rays.org/mailing-list.html
>
> One such short email on the subject is:
> http://www.mail-archive.com/sunray-us...@filibeto.org/msg00434.html

>
> However, there are longer ones that go into more detail both for Linux and Solaris.
>
> That being said, keyboards need to have their layout properly set in their
> firmware, so that when the X server queries the keyboard it can apply the proper
> layout.  Sun as a responsible keyboard manufacturer always ensures that their
> keyboards report the proper keyboard layout code; however, many PC keyboard
> manufacturer's just set the layout value to '0'.  In the land of UNIX, this will
> cause the X server to use a US keyboard layout instead of the appropriate one.
>
> If you are only going to be connecting UK layout keyboards that report
> themselves as layout '0' keyboards on this machine, you can edit the default
> keytable mappings to change all type '0' keyboards to be UK keyboards.
>
> I think this would be done by editing:
> /usr/openwin/etc/keytables/keytable.map
>
> And change:
> 0       0       US4.kt
>
> to:
> 0       0       UK4.kt
>
> There is also an xkbtable.map that may need to be edited if you are using xkb.
>
> Again my understanding of this problem and solution is completely 2nd hand, and
> I have never had to use it in the past having always purchased Sun keyboards.
>
> Neal

Neal,

Thanks - I'll try that....

Any idea if theres any way to detemine what layout value the keyboard
is transmitting?

DoN. Nichols

unread,
Mar 8, 2008, 11:18:52 PM3/8/08
to
On 2008-03-06, Casper H.S Dik <Caspe...@Sun.COM> wrote:
> "DoN. Nichols" <dnic...@d-and-d.com> writes:
>
>> Model 6 type USB
>> 3201273-01
>> (the one with the Control key to the left of the 'A' key.)
>
> That's what we call the "UNIX layout" (I have a stack of those)
> (Control in the proper place, caps lock out of the way and ESC next to the
> 1 plus a blank key between F1 and Help)

Yes -- my preferred layout. Unfortunately, my wife prefers the
other layout, so I've got some of each type (though not enough of my
favorite).

And did I encounter mention of the Model 7 having a USB socket
on the keyboard for the mouse? Glad to see that back -- though I
actually use the Logitech optical trackball by preference on the arm of
my chair where I sit wit the keyboard in my lap.

Enjoy,

Casper H.S. Dik

unread,
Mar 9, 2008, 8:26:33 AM3/9/08
to
"DoN. Nichols" <dnic...@d-and-d.com> writes:

> Yes -- my preferred layout. Unfortunately, my wife prefers the
>other layout, so I've got some of each type (though not enough of my
>favorite).

My wife uses a laptop (supplied by her employer); other than that
I have 1 PC and 2 Sun Rays with UNIX layour type 6 and one Sun Ray 2
with Unix type 7 (all USB) Most with logitec scroll mice
(Sun was very late in adopting the scroll mouse) but one with the type 7
mouse.

> And did I encounter mention of the Model 7 having a USB socket
>on the keyboard for the mouse? Glad to see that back -- though I
>actually use the Logitech optical trackball by preference on the arm of
>my chair where I sit wit the keyboard in my lap.

Yes, the type 7 keyboard has a builtin unpowered hub with three USB
connectors (one hidden in the location where type 5 used to have the
mouse connector)

DoN. Nichols

unread,
Mar 10, 2008, 12:09:12 AM3/10/08
to
On 2008-03-09, Casper H.S Dik <Caspe...@Sun.COM> wrote:
> "DoN. Nichols" <dnic...@d-and-d.com> writes:

[ ... ]

>> And did I encounter mention of the Model 7 having a USB socket
>>on the keyboard for the mouse? Glad to see that back -- though I
>>actually use the Logitech optical trackball by preference on the arm of
>>my chair where I sit wit the keyboard in my lap.
>
> Yes, the type 7 keyboard has a builtin unpowered hub with three USB
> connectors (one hidden in the location where type 5 used to have the
> mouse connector)

Great I'll keep my eyes open for them -- though it will probably
be some time before they start showing up at hamfests and the like.
What do they go for new?

And so -- there is now again a use for the second cable groove
moulded into the bottom. :-)

Thanks,

BertieB...@gmail.com

unread,
Mar 10, 2008, 10:09:09 AM3/10/08
to
On Mar 4, 4:10 pm, Thomas Maier-Komor <tho...@maier-komor.de> wrote:
> BertieBigBol...@gmail.com schrieb:

Yes. /etc/default/kbd just seems to refer to things like abort
sequences / keyclick etc.

BertieB...@gmail.com

unread,
Mar 10, 2008, 10:12:44 AM3/10/08
to
On Mar 6, 10:49 am, "BertieBigBol...@gmail.com"
> is transmitting?- Hide quoted text -
>
> - Show quoted text -

No joy. Still the same :-(

0 new messages