Code: Select all
step 1) Run the Virtual machine, and login. step 2) Run the following command sudo dpkg-reconfigure locales step 3) Find the Locale you have, and in my case, I scrolled down and pressed space on "en_US.UTF-8 UTF-8" "en_US ISO-8859-1" step 4) Press return, this list should be short, and for this list, Select the new entries. step 5) press return after you select the default locale. step 6) Be patient... This step can take a while, but let the Locales be regenerated. step 7) Run the following command: sudo dpkg-reconfigure keyboard-configuration step 8) select the appropriate keyboard. Most users can get away with selecting "Generic 105-key (intl) PC" for most modern desktop computers. step 9) Select the setting in the list if your lucky... If not select "Other". step 10) select your country. In my case I will use "USA" step 11) Now select your keyboard Layout. Most generic Keyboards in the United states use USA. step 12) This step is asking about what modifications to the Function keys are made... In this case I recommend selecting "The default for the keyboard layout" option if you have no idea as to what these mean. step 13) This step is asking about the Combination keys... Generally this can be left alone safely. step 14) This step asks if you want to terminate the xserver. For the most part I would just click OK. step 15) test the keyboard settings a bit... If they do not work, redo steps 7 to 14. step 16) if this still does not fix the problem, shutdown the system with, and procede to steps 17 to 20. sudo shutdown -h now step 17) Open up the run.bat file in the main folder for qemu, and look for the line that says: ( if the file does not have this line, you got the wrong folder ) bin\qemu-system-arm.exe -M versatilepb -cpu arm1136-r2 -hda debian6-19-04-2012.img -kernel zImage_3.1.9 -m 192 -append "root=/dev/sda2" step 18) add the region specific keymap setting to the list of arguments... In my case I add the following at the end: -L . -k en-us step 19) After saving the Run.bat changes, the line should look somethin like this: bin\qemu-system-arm.exe -M versatilepb -cpu arm1136-r2 -hda debian6-19-04-2012.img -kernel zImage_3.1.9 -m 192 -append "root=/dev/sda2" -L . -k en-us step 20) restart from step 1, and skip steps 2 through 6 ( these should be fine )
The -L option changes the directory qemu searches for keymaps, and other elements in. As for the -k option, that changes the keyboard. Also, the last steps where in case the first set of steps did not work. It's not always guaranteed that things will fix without changing the settings of qemu itself.Joe Schmoe wrote:Just out of curiosity, why do you have to change the QEMU command line (adding the -L and -k options)? I.e., if it was working OK inside the emulation (once you did the various dpkg reconfigure thingies), why would you need to exit, change the command line, and re-run QEMU?
In any case, it worked fine for me, once I made the changes inside the image - I didn't have to add those options to the command line.
That's Correct. Also, the last 3 steps could mean the difference between having he keyboard replace "|" with "#", and also, I might also want to recommend looking at the pc104 keyboard too.Vindicator wrote:The last 3 steps were if the previous way did not work.
Hi Joe, from my perspective it would be better if I could resolve the keyboard problem at the QEMU side of things, I could just have several different .bat files, one for each keyboard layout, which end users could download depending on the keyboard they needed. I'd like to keep it as simple and straightforward to use as possible.Joe Schmoe wrote:Just out of curiosity, why do you have to change the QEMU command line (adding the -L and -k options)?
Hi there, as far as I am aware, the default cpu/gpu split on the model B is 192/64 but I haven't got a real RPi to play with yet so I don't know for sure if that is actually the case..n3tw0rk5 wrote:Quick question, why is the virtual ram set to 192mb? Is this to mimic the cpu/gpu ram split or does it need to be 256mb to match the RasPi?