public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: SPARC64: Configuration offers keyboards that don't make sense
  2005-10-28 20:09 SPARC64: Configuration offers keyboards that don't make sense Horst von Brand
@ 2005-10-28 19:32 ` Ben Collins
  2005-10-29  0:00   ` Horst von Brand
  2005-10-28 20:17 ` Jan-Benedict Glaw
  1 sibling, 1 reply; 13+ messages in thread
From: Ben Collins @ 2005-10-28 19:32 UTC (permalink / raw)
  To: Horst von Brand; +Cc: Linux Kernel Mailing List

I used to have an UltraSPARC clone that needed the AT Keyboard. So, no, it's
not a mistake.

As far as your issue with the keyboard not working, did you enable
everything, like USB? What sort of ultrasparc is it?

On Fri, Oct 28, 2005 at 05:09:31PM -0300, Horst von Brand wrote:
> On my Sun I get the following offers:
> 
>    AT Keyboard
>    Sun types 4 and 5
>    DECstation LK201/LK401
>    XT keyboard
>    Newton keyboard
> 
> Unless I am very mistaken, only the second one applies?
> 
> Also, configuring this one gives a non-functional keyboard (the machine is
> running, I can log in over SSH, but keypresses have no effect at all).
> 
> Should I be looking elsewhere for SPARC support?
> 
> Thanks!
> -- 
> Dr. Horst H. von Brand                   User #22616 counter.li.org
> Departamento de Informatica                     Fono: +56 32 654431
> Universidad Tecnica Federico Santa Maria              +56 32 654239
> Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
Ubuntu     - http://www.ubuntu.com/
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
SwissDisk  - http://www.swissdisk.com/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* SPARC64: Configuration offers keyboards that don't make sense
@ 2005-10-28 20:09 Horst von Brand
  2005-10-28 19:32 ` Ben Collins
  2005-10-28 20:17 ` Jan-Benedict Glaw
  0 siblings, 2 replies; 13+ messages in thread
From: Horst von Brand @ 2005-10-28 20:09 UTC (permalink / raw)
  To: Linux Kernel Mailing List

On my Sun I get the following offers:

   AT Keyboard
   Sun types 4 and 5
   DECstation LK201/LK401
   XT keyboard
   Newton keyboard

Unless I am very mistaken, only the second one applies?

Also, configuring this one gives a non-functional keyboard (the machine is
running, I can log in over SSH, but keypresses have no effect at all).

Should I be looking elsewhere for SPARC support?

Thanks!
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SPARC64: Configuration offers keyboards that don't make sense
  2005-10-28 20:09 SPARC64: Configuration offers keyboards that don't make sense Horst von Brand
  2005-10-28 19:32 ` Ben Collins
@ 2005-10-28 20:17 ` Jan-Benedict Glaw
  2005-10-29  0:06   ` Horst von Brand
  1 sibling, 1 reply; 13+ messages in thread
From: Jan-Benedict Glaw @ 2005-10-28 20:17 UTC (permalink / raw)
  To: Horst von Brand; +Cc: Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 1090 bytes --]

On Fri, 2005-10-28 17:09:31 -0300, Horst von Brand <vonbrand@inf.utfsm.cl> wrote:
> On my Sun I get the following offers:
> 
>    AT Keyboard
>    Sun types 4 and 5
>    DECstation LK201/LK401
>    XT keyboard
>    Newton keyboard
> 
> Unless I am very mistaken, only the second one applies?

Well, the LK[24]01 was used by DECstations and VAXstations (as well as
some VT terminals), you can use it with a simple adaptor on any
machine that has a RS232 serial port. For example, I'm using such a
keyboard on my Athlon-based PeeCee.

> Also, configuring this one gives a non-functional keyboard (the machine is
> running, I can log in over SSH, but keypresses have no effect at all).

Did the serial port register serio ports?

MfG, JBG

