Have you monitored a USB transfer with the scale using its original driver?
I suggest the 'usbmon' kernel module. Use Wine or a VM if it's a
windows-only app.
On Wed, Jul 27, 2011 at 08:10, David Brunnthaler <da...@i-am-alive.at>wrote:
> 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/**<http://paste.pound-python.org/show/10095/>
> and my output:
> http://paste.pound-**python.org/show/**10096/<http://paste.pound-python.org/show/10096/>
>
> As you can see, it just stops at line 49 of the code.
>
>
> In the Tutorial (
> http://pyusb.sourceforge.net/docs/1.0/tutorial.html#how-am-i-supposed-to-work)
> it says you first have to issue a "set_configuration" request.
>
> I tried all three different methods (line 31, line 33 and lines 35 to 37)
> but it always tells me:
> http://paste.pound-**python.org/show/**10097/<http://paste.pound-python.org/show/10097/>
>
>
> Any idea what I'm doing wrong, or how I can establish a successful
> connection?
>
> Thanks in advance
> David
>
> --
> david brunnthaler
> da...@i-am-alive.at
> austria
>
>
> ------------------------------------------------------------------------------
> Got Input? Slashdot Needs You.
> Take our quick survey online. Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> _______________________________________________
> pyusb-users mailing list
> pyusb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pyusb-users
>
>
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users