> I have a USb keyboard

Hmm, some messages ago you said that your
lshal output looked the same (with the exception
of the layout) compared to the sample that I 
posted from my system.  So I was expecting that
your system was using a PS/2 keyboard, too...
Apparently that was wrong?


On my laptop with internal PS/2 keyboard and
an external (non-self-identifying) USB keyboard,
lshal reports:

The PS/2 keyboard:

udi = 
'/org/freedesktop/Hal/devices/pci_0_0/isa_1f/i8042_1_60/keyboard_0_0_logicaldev_input'
  input.x11_options.XkbVariant = ''  (string)
  input.x11_options.XkbLayout = 'de'  (string)
  input.x11_options.XkbModel = 'sun_type6_euro_usb'  (string)
  input.x11_options.mdriver = 'hotkey'  (string)
  input.x11_driver = 'kbd'  (string)
  input.x11_options.XkbRules = 'base'  (string)
  input.originating_device = 
'/org/freedesktop/Hal/devices/pci_0_0/isa_1f/i8042_1_60/keyboard_0_0'  (string)
  input.device = '/dev/kbd'  (string)
  info.category = 'input'  (string)
  info.subsystem = 'input'  (string)
  info.capabilities = {'input', 'input.keyboard', 'input.keys', 'button'} 
(string list)
  info.solaris.driver = 'kb8042'  (string)
  solaris.devfs_path = '/p...@0,0/i...@1f/i8...@1,60/keybo...@0'  (string)
  info.product = 'System keyboard'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/pci_0_0/isa_1f/i8042_1_60/keyboard_0_0_logicaldev_input'
  (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_0_0/isa_1f/i8042_1_60_0'  
(string)


And the USB keyboard

udi = 
'/org/freedesktop/Hal/devices/pci_0_0/pci1179_1_1a/hub_1/keyboard_4_if0_2_logicaldev_input'
  input.x11_options.XkbVariant = ''  (string)
  input.x11_options.XkbLayout = 'de'  (string)
  input.x11_options.Protocol = 'VUID'  (string)
  input.x11_options.StreamsModule = 'usbkbm'  (string)
  input.x11_options.XkbModel = 'sun_type6_euro_usb'  (string)
  input.x11_options.mdriver = 'hotkey'  (string)
  input.x11_driver = 'kbd'  (string)
  input.x11_options.XkbRules = 'base'  (string)
  input.originating_device = 
'/org/freedesktop/Hal/devices/pci_0_0/pci1179_1_1a/hub_1/keyboard_4_if0_2'  
(string)
  input.device = '/dev/usb/hid1'  (string)
  info.capabilities = {'input', 'input.keyboard', 'input.keys', 'button'} 
(string list)
  info.category = 'input'  (string)
  info.subsystem = 'input'  (string)
  info.solaris.driver = 'hid'  (string)
  solaris.devfs_path = '/p...@0,0/pci1179,1...@1a/h...@1/keybo...@4:keyboard'  
(string)
  info.product = 'keyboard'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/pci_0_0/pci1179_1_1a/hub_1/keyboard_4_if0_2_logicaldev_input'
  (string)
  info.parent = 
'/org/freedesktop/Hal/devices/pci_0_0/pci1179_1_1a/hub_1/keyboard_4_if0_2'  
(string)



These lshal properties are only present with the USB keyboard entry:

input.x11_options.Protocol = 'VUID'  (string)
input.x11_options.StreamsModule = 'usbkbm'  (string)

The input.device property is different, '/dev/kbd' vs. '/dev/usb/hidXX'
And info.solaris.driver is different, 'kb8042' vs. 'hid'


The kbd -l command is using the /dev/kbd device
to report the keyboard layout, but hald is using
/dev/usb/hidXX to find out the layout.

On my system, both devices /dev/kbd and /dev/usb/hidXX
do report layout 9, seems that on your system the
/dev/kbd reports layout 9 (DE), while the usb hid device
returns US layout?

Maybe your USB keyboard is a self-identifying one that
does return layout information?  These comments for
defect 13262 might describe the problem:
 
https://defect.opensolaris.org/bz/show_bug.cgi?id=13262#c16
https://defect.opensolaris.org/bz/show_bug.cgi?id=13262#c17
https://defect.opensolaris.org/bz/show_bug.cgi?id=13262#c18

My theory for an explanation would be that the
solaris usb keyboard driver thinks that the usb
hardware returned a valid keyboard country code
for your usb keyboard, and for that reason the
settings in eeprom and/or /etc/default/kbd are
ignored?
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to