-- 
Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger"  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SPARC64: Configuration offers keyboards that don't make sense
  2005-10-28 19:32 ` Ben Collins
@ 2005-10-29  0:00   ` Horst von Brand
  2005-10-29  1:23     ` Ben Collins
  0 siblings, 1 reply; 13+ messages in thread
From: Horst von Brand @ 2005-10-29  0:00 UTC (permalink / raw)
  To: Ben Collins; +Cc: Horst von Brand, Linux Kernel Mailing List

Ben Collins <bcollins@debian.org> wrote:
> On Fri, Oct 28, 2005 at 05:09:31PM -0300, Horst von Brand wrote:
> > On my Sun I get the following offers:
> > 
> >    AT Keyboard
> >    Sun types 4 and 5
> >    DECstation LK201/LK401
> >    XT keyboard
> >    Newton keyboard
> > 
> > Unless I am very mistaken, only the second one applies?

> I used to have an UltraSPARC clone that needed the AT Keyboard. So, no, it's
> not a mistake.

OK, sounds reasonable given the "PCs with SPARC CPU" that Sun made lately.

> > Also, configuring this one gives a non-functional keyboard (the machine is
> > running, I can log in over SSH, but keypresses have no effect at all).

> As far as your issue with the keyboard not working, did you enable
> everything, like USB?

No I did not.

>                       What sort of ultrasparc is it?

An Ultra 1 (yes, I know it is old and klunky, but I kind of like it...).
That is why I did not configure USB or PCI (they just aren't available).
Should that make a difference?
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SPARC64: Configuration offers keyboards that don't make sense
  2005-10-28 20:17 ` Jan-Benedict Glaw
@ 2005-10-29  0:06   ` Horst von Brand
  2005-10-29  6:07     ` Dmitry Torokhov
  2005-10-29 14:32     ` Jan-Benedict Glaw
  0 siblings, 2 replies; 13+ messages in thread
From: Horst von Brand @ 2005-10-29  0:06 UTC (permalink / raw)
  To: Jan-Benedict Glaw; +Cc: Horst von Brand, Linux Kernel Mailing List

Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:
> On Fri, 2005-10-28 17:09:31 -0300, Horst von Brand <vonbrand@inf.utfsm.cl> wrote:
> > On my Sun I get the following offers:
> > 
> >    AT Keyboard
> >    Sun types 4 and 5
> >    DECstation LK201/LK401
> >    XT keyboard
> >    Newton keyboard
> > 
> > Unless I am very mistaken, only the second one applies?
> 
> Well, the LK[24]01 was used by DECstations and VAXstations (as well as
> some VT terminals), you can use it with a simple adaptor on any
> machine that has a RS232 serial port. For example, I'm using such a
> keyboard on my Athlon-based PeeCee.

Does it need some kind of "serial keyboard configuration"? Wouldn't that
make more sense?

> > Also, configuring this one gives a non-functional keyboard (the machine is
> > running, I can log in over SSH, but keypresses have no effect at all).

> Did the serial port register serio ports?

How can I find this out?
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SPARC64: Configuration offers keyboards that don't make sense
  2005-10-29  0:00   ` Horst von Brand
@ 2005-10-29  1:23     ` Ben Collins
  0 siblings, 0 replies; 13+ messages in thread
From: Ben Collins @ 2005-10-29  1:23 UTC (permalink / raw)
  To: Horst von Brand; +Cc: Linux Kernel Mailing List

> An Ultra 1 (yes, I know it is old and klunky, but I kind of like it...).
> That is why I did not configure USB or PCI (they just aren't available).
> Should that make a difference?

Nah, just make sure you have all the right sbus stuff enabled. Been awhile
since I did a kernel for an sbus sparc64 that wasn't headless, so I'm not
much help right now :)

-- 
Ubuntu     - http://www.ubuntu.com/
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
SwissDisk  - http://www.swissdisk.com/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SPARC64: Configuration offers keyboards that don't make sense
  2005-10-29  0:06   ` Horst von Brand
@ 2005-10-29  6:07     ` Dmitry Torokhov
  2005-10-30  3:26       ` Horst von Brand
  2005-10-29 14:32     ` Jan-Benedict Glaw
  1 sibling, 1 reply; 13+ messages in thread
From: Dmitry Torokhov @ 2005-10-29  6:07 UTC (permalink / raw)
  To: linux-kernel; +Cc: Horst von Brand, Jan-Benedict Glaw

On Friday 28 October 2005 19:06, Horst von Brand wrote:
> Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:
> > On Fri, 2005-10-28 17:09:31 -0300, Horst von Brand <vonbrand@inf.utfsm.cl> wrote:
> > > On my Sun I get the following offers:
> > > 
> > >    AT Keyboard
> > >    Sun types 4 and 5
> > >    DECstation LK201/LK401
> > >    XT keyboard
> > >    Newton keyboard
> > > 
> > > Unless I am very mistaken, only the second one applies?
> > 
> > Well, the LK[24]01 was used by DECstations and VAXstations (as well as
> > some VT terminals), you can use it with a simple adaptor on any
> > machine that has a RS232 serial port. For example, I'm using such a
> > keyboard on my Athlon-based PeeCee.
> 
> Does it need some kind of "serial keyboard configuration"? Wouldn't that
> make more sense?
> 
> > > Also, configuring this one gives a non-functional keyboard (the machine is
> > > running, I can log in over SSH, but keypresses have no effect at all).
> 
> > Did the serial port register serio ports?
> 
> How can I find this out?

Just post your dmesg.. Or ssh into it and poke around /sys/bus/serio...
Sun keyboard can be autodetected AFAIK so you don't need to fiddle with
inputattach. Do you have sunsu or sunzilog drivers selected?
 
-- 
Dmitry

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SPARC64: Configuration offers keyboards that don't make sense
  2005-10-29  0:06   ` Horst von Brand
  2005-10-29  6:07     ` Dmitry Torokhov
@ 2005-10-29 14:32     ` Jan-Benedict Glaw
  1 sibling, 0 replies; 13+ messages in thread
