Re: [pyusb-users] Segmentation fault when reading data

2011-02-07 Thread Jacques-D. Piguet
Hi Wander, You were right: suppressing the "device.reset()" has solved the problem. Here is the printout you requested... If you need more info, don't hesitate to ask! BR, Jacques-D. PS: I may be able to give you remote access if you need. root@osse:~# root@osse:~# export PYUSB_DEBUG_LEVEL=de

Re: [pyusb-users] Segmentation fault when reading data

2011-02-07 Thread wander.lairson
2011/2/6 The big chief : > Hi USB peoples, > [snip] > > I try the following code: > > > """ > Copied (partially) from: > > Read a MagTek USB HID Swipe Reader in Linux. A description of this > code can be found at: > http://www.micahcarrick.com/credit-card-reader-pyusb.html > > You must be using t

[pyusb-users] Segmentation fault when reading data

2011-02-06 Thread The big chief
Hi USB peoples, I'm trying to use an FS20-PCE device: http://www.elv.de/output/controller.aspx?cid=74&detail=10&detail2=31219&flv=1&bereich=&marke= I see it like below: jdp@osse:~$ dmesg | tail [ 7362.100019] usb 4-2: reset full speed USB device using uhci_hcd and address 5 [ 7377.810020] usb 4