Subject: Re: USB (and other stuff) not working on Sony VAIO PCG-FXA47
To: Andrey Petrov <petrov@NetBSD.org>
From: Charles M. Hannum <abuse@spamalicious.com>
List: port-i386
Date: 06/11/2004 17:44:32
On Thursday 10 June 2004 20:45, Andrey Petrov wrote:
> I wonder if this (taken from FreeBSD) patch helps.
>
> Index: uhub.c
> ===================================================================
> RCS file: /cvsroot/src/sys/dev/usb/uhub.c,v
> retrieving revision 1.66
> diff -u -p -r1.66 uhub.c
> --- uhub.c      23 Apr 2004 17:25:25 -0000      1.66
> +++ uhub.c      10 Jun 2004 20:44:15 -0000
> @@ -287,6 +287,7 @@ USB_ATTACH(uhub)
>                         up->power = USB_MAX_POWER;
>                 else
>                         up->power = USB_MIN_POWER;
> +               up->restartcnt = 0;
>         }
>
>         /* XXX should check for none, individual, or ganged power? */

Yes, that should definitely help.  D'oh!