FreeBSD no longer detects my USB stick

2009-01-31 Thread Darryl Yeoh
Hi lists,

Need some help. My USB stick no longer gets detected. If I plug it in, nothing 
happens and I see
this in syslog shortly after:

Jan 31 18:48:37 matrix kernel: uhub5: device problem (TIMEOUT), disabling port 3

Here's the relevant part from usbdevs -dv

Controller /dev/usb5:
addr 1: high speed, self powered, config 1, EHCI root hub(0x), ATI(0x), 
rev 1.00
 port 1 powered
 port 2 powered
 port 3 addr 0 should never happen! -- ??
 port 4 powered
 port 5 powered
 port 6 powered
 port 7 powered
 port 8 powered
 port 9 powered
 port 10 powered

Here's my uname:

FreeBSD matrix.bsd.my 7.1-STABLE FreeBSD 7.1-STABLE #0: Fri Jan 30 13:36:16 MYT 
2009
r...@matrix.bsd.my:/usr/src/sys/i386/compile/INSP_1501  i386

I'm not sure, but all this happened after upgrading Xorg to 7.4. I've tried 
booting with dbus/hald
disabled and still no go. The weird thing is it works if I boot directly into 
single-user. I have a
USB mouse and it works if I plug it in. Somehow it looks like it effects USB 
sticks for now. What
can be causing this to happen ?

Please CC me as I'm not subscribe to the maillinglists.

Darryl
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


USB2 patches

2009-01-31 Thread Andrew Thompson
Hi,


I have several patches in my svn user branch that I would like to see
committed to HEAD. Some of these change the usb2 core code so I am
interested in feedback or shootdowns. I am right behind the change to
USB2 and this is an effort to help. 

The patch can be found here,
 http://people.freebsd.org/~thompsa/usb_head1.diff
 73 files changed, 9229 insertions(+), 13261 deletions(-)

but its rather large so it may be easier to look at the various changes
via the svn web interface.

http://svn.freebsd.org/viewvc/base/user/thompsa/usb/


r187750
  http://svn.freebsd.org/viewvc/base?view=revisionrevision=187750

  Change over to using taskqueue(9) instead of hand rolled threads and
  the config_td system. This removes the config_td code and makes the
  API much simpler to use.

r187751, r187752, r187753, r187754, r187755, r187756
  http://svn.freebsd.org/viewvc/base?view=revisionrevision=187751

  Change over to usb2_proc w/ taskqueues for the usb2/ethernet,
  usb2/serial and usb2/wlan code.

r187965
  http://svn.freebsd.org/viewvc/base?view=revisionrevision=187965

  Move most of the ifnet logic into the usb2_ethernet module, this includes,
   - make all usb ethernet interfaces named ue%d
   - handle all threading in usb2_ethernet
   - provide default ioctl handler
   - handle mbuf rx
   - provide locked callbacks for init,start,stop,etc

  The drivers are not much more than data pushers now.


regards,
Andrew
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: USB2 patches

2009-01-31 Thread Alfred Perlstein
I'll defer to Hans if he feels confident or not about this.

For what it's worth, we're about to switch GENERIC to use
usb4bsd.

-Alfred

* Andrew Thompson thom...@freebsd.org [090131 15:20] wrote:
 Hi,
 
 
 I have several patches in my svn user branch that I would like to see
 committed to HEAD. Some of these change the usb2 core code so I am
 interested in feedback or shootdowns. I am right behind the change to
 USB2 and this is an effort to help. 
 
 The patch can be found here,
  http://people.freebsd.org/~thompsa/usb_head1.diff
  73 files changed, 9229 insertions(+), 13261 deletions(-)
 
 but its rather large so it may be easier to look at the various changes
 via the svn web interface.
 
 http://svn.freebsd.org/viewvc/base/user/thompsa/usb/
 
 
 r187750
   http://svn.freebsd.org/viewvc/base?view=revisionrevision=187750
 
   Change over to using taskqueue(9) instead of hand rolled threads and
   the config_td system. This removes the config_td code and makes the
   API much simpler to use.
 
 r187751, r187752, r187753, r187754, r187755, r187756
   http://svn.freebsd.org/viewvc/base?view=revisionrevision=187751
 
   Change over to usb2_proc w/ taskqueues for the usb2/ethernet,
   usb2/serial and usb2/wlan code.
 
 r187965
   http://svn.freebsd.org/viewvc/base?view=revisionrevision=187965
 
   Move most of the ifnet logic into the usb2_ethernet module, this includes,
- make all usb ethernet interfaces named ue%d
- handle all threading in usb2_ethernet
- provide default ioctl handler
- handle mbuf rx
- provide locked callbacks for init,start,stop,etc
 
   The drivers are not much more than data pushers now.
 
 
 regards,
 Andrew

-- 
- Alfred Perlstein
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: USB2 patches

2009-01-31 Thread M. Warner Losh
In message: 20090201030628.ge65...@elvis.mu.org
Alfred Perlstein alf...@freebsd.org writes:
: I'll defer to Hans if he feels confident or not about this.

These changes all look good to me

: For what it's worth, we're about to switch GENERIC to use
: usb4bsd.

Moving files or just changing names...

Warner

