Re: How to write a user-space application for usb_skeleton?

Phil Dibowitz <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Oliver Neukum wrote:
> Am Donnerstag 02 August 2007 schrieb Thaens Tim:
>> I've compiled the usb_skeleton.c module and loaded this module.
>> I've managed to open a USB-device, but that's it.
>>
>> How can I write a application that uses this module?
>> Can I only use the file-operations like (owner, read, write, open and
>> release)?
> 
> Yes.

Or you can instead use libusb. That allows you do most of the things you can
do from a driver, but instead from userspace.

-- 
Phil Dibowitz                             [email protected]
Open Source software and tech docs        Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"Never write it in C if you can do it in 'awk';
 Never do it in 'awk' if 'sed' can handle it;
 Never use 'sed' when 'tr' can do the job;
 Never invoke 'tr' when 'cat' is sufficient;
 Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGvA9yN5XoxaHnMrsRAmGkAJoDOtPj7UyQiXBHpBSVH7jsYe7oywCfaASo
IVvSMVkhRkExiG2+c8X84T8=
=WVdR
-----END PGP SIGNATURE-----
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.