Re: [Pyusb-users] From libusbJava to pyusb

2010-01-18 Thread Henning Spille
Hi, yes. Found the error. For sure the value is the "instruction" passed to the device - right? Now it works fine, cool! Don't know why i misunderstood that. Thank you a lot for helping! Regards, Henning Am 18.01.2010 um 12:07 schrieb Wander Lairson: > No, no... I am asking what does th

Re: [Pyusb-users] From libusbJava to pyusb

2010-01-18 Thread Wander Lairson
No, no... I am asking what does this value mean for your device, because as far as I know, you should send it as the value parameter in the controlMsg method... :) 2010/1/18 Henning Spille : > Hi there, > > actually i do not really know what that value stands for. In the libUsbJava > doc > (found

Re: [Pyusb-users] From libusbJava to pyusb

2010-01-18 Thread Henning Spille
Hi there, actually i do not really know what that value stands for. In the libUsbJava doc (found here:http://libusbjava.sourceforge.net/wp/res/doc/ch/ntb/usb/LibusbJava.html#usb_control_msg%28long,%20int,%20int,%20int,%20int,%20byte[],%20int,%20int%29 ) it is named "value" - well, got no idea

Re: [Pyusb-users] From libusbJava to pyusb

2010-01-17 Thread Wander Lairson
What does this expression mean: (0x03 << 8) | var ? I could not see it in the Python code... Wander 2010/1/17 Henning Spille : > Hi there, > > i'm trying to use this multi-plug (http://www.nw-s.net/images/sispm.jpg) with > pyusb. I already used it form libusbJava which is based on the libusb fro

[Pyusb-users] From libusbJava to pyusb

2010-01-17 Thread Henning Spille
Hi there, i'm trying to use this multi-plug (http://www.nw-s.net/images/sispm.jpg) with pyusb. I already used it form libusbJava which is based on the libusb from linux. As it was no problem for me to get it working in java, i'm struggling with python. Well, i'm new to python (actually these a