Re: clutter in /var/log/messages (drivers/usb/serial/usb-serial.c)

2008-01-07 Thread devzero
Hi ! i found there was a patch from tilmann schmidt at http://marc.info/?l=linux-kernel&m=114185850406627&w=2 some longer time ago. it was rejected for the reason that that it was patching deprecated code and instead dev_dbg(), dev_info(), and dev_err() should better be used. unfortunately, i h

Re: [patch/rft 2.6.24-rc] usb: ehci completes high speed ISO URBs sooner

2008-01-07 Thread David Brownell
This has some bugfixes for the EHCI driver's ISO transfer scanning logic. It was leaving ITDs and SITDs on the schedule too long, for a few different reasons, which caused trouble. (a) Look at all microframes for high speed transfers, not just the ones we expect to have finished. Thi

Re: [patch/rft 2.6.24-rc6] usb: ehci saves even more memory in ISO transfer descriptors

2008-01-07 Thread David Brownell
On Sunday 06 January 2008, Karsten Wiese wrote: > >   for (uframe = 0; uframe < 8; uframe++) { > > - if (likely (itd->index[uframe] == -1)) > > + t = hc32_to_cpup(ehci, &itd->hw_bufp[uframe]); > > NACK, struct ehci_itd has hw_bufp[7], not 8. Here's a better way, on top

Re: [pl2303 regression] Linux 2.6.23 breaks gpsbabel's DG-100 support

2008-01-07 Thread Alan Cox
> applied in reverse (a partial revert to 2.6.22) makes > the corruption go away, but is likely just papering over the root cause. > Cc'ed the gpsbabel developer mailing list, in case we have to > fix this in userspace. Please try the following diff -u --new-file --recursive --exclude-from /usr/s

hangs swapping on usb storage

2008-01-07 Thread Oliver Neukum
Hi, I am using my usb flash stick as a swap space. If I use a few hundred mb I get a hang in about 30% of the tests. Can anybody replicate this result? Regards Oliver - To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [EMAIL

Re: hangs swapping on usb storage

2008-01-07 Thread Matthew Dharm
On Mon, Jan 07, 2008 at 03:51:39PM +0100, Oliver Neukum wrote: > I am using my usb flash stick as a swap space. If I use a few hundred mb > I get a hang in about 30% of the tests. Can anybody replicate this result? I've never tried it, but it doesn't suprise me. There are memory allocation calls

Re: WD My Book 500G external drive: error -110

2008-01-07 Thread Alan Stern
On Sun, 6 Jan 2008, sean darcy wrote: > Alan Stern wrote: > > On Sat, 5 Jan 2008, seandarcy wrote: > > > >> I'm running Fedora 8: > >> > >> uname -r > >> 2.6.23.8-63.fc8 > >> > >> I connected my new Western Digital My Book 500G external drive to the > >> usb port. > >> > >> syslog: > >> > >> Jan

Re: [pl2303 regression] Linux 2.6.23 breaks gpsbabel's DG-100 support (SOLVED)

2008-01-07 Thread Mirko Parthey
On Mon, Jan 07, 2008 at 12:42:03PM +, Alan Cox wrote: > Please try the following > > drivers/char/tty_ioctl.c| 19 +++ > drivers/usb/serial/pl2303.c |7 +++ > include/linux/tty.h |1 + > 3 files changed, 27 insertions(+) Your patch works fine here, the re

[RFC] Autosuspend for usb-storage (based on SCSI dynamic PM)

2008-01-07 Thread Alan Stern
This patch implements autosuspend and autoresume for usb-storage. It is based on the SCSI Dynamic PM patch just posted on linux-scsi and linux-pm. Note: For testing, you will have to set the power/level attribute (and possibly also power/autosuspend) for both the SCSI device and the USB devic

Re: cannot submit datapipe for urb 0, error -28: not enough bandwidth

2008-01-07 Thread David Brownell
On Wednesday 19 December 2007, Russell Senior wrote: > > I have an application on an embedded device. It was all happily > working with a usb-storage device, a pl2303-based gps device and a > usb-audio device plugged into a usb2 hub. By which you evidently mean "high speed hub". Full speed hub

Re: hangs swapping on usb storage

2008-01-07 Thread Pete Zaitcev
On Mon, 7 Jan 2008 15:51:39 +0100, Oliver Neukum <[EMAIL PROTECTED]> wrote: > I am using my usb flash stick as a swap space. If I use a few hundred mb > I get a hang in about 30% of the tests. Can anybody replicate this result? Does ub work? :-) Seriously though, it's a long-standing problem. So

Re: hangs swapping on usb storage

2008-01-07 Thread Oliver Neukum
Am Montag, 7. Januar 2008 21:44:35 schrieb Pete Zaitcev: > On Mon, 7 Jan 2008 15:51:39 +0100, Oliver Neukum <[EMAIL PROTECTED]> wrote: > > > I am using my usb flash stick as a swap space. If I use a few hundred mb > > I get a hang in about 30% of the tests. Can anybody replicate this result? > >

Re: hangs swapping on usb storage

2008-01-07 Thread Pete Zaitcev
On Mon, 7 Jan 2008 21:51:18 +0100, Oliver Neukum <[EMAIL PROTECTED]> wrote: > I must admit that testing ub didn't occur to me. I will do so tomorrow. Ub > does not use a kernel thread, does it? I used to harp on the thread but I really shouldn't have. It is a part of the story, the other part is

Re: Kingston Datatraveler

2008-01-07 Thread Alan Stern
On Thu, 3 Jan 2008, Brian Murphy wrote: > Hi, > > I tried this but it has the same result. I'm afraid I'm out of good ideas. You can try playing around with the code in drivers/usb/storage/transport.c, adding delays here and there to see if they make any difference. Alan Stern - To unsubscrib

Re: Kingston Datatraveler

2008-01-07 Thread Pete Zaitcev
On Mon, 7 Jan 2008 16:36:56 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> wrote: > I'm afraid I'm out of good ideas. You can try playing around with the > code in drivers/usb/storage/transport.c, adding delays here and there > to see if they make any difference. Sorry for repeating this, but usbmo

Re: Oops in evdev_disconnect for kernel 2.6.23.12

2008-01-07 Thread Greg KH
On Fri, Jan 04, 2008 at 12:12:08AM +0100, Berthold Cogel wrote: > I'm using Debian stable/testing/unstable with homemade kernel 2.6.23.12 > (patched with tuxonice-3.0-rc3-for-2.6.23.9). Can you see if the 2.6.24-rc7 kernel still has this problem or not? thanks, greg k-h - To unsubscribe from thi

Re: [patch 2.6.24-rc6] usb gadget: fix fsl_usb2_udc potential OOPS

2008-01-07 Thread Greg KH
On Thu, Jan 03, 2008 at 10:04:40AM -0800, David Brownell wrote: > From: Li Yang <[EMAIL PROTECTED]> > > For fsl_usb2_udc driver, ep0 also has a descriptor. Current code is > misleading and contains a logical mistake. Here is the patch to fix it. > > http://bugzilla.kernel.org/show_bug.cgi?id=9