Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 01-25-2005, 09:36 PM   #1
Registered: Apr 2004
Location: Maine (USA)
Distribution: Slackware 9.1
Posts: 45

Rep: Reputation: 15
Read/Write LEGO USB Tower

Hi All

I am playing around with /dev/usb/legousbtower0 and was wondering what you need to do to read data in from file.

I know it is a character device so you can treat it a lot like a regular file... but how do you handle the case when there is no data ready to be read in? I think I need to do something with fcntl or iocntl or something. :/ Can anyone give me any sort of hint?




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lego Usb Tower driver m_m Linux - Hardware 22 07-21-2005 12:42 AM
Cannot mount a USB drive as read/write. icheyne MEPIS 2 06-28-2005 01:48 AM
read & write USB pen drive?? wrangler Linux - Newbie 5 03-08-2005 03:11 PM
Read and write USB device with non-root access halfzware_shag Linux - Hardware 3 10-11-2004 04:26 AM
How i can read/write data from USB PIC16? njel Programming 0 07-14-2004 10:00 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration