How many ways are there to access a usb device?

"Ashok Kumar" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Hi,

for this conversation i am taking a simple usb device( surely this is
not  a block device, a kind of char device)

step 1
---------
i can create a kernel module with specifically allocated major and
minor number. so through device file i can access the device driver.
This is surely a char device driver.

step 2
----------
i can create a kernel module without specifically allocated major and
minor number.
But i will create only attribute files in /sys. so that i can access the device.
 still, is it a char device driver.?

whatever i stated above is correct?
am i missing anything?

please correct me if i am wrong.


Ashok

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.