Not able to see the usb device instance in minicom for uclinux target
Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Not able to see the usb device instance in minicom for uclinux target
Hello,
I am new to this post,Currently I am working on a target for which I need to connect a usb keyboard and should be able to input on the console of the device.The details are:
Target board:uclinux for coldfire processor.
when I connect through the serial port and see the filesystem through minicom,I couldnot see the usbdevice instance in /dev of uclinux but there are messages of connection and disconnection(drivers are available in uclinux for the keyboard).I have to input through the keyboard.Can anyone plz help me in approaching the issue.
I will rephrase your question to make sure I understand it correctly.
You have a ucLinux based board with a USB-attached keyboard. The ucLinux based board also has a serial port which you can use to login from a serial terminal of some sort (minicom running on some other host). You want to be able to use the USB keyboard as the standard input component of your serial login?
In order to do this, I think you will have to craft your own getty process that switches its standard input upon completion of the login process. You would probably want to start by writing some code to open and read the keyboard as a device, reading from /dev/whatever_the_USB_keyboard_is. Once you understand how the keyboard sends its data, you can build this into your_getty.
--- rod.
Yes you are right.But "You want to be able to use the USB keyboard as the standard input component of your serial login?" this is not right.I have to input through the keyboard to the device it is attached.Basically it has two processors and one is running uclinux kernel and the other is running the bootloader and UI of the device so that we can input our data into it.Here I can see the dmesg messages showing drivers are installed.
Current status: I can input the characters through the keyboard seen on the minicom terminal.Now I have to capture the characters going to terminal and place them on the GUI specific fields on the device.That is I have to communicate from one processor to another processor.
Okay, your description seems to have some holes. A processor running a bootloader? To boot what?
Are you saying that you have a whole separate CPU that is reading the USB keyboard and writing to the 'GUI'? If I understand this correctly, you essentially have a CPU of some sort that is performing the function of a terminal. It uses a USB keyboard and some kind of display device. What physical connection is there between this second device and your coldfire ucLinux host? Is this second CPU also running Linux?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.