Re: [pyusb-users] segfault when using pyUSB w/ raspberry pi

2013-02-22 Thread Wander Lairson Costa
2013/2/22 Tom Lee : > Thanks very much for the responses! That patch did the trick. I will try to > find some time to try out the alternate approach if that's helpful; but if > the feedback on the patch is sufficient, I'm content to live with it. > As Xiaofan already pointed out, reset might be a

Re: [pyusb-users] segfault when using pyUSB w/ raspberry pi

2013-02-22 Thread Tom Lee
Thanks very much for the responses! That patch did the trick. I will try to find some time to try out the alternate approach if that's helpful; but if the feedback on the patch is sufficient, I'm content to live with it. On Thu, Feb 21, 2013 at 9:20 PM, Xiaofan Chen wrote: > On Fri, Feb 22, 201

Re: [pyusb-users] segfault when using pyUSB w/ raspberry pi

2013-02-21 Thread Xiaofan Chen
On Fri, Feb 22, 2013 at 10:16 AM, Xiaofan Chen wrote: > There are many codes out there calling usb reset without > carefully consider the potential side effect. Those codes > may work under regular Linux but may fail under not-so-regular > Linux and other platform like Windows and Mac OS X. > > Of

Re: [pyusb-users] segfault when using pyUSB w/ raspberry pi

2013-02-21 Thread Xiaofan Chen
On Fri, Feb 22, 2013 at 8:42 AM, Tom Lee wrote: > I'm trying to port some old python code from an NSLU2 to a Raspberry Pi, and > am having some trouble that seems to originate with pyUSB. I've tried this > under Raspbian and now the Arch Linux distribution, and in both cases I get > the same erro

Re: [pyusb-users] segfault when using pyUSB w/ raspberry pi

2013-02-21 Thread Wander Lairson Costa
2013/2/21 Tom Lee : > I'm trying to port some old python code from an NSLU2 to a Raspberry Pi, and > am having some trouble that seems to originate with pyUSB. I've tried this > under Raspbian and now the Arch Linux distribution, and in both cases I get > the same error: when I try to initiate a U