Linux - EmbeddedThis forum is for the discussion of Linux and embedded devices.
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.
Hi,
Am a newbie in embedded Linux design and working on detection of usb devices by an ARM 9 embedded device with a camera. The embedded device should be able to detect the usb device and also sending data mostly video to it for storage in Linux. The video data stored on the usb device should be able to play when connected to an LCD or a computer. Am using the c language. My question is I would like to know if anyone can help me with what I need to know for my work and if there is a source code that can help me.
well, you can use hal that automatical mount usb, as detection use crontab that periodical check for mounted usb devices, "find" that search for video files and cp to copy things to storage
The usb is to store real time streaming video data from a camera. The camera streaming is done. What am to do is to write a program to detect the usb device and then save the streaming data to it in c language. Any help?
Thanks for your input. Really appreciated.
Am a bit lost about 'create a service that tails the file every ten seconds'. How do I do that?
I now have a program that can detect the usb, my next challenge is saving it onto the usb device
in real time from the camera.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.