Friday, August 1, 2008

Two Trivial Patches now in Linux Kernel 2.6.26

I am not a Linux kernel hacker, actually I am not even a programmer.
But I've got two trivial patches about USB PICs in Linux kernel 2.6.26.
So it seems we can help the open source community no matter how minor
the contributions are.

http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.26
********************************************************
commit 5fc89390f74ac42165db477793fb30f6a200e79c
Author: Xiaofan Chen
Date: Tue May 13 21:52:00 2008 +0800

USB: remove PICDEM FS USB demo (04d8:000c) device from ldusb

Microchip has changed the PICDEM FS USB demo device (0x04d8:000c)
to use bulk transfer and not interrupt transfer. So I've updated the
libusb based program here (Post #31).
http://forum.microchip.com/tm.aspx?m=106426&mpage=2

So I believe that the in-kernel ldusb driver will no longer work with the
demo firmware. It should be removed.


Signed-off-by: Xiaofan Chen
Cc: Michael Hund
Cc: stable
Signed-off-by: Greg Kroah-Hartman
********************************************************

********************************************************
commit f4971031f4acd98423a2903c6517fb3ef1aea8dc
Author: Xiaofan Chen
Date: Tue May 13 17:11:59 2008 +0200

HID: add Microchip PICKit 1 and PICkit 2 to blacklist

Microchip PICkit 1 and PICKit 2 USB Programmers are USB HID class of device but
they are not real HID device. They are now supported by libusb based programs
like the following programs.

pk2 and pk2cmd Linux port:
http://home.pacbell.net/theposts/picmicro/
usb_pickit:
http://tfc.duke.free.fr/pickit.html
usb_pickit original version:
http://charm.cs.uiuc.edu/users/olawlor/projects/2003/microchip/

Therefore it is preferred to blacklist them.

Signed-off-by: Xiaofan Chen
Signed-off-by: Jiri Kosina
********************************************************

Reference:
http://www.ohloh.net/p/linux/contributors/13492639826017

No comments: