|
From: Racquet B. <bra...@gm...> - 2012-11-19 15:21:05
|
Sorry for the late rely. I tried: dev.ctrl_transfer(0x21, 0x09, 0,0, '0x04') But the pipe error is still there. Could it be just the device is broken (I don't have the windows driver for this)? On Fri, Nov 16, 2012 at 6:18 PM, Tormod Volden <lis...@gm...>wrote: > On Fri, Nov 16, 2012 at 9:27 PM, Racquet Ball wrote: > > Ah, okay. Maybe the RequestType I'm sending it is wrong? Both uses my > exact > > model and somewhat describes the usb info in more detail. > > > > > https://code.google.com/p/pywws/source/browse/trunk/pywws/WeatherStation.py?r=355 > > > > > http://matthias.vallentin.net/blog/2007/04/writing-a-linux-kernel-driver-for-an-unknown-usb-device/ > > > > It looks like the message for LEFT is: > > > > #define ML_MAX_LEFT 0x04 /* 00 04 00 00 00 00 00 00 */ > > No, you have to read more carefully. That is the INcoming message when > the axis boundary has been reached. You simply have to send this > command for LEFT: > #define ML_LEFT 0x04 > > Tormod > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > pyusb-users mailing list > pyu...@li... > https://lists.sourceforge.net/lists/listinfo/pyusb-users > |