From owner-freebsd-usb@FreeBSD.ORG Sat May 8 08:12:39 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 14E15106564A for ; Sat, 8 May 2010 08:12:39 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id C37058FC14 for ; Sat, 8 May 2010 08:12:38 +0000 (UTC) Received: by qyk11 with SMTP id 11so2755666qyk.13 for ; Sat, 08 May 2010 01:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=E3jKnQN0rg1lQNV1wtTDHcIUgWi01rZF6qecRXmXmYM=; b=OylGBuatxMo93rJZEULY2p5M1Bvr5l5frOLzx0Dq458TyG+PyNJb88+qBcVeYTUw54 ZQQeDo338vb4vP5rASY6aZzy7gx0J9RW24oBGh2hnjwOHMn3tBbULh+W15o7WRKg8HKB igExnzplsPRxf4bphrg2cc+HPnD0HNx7zUKHw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=cfiKriyKql6doaZ0Ea1/MamT5/D2ljk7IShq2zPmAexAtOPj2GF8AawrGZt+qgVDMU SkObby49JxtEd5uFTRTtezdQmv7esjoL4/hlq7qvF/JBYKC3FWDjoMiDrhw4F0eEnXj4 pasCW2NeLlyAtHs+J5IuKK1d+31nVp9PImyb4= MIME-Version: 1.0 Received: by 10.224.140.131 with SMTP id i3mr708063qau.39.1273306348396; Sat, 08 May 2010 01:12:28 -0700 (PDT) Received: by 10.229.13.16 with HTTP; Sat, 8 May 2010 01:12:28 -0700 (PDT) In-Reply-To: References: <201005061949.o46Jngdt028521@lava.sentex.ca> <201005062240.30548.hselasky@c2i.net> Date: Sat, 8 May 2010 16:12:28 +0800 Message-ID: From: Xiaofan Chen To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-usb@freebsd.org Subject: Re: apcupsd port regression from 7x. to 8.x X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 May 2010 08:12:39 -0000 On Fri, May 7, 2010 at 9:52 PM, Xiaofan Chen wrote: > On Fri, May 7, 2010 at 4:40 AM, Hans Petter Selasky wrote: >> >> The FreeBSD LibUSB v0.1 reports the wrong number of busses and devices. I can >> fix this. >> >> I've made a small patch, but it won't fix your issue :-( >> >> http://p4web.freebsd.org/@@177865?ac=10 >> > > I am not so sure if this is related to the bugs of pyusb here. > http://sourceforge.net/mailarchive/forum.php?thread_name=w2ua276da401004190609t9f26a872qa0c0217e91c39180%40mail.gmail.com&forum_name=pyusb-users No the patch does not help. I think it is not a problem of libusb under FreeBSD, but rather the bug with pyusb. > If possible, please give pyusb a try. Thanks. I have not updated to > 8-stable to be able > to catch up with the libusb changes in FreeBSD. The later changes of > libusb under FreeBSD does not seem to be compatible with 8-Release. > -- Xiaofan http://mcuee.blogspot.com