PDA

View Full Version : Udev & Interacting With Devices



Kerubu
November 30th, 2010, 12:50 AM
Hi,

I'm trying to understand how Udev works and how to use it with my programs so that they can interact with devices.

For example I want to write some code that first scans for an attached USB memory stick and then writes data to it (as in a data logger application). the problem I have is that I cannot find any decent documentation about Udev. For example, what class is a memory stick? And how do I go about finding the class for someother device I want to interact with?

I found this intro here :

http://www.signal11.us/oss/udev/

But it only gives the basics. The API for udev is not helpful for a beginner like me either. So just how did everyone else learn how to use udev?

Any pointers are appreciated.

Kerubu