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

2010-07-30 Thread Wander Lairson
Could you please open a bug in SF tracker? 2010/7/23 Chris Wolf : > > > On 7/23/10 11:49 AM, Wander Lairson wrote: >>> >>> >>> On 7/23/10 7:13 AM, Wander Lairson wrote: 2010/7/23 Chris Wolf : > > > On 7/22/10 12:29 PM, Wander Lairson wrote: >> I will try to install a darwin ke

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

2010-07-23 Thread Chris Wolf
On 7/23/10 11:49 AM, Wander Lairson wrote: >> >> >> On 7/23/10 7:13 AM, Wander Lairson wrote: >>> 2010/7/23 Chris Wolf : 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

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 : >>> >>> >>> 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: >> >

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

2010-07-23 Thread Chris Wolf
On 7/23/10 7:13 AM, Wander Lairson wrote: > 2010/7/23 Chris Wolf : >> >> >> 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... T

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

2010-07-23 Thread Wander Lairson
2010/7/23 Chris Wolf : > > > 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, what processor arch is your computer (ppc, ppc64, i38

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

2010-07-23 Thread Chris Wolf
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: $ export USB_DEBUG=10 $ ./usbtest usb_set_debug: Setting debugging level to 10 (on) usb_os_find_busses

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 : > > > 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.get_backe

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

2010-07-14 Thread Chris Wolf
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.get_backend() > *** libusb = usb.backend.libusb01._lib > *** busses = libusb.usb_get_busses() > *** pri

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

2010-07-14 Thread Chris Wolf
(sorry, I missed this email earlier) On 7/12/10 9:46 AM, Wander Lairson wrote: *** import usb.backend.libusb01 *** usbe = usb.backend.libusb01.get_backend() *** libusb = usb.backend.libusb01._lib *** busses = libusb.usb_get_busses() *** print bool(busses) > What does "print busses" print? > ***

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

2010-07-14 Thread Chris Wolf
On 7/12/10 3:32 PM, Wander Lairson wrote: > 2010/7/12 Chris Wolf : >> Wander, >> >> I tried some other things: >> >> 1.) I tried to use openusb. There were some issues building on the Mac - >>the distribution tar archive was missing a header file, "darwin.h" >>and the sample program was

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

2010-07-12 Thread Wander Lairson
2010/7/12 Chris Wolf : > Wander, > > I tried some other things: > > 1.) I tried to use openusb.  There were some issues building on the Mac - >    the distribution tar archive was missing a header file, "darwin.h" >    and the sample program was missing, both of which I got from source >    control

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

2010-07-12 Thread Wander Lairson
2010/7/11 Chris Wolf : > > > >> What's libusb .so file named? > > I also looked at this code: > > class _LibUSB(usb.backend.IBackend): >   �...@methodtrace(_logger) >    def enumerate_devices(self): >        _check(_lib.usb_find_busses()) >        _check(_lib.usb_find_devices()) > >        bus = _l

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

2010-07-11 Thread Chris Wolf
> What's libusb .so file named? I also looked at this code: class _LibUSB(usb.backend.IBackend): @methodtrace(_logger) def enumerate_devices(self): _check(_lib.usb_find_busses()) _check(_lib.usb_find_devices()) bus = _lib.usb_get_busses() while bool(bu

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

2010-07-11 Thread Chris Wolf
> > What's libusb .so file named? > It's named "libusbpp-0.1.4.dylib", with some symlinks, as follows: $ cd /usr/local/lib $ ls -l libusb* lrwxr-xr-x 1 root wheel 18 Feb 11 2008 libusb-0.1.4.4.5.dylib -> libusb-0.1.4.dylib -rwxrwxr-x 1 root wheel 93992 Feb 3 2008 libusb-0.1.4.dy

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

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

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

2010-07-10 Thread Chris Wolf
Thanks for looking. -Chris On 7/10/10 8:48 PM, Wander Lairson wrote: > 2010/7/10 Chris Wolf : [...] >> >> That didn't work, so I tried: >> >> *** dev = usb.core.find(find_all=True, backend=libusb01.get_backend()) > > Set the environment variable PYUSB_DEBUG_LEVEL=debug, run this test > again a

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

2010-07-10 Thread Wander Lairson
2010/7/10 Chris Wolf : > > > Hello, > > I am just trying to perform basic iteration of USB devices to start with and > am not getting anything. > > First, I installed a binary distribution of libusb01 from this location: > > http://www.ellert.se/twain-sane/ > > > ...then I installed pyusb-1.0.0-a0.

[pyusb-users] Trouble using PyUSB on MacOS 10.5

2010-07-10 Thread Chris Wolf
Hello, I am just trying to perform basic iteration of USB devices to start with and am not getting anything. First, I installed a binary distribution of libusb01 from this location: http://www.ellert.se/twain-sane/ ...then I installed pyusb-1.0.0-a0. ...followed by attempting to run the tut