From: Jan-Benedict Glaw @ 2005-10-29 14:32 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Horst von Brand

[-- Attachment #1: Type: text/plain, Size: 1309 bytes --]

On Fri, 2005-10-28 21:06:06 -0300, Horst von Brand <vonbrand@inf.utfsm.cl> wrote:
> Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:
> > Well, the LK[24]01 was used by DECstations and VAXstations (as well as
> > some VT terminals), you can use it with a simple adaptor on any
> > machine that has a RS232 serial port. For example, I'm using such a
> > keyboard on my Athlon-based PeeCee.
> 
> Does it need some kind of "serial keyboard configuration"? Wouldn't that
> make more sense?

Well, on the right hardware, the serio port gets a flag set by the
serial driver that it expects a keyboard on a given port.

On all other hardware, you need to call "inputattach" to do that for
you.

> > > Also, configuring this one gives a non-functional keyboard (the machine is
> > > running, I can log in over SSH, but keypresses have no effect at all).
> 
> > Did the serial port register serio ports?
> 
> How can I find this out?

/sys/devices/serio*

MfG, JBG

-- 
Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger"  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SPARC64: Configuration offers keyboards that don't make sense
  2005-10-29  6:07     ` Dmitry Torokhov
@ 2005-10-30  3:26       ` Horst von Brand
  2005-10-30 14:39         ` David S. Miller
  2005-10-30 23:17         ` Dmitry Torokhov
  0 siblings, 2 replies; 13+ messages in thread
From: Horst von Brand @ 2005-10-30  3:26 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-kernel, Horst von Brand, Jan-Benedict Glaw

Dmitry Torokhov <dtor_core@ameritech.net> wrote:
> On Friday 28 October 2005 19:06, Horst von Brand wrote:
> > Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:
> > > On Fri, 2005-10-28 17:09:31 -0300, Horst von Brand <vonbrand@inf.utfsm.cl> wrote:

[...]

> > > > Also, configuring this one gives a non-functional keyboard (the
> > > > machine is running, I can log in over SSH, but keypresses have no
> > > > effect at all).

> > > Did the serial port register serio ports?

> > How can I find this out?

> Just post your dmesg..

Nothing relevant I can see.

>                        Or ssh into it and poke around /sys/bus/serio...

Got /sys/sun/bus/serio/drivers/subkbd/ with several files inside

> Sun keyboard can be autodetected AFAIK so you don't need to fiddle with
> inputattach.

The setup works for the shipped Aurora kernel, but to compile that
configuration would take a few days...

>              Do you have sunsu or sunzilog drivers selected?

SUNZILOG is module, and is not loaded right now. No serials in use.
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SPARC64: Configuration offers keyboards that don't make sense
  2005-10-30  3:26       ` Horst von Brand
@ 2005-10-30 14:39         ` David S. Miller
  2005-11-04 12:21           ` Horst von Brand
  2005-10-30 23:17         ` Dmitry Torokhov
  1 sibling, 1 reply; 13+ messages in thread
From: David S. Miller @ 2005-10-30 14:39 UTC (permalink / raw)
  To: vonbrand; +Cc: dtor_core, linux-kernel, jbglaw

From: Horst von Brand <vonbrand@inf.utfsm.cl>
Date: Sun, 30 Oct 2005 00:26:33 -0300

> > Sun keyboard can be autodetected AFAIK so you don't need to fiddle with
> > inputattach.
> 
> The setup works for the shipped Aurora kernel, but to compile that
> configuration would take a few days...

Do you try to load any keymaps at boot time?
Try to disable that.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SPARC64: Configuration offers keyboards that don't make sense
  2005-10-30  3:26       ` Horst von Brand
  2005-10-30 14:39         ` David S. Miller
@ 2005-10-30 23:17         ` Dmitry Torokhov
  1 sibling, 0 replies; 13+ messages in thread
From: Dmitry Torokhov @ 2005-10-30 23:17 UTC (permalink / raw)
  To: linux-kernel; +Cc: Horst von Brand, Jan-Benedict Glaw

On Saturday 29 October 2005 22:26, Horst von Brand wrote:
> Dmitry Torokhov <dtor_core@ameritech.net> wrote:
> > On Friday 28 October 2005 19:06, Horst von Brand wrote:
> > > Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:
> > > > On Fri, 2005-10-28 17:09:31 -0300, Horst von Brand <vonbrand@inf.utfsm.cl> wrote:
> 
> [...]
> 
> > > > > Also, configuring this one gives a non-functional keyboard (the
> > > > > machine is running, I can log in over SSH, but keypresses have no
> > > > > effect at all).
> 
> > > > Did the serial port register serio ports?
> 
> > > How can I find this out?
> 
> > Just post your dmesg..
> 
> Nothing relevant I can see.
> 
> >                        Or ssh into it and poke around /sys/bus/serio...
> 
> Got /sys/sun/bus/serio/drivers/subkbd/ with several files inside
>

BUt nothing in /sys/bus/serio/devices, right? That means you don't have any
serial port drivers loaded so sunkbd does not have aport to attach to.

> > Sun keyboard can be autodetected AFAIK so you don't need to fiddle with
> > inputattach.
> 
> The setup works for the shipped Aurora kernel, but to compile that
> configuration would take a few days...
> 
> >              Do you have sunsu or sunzilog drivers selected?
> 
> SUNZILOG is module, and is not loaded right now. No serials in use.

Please try loading it (or compile it in).

-- 
Dmitry

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SPARC64: Configuration offers keyboards that don't make sense
  2005-10-30 14:39         ` David S. Miller
@ 2005-11-04 12:21           ` Horst von Brand
  2005-11-06  0:00             ` David S. Miller
  0 siblings, 1 reply; 13+ messages in thread
From: Horst von Brand @ 2005-11-04 12:21 UTC (permalink / raw)
  To: David S. Miller; +Cc: vonbrand, dtor_core, linux-kernel, jbglaw

David S. Miller <davem@davemloft.net> wrote:
> From: Horst von Brand <vonbrand@inf.utfsm.cl>
> Date: Sun, 30 Oct 2005 00:26:33 -0300
> 
> > > Sun keyboard can be autodetected AFAIK so you don't need to fiddle with
> > > inputattach.
> > 
> > The setup works for the shipped Aurora kernel, but to compile that
> > configuration would take a few days...

> Do you try to load any keymaps at boot time?
> Try to disable that.

Finally found the culprit: SERIAL_SUNZILOG can't be module (or has to be
loaded early, dunno). The Aurora setup tries to load keymaps, and disabling
that made no difference.

