Re: [pyusb-users] invalid endpoint

2011-06-28 Thread wander.lairson
2011/6/28 Vishwanath Saragadam : > Hi, >     as xiaofan pointed out, i tried 0x81 but got the following error: > dev.read(0x81,1) > Try, say, dev.read(0x81, 64) > -- > BY: > > S.R.V.Vishwanath, > Student, > B.Tech(Electrical), > IITM. > 09444357552. > > > -

Re: [pyusb-users] invalid endpoint for reading

2011-06-28 Thread Xiaofan Chen
On Tue, Jun 28, 2011 at 9:51 PM, Vishwanath Saragadam wrote: > Hi, > >   I am trying to read what my usb device is sending but am getting the > following error.please help.The endpoint,i confirmed is 1 import usb.core dev = usb.core.find(idVendor = 0x04d8) dev.set_configuration(