Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 1:31 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Nov 02, 2017 6:52 pm 
Offline

Joined: Thu Nov 02, 2017 6:35 pm
Posts: 2
Hi,

I have a YubiKey NEO-n and I'm trying to create a scanmap for the neo2 keyboard layout https://www.neo-layout.org/

I got the scan codes from:
https://github.com/Yubico/yubikey-perso ... anedit.cpp

... and came up with:
Code:

        'us': [ 'c', 'b', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'n', 'r', 't', 'u', 'v', 'C', 'B', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'N', 'R', 'T', 'U', 'V', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '!','\t','\n']
  'us-codes': ['06','05','0a','0e','08','17','0b','0f','1c','11','18','0d','16','09','0c','19','86','85','8a','8e','88','97','8b','8f','9c','91','98','8d','96','89','8c','99','27','1e','1f','20','21','22','23','24','25','26','9e','2b','28']
      'neo2': [ 'ä', 'z', 'a', 'l', 'e', 'o', 's', 'g', 'n', 'r', 't', 'b', 'c', 'w', 'h', 'p', 'Ä', 'Z', 'A', 'L', 'E', 'O', 'S', 'G', 'N', 'R', 'T', 'B', 'C', 'W', 'H', 'P', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '!','\t','\n']
'neo2-codes': ['15','11','12','09','12','0c','18','16','38','1d','08','0d','0e','0f','04','1a','95','91','b3','89','92','8c','98','16','b8','9c','88','8d','8e','8f','84','9a','27','1e','1f','20','21','22','23','24','25','26','9e','2b','28']


But when I try to set it up I get this error:

Code:
ykpersonalize -y -S 15111209120c1816381d080d0e0f041a9591b389928c9816b89c888d8e8f849a271e1f202122232425269e2b28
Firmware version 3.4.0 Touch level 1285 Program sequence 1

A new scanmap will be written.

Commit? (y/n) [n]: yes
Yubikey core error: write error



Is there anything obvious I'm doing wrong?
Can somebody help me debugging this issue ?

Cheers
Kofi


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Fri Nov 03, 2017 12:57 pm 
Offline

Joined: Tue Feb 02, 2016 9:23 pm
Posts: 58
a write error.
do you perhaps have at least one of your config slots locked?

I did read that you cant even change the USB Mode while a slot is locked to try to unlock it, and try again.


Top
 Profile  
Reply with quote  
PostPosted: Fri Nov 03, 2017 3:39 pm 
Offline

Joined: Thu Nov 02, 2017 6:35 pm
Posts: 2
thank you,

no, its not protected I can always reset the scanmap with
Code:
ykpersonalize -y -S

I also deleted the config and tried again.


Top
 Profile  
Reply with quote  
PostPosted: Fri Nov 03, 2017 3:42 pm 
Offline

Joined: Tue Feb 02, 2016 9:23 pm
Posts: 58
do other scanmaps you copied from somewhere (like here: https://www.yubico.com/2013/07/yubikey- ... d-layouts/ ) work? if yes maybe there's something wrong in the scanmap, it's easy to mess up a character in a way too long string of hex digits.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group