USB Barcode Device -Please Help !
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > USB Barcode Device -Please Help !




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

yuval is offline     USB Barcode Device -Please Help !  
yuval


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for yuval Click here to Send yuval a Private Message Find more posts by yuval Add yuval to your buddy list
 
06-18-04 06:39 PM

Hello, 
I have a SUN , BLADE-150 (Solaris-8). 
I'm requested to build an application which reads 
data from a USB Barcode Reader Device. 
I' ve updated the latest patches from SUN (for multiple kyboards support).
I should address the Barcode-Reader device as an additional keyboard.


I now have a directory called : dev/usb/5e0.28a/0 
And it contains the files :cntrl0@, cntrl0stat@, devstat@ ,if0in1@ , if0in1s
tat@ 

I' ve installed DDK.0.9 from http://wwws.sun.com/software/downlo...
b9.html 
And run a small sample program file , which came with the DDK.0.9 kit. 

The program is using ugen(7D) to read a device descriptor: 

>devdescr /dev/usb/5e0.28a/0 

The output was: 

Device descriptor: VID:05e0, PID:028a 
Device release:0x204, USB release:0x110 
Descriptor Length:18, Type:1 
Device Class:0, Subclass:0, Protocol:0, Num Cfgs:1 


My question is : How can I read the actual data (The scanned barcode) from t
he USB device ? 
(How can I read data from a "Raw Device Interface" ?)

Thank's.




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:36 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register