Re: Keyboard trouble on Mac Mini G4 / macppc

2012-01-19 Thread Christer Solskogen
On Wed, Jan 18, 2012 at 3:56 PM, Martin Pieuchot mpieuc...@nolizard.org wrote:
 On 18/01/12(Wed) 15:27, Christer Solskogen wrote:
 On Wed, Jan 18, 2012 at 3:23 PM, Steffen Daode Nurpmeso
 sdao...@googlemail.com wrote:
  Hi,
 
  Christer Solskogen wrote [2012-01-17 19:07+0100]:
  I just installed the latest OpenBSD snapshot on my Mac Mini G4, and
  I've got trouble getting the keyboard encoding to work properly.
  keyboard.encoding=no is set in /etc/wsconsctl.conf (and I also see
  keyboard.encoding - no) during startup. But the keyboard encoding is
  still US (or whatever is the default)
  any hints?

 Are you sure your keyboard is detected as 'keyboard' and not 'keyboard1'?
 What is the output of:

 # wsconsctl

 Some macppc machines have a bluetooth hid adapted detected as 'keyboard'.


That did the trick!
keyboard1.encoding=no

Thanks!

-- 
chs,



Re: Keyboard trouble on Mac Mini G4 / macppc

2012-01-18 Thread Christer Solskogen
On Wed, Jan 18, 2012 at 3:23 PM, Steffen Daode Nurpmeso
sdao...@googlemail.com wrote:
 Hi,

 Christer Solskogen wrote [2012-01-17 19:07+0100]:
 I just installed the latest OpenBSD snapshot on my Mac Mini G4, and
 I've got trouble getting the keyboard encoding to work properly.
 keyboard.encoding=no is set in /etc/wsconsctl.conf (and I also see
 keyboard.encoding - no) during startup. But the keyboard encoding is
 still US (or whatever is the default)
 any hints?

 Never tried it, but have you looked at akbd(4) already?
 It is not enabled in amd64/conf/GENERIC by default ...
 Hope that helps,

I'll take a look. But usually there is a reason why it's not enabled
in the first place.
(and this is ppc, not sure if akbd works there)


-- 
chs,



Re: Keyboard trouble on Mac Mini G4 / macppc

2012-01-18 Thread Martin Pieuchot
On 18/01/12(Wed) 15:27, Christer Solskogen wrote:
 On Wed, Jan 18, 2012 at 3:23 PM, Steffen Daode Nurpmeso
 sdao...@googlemail.com wrote:
  Hi,
 
  Christer Solskogen wrote [2012-01-17 19:07+0100]:
  I just installed the latest OpenBSD snapshot on my Mac Mini G4, and
  I've got trouble getting the keyboard encoding to work properly.
  keyboard.encoding=no is set in /etc/wsconsctl.conf (and I also see
  keyboard.encoding - no) during startup. But the keyboard encoding is
  still US (or whatever is the default)
  any hints?

Are you sure your keyboard is detected as 'keyboard' and not 'keyboard1'?
What is the output of:

# wsconsctl

Some macppc machines have a bluetooth hid adapted detected as 'keyboard'.

 
  Never tried it, but have you looked at akbd(4) already?
  It is not enabled in amd64/conf/GENERIC by default ...
  Hope that helps,
 
 I'll take a look. But usually there is a reason why it's not enabled
 in the first place.
 (and this is ppc, not sure if akbd works there)

It's not related to akbd(4) because mac mini use USB keyboards.
Otherwise you may have a look at kbd(8) and write 'no' to /etc/kbdtype
;)

Martin



Keyboard trouble on Mac Mini G4 / macppc

2012-01-17 Thread Christer Solskogen
Hi!

I just installed the latest OpenBSD snapshot on my Mac Mini G4, and
I've got trouble getting the keyboard encoding to work properly.
keyboard.encoding=no is set in /etc/wsconsctl.conf (and I also see
keyboard.encoding - no) during startup. But the keyboard encoding is
still US (or whatever is the default)
any hints?

-- 
chs,