Tiny Core Linux

Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: sihorton on March 11, 2013, 04:04:51 PM

Title: kmaps for Corepure64
Post by: sihorton on March 11, 2013, 04:04:51 PM
I see that kmaps extension is missing from Corepure64, this is quite important as otherwise any typing becomes quite difficult and a matter of trial and error on a none-english layout keyboard. Can this extension just be copied from the 32 bit or does it need to be compiled?
Title: Re: kmaps for Corepure64
Post by: Juanito on March 11, 2013, 11:17:37 PM
It depends if the kmaps extension contains any 32-bit executables. If it does, it won't work.

You can test for this using the file extension - "file file_name"
Title: Re: kmaps for Corepure64
Post by: sihorton on March 12, 2013, 06:18:17 AM
I did the following and it worked for me:

wget http://tinycorelinux.net/4.x/x86/tcz/kmaps.tcz
mv kmaps.tcz /mnt/sda1/tce/optional

then I could do:
tce-load -i kmaps
sudo loadkmap < /usr/share/kmap/qwerty/sv-latin1.kmap

typing on the keyboard then correctly uses swedish characters from my keyboard!
Title: Re: kmaps for Corepure64
Post by: Juanito on March 12, 2013, 06:19:52 AM
'Good to hear

As long as there are no 32-bit compiled apps in an extension, the extension will work in corepure64 - fonts are an example of this.
Title: Re: kmaps for Corepure64
Post by: sihorton on March 12, 2013, 06:40:14 AM
My guess is that the loadkmap is a script rather than executable. I did a further test:-

I used the CorePlus-4.7.4.iso CD to boot tinycore and then I ran tc_install and installed to hard disk. I selected the option for none-us keyboards support. Once it was installed I then downloaded http://tinycorelinux.net/4.x/x86_64/corepure64.gz and http://tinycorelinux.net/4.x/x86_64/vmlinuz64 and then changed /boot/extlinux/extlinux.conf to use the corepure64.gz and vmlinuz64 files instead of the 32 bit versions installed by the CorePlus CD.

When removed the CD and rebooted I then came into the 64 bit environment, and the swedish keyboard worked immediately without any further changes needed (I had used a boot code for the swedish keyboard).

So the 32-bit extension works fine on Corepure64.  Is it possible for you to add kmaps.tcz from the 32-bit repository so it works with tce-load -iw kmaps like in 32bit tinycore?

/Simon
Title: Re: kmaps for Corepure64
Post by: Rich on March 12, 2013, 09:42:19 AM
Hi sihorton
Quote
My guess is that the loadkmap is a script rather than executable.
Actually, it's built into busybox.
Title: Re: kmaps for Corepure64
Post by: sihorton on March 12, 2013, 09:44:10 AM
ah ok, then that is why it works.

Should I just take the current kmaps extension and submit it to corepure64 or will someone else make it available?

/Simon
Title: Re: kmaps for Corepure64
Post by: Rich on March 12, 2013, 09:50:15 AM
Hi sihorton
I think Juanito may be able to just copy it over to the Corepure64 repository. Wait to see what he says.
Title: Re: kmaps for Corepure64
Post by: Juanito on March 12, 2013, 10:00:21 AM
I'll copy it over next time I get chance
Title: Re: kmaps for Corepure64
Post by: sihorton on March 12, 2013, 10:01:17 AM
ok thanks a lot, hope I was not being too pushy that was not my intention. :-)
Title: Re: kmaps for Corepure64
Post by: Rich on March 12, 2013, 10:17:53 AM
Hi sihorton
Asking how to do something is not being pushy. :)
Title: Re: kmaps for Corepure64
Post by: Juanito on March 13, 2013, 01:47:27 AM
kmaps copied to corepure64 repo
Title: Re: kmaps for Corepure64
Post by: sihorton on March 13, 2013, 05:27:14 AM
Thanks!

I have tested on a fresh 64 bit install and kmaps works fine!

/Simon