2012/12/20 marco <mdmart...@gmail.com>:
> Ok, i can do the Class Specific Requests, "GET_DEVICE_ID", "GET_PORT_STATUS",
> "SOFT_RESET"
>
> but for GET_PORT_STATUS
>
> status = dev.ctrl_transfer(0xa1, 1, 0, 0, 1)
> print status
>  and i always get
>
> array('B', [40])
>
> even if i remove the paper or open de cover!!!!
>
>
> what am i doing wrong?
>

Have you tried Emmanuel's code?


-- 
Best Regards,
Wander Lairson Costa

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to