Hi: I was not aware of the libusb support for the PicDem board. ( not for lack of googling let me tell you ) that's when I started to look at was involved in writing a kernel driver to talk to the unit. After a little digging I discovered ldusb and it's relative ease of handling the PicDem board.
From my perspective it is nice to know the board is handled in the kernel and supported up stream. As other IDs are created they could possibly be added to ldusb and would work out of the box. We did have to write a seperate application to actually do anything with the PicDem, but it became as simple as opening/reading/writing to a serial port which is what I expected. I would prefer to keep the PicDem defined in the kernel. It makes it so much easier for a new user to just plug in the board and see it being detected. I don't know what other pros and cons there may be for a more advanced user with libusb vs ldusb as I have not worked with either very deeply. If someone wants to use the libusb instead of the kernel driver could they not just rmmod ldusb at that time and load libusb instead?? Regards Joey Xiaofan Chen wrote: > On 7/17/07, Hund, Michael <[EMAIL PROTECTED]> wrote: >> >> >> Even on full speed devices, I had the problem of missing interrupt >> transfers >> using libusb. This was the main reason to write ldusb for interrupt >> transfers. >> >> libusb cannot guarantee to handle an interrupt transfer in a time >> which is >> shorter than the specified time between two interrupt transfers. Lost >> data >> may be the result. >> > > Thanks for the info. I only have experiences with libusb and so far I > like > it very much. My main involvement with Linux is to support PICKit 2 > programmer (an custom HID device and use interrupt transfer). I have > done tests for various applications under Linux and FreeBSD, mainly the > following two. > > 1) pk2: http://home.pacbell.net/theposts/picmicro/ > 2) Piklab: http://piklab.sourceforge.net/ > > To me libusb works fine with Interrupt transfer for Microchip 18F USB MCU > based project under Linux. They actually work too even under FreeBSD > (which is said to have a fragile libusb implementation) with a bit of > tweaking. > > http://lists.freebsd.org/pipermail/freebsd-usb/2007-April/003182.html > > Regards, > Xiaofan -- Joey Goncalves Software Development Manager Peragrin Systems Ltd. [EMAIL PROTECTED] t: (604) 451-4514 f: (604) 473-4612 The information contained in this message is from Peragrin Systems Ltd and is for the sole use of the intended recipient(s), and may contain confidential and privileged information. Any unauthorised review, use, disclosure or distribution is prohibited. If you are not the intended recipient(s), please contact the sender by reply eMail, and destroy all copies of the original message. You may not distribute, disseminate or copy this eMail. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel