Python 3.4 + pyUSB 1.0 + libusb-win32 1.2.6.0, what happens?

2015-12-05 Thread jfong
SwiftForth 3.5.9 (a Forth system) and libusb-win32 1.2.6.0, it performs well. But when I test it under the same PC with python 3.4, pyUSB 1.0 and libusb-win32 1.2.6.0, it performs a little strange. The status read back always fail at the first time (return zero length) and success at the second time

Re: PyUSB available for current versions of Windows?

2012-03-10 Thread Dietmar Schwertberger
Am 09.03.2012 18:18, schrieb John Nagle: I want to enumerate the available USB devices. All I really need is the serial number of the USB devices available to PySerial. (When you plug in a USB device on Windows, it's assigned the next available COM port number. On a reboot, the numbers are reassi

Re: PyUSB available for current versions of Windows?

2012-03-09 Thread Tim Roberts
ows driver kit. It can enumerate the hubs and ports and even fetch their descriptors (by talking to the USB hub and host controller drivers), but again it won't tell you what COM port was assigned. >PyUSB can supposedly do this, but the documentation is misleading. >It makes a

PyUSB available for current versions of Windows?

2012-03-09 Thread John Nagle
e USB serial ports, there's a problem.) PyUSB can supposedly do this, but the documentation is misleading. It makes a big point of being "100% Python", but that's because it's just glue code to a platform-specific "back end" provided by someone else. T

Re: pyusb and microchip mcp2210 interface

2012-02-29 Thread Tim Roberts
jobattle wrote: > >Has anybody out there had any experience in using the PYUSB library with >the new Microchip MCP2210 USB to SPI chip? It appears to the system as a HID device. You don't need to use PyUSB -- it already has a driver. Check libhid -- it has a Python binding. --

Re: Examples of Programming with PyUSB 1.0?

2011-03-04 Thread Aldo Ceccarelli
On 4 Mar, 14:54, Aldo Ceccarelli wrote: > Hello All, > I will need to write a manager for acquiring barcodes from a USB > reader with > > PyUSB 1.0  http://pyusb.sourceforge.neton libusbhttp://www.libusb.org/ > > but unfortunately I have no USB protocol background at the m

Examples of Programming with PyUSB 1.0?

2011-03-04 Thread Aldo Ceccarelli
Hello All, I will need to write a manager for acquiring barcodes from a USB reader with PyUSB 1.0 http://pyusb.sourceforge.net on libusb http://www.libusb.org/ but unfortunately I have no USB protocol background at the moment. Is there any PyUSB 1.0 reporistory of examples to learn? Thank you

PyUSB 1.0.0 alpha 1 release

2010-12-29 Thread wander.lairson
Dear all, PyUSB 1.0.0 alpha 1 is out. Since alpha 0, this version : - Standard control requests through usb.control module. - String descriptors through usb.util module. - Complete PyUSB 0.4 API emulation. - Working libusb 1.0 support under Windows. For details check the ReleaseNotes.txt and

Re: Pyusb

2009-10-14 Thread Chris Withers
Ronn Ross wrote: Does anyone know where I can download a copy of PyUSB 1.0? I can only find 0.x versions on sourceforge. I'm following a tutorial that requires 1.0. Thanks Googling "pyusb" gives me loads of hits and the newer versions appear to be on about the 3rd link

Pyusb

2009-10-14 Thread Ronn Ross
Does anyone know where I can download a copy of PyUSB 1.0? I can only find 0.x versions on sourceforge. I'm following a tutorial that requires 1.0. Thanks -- http://mail.python.org/mailman/listinfo/python-list

Pyusb

2009-10-14 Thread Ronn Ross
I'm running Python 2.6 on windows. I'm install Pyusb and I'm having trouble including the library in my script. Can someone point me in the right direction to get this working or know of a good tutorial to help me out. Best regards -- http://mail.python.org/mailman/listinfo/python-list

Re: Compiling modules in OSX, eg PyUSB?

2009-03-21 Thread Philip Semanchuk
On Mar 21, 2009, at 2:49 AM, Dr Mephesto wrote: On Mar 20, 6:23 pm, Philip Semanchuk wrote: So change line 32 in the PyUSB setup.py from this: extra_compile_args = ['-I/sw/include'] to this: extra_compile_args = ['-I/sw/include', '-I/usr/local/include'

Re: Compiling modules in OSX, eg PyUSB?

2009-03-20 Thread Dr Mephesto
  24 -rw-rw-r--    1 root     wheel        8360 Feb 22 > > 11:28 /usr/local/include/usb.h > > Looks good. > > > sudo python setup.py install         this gives me: > > pcfr147:pyusb-0.4.1 david$ sudo python setup.py install > > Password: > > running i

Re: Compiling modules in OSX, eg PyUSB?

2009-03-20 Thread Philip Semanchuk
ll this gives me: pcfr147:pyusb-0.4.1 david$ sudo python setup.py install Password: running install running build running build_ext building 'usb' extension gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mn

Re: Compiling modules in OSX, eg PyUSB?

2009-03-20 Thread Dr Mephesto
4 -rw-rw-r--1 root wheel8360 Feb 22 11:28 /usr/local/include/usb.h sudo python setup.py install this gives me: pcfr147:pyusb-0.4.1 david$ sudo python setup.py install Password: running install running build running build_ext building 'usb' extension gcc -arch ppc

Re: Compiling modules in OSX, eg PyUSB?

2009-03-20 Thread Philip Semanchuk
On Mar 20, 2009, at 11:39 AM, Dr Mephesto wrote: Thanks. I found some more info that might help, if I understood it :)From the main PyUSB page, at http://pyusb.berlios.de/ , its says: "PyUSB uses the libusb to do its work, so, any system which has Python and libusb should work for

Re: Compiling modules in OSX, eg PyUSB?

2009-03-20 Thread Dr Mephesto
Thanks. I found some more info that might help, if I understood it :)From the main PyUSB page, at http://pyusb.berlios.de/ , its says: "PyUSB uses the libusb to do its work, so, any system which has Python and libusb should work for PyUSB." I have installed the OSX version of libu

Re: Compiling modules in OSX, eg PyUSB?

2009-03-20 Thread Philip Semanchuk
On Mar 20, 2009, at 9:48 AM, Dr Mephesto wrote: Hi, I am using Leopard and MacPython, and I would like to access a USB device. I have installed libusb, and now I have tried to compile PyUSB from: http://sourceforge.net/projects/pyusb/ But when I compile I get lots of errors, ie: Hi Dr. M

Compiling modules in OSX, eg PyUSB?

2009-03-20 Thread Dr Mephesto
Hi, I am using Leopard and MacPython, and I would like to access a USB device. I have installed libusb, and now I have tried to compile PyUSB from: http://sourceforge.net/projects/pyusb/ But when I compile I get lots of errors, ie: pcfr147:pyusb-0.4.1 david$ python setup.py install running

Enquiry about PyUSB

2008-06-27 Thread Abhishek Wadhava
ted by the computer. Now i'm also making a GUI using Tkinter in Python to read data from the microcontroller & to write in it. I basically have to perform digital and analog input-output in microcontroller through python gui. I was thinking of using pyUSB for this purpose. but i'm una