On Thu, Apr 24, 2008 at 11:21 PM, Hans Petter Selasky <[EMAIL PROTECTED]> wrote: > I have fixed some issues where the Giant lock was not locked when calling > into > the USB stack recently. What version are you at? A stack backtrace from the > panic would also be nice. Make sure that everything is built clean.
[EMAIL PROTECTED] /usr/home/mcuee/Desktop/usb/i4b]$ svn info Path: . URL: svn://svn.turbocat.net/i4b Repository Root: svn://svn.turbocat.net/i4b Repository UUID: 4429bdba-5c01-0410-9f4f-ee3375ed255f Revision: 651 Node Kind: directory Schedule: normal Last Changed Author: hselasky Last Changed Rev: 651 Last Changed Date: 2008-03-29 20:04:10 +0800 (Sat, 29 Mar 2008) I will update to see if the later code fixed this problem. The backtrace is enclosed in the previous post. The other libusb based program fsusb_demo still works fine. (discussed last time in the thread: http://lists.freebsd.org/pipermail/freebsd-usb/2007-October/004087.html). [EMAIL PROTECTED] /usr/home/mcuee/Desktop/build/fsusb]$ ./fsusb_demo --readpot Locating Microchip(tm) PICDEM(tm) FS USB Demo Board (vendor 0x04d8/product 0x000c) usb_set_debug: Setting debugging level to 255 (on) setting USB debug on by adding usb_set_debug(255) usb_os_find_busses: Found /dev/usb0 usb_os_find_busses: Found /dev/usb1 usb_os_find_busses: can't open /dev/usb2: Permission denied usb_os_find_devices: Found /dev/ugen0 on /dev/usb0 usb_control_msg: 128 6 512 0 0xbfbfe964 8 1000 usb_control_msg: 128 6 512 0 0x2820c070 41 1000 skipped 1 class/vendor specific interface descriptors usb_control_msg: 128 6 513 0 0xbfbfe964 8 1000 usb_control_msg: 128 6 513 0 0x2820a080 32 1000 usb_os_find_devices: Found /dev/ugen1 on /dev/usb1 usb_control_msg: 128 6 512 0 0xbfbfe964 8 1000 usb_control_msg: 128 6 512 0 0x2820a0c0 32 1000 Found USB PICDEM FS USB Demo Board as device '/dev/ugen1' on USB bus /dev/usb1 Communication established. answer was correct! Onboard firmware version is 1.20 Potentiometer now reads 650 usb_os_close: closing endpoint 4 Xiaofan _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[EMAIL PROTECTED]"
