Subject: Re: USB (and other stuff) not working on Sony VAIO PCG-FXA47
To: Jeff Rizzo <riz@boogers.sf.ca.us>
From: Andrey Petrov <petrov@netbsd.org>
List: port-i386
Date: 06/10/2004 13:45:53
On Thu, Jun 10, 2004 at 09:35:50AM -0700, Jeff Rizzo wrote:
> I'm having significant trouble with this Sony laptop (surprise,
> surprise) - the model number is PCG-FXA47, which I haven't seen
> any other posts on, so I'm hoping someone has some suggestions
> for additional stuff I can try.
> 
> Everything I've read on the lists indicates that Sony laptops are
> notorious for having weird issues, and everyone seems to recommend
> enabling a number of the PCIBIOS options; I've done that, but it
> doesn't seem to help much.  Among the problems I see:
> 
>  - USB doesn't work (this is the biggest problem for me - I hate the
> 	builtin trackpad!).  Whenever I insert the mouse, I get messages
> 	like:
> 
> 	uhub0: port error, restarting port 1
> 	uhub1: port error, restarting port 1
> 	uhub1: port error, giving up port 1
> 

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? */