Bug #45

Keyboard layout not set

Added by Jérôme Warnier over 2 years ago. Updated about 1 year ago.

Status:Closed Start:01/17/2010
Priority:Low Due date:
Assigned to:sham pavman % Done:

0%

Category:- Spent time: -
Target version:ncp3-beta1

Description

Whenever choosing the Belgian keyboard layout from the list at installation time or using "kbd -s" afterwards, keyboard is still US-english. This happens at least on NCP3.0a3, but I never saw any previous version where it worked.


Related issues

related to Bug #234 keyboard layout not set in installer New 08/15/2010

History

Updated by Anil Gulecha over 2 years ago

  • Assigned to set to sham pavman

Updated by Dmitry Yusupov about 1 year ago

  • Target version set to ncp3-alpha5

Updated by Anil Gulecha about 1 year ago

The reason for this is kbd -s does not seem to be working. When trying to set US-English:

kbd -s US-English

USB keyboard

truss kbd -s US-English

execve("/usr/bin/kbd", 0x08047B0C, 0x08047B1C) argc = 3 mmap(0x00000000, 4096, PROTREAD|PROTWRITE, MAPPRIVATE|MAPANON, -1, 0) = 0xFEFB0000 mmap(0x00000000, 4096, PROTREAD|PROTWRITE, MAPPRIVATE|MAPANON, -1, 0) = 0xFEFA0000 mmap(0x00000000, 4096, PROTREAD|PROTWRITE|PROTEXEC, MAPPRIVATE|MAP_ANON, -1, 0) = 0xFEF90000 memcntl(0xFEFBC000, 29892, MCADVISE, MADVWILLNEED, 0, 0) = 0 memcntl(0x08050000, 3980, MCADVISE, MADVWILLNEED, 0, 0) = 0 resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12 resolvepath("/usr/bin/kbd", "/usr/bin/kbd", 1023) = 12 sysconfig(CONFIGPAGESIZE) = 4096 stat64("/usr/bin/kbd", 0x08047790) = 0 open("/var/ld/ld.config", O_RDONLY) = 3 fstat64(3, 0x08047320) = 0 mmap(0x00000000, 96, PROTREAD, MAPSHARED, 3, 0) = 0xFEF80000 close(3) = 0 stat64("/lib/libc.so.1", 0x08046F90) = 0 resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14 open("/lib/libc.so.1", O_RDONLY) = 3 mmapobj(3, MMOBJ_INTERPRET, 0xFEF90880, 0x08046FFC, 0x00000000) = 0 close(3) = 0 memcntl(0xFEE20000, 189764, MCADVISE, MADVWILLNEED, 0, 0) = 0 mmap(0x00000000, 4096, PROTREAD|PROTWRITE|PROTEXEC, MAPPRIVATE|MAP_ANON, -1, 0) = 0xFEE10000 mmap(0x00010000, 24576, PROTREAD|PROTWRITE|PROTEXEC, MAPPRIVATE|MAPANON|MAPALIGN, -1, 0) = 0xFEE00000 getcontext(0x080475E0) getrlimit(RLIMIT_STACK, 0x080475D8) = 0 getpid() = 6896 [6895] lwp_private(0, 1, 0xFEE02A00) = 0x000001C3 setustack(0xFEE02A60) sysi86(SI86FPSTART, 0xFEF79FCC, 0x0000133F, 0x00001F80) = 0x00000001 brk(0x08063C00) = 0 brk(0x08065C00) = 0 open("/dev/kbd", O_RDWR) = 3 ioctl(3, KIOCTYPE, 0x080479FC) = 0 ioctl(1, TCGETA, 0x08046AC0) = 0 fstat64(1, 0x08046A20) = 0 USB keyboard write(1, " U S B k e y b o a r d".., 13) = 13 open("/usr/share/lib/keytables/type6/kbdlayouts", O_RDONLY) = 4 fstat64(4, 0x080477E0) = 0 fstat64(4, 0x080476F0) = 0 ioctl(4, TCGETA, 0x08047790) Err#25 ENOTTY read(4, " #\n # C D D L H E A".., 2048) = 1884 read(4, 0x08064A1C, 2048) = 0 sysconfig(CONFIGPAGESIZE) = 4096 ioctl(3, KIOCSLAYOUT, 0x00000021) = 0 llseek(4, 0, SEEK_CUR) = 1884 _exit(0)

Also,

kbd -s

USB keyboard

  1. Albanian 24. Latin-American
  2. Belarusian 25. Lithuanian
  3. Belgian 26. Latvian
  4. Brazilian 27. Macedonian
  5. Bulgarian 28. Malta_UK
  6. Canadian-Bilingual 29. Malta_US
  7. Croatian 30. Norwegian
  8. Czech 31. Polish
  9. Danish 32. Portuguese
    1. Dutch 33. Romanian
    2. Dvorak 34. Russian
    3. Estonian 35. Serbia-And-Montenegro
    4. Finnish 36. Slovak
    5. French 37. Slovenian
    6. French-Canadian 38. Spanish
    7. Hungarian 39. Swedish
    8. German 40. Swiss-French
    9. Greek 41. Swiss-German
    10. Icelandic 42. Traditional-Chinese
    11. Italian 43. TurkishF
    12. Japanese-type6 44. TurkishQ
    13. Japanese 45. UK-English
    14. Korean 46. US-English

To select the keyboard layout, enter a number [default 46]:46

kbd -t

USB keyboard

Updated by sham pavman about 1 year ago

Hi Jérôme ,

Could you please change /boot/solaris/bootenv.rc script and add the string 'Belgian' as shown below then reboot and let us know if you still face the same issue?

Eg:

#cat /boot/solaris/bootenv.rc
setprop keyboard-layout US-English
setprop ata-dma-enabled 1
setprop atapi-cd-dma-enabled 1
setprop ttyb-rts-dtr-off false
setprop ttyb-ignore-cd true
setprop ttya-rts-dtr-off false
setprop ttya-ignore-cd true

Please change"keyboard-layout to 'Belgian' like so..

setprop keyboard-layout Belgian

And let us know if it helps. Secondly it would also be helpful if you could give us some characters which will give us a different output when pressed on a normal English-keyboard, It would be helpful to debug.

Thanks Shampavman

Updated by sham pavman about 1 year ago

sham pavman wrote:

Hi Jérôme ,

Could you please change /boot/solaris/bootenv.rc script and add the string 'Belgian' as shown below then reboot and let us know if you still face the same issue?

Eg: [...] Please change"keyboard-layout to 'Belgian' like so..

[...] And let us know if it helps. Secondly it would also be helpful if you could give us some characters which will give us a different output when pressed on a normal English-keyboard, It would be helpful to debug.

Thanks

Shampavman

Updated by Anil Gulecha about 1 year ago

  • Target version changed from ncp3-alpha5 to ncp3-beta1

Updated by sham pavman about 1 year ago

  • Status changed from New to Closed

Hi,

After verification , it was seen that this is not a bug but just the way its configured.

Also available in: Atom PDF