2012/6/27 Kevin Bullmann <ke...@kbullmann.de>: > Hi everyone > > I'm working on a project involving a USB device connected to an Android 4.0.3 > Tablet with host port. I did find a software library that does pretty much > exactly what I need. It is written in Python though. > Since porting the library to java would be a major hassle and I prefer Python > anyways I took a look at SL4A, the scripting layer for Android. Turns out > that running Python on Android is actually quite easy as long as you use pure > python modules only. In my project this is the case. The library I want to > use has dependencies to pyserial and pyusb which are both pure Python. > The only problem I have is that pyusb won't detect the usb backend that is > used in Android. I didn't find any developer documentation about the Android > USB system but I noticed that instead of libusb there is a library called > libusbhost. The header file looks different from libusb.h. > Would it be at all possible to add the Android usb backend to pyusb? I'm a > decent Python programmer but I've never done anything with it involving > native libraries. >
Well, at worst, libusbhost would be another backend, based on the libusb backend. Currently, due to my lack of free time, I am not working on PyUSB (except by supporting mailing list, merging patches and fixing simple bug fixes). If you provide the patch, I can merge it in the current code (after a review, of course) , or if you are not going to do that, you can create a new ticket for it, and at the right time I make the implementation. -- Best Regards, Wander Lairson Costa ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users