AngusLiu
驱动牛犊
驱动牛犊
  • 注册日期2002-10-08
  • 最后登录2009-10-20
  • 粉丝0
  • 关注0
  • 积分9分
  • 威望18点
  • 贡献值0点
  • 好评度2点
  • 原创分0分
  • 专家分0分
阅读:1088回复:0

cypress an2131 redhat8.0 下驱动的问题??

楼主#
更多 发布于:2003-07-17 23:14
Quick Setup and Run Instructions - 3/28/02

Install and set up firmware
  as root:
    mkdir -p /etc/hotplug/usb/ezusb.fw
    cp Bulk7Seg.hex /etc/hotplug/usb/ezusb.fw/
    cp hexpad_script /etc/hotplug/usb/
    chmod 0775 /etc/hotplug/usb/hexpad_script
    more ez.map >> /etc/hotplug/usb.usermap

Test hotplug via /var/log/messages
  open new terminal as root:
    tail -f /var/log/messages
  plug in ez-usb or fx dev board; see log message: \"fxload... Bulk7Seg.hex\"
  see green LED light up

Test scripts
  ./getdevpath -v547 -p1002
  should see \"/proc/bus/usb/001/nnn\"

Build bulk_xfer.c
  gcc -o bulk_out bulk_out.c

Run hexpad app
  ./hexpad
  click on buttons; corresponding chars appear on 7-seg LED
  unplug and re-plug board; see log: assignment of new device number
  click on hexpad buttons; app still works

我按cypress提供的方法安装驱动总是不成功,有经验的兄弟
帮帮我,不胜感激!

ez.map
hexpad_script 0x0003 0x0547 0x0080 0x0001 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
请问这里的idVentor,idProduct应该怎么设置,

./getdevpath -v547 -p1002
这里的id是谁的,是firmware的吗?
游客

返回顶部