Thanks all for the help!
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: SPARC64: Configuration offers keyboards that don't make sense
  2005-11-04 12:21           ` Horst von Brand
@ 2005-11-06  0:00             ` David S. Miller
  0 siblings, 0 replies; 13+ messages in thread
From: David S. Miller @ 2005-11-06  0:00 UTC (permalink / raw)
  To: vonbrand; +Cc: dtor_core, linux-kernel, jbglaw

From: Horst von Brand <vonbrand@inf.utfsm.cl>
Date: Fri, 04 Nov 2005 09:21:46 -0300

> Finally found the culprit: SERIAL_SUNZILOG can't be module (or has to be
> loaded early, dunno).

If you want sunzilog to be modular, you have to make sure
the initrd loads it at the beginning of bootup if you want
to have a keyboard.

It's usually best to build it statically, which avoids all
of those complications.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-11-06  0:03 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-28 20:09 SPARC64: Configuration offers keyboards that don't make sense Horst von Brand
2005-10-28 19:32 ` Ben Collins
2005-10-29  0:00   ` Horst von Brand
2005-10-29  1:23     ` Ben Collins
2005-10-28 20:17 ` Jan-Benedict Glaw
2005-10-29  0:06   ` Horst von Brand
2005-10-29  6:07     ` Dmitry Torokhov
2005-10-30  3:26       ` Horst von Brand
2005-10-30 14:39         ` David S. Miller
2005-11-04 12:21           ` Horst von Brand
2005-11-06  0:00             ` David S. Miller
2005-10-30 23:17         ` Dmitry Torokhov
2005-10-29 14:32     ` Jan-Benedict Glaw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox