• Uncategorized

    How to switch “\” with “<" keys in linux

    When using the Apple Magic Keyboard with linux and certain keyboard layout, some key may be exchanged with some other key. In my case, I have an Italian Magic Keyboard and a Ubuntu 20.10 running on VmWare Fusion and the “\” and “<” keys are switched. The fix is pretty easy, but not easy to find on the net. This is the recipe: you need to force xmodmap to exchange the two keystrokes. It can be done in the terminal with the following two lines: xmodmap -e "keycode 49 = less greater guillemotleft \ guillemotright guillemotleft guillemotright" xmodmap -e "keycode 94 = backslash bar notsign brokenbar \ notsign brokenbar" This…

  • Embedded,  Linux,  uboot,  ubuntu

    Configuring Ubuntu to deal with an ARM board with U-Boot via USB

    Abstract We have a board on which an AllWinner ARM processor is running Linux. The bootloader is U-boot and we have to use the USB port to flash it. When flashing the device for the first time, after loading the bootloader via FEL protocol, we need to use tftp to load the SPL (Secondary program Loader) image and the uboot version for use with the spl. Unfortunately, a couple of issues in the default Ubuntu configuration prevent us from doing this apparently simple operation in a straight way, and we need to tweak some system configuration file. The issue After using the sunxi-fel tool to run the bootloader in memory,…

  • Linux,  vmware

    Fixing problems with Ubuntu 13.04 and VmWare Tools

    Installing Ubuntu on my VmWare fusion box has never been so difficult as it was last weeks, when I needed to have it ready as soon as possible. Though 12.04 LTS has been proved to be a great choice when you need a solid rock linux box, latest Ubuntu boxes are preferable, on my opinion, for development purpose. This way, switching to the latest, bleeding edge kernel hasn’t gone well for the people at VmWare. There are two very big problems with the default installation. I usually choose the default installation because you only need the ubuntu ISO image and few minutes, and a new, shining linux box is ready…