免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1598 | 回复: 2
打印 上一主题 下一主题

USB driver for Bar Code -Can you please help [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-06-15 05:16 |只看该作者 |倒序浏览
I have a SUN , BLADE-150 (Solaris-8).
I'm requested to build an application which reads
data from a USB Barcode Device.
I' ve updated the latest patches.

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

I' ve installed DDK.0.9 from http://wwws.sun.com/software/download/products/3fe8d3b9.html
And run a 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 get the actual data barcode (The scanned number) from the USB device ?

Thank's.
UV.

论坛徽章:
0
2 [报告]
发表于 2004-06-16 18:37 |只看该作者

USB driver for Bar Code -Can you please help

....?

论坛徽章:
0
3 [报告]
发表于 2004-06-17 22:27 |只看该作者

USB driver for Bar Code -Can you please help

How can I access the data of the USB device ?

Thank's again.
UV.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP