Re: [Pyusb-users] Cleverboard part 3

2008-12-22 Thread Wander Lairson
, revise your fw source code to follow the correct USB Spec. After that, report the result to the list. 2008/12/23 Phil Hannent p...@hannent.co.uk: Wander Lairson wrote: What are the constants PLUG_BULK_IN_EP and PLUG_BULK_OUT_EP? They are: PLUG_BULK_IN_EP = 0x2 PLUG_BULK_OUT_EP = 0x81

Re: [Pyusb-users] Dependency check

2009-01-04 Thread Wander Lairson
hmmm, I think something like this should work: try: import usb except: print PyUSB not found Wander 2009/1/2 Phil Hannent p...@hannent.co.uk: Hello, I am setting up my application to start the driver and that is all OK. My question is what is the best way to determine if the Linux

Re: [Pyusb-users] PyUSB 2.6

2009-01-04 Thread Wander Lairson
detachKernelDriver will fail if you have no enough permissions, won't it? 2009/1/2 Jim Easterbrook j...@jim-easterbrook.me.uk: Karl Ostmo wrote: I use this approach in my code: try: self.handle.claimInterface( 0 ) except usb.USBError, e: if

Re: [Pyusb-users] pyusb-0.4.1 for cygwin

2009-02-02 Thread Wander Lairson
/libusbcamd.a /usr/lib/w32api/libusbcamd2.a but not cygusb0.dll file found. Regards, DAvid On Fri, Jan 30, 2009 at 10:51 AM, Wander Lairson wander.lair...@gmail.com wrote: Well, I would try but as I am moving to a new house, my computer is inside a box. You could try open a interactive

Re: [Pyusb-users] libusb-win32 pyusb-0.4.1 for cygwin

2009-02-16 Thread Wander Lairson
H, I am sorry, I forgot, libusb under Windows is another project: libusb-win32.sf.net. I guess they will be more helpful regarding to this issue... 2009/2/13 David Portabella Clotet david.portabe...@gmail.com: Hello, I did not get any answer from the libusb mailing list. Can you please

Re: [Pyusb-users] pyusb 0.4.1-2.fc10.i386 does not detect Lego NXT brick ...

2009-03-12 Thread Wander Lairson
, Inc. TrackMan Marble Wheel Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub [m...@multivector ~]$ I have version 0.1.12 of libusb installed under fedora 10.  I quess I'll try version 1.0 next. - Mike On Thu, 2009-03-12 at 08:02 -0300, Wander Lairson wrote: Please, try

Re: [Pyusb-users] Memory leak in usb.busses()?

2009-03-20 Thread Wander Lairson
Hi Sarah, Would you mind opening a bug in SourceForge? So I can fix it at 0.4.2 release which I am preparing... Thank you, Wander 2009/3/20 Sarah Messer ikust...@yahoo.com: I seem to have discovered a memory leak in usb.busses(), though I haven't yet tracked it down in detail.  Procedure to

Re: [Pyusb-users] Patches for PyUSB 1.0 / first success

2009-08-14 Thread Wander Lairson
Hi Thomas, Thank you for the patches, I will review and included them asap. Wander 2009/8/14 Thomas Reitmayr treitm...@devbase.at: Hi, I just wanted to let interested people know that I created a few (mostly small) patches against trunk of PyUSB which now allowed me to use PyUSB with the

Re: [Pyusb-users] From libusbJava to pyusb

2010-01-18 Thread Wander Lairson
' Does it help? Greetings from Germany, Henning Am 18.01.2010 um 00:25 schrieb 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 h.spi...@googlemail.com: Hi there, i'm trying to use this multi

Re: [Pyusb-users] PyUSB how to set the ControlOutput message ?

2010-01-22 Thread Wander Lairson
There must be some earlier data exchange, either on the out/in endpoint or in the default control endpoint... As you sad you were using a Windows VM for reverse engineering, you can use a USB sw sniffer to check it... You can use that: http://sourceforge.net/projects/usbsnoop/ Wander 2010/1/22

Re: [pyusb-users] pyusb 1.0 with libusb 1.0 Windows Backend

2010-04-05 Thread Wander Lairson
2010/4/3 Xiaofan Chen xiaof...@gmail.com: On Sun, Apr 4, 2010 at 10:39 AM, Xiaofan Chen xiaof...@gmail.com wrote: Since libusb-1.0 Windows backend is API compatible with libusb-1.0 under Linux, so I think it is already quite close to work. So I copied libusb-1.0.dll to c:\windows\system32

Re: [pyusb-users] pyusb trunk for FreeBSD 8.0

2010-04-05 Thread Wander Lairson
Chen xiaof...@gmail.com: On Mon, Apr 5, 2010 at 8:21 PM, Xiaofan Chen xiaof...@gmail.com wrote: On Mon, Apr 5, 2010 at 6:42 PM, Wander Lairson wander.lair...@gmail.com wrote: Please, try to find the device from python prompt, just do it: import usb.core dev = usb.core.find(idVendor=0xFFFE

Re: [pyusb-users] pyusb 1.0 with libusb 1.0 Windows Backend

2010-04-06 Thread Wander Lairson
, Wander Lairson wander.lair...@gmail.com wrote: I added some preliminary log support to PyUSB at revision 56, it uses the logging module. Currently, you can define the environment variable PYUSB_DEBUG_LEVEL with the following values: critical, error, warning, information, debug. Running tests

Re: [pyusb-users] pyusb and Cygwin Python

2010-04-06 Thread Wander Lairson
: On Tue, Apr 6, 2010 at 10:09 PM, Wander Lairson wander.lair...@gmail.com wrote: Oh, I haven't realized that the problem was just library names... Sorry making you loosing your time.. I updated the code to support cygwin libraries, rev 58 should work. Unfortunately not, Cygwin seems to be a bit

Re: [pyusb-users] pyusb trunk for FreeBSD 8.0

2010-04-07 Thread Wander Lairson
: On Mon, Apr 5, 2010 at 9:22 PM, Wander Lairson wander.lair...@gmail.com wrote: Maybe it is bug in the libusb01 backend. Please, try one more test when you have some time: import usb.core import usb.backend.libusb01 b = usb.backend.libusb01.get_backend() assert b is not None dev

Re: [pyusb-users] pyusb 1.0 with libusb 1.0 Windows Backend

2010-04-07 Thread Wander Lairson
/4/7 Xiaofan Chen xiaof...@gmail.com: On Thu, Apr 8, 2010 at 7:55 AM, Wander Lairson wander.lair...@gmail.com wrote: I am using WinUSB, but suddenly the problem stopped to occur, now I am having that access denied problem... I see. Now we have the same problem with native Python installation

Re: [pyusb-users] pyusb 1.0 with libusb 1.0 Windows Backend

2010-04-08 Thread Wander Lairson
libusb-1.0 for mingw feels like was built with cdecl calling convention. When I load it with WinDLL (stdcall), it fails, but loading it with CDLL (cdecl), it works fine: C:\Documents and Settings\wander.costapython ActivePython 2.6.1.1 (ActiveState Software Inc.) based on Python 2.6.1

Re: [pyusb-users] pyusb 1.0 with libusb 1.0 Windows Backend

2010-04-08 Thread Wander Lairson
2010/4/8 Xiaofan Chen xiaof...@gmail.com: On Thu, Apr 8, 2010 at 9:38 PM, Wander Lairson wander.lair...@gmail.com wrote: libusb-1.0 for mingw feels like was built with cdecl calling convention. When I load it with WinDLL (stdcall), it fails, but loading it with CDLL (cdecl), it works fine

Re: [pyusb-users] pyusb 1.0 with libusb 1.0 Windows Backend

2010-04-08 Thread Wander Lairson
2010/4/8 Xiaofan Chen xiaof...@gmail.com: On Thu, Apr 8, 2010 at 8:08 AM, Wander Lairson wander.lair...@gmail.com wrote: I tried to manually interact with device using python command prompt, and it worked fine: C:\Projetos\pyusb\trunkpython ActivePython 2.6.1.1 (ActiveState Software Inc

Re: [pyusb-users] pyusb 1.0 with libusb 1.0 Windows Backend

2010-04-09 Thread Wander Lairson
2010/4/8 Xiaofan Chen xiaof...@gmail.com: On Thu, Apr 8, 2010 at 10:01 PM, Xiaofan Chen xiaof...@gmail.com wrote: Ah, this may be the case. I need to ask again in the libusb mailing list. The MSVC solution generates stdcall. And I believe if they are different, then Pete will need to change

Re: [pyusb-users] Help with reading data from HID device

2010-04-10 Thread Wander Lairson
Hello Kevin, What OS are you using? Wander 2010/4/10 Kevin Kilroy kevkil...@googlemail.com: Hi, I have an HID device that I am trying to read from, but I am receiving the following error: usb.core.USBError: Access denied (insufficient permissions) Here is a snippet from my code:

Re: [pyusb-users] Help with reading data from HID device

2010-04-11 Thread Wander Lairson
Did you install libusb-win32? Wander 2010/4/11 Kevin Kilroy kevkil...@googlemail.com: Hi all, I'm now using windows XP, however, when I now run the code, the app hangs after the call to set_configuration() Any ideas? Thanks in advance, Kevin. On Sun, Apr 11, 2010 at 12:57 PM, Xiaofan

[pyusb-users] PyUSB 1.0 alpha 0 release notification

2010-04-16 Thread Wander Lairson
Dear all, This is the first PyUSB 1.0 series public release. This is an alpha release, which means that most of the features described in the README file and on the website are not yet stable or even implemented. Features not implemented - - Full support for

Re: [pyusb-users] PyUSB 1.0 alpha 0 release notification

2010-04-19 Thread Wander Lairson
2010/4/18 Xiaofan Chen xiaof...@gmail.com: On Sun, Apr 18, 2010 at 3:31 AM, Wander Lairson wander.lair...@gmail.com wrote: You can probably remove reset from the test cases as it is problematic anyway. Normally it is only used as a last resort (often only under Linux). Actually I do

Re: [pyusb-users] PyUSB 1.0 alpha 0 release notification

2010-04-19 Thread Wander Lairson
I created a new bug entry in the tracker for this problem: https://sourceforge.net/tracker/?func=detailaid=2989603group_id=145185atid=761063 I did it because I would like first port test firmware to USB stack 2.6a and make code stable for Windows and Linux (the two I currently have installed on

Re: [pyusb-users] USB control request problem

2010-04-27 Thread Wander Lairson
Hi all, PyUSB 0.4.1 has some problems on x86_64 machines reported by Fedora team. They applied some patches to get it working, so offical repository should work, but if you are building pyusb by yourself, you may have problems. Whatever, try the latest one (0.4.3). Regards, Wander 2010/4/26

Re: [pyusb-users] No backend available error on mac OS 10.6

2010-05-05 Thread Wander Lairson
Hi Mike, What about your library path? Does it point to /usr/local/lib ? Wander 2010/5/5 Mike Lawrence mike.lawre...@dal.ca Hi folks, Apologies if I've missed the solution to this in my search of the mailing list's archives, but I'm getting a No backend available error when using

Re: [pyusb-users] can I use pyusb to get the status of a usb printer

2010-06-26 Thread Wander Lairson
The short answer is yes, you can. The long answer is yes, but you probably have to shutdown the USB Print Port driver for your system, and offcourse read the USB spec for printers. One thing is that I don't remember right now if USB spec dictates the data format to get status or it is left to

Re: [pyusb-users] (python) did not claim interface 0 before use

2010-07-09 Thread Wander Lairson
___ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users -- Best Regards, Wander Lairson Costa

Re: [pyusb-users] bulk out/in with usb2serial converter

2010-07-09 Thread Wander Lairson
? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users -- Best Regards, Wander Lairson Costa

Re: [pyusb-users] bulk out/in with usb2serial converter

2010-07-10 Thread Wander Lairson
2010/7/9 Xiaofan Chen xiaof...@gmail.com: On Sat, Jul 10, 2010 at 12:12 AM, Wander Lairson wander.lair...@gmail.com wrote: The problem was in a CopyPaste error where i have defined the endpoint numbers as: TI_EP_BULK_UART1_OUT = 0x01 TI_EP_BULK_UART1_OUT = 0x81 And they should

Re: [pyusb-users] (python) did not claim interface 0 before use

2010-07-10 Thread Wander Lairson
2010/7/9 Diego Jacobi jacobidi...@gmail.com: 2010/7/9 Wander Lairson wander.lair...@gmail.com: 2010/7/9 Diego Jacobi jacobidi...@gmail.com: Well. I made some progress but couldnt solve the claiming error yet.. This is the current dmesg output when i press any key in my test scenario multiple

Re: [pyusb-users] Trouble using PyUSB on MacOS 10.5

2010-07-10 Thread Wander Lairson
-- http://p.sf.net/sfu/sprint-com-first ___ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users -- Best Regards, Wander Lairson Costa

Re: [pyusb-users] Trouble using PyUSB on MacOS 10.5

2010-07-11 Thread Wander Lairson
2010/7/11 Chris Wolf cw10...@gmail.com: Thanks for looking.  -Chris On 7/10/10 8:48 PM, Wander Lairson wrote: 2010/7/10 Chris Wolf cw10...@gmail.com: [...] That didn't work, so I tried: *** dev = usb.core.find(find_all=True, backend=libusb01.get_backend()) Set the environment variable

Re: [pyusb-users] Trouble using PyUSB on MacOS 10.5

2010-07-12 Thread Wander Lairson
___ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users -- Best Regards, Wander Lairson Costa -- This SF.net

Re: [pyusb-users] Potential bug with openusb.py backend.

2010-07-12 Thread Wander Lairson
@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users -- Best Regards, Wander Lairson Costa -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com

Re: [pyusb-users] Potential bug with openusb.py backend.

2010-07-12 Thread Wander Lairson
___ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users -- Best Regards, Wander Lairson Costa -- This SF.net email is sponsored by Sprint What will you

Re: [pyusb-users] Trouble using PyUSB on MacOS 10.5

2010-07-12 Thread Wander Lairson
list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users -- Best Regards, Wander Lairson Costa -- This SF.net email is sponsored by Sprint What will you do first with EVO

Re: [pyusb-users] No backend available: python 2.6.5 Win32 pyusb-1.0.0-a0

2010-07-14 Thread Wander Lairson
mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users -- Best Regards, Wander Lairson Costa -- This SF.net email is sponsored by Sprint What will you do first with EVO

Re: [pyusb-users] No backend available: python 2.6.5 Win32 pyusb-1.0.0-a0

2010-07-14 Thread Wander Lairson
usbsnoopy). -John On Wed, Jul 14, 2010 at 1:04 PM, Wander Lairson wander.lair...@gmail.com wrote: 2010/7/14 John Harrison johnharrison...@gmail.com: Just installed pyusb-1.0.0-a0 on a WinXP (win32) machine running Python 2.6.5. Here's the output of my simple test: Python 2.6.5 (r265

Re: [pyusb-users] Potential bug with openusb.py backend.

2010-07-15 Thread Wander Lairson
2010/7/15 Chris Wolf cw10...@gmail.com: On 7/12/10 9:49 AM, Wander Lairson wrote: Yes, I haven't started OpenUSB, I just typed the code but never tested it. I will apply your fix so at least we can enumerate devices using OpenUSB. Thanks a lot. Sure, thank *you*.  So shall I assume

Re: [pyusb-users] can't find descriptor: python 2.6.5 Win32 pyusb-1.0.0-a0

2010-07-15 Thread Wander Lairson
://lists.sourceforge.net/lists/listinfo/pyusb-users -- Best Regards, Wander Lairson Costa -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http

Re: [pyusb-users] can't find descriptor: python 2.6.5 Win32 pyusb-1.0.0-a0

2010-07-16 Thread Wander Lairson
failed. Maybe your device only talks through endpoint 0 (a control endpoint that is kind of built-in). -John On Thu, Jul 15, 2010 at 6:02 PM, Xiaofan Chen xiaof...@gmail.com wrote: On Fri, Jul 16, 2010 at 2:12 AM, Wander Lairson wander.lair...@gmail.com wrote: 2010/7/15 John Harrison

Re: [pyusb-users] can't find descriptor: python 2.6.5 Win32 pyusb-1.0.0-a0

2010-07-16 Thread Wander Lairson
, Wander Lairson wander.lair...@gmail.com wrote: 2010/7/16 John Harrison johnharrison...@gmail.com: Running testlibusb-win.exe I see: DLL version:    1.2.0.0 Driver version:    1.2.0.0 bus/device  idVendor/idProduct bus-0/\\.\libusb0-0002--0x09db-0x00f9 09DB/00F9 - Manufacturer

Re: [pyusb-users] can't find descriptor: python 2.6.5 Win32 pyusb-1.0.0-a0

2010-07-16 Thread Wander Lairson
to calculate bmRequestType also returned 0x40. -John On Fri, Jul 16, 2010 at 11:08 AM, Wander Lairson wander.lair...@gmail.com wrote: 2010/7/16 John Harrison johnharrison...@gmail.com: Perhaps I am not reading the right parts of the documentation but I can't figure out how to write to my

Re: [pyusb-users] Trouble using PyUSB on MacOS 10.5

2010-07-22 Thread Wander Lairson
I will try to install a darwin kernel in a VM and debug it... 2010/7/15 Chris Wolf cw10...@gmail.com: On 7/14/10 11:19 PM, Chris Wolf wrote: (sorry, I missed this email earlier) On 7/12/10 9:46 AM, Wander Lairson wrote: *** import usb.backend.libusb01 *** usbe  = usb.backend.libusb01

Re: [pyusb-users] Trouble using PyUSB on MacOS 10.5

2010-07-23 Thread Wander Lairson
On 7/23/10 7:13 AM, Wander Lairson wrote: 2010/7/23 Chris Wolf cw10...@gmail.com: On 7/22/10 12:29 PM, Wander Lairson wrote: I will try to install a darwin kernel in a VM and debug it... When you say, debug it - do you mean libusb01 itself?  I can provide some info: Kind of... Tell

Re: [pyusb-users] pyUSB bugreport and minor patches

2010-08-07 Thread Wander Lairson
one of the -- Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20 p...@freebsd.org         | TCP/IP since RFC 956 FreeBSD committer       | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. -- Best Regards, Wander Lairson Costa

Re: [pyusb-users] pyUSB bugreport and minor patches

2010-08-07 Thread Wander Lairson
be explained by incompetence. -- Best Regards, Wander Lairson Costa -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev

Re: [pyusb-users] WinUSB backend under construction

2010-08-12 Thread Wander Lairson
directory. I will be very grateful for your contribution and help you with all you need to do the job. -- Best Regards, Wander Lairson Costa -- This SF.net email is sponsored by Make an app they can't live without Enter

Re: [pyusb-users] Documentation

2010-09-01 Thread Wander Lairson
-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users -- Best Regards, Wander Lairson Costa -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter

Re: [pyusb-users] 32 bit integer

2010-09-06 Thread Wander Lairson
programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users -- Best Regards, Wander Lairson

Re: [pyusb-users] C to python and endpoints

2010-09-07 Thread Wander Lairson
2010. http://p.sf.net/sfu/intel-thread-sfd ___ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users -- Best Regards, Wander Lairson Costa

Re: [pyusb-users] Operation Timed Out

2010-09-21 Thread Wander Lairson
://lists.sourceforge.net/lists/listinfo/pyusb-users -- Best Regards, Wander Lairson Costa -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift

Re: [pyusb-users] Operation Timed Out

2010-09-21 Thread Wander Lairson
be a error status, but from you device. -- Begoña Fuentes 2010/9/21 Wander Lairson wander.lair...@gmail.com I guess what you mean in command is command =[0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2010/9/21 Begoña Fuentes begofume...@gmail.com: Sorry! st=commandI made that change when I copied

[pyusb-users] [PATCH] Proposal to fix python 3.3 compatibility

2013-01-26 Thread wander . lairson
From: Wander Lairson Costa wander.lair...@gmail.com This patch fixes issue 8 (python 3.3 compatibilty). Unfortunatelly, it will not include all bytes of an Unicode string (see comments in the issue). I would like it to be reviewed before applying to master. Wander Lairson Costa (1): Fix: keep

Re: [pyusb-users] Reading data from a USB-scale via pyUSB

2011-07-27 Thread Wander Lairson Costa
2011/7/27 David Brunnthaler da...@i-am-alive.at: Hello, I'm right now trying to get pyUSB to read from my usb-scale but i'm running into some issues there. My python code: http://paste.pound-python.org/show/10095/ and my output: http://paste.pound-python.org/show/10096/ As you can see, it

Re: [pyusb-users] PyUSB 1.0 and Windows reset

2011-08-07 Thread Wander Lairson Costa
early save! http://p.sf.net/sfu/rim-blackberry-1 ___ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users -- Best Regards, Wander Lairson Costa

Re: [pyusb-users] PyUSB 1.0 and Windows reset

2011-08-07 Thread Wander Lairson Costa
2011/8/7 chris clark clac...@gmail.com: On Sun, Aug 7, 2011 at 6:26 PM, Xiaofan Chen xiaof...@gmail.com wrote: On Mon, Aug 8, 2011 at 4:24 AM, Wander Lairson Costa wander.lair...@gmail.com wrote: The reset issue is related to libusb 1.0 windows backend. Libusb guys can give you better

Re: [pyusb-users] How to wake the device programatically

2011-08-16 Thread Wander Lairson Costa
2011/8/10 Charles Romestant cromest...@gmail.com: Hello all, I was travelling and had little time to update. I opted to take the try catch approach until the device is awoken by keypress. This was all working properly, then I started to code so I could read form the device. So reading up on

Re: [pyusb-users] How to wake the device programatically

2011-08-16 Thread Wander Lairson Costa
, and then the device is unusable until the next reboot. still a weird error going on, but I 'll keep on looking at it in my spare time On Tue, Aug 16, 2011 at 10:44 AM, Wander Lairson Costa wander.lair...@gmail.com wrote: 2011/8/10 Charles Romestant cromest...@gmail.com: Hello all, I was travelling

Re: [pyusb-users] usb.core.find()

2011-08-16 Thread Wander Lairson Costa
2011/8/16 chris clark clac...@gmail.com: On Tue, Aug 16, 2011 at 12:25 PM, Wander Lairson Costa wander.lair...@gmail.com wrote: 2011/8/16 Stenquist, Carl carl.stenqu...@renesas.com: Thanks I’ll check this out! 1.       Is this mentioned in documentation? Sorry I missed it. It is, however

Re: [pyusb-users] PyUSB repo has been moved to github

2011-09-02 Thread Wander Lairson Costa
2011/9/2 chris clark clac...@gmail.com: On Fri, Sep 2, 2011 at 11:51 AM, Wander Lairson Costa wander.lair...@gmail.com wrote: Due to requests from some users, I moved the PyUSB svn code repository to github. You can find it at the following address: https://github.com/walac/pyusb All users

Re: [pyusb-users] pyusb get_active_configuration segfault

2011-09-19 Thread Wander Lairson Costa
/68036163ba4f9f2eed73bf3189d7c332ebea1f77 -- Best Regards, Wander Lairson Costa -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerryreg; mobile platform with sessions, labs more. See

Re: [pyusb-users] thanks and proposal for backend error code propagation

2011-09-19 Thread Wander Lairson Costa
to  use the same name, the user code doesn't need to check which back end was  used. Peter Hi Peter, Thanks for your patch. As I will have to propagate this patch to the other backends, and I don't know when I really can do that, could you please open a ticket in Trac? -- Best Regards, Wander

Re: [pyusb-users] [Help] Read and Write Data USB with PyUSB

2011-10-05 Thread Wander Lairson Costa
-- Best Regards, Wander Lairson Costa https://github.com/walac https://gitorious.org/~walac -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application

Re: [pyusb-users] [Help] Read and Write Data USB with PyUSB

2011-10-05 Thread Wander Lairson Costa
endpoint. Well, you are writing to endpoint 1, whereas the documentation you linked to says commands go to the control endpoint (=0). And bear in mind that transfer through endpoint 0 is by ctrl_transfer function. -- Best Regards, Wander Lairson Costa https://github.com/walac https

Re: [pyusb-users] Get no endpoint for my usb device

2011-10-06 Thread Wander Lairson Costa
DEBUG:usb.backend.libusb10:_LibUSB.close_device(c_void_p(159873736)) Please, check your descriptors. If you are in Linux, please post the output of lsusb -vv for you device, or, if you are in Windows, check the ouput of test-libusb-win32 app. -- Best Regards, Wander Lairson Costa https://github.com/walac

[pyusb-users] [Off Topic] SourceForge Trac notification

2011-10-17 Thread Wander Lairson Costa
Hi there all, Does anyone know how access trac.ini for a project in SourceForge servers? I want to configure it to notify on mailing list about new tickets. I have searched, even found some people with the same problem, but no answer... -- Best Regards, Wander Lairson Costa https://github.com

Re: [pyusb-users] The dreadful usb.core.USBError: Access denied (insufficient permissions) error.

2011-10-20 Thread Wander Lairson Costa
denied (insufficient permissions) A quick google search points to issues linked to the MacOS kernel... but the fact is that I am running on GNU/linux. What am I doing wrong? Thanks in advance for your help and support! :) Try to run the script with sudo. -- Best Regards, Wander Lairson

Re: [pyusb-users] The dreadful usb.core.USBError: Access denied (insufficient permissions) error.

2011-10-20 Thread Wander Lairson Costa
2011/10/20 Mac Ryan quasipe...@gmail.com: On Thu, 20 Oct 2011 13:22:50 -0200 Wander Lairson Costa wander.lair...@gmail.com wrote: I tried to both plug the device before and after starting the python shell with sudo python, but the result does not change: resource busy is all I get

Re: [pyusb-users] PyUSB installer broke!?

2011-11-01 Thread Wander Lairson Costa
? If not, what Windows version are you using? Is it 32 or 64 bits? -- Best Regards, Wander Lairson Costa https://github.com/walac https://gitorious.org/~walac -- RSAreg; Conference 2012 Save #36;700 by Nov 18 Register now http

Re: [pyusb-users] PyUSB installer broke!?

2011-11-08 Thread Wander Lairson Costa
to load the usb module and check if it is done... -- Best Regards, Wander Lairson Costa https://github.com/walac https://gitorious.org/~walac -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu

Re: [pyusb-users] Alpha 2 testing

2011-11-10 Thread Wander Lairson Costa
2011/11/10 Peter Bigot pabi...@users.sourceforge.net: On Sat, Nov 5, 2011 at 7:54 AM, Wander Lairson Costa wander.lair...@gmail.com wrote: Dear all, In the PyUSB repository (https://github.com/walac/pyusb), at master branch, you will find what is supposed to be the alpha 2 release of PyUSB

[pyusb-users] [Released] PyUSB 1.0.0 alpha2

2011-11-12 Thread Wander Lairson Costa
minor fixes and improvaments (check ChangeLog file). Not yet implemented - OpenUSB support. - Isochronous transfer. Have fun :-) -- Best Regards, Wander Lairson Costa https://github.com/walac https://gitorious.org/~walac

Re: [pyusb-users] usb.core.find problem after it has been working fine!!!!

2011-11-15 Thread Wander Lairson Costa
to be run by the software ; if I try to run that python code directly, it runs just fine! As far as I know, you shouldn't have any privelege problem on Windows -- Best Regards, Wander Lairson Costa https://github.com/walac https://gitorious.org/~walac

Re: [pyusb-users] PLEASE HELP! Software delivery due tomorrow :((

2011-11-16 Thread Wander Lairson Costa
calling the python script. -- Best Regards, Wander Lairson Costa https://github.com/walac https://gitorious.org/~walac -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1

Re: [pyusb-users] PLEASE HELP! Software delivery due tomorrow :((

2011-11-16 Thread Wander Lairson Costa
cause is some restriction in the Java environment. But it is just a guess... -- Best Regards, Wander Lairson Costa https://github.com/walac https://gitorious.org/~walac -- All the data continuously generated in your

Re: [pyusb-users] ctrl_transfer

2011-11-17 Thread Wander Lairson Costa
[1]. [1] http://pyusb.sourceforge.net/docs/1.0/tutorial.html -- Best Regards, Wander Lairson Costa https://github.com/walac https://gitorious.org/~walac -- All the data continuously generated in your IT infrastructure

Re: [pyusb-users] Re ctrl_transfer

2011-11-21 Thread Wander Lairson Costa
the msg structure. As we are likely several sensors attached to a single hub, it would be useful to identify individual USB devices. kind regards Eric Hewett Could you please post source code? -- Best Regards, Wander Lairson Costa https://github.com/walac https://gitorious.org/~walac

Re: [pyusb-users] master branch test fails

2011-11-25 Thread Wander Lairson Costa
, in get_str_data1    if sys.version_info.major = 3: AttributeError: 'tuple' object has no attribute 'major' Is this a real problem for pyusb, or can i still install it and use it? Which version of Python are you using? -- Best Regards, Wander Lairson Costa https://github.com/walac https

Re: [pyusb-users] master branch test fails

2011-11-25 Thread Wander Lairson Costa
for more information. import sys sys.version_info sys.version_info(major=2, minor=7, micro=1, releaselevel='final', serial=0) sys.version_info.major 2 -- Best Regards, Wander Lairson Costa https://github.com/walac https://gitorious.org/~walac

Re: [pyusb-users] master branch test fails

2011-11-25 Thread Wander Lairson Costa
, 6, 6, 'final', 0) sys.version_info.major Traceback (most recent call last):  File stdin, line 1, in module AttributeError: 'tuple' object has no attribute 'major' This is bug in PyUSB, it is failing to run on Python 2.6. I will fix that. -- Best Regards, Wander Lairson Costa https

Re: [pyusb-users] master branch test fails

2011-11-26 Thread Wander Lairson Costa
2011/11/25 Robert von Burg ei...@eitchnet.ch: Thanks a lot for the super quick response! It should be fixed now. You can get the fix by running git pull. -- Best Regards, Wander Lairson Costa https://github.com/walac https://gitorious.org/~walac

Re: [pyusb-users] ctypes.ArgumentError: argument 2: type 'exceptions.TypeError': wrong type

2011-11-28 Thread Wander Lairson Costa
object. Anyway, I just pushed a fix to the master branch, your code should work now. Thank you for the report. -- Best Regards, Wander Lairson Costa https://github.com/walac https://gitorious.org/~walac -- All the data

Re: [pyusb-users] re ctrl_transfer

2011-11-29 Thread Wander Lairson Costa
is the data payload read, as an array object. -- Best Regards, Wander Lairson Costa https://github.com/walac https://gitorious.org/~walac -- All the data continuously generated in your IT infrastructure contains

Re: [pyusb-users] [EXTERNAL] Re: No backend available error

2011-11-29 Thread Wander Lairson Costa
. -- Best Regards, Wander Lairson Costa https://github.com/walac https://gitorious.org/~walac -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance

Re: [pyusb-users] [EXTERNAL] Re: No backend available error

2011-11-29 Thread Wander Lairson Costa
2011/11/29 Ian Daniher it.dani...@gmail.com: Not sure what's wrong, and no easy way of telling as dev.get_active_configuration() segfaults on OSX... Would you mind opening a bug in Trac for that? -- Best Regards, Wander Lairson Costa https://github.com/walac https://gitorious.org/~walac

Re: [pyusb-users] [EXTERNAL] Re: No backend available error

2011-11-29 Thread Wander Lairson Costa
2011/11/29 Ian Daniher it.dani...@gmail.com: Wander, I made a SourceForge account just for you. https://sourceforge.net/apps/trac/pyusb/ticket/7 Thanks for all your work on PyUSB! Thanks. -- Best Regards, Wander Lairson Costa https://github.com/walac https://gitorious.org/~walac

Re: [pyusb-users] time out problems

2011-12-01 Thread Wander Lairson Costa
2011/11/30 Barney, Bryson bbar...@sandia.gov: [snip] endpoint = usb.util.endpoint_address(address) This line is not you think it is. It is the device address, not endpoint address. [snip] -- Best Regards, Wander Lairson Costa https://github.com/walac https://gitorious.org/~walac

Re: [pyusb-users] accessing usb webcam

2011-12-16 Thread Wander Lairson Costa
an isochronous endpoint. Isochronous transfers is not yet supported by PyUSB (there is experimental implementation for isochronous write), so before continue check the endpoint type to transfer video data for your webcam. -- Best Regards, Wander Lairson Costa

Re: [pyusb-users] No backend error, please help

2011-12-20 Thread Wander Lairson Costa
variables. -- Best Regards, Wander Lairson Costa -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore

Re: [pyusb-users] No backend error, please help

2011-12-20 Thread Wander Lairson Costa
2011/12/20 JA metala...@gmail.com libusb0.dll and libusb0.sys are in C:\Windows\System32 Apparently this error makes no sense at all. Have you tried with other Python versions? -- Best Regards, Wander Lairson Costa

Re: [pyusb-users] Garmin GPS

2011-12-24 Thread Wander Lairson Costa
) that only exists under unix. detach_kernel_driver makes only sense on Unix indeed... Any ideas here? Unfortunately, no ideas... -- Best Regards, Wander Lairson Costa -- Write once. Port to many. Get the SDK

Re: [pyusb-users] dev.read

2011-12-28 Thread Wander Lairson Costa
trouble if you try to send fewer bytes than is available in the device pipe buffer. Try to read at least one packet size bytes. -- Best Regards, Wander Lairson Costa -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you

Re: [pyusb-users] Logging propagation PyUSB

2012-01-11 Thread Wander Lairson Costa
the logging mechanism polluting the interface. Because of that I implemented the logging through environment variables. Of course if users begin to request that, I can change my mind. -- Best Regards, Wander Lairson Costa

Re: [pyusb-users] Examples with PyUSB 1.0 and Happ UGCI write()

2012-01-11 Thread Wander Lairson Costa
switch        print str(e) -- You cannot write and read on the same endpoint. Endpoints are either configured as IN or OUT, but not both. -- Best Regards, Wander Lairson Costa -- Ridiculously easy VDI. With Citrix VDI

Re: [pyusb-users] OpenUSB Backend

2012-01-21 Thread Wander Lairson Costa
in one or two releases I will get it working. -- Best Regards, Wander Lairson Costa -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99

Re: [pyusb-users] libusb01 backend under Mac OS X Lion

2012-01-21 Thread Wander Lairson Costa
a ticket for it) reporting the same problem under FreeBSD, but I haven't time to digg into it yet. AKAIK, the FreeBSD implementation is done by 3rd party, right? What about Mac OSX? -- Best Regards, Wander Lairson Costa

Re: [pyusb-users] [PATCH] libusb01: fix bus value in device

2012-01-21 Thread Wander Lairson Costa
is if this behavior is a bug in older versions of libusb or not... -- Best Regards, Wander Lairson Costa -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers

  1   2   3   >