Hi together,
I'm trying to communicate with a RIU (reconfigurable Interface unit) but 
I'm facing a problem which I can't solve.
I am using Windows XP, python 2.5 and libusb 1.0. The RIU was installed 
correctly using libusb filter driver and
there hasn't been an other driver installed before. If I type the following:

import usb.core
import usb.util                                                          
                       #(not really needed for this)

dev = usb.core.find(idVendor = 0x1534, idProduct = 0x8852)
dev.set_configuration()

dev.write(0x01,"\xEE",0,100)                                            
             #script is working until here
dev.read(0x81,1,0,100)

the last command always throws an error exception:
     A device attached to the system is not functioning

What am I doing wrong? Can anyone tell how to deal with that error? Or 
do I just miss inserting another line of code?

Thank you very much in advance,

Alex


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to