Hi there!
This issue has been SOLVED. Just for the record, the Arduino Yun was not working properly because of the linux distro inside of it. Regarding the USB host port, the dependecies were broken, that's why the devices were not identified in the path /dev/input .
I tried to download the source files from linino, and I found several things. The link indicated inside a command in their page was not right:
git clone https://github.com/linino/dogstick.git
The right one was
git clone GitHub - arduino/linino
After that, u need to modified a files, like 001-depends.mk
The whole problem is described in the links below.
#12631 (Keyboard usb not create /dev/input/eventX) – OpenWrt (to add hid-generic - see patchwork url at the end)
#11145 (Support special HID devices (hidraw support)) – OpenWrt (to add hid raw)
It was needed to compile to modules from Linino, which I couldn't because of a misterious "Error 2",
but this person "sonnyyu" could:
http://forum.arduino.cc/index.php?topic=207069
Those files are GOLD, since Openwrt hasn't released the corrected version, since it was detected 13 months ago, and the solution was provided in that time by Álvaro Fernández Rojas noltari at gmail.com. After this, Sonnyyu followed the guidelines of Alvaro, and successfully compiled the packages needed.
kmod-hid-generic_3.8.3-1_ar71xx.ipk
kmod-hid_3.8.3-1_ar71xx.ipk
In order to avoid checksum problems, I recommend to install first these files (from http://download.linino.org/dogstick/all-in-one/latest/packages/) and then the ones from Sonyyyu (kmod-hid***):
opkg install kmod-input-core
opkg install kmod-input-evdev
opkg install kmod-usb-hid
After all this, any generic keyboard, mouse or barcode reader can now send data to linino, and you can see it displayed in the terminal screen.
After this, all that remains, is to write a python script that reads from "event1" (already created because fo golden packages), and sends the data though the bridge library, into the ATmega32u4 from the Arduino Yun board (similar to this python - Using STDIN in a Linux init script - Stack Overflow).
Regards.
PS. While trying to compile the source files from linino along with the patches, several apps were missing in my computer, as: gettext, xml parser, svn, git, and so forth.
PS. If you use make distclean, or make clean, u erase the confirgurations u need for the whole thing to work. Also using all cores from your computer for the compilation, will freeze it. If you have 8 cores, use 7, with make -j 7 V=s