Re: USB slowdown on recent -current [PATCH]

2002-08-30 Thread Maksim Yevmenkin
Hackers, please find attached patch for UHCI that fixes bus hanging after a device has been unplugged. i can not provide a patch for OHCI because i do not have hardware to test. after looking into this in more detail i found a somewhat similar patch in PR "kern/37928". also if someone can comme

Re: USB slowdown on recent -current

2002-08-28 Thread Peter Wemm
Maksim Yevmenkin wrote: > Hackers, > > Replying to myself and -current. Strange, but commenting out > > #define USB_USE_SOFTINTR > > in /sys/dev/usb_ports.h fixed my problem. USB device back to > full speed and now i'm getting solid ~60 KBytes/sec. > > Note: this is _the_only_ change i made. t

Re: USB slowdown on recent -current

2002-08-28 Thread Josef Karthauser
On Tue, Aug 27, 2002 at 01:46:25PM -0700, Maksim Yevmenkin wrote: > Hackers, > > Replying to myself and -current. Strange, but commenting out > > #define USB_USE_SOFTINTR > > in /sys/dev/usb_ports.h fixed my problem. USB device back to > full speed and now i'm getting solid ~60 KBytes/sec. > >

Re: USB slowdown on recent -current

2002-08-27 Thread Terry Lambert
Maksim Yevmenkin wrote: > Julian Elischer wrote: > > > > make sure you have all the debugging turned off. > > there is a LOT of debugging.. > > at the moment. > > well, this was my first attempt. it did not work. even if i > disable INVARIANTS, WITNESS and USB_DEBUG completely it is > still slow

Re: USB slowdown on recent -current

2002-08-27 Thread Maksim Yevmenkin
Hackers, Replying to myself and -current. Strange, but commenting out #define USB_USE_SOFTINTR in /sys/dev/usb_ports.h fixed my problem. USB device back to full speed and now i'm getting solid ~60 KBytes/sec. Note: this is _the_only_ change i made. the rest of the code has not been changed. H

Re: USB slowdown on recent -current

2002-08-27 Thread Maksim Yevmenkin
Julian Elischer wrote: > > make sure you have all the debugging turned off. > there is a LOT of debugging.. > at the moment. well, this was my first attempt. it did not work. even if i disable INVARIANTS, WITNESS and USB_DEBUG completely it is still slow as hell :( PC-CARD driver works just fi

Re: USB slowdown on recent -current

2002-08-27 Thread Julian Elischer
make sure you have all the debugging turned off. there is a LOT of debugging.. at the moment. On Tue, 27 Aug 2002, Maksim Yevmenkin wrote: > Hackers, > > I'm currently testing my Bluetooth code for FreeBSD on recent > -current. After i upgraded to recent current from current-DP1 > i'm experien