: -Alfred
: 
: * Andrew Thompson thom...@freebsd.org [090131 15:20] wrote:
:  Hi,
:  
:  
:  I have several patches in my svn user branch that I would like to see
:  committed to HEAD. Some of these change the usb2 core code so I am
:  interested in feedback or shootdowns. I am right behind the change to
:  USB2 and this is an effort to help. 
:  
:  The patch can be found here,
:   http://people.freebsd.org/~thompsa/usb_head1.diff
:   73 files changed, 9229 insertions(+), 13261 deletions(-)
:  
:  but its rather large so it may be easier to look at the various changes
:  via the svn web interface.
:  
:  http://svn.freebsd.org/viewvc/base/user/thompsa/usb/
:  
:  
:  r187750
:http://svn.freebsd.org/viewvc/base?view=revisionrevision=187750
:  
:Change over to using taskqueue(9) instead of hand rolled threads and
:the config_td system. This removes the config_td code and makes the
:API much simpler to use.
:  
:  r187751, r187752, r187753, r187754, r187755, r187756
:http://svn.freebsd.org/viewvc/base?view=revisionrevision=187751
:  
:Change over to usb2_proc w/ taskqueues for the usb2/ethernet,
:usb2/serial and usb2/wlan code.
:  
:  r187965
:http://svn.freebsd.org/viewvc/base?view=revisionrevision=187965
:  
:Move most of the ifnet logic into the usb2_ethernet module, this includes,
: - make all usb ethernet interfaces named ue%d
: - handle all threading in usb2_ethernet
: - provide default ioctl handler
: - handle mbuf rx
: - provide locked callbacks for init,start,stop,etc
:  
:The drivers are not much more than data pushers now.
:  
:  
:  regards,
:  Andrew
: 
: -- 
: - Alfred Perlstein
: ___
: freebsd-usb@freebsd.org mailing list
: http://lists.freebsd.org/mailman/listinfo/freebsd-usb
: To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
: 
: 
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: USB2 patches

2009-01-31 Thread M. Warner Losh
In message: 20090201033641.gg65...@elvis.mu.org
Alfred Perlstein alf...@freebsd.org writes:
: * M. Warner Losh i...@bsdimp.com [090131 19:33] wrote:
:  In message: 20090201030628.ge65...@elvis.mu.org
:  Alfred Perlstein alf...@freebsd.org writes:
:  : I'll defer to Hans if he feels confident or not about this.
:  
:  These changes all look good to me
:  
:  : For what it's worth, we're about to switch GENERIC to use
:  : usb4bsd.
:  
:  Moving files or just changing names...
: 
: Changing the default kernel configs only.
: 
: A few/several weeks later we will rename over the old if all
: goes well.

Sounds good.  I assume you'll be coordinating with Andrew to make sure
that he doesn't have any changes in flight, or can cope with the ones
he does?

Warner

:  Warner
:  
:  : -Alfred
:  : 
:  : * Andrew Thompson thom...@freebsd.org [090131 15:20] wrote:
:  :  Hi,
:  :  
:  :  
:  :  I have several patches in my svn user branch that I would like to see
:  :  committed to HEAD. Some of these change the usb2 core code so I am
:  :  interested in feedback or shootdowns. I am right behind the change to
:  :  USB2 and this is an effort to help. 
:  :  
:  :  The patch can be found here,
:  :   http://people.freebsd.org/~thompsa/usb_head1.diff
:  :   73 files changed, 9229 insertions(+), 13261 deletions(-)
:  :  
:  :  but its rather large so it may be easier to look at the various changes
:  :  via the svn web interface.
:  :  
:  :  http://svn.freebsd.org/viewvc/base/user/thompsa/usb/
:  :  
:  :  
:  :  r187750
:  :http://svn.freebsd.org/viewvc/base?view=revisionrevision=187750
:  :  
:  :Change over to using taskqueue(9) instead of hand rolled threads and
:  :the config_td system. This removes the config_td code and makes the
:  :API much simpler to use.
:  :  
:  :  r187751, r187752, r187753, r187754, r187755, r187756
:  :http://svn.freebsd.org/viewvc/base?view=revisionrevision=187751
:  :  
:  :Change over to usb2_proc w/ taskqueues for the usb2/ethernet,
:  :usb2/serial and usb2/wlan code.
:  :  
:  :  r187965
:  :http://svn.freebsd.org/viewvc/base?view=revisionrevision=187965
:  :  
:  :Move most of the ifnet logic into the usb2_ethernet module, this 
includes,
:  : - make all usb ethernet interfaces named ue%d
:  : - handle all threading in usb2_ethernet
:  : - provide default ioctl handler
:  : - handle mbuf rx
:  : - provide locked callbacks for init,start,stop,etc
:  :  
:  :The drivers are not much more than data pushers now.
:  :  
:  :  
:  :  regards,
:  :  Andrew
:  : 
:  : -- 
:  : - Alfred Perlstein
:  : ___
:  : freebsd-usb@freebsd.org mailing list
:  : http://lists.freebsd.org/mailman/listinfo/freebsd-usb
:  : To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
:  : 
:  : 
: 
: -- 
: - Alfred Perlstein
: 
: 
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org