Re: Periodic USB failure

2008-01-20 Thread Jon Smirl
On 1/20/08, David Brownell <[EMAIL PROTECTED]> wrote: > > > > Sorry ... I thought he had posted lcpci showing a NEC controller > > > with EHCI *and* OHCI. > > > > It is a NEC controller with both. But I have 1.0 hub plugged in with > > three 1.0 devices in it. The 1.0 hub causes the OHCI controlle

Re: Periodic USB failure

2008-01-20 Thread David Brownell
> > Sorry ... I thought he had posted lcpci showing a NEC controller > > with EHCI *and* OHCI. > > It is a NEC controller with both. But I have 1.0 hub plugged in with > three 1.0 devices in it. The 1.0 hub causes the OHCI controller in > the NEC to be used. > > I have had even worse luck tryin

Re: Periodic USB failure

2008-01-20 Thread Jon Smirl
On 1/20/08, David Brownell <[EMAIL PROTECTED]> wrote: > On Sunday 20 January 2008, Alan Stern wrote: > > On Sun, 20 Jan 2008, David Brownell wrote: > > > > > Some patches for managing periodic _completions_ have been posted > > > recently. You might try those ... I suspect they wouldn't affect > >

Re: Periodic USB failure

2008-01-20 Thread David Brownell
On Sunday 20 January 2008, Alan Stern wrote: > On Sun, 20 Jan 2008, David Brownell wrote: > > > Some patches for managing periodic _completions_ have been posted > > recently. You might try those ... I suspect they wouldn't affect > > this behavior, but it'd be good to know for sure. > > > > I d

Re: Periodic USB failure

2008-01-20 Thread Jon Smirl
On 1/20/08, Alan Stern <[EMAIL PROTECTED]> wrote: > On Sun, 20 Jan 2008, David Brownell wrote: > > > Some patches for managing periodic _completions_ have been posted > > recently. You might try those ... I suspect they wouldn't affect > > this behavior, but it'd be good to know for sure. > > > >

Re: PATCH: usb-storage-set-last-sector-bug-flag.patch

2008-01-20 Thread Alan Stern
On Sun, 20 Jan 2008, Greg KH wrote: > On Sun, Jan 20, 2008 at 11:27:29AM +0100, Hans de Goede wrote: > > Hi all, > > > > This patch sets the last_sector_bug flag to 1 for all USB disks. This is > > needed to makes the cardreader on various HP multifunction printers work. > > > > Since the performa

Re: [usb-storage] PATCH: usb-storage-set-last-sector-bug-flag.patch

2008-01-20 Thread Guillaume Bedot
Le dimanche 20 janvier 2008 à 15:03 -0600, James Bottomley a écrit : > On Sun, 2008-01-20 at 12:56 -0800, Greg KH wrote: > > On Sun, Jan 20, 2008 at 11:27:29AM +0100, Hans de Goede wrote: > > > Hi all, > > > > > > This patch sets the last_sector_bug flag to 1 for all USB disks. This is > > > neede

Re: PATCH: usb-storage-set-last-sector-bug-flag.patch

2008-01-20 Thread Hans de Goede
James Bottomley wrote: On Sun, 2008-01-20 at 12:56 -0800, Greg KH wrote: On Sun, Jan 20, 2008 at 11:27:29AM +0100, Hans de Goede wrote: Hi all, This patch sets the last_sector_bug flag to 1 for all USB disks. This is needed to makes the cardreader on various HP multifunction printers work. Si

Re: PATCH: scsi-sd-last-sector-bug-flag.patch

2008-01-20 Thread Hans de Goede
Greg KH wrote: On Sun, Jan 20, 2008 at 11:12:26AM +0100, Hans de Goede wrote: Hi all, This patch adds a new scsi_device flag for devices which contain a bug where the device crashes when the last sector is read in a larger then 1 sector read. This is for example the case with sdcards in the

Re: PATCH: usb-storage-set-last-sector-bug-flag.patch

2008-01-20 Thread James Bottomley
On Sun, 2008-01-20 at 12:56 -0800, Greg KH wrote: > On Sun, Jan 20, 2008 at 11:27:29AM +0100, Hans de Goede wrote: > > Hi all, > > > > This patch sets the last_sector_bug flag to 1 for all USB disks. This is > > needed to makes the cardreader on various HP multifunction printers work. > > > > Sinc

Re: PATCH: usb-storage-set-last-sector-bug-flag.patch

2008-01-20 Thread Greg KH
On Sun, Jan 20, 2008 at 11:27:29AM +0100, Hans de Goede wrote: > Hi all, > > This patch sets the last_sector_bug flag to 1 for all USB disks. This is > needed to makes the cardreader on various HP multifunction printers work. > > Since the performance impact is negible we set this flag for all USB

Re: PATCH: scsi-sd-last-sector-bug-flag.patch

2008-01-20 Thread Greg KH
On Sun, Jan 20, 2008 at 11:12:26AM +0100, Hans de Goede wrote: > Hi all, > > This patch adds a new scsi_device flag for devices which contain a bug > where > the device crashes when the last sector is read in a larger then 1 sector > read. > > This is for example the case with sdcards in the HP P

Re: Periodic USB failure

2008-01-20 Thread Alan Stern
On Sun, 20 Jan 2008, David Brownell wrote: > Some patches for managing periodic _completions_ have been posted > recently. You might try those ... I suspect they wouldn't affect > this behavior, but it'd be good to know for sure. > > I don't recall that you said CONFIG_USB_EHCI_TT_NEWSCHED is se

Re: Periodic USB failure

2008-01-20 Thread David Brownell
Some patches for managing periodic _completions_ have been posted recently. You might try those ... I suspect they wouldn't affect this behavior, but it'd be good to know for sure. I don't recall that you said CONFIG_USB_EHCI_TT_NEWSCHED is set. Try the other setting. That affects the on-the-wir

[PATCH] USB: OTG: Make otg_tpl come from platform_data

2008-01-20 Thread Felipe Balbi
This is applicable to n8X0. It makes otg tpl come from musb_platform_data and be initialized in otg.c This provides a better code style and better handling of otg capable devices. Signed-off-by: Felipe Balbi <[EMAIL PROTECTED]> --- arch/arm/mach-omap2/board-n800-usb.c | 14 +++ drivers

[Resending PATCH 5/5] Make otg tpl come from platform_data

2008-01-20 Thread Felipe Balbi
Hi all, This resend removes a section mismatch error which could cause troubles in future. Disconsider the previous patch please. Best regards, Felipe Balbi [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [EMAIL PROTECTED] M

[PATCH] USB: OTG: Start using new otg tpl.

2008-01-20 Thread Felipe Balbi
Introduces otg_set_error and start using it when we want to show otg_errors. Based on previous patch from Tony Lindgren <[EMAIL PROTECTED]> Signed-off-by: Felipe Balbi <[EMAIL PROTECTED]> --- drivers/usb/core/hub.c | 21 --- drivers/usb/core/otg.c | 127 +++

[Resending PATCH 3/5] Start using new otg tpl

2008-01-20 Thread Felipe Balbi
Hi all, there were a few missing pieces in the later patch 3/5 which I'm fixing in this resend. Please disconsider the other one. Best regards, Felipe Balbi [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [EMAIL PROTECTED] Mor

Re: PATCH: scsi-sd-last-sector-bug-flag.patch

2008-01-20 Thread James Bottomley
On Sun, 2008-01-20 at 11:12 +0100, Hans de Goede wrote: > Hi all, > > This patch adds a new scsi_device flag for devices which contain a bug where > the device crashes when the last sector is read in a larger then 1 sector > read. > > This is for example the case with sdcards in the HP PSC1350

Re: Periodic USB failure

2008-01-20 Thread Alan Stern
On Sat, 19 Jan 2008, Jon Smirl wrote: > I see that the device has an audio input (not exposed externally). Do > the audio inputs consume time slots and I have six streams instead of > three? I'm not using the input streams. If they aren't being used then they don't consume time slots. By the way

PATCH: usb-storage-set-last-sector-bug-flag.patch

2008-01-20 Thread Hans de Goede
Hi all, This patch sets the last_sector_bug flag to 1 for all USB disks. This is needed to makes the cardreader on various HP multifunction printers work. Since the performance impact is negible we set this flag for all USB disks to avoid an unusual_devs.h nightmare. Note that this patch depend

Re: PATCH: usb-storage-psc1350-v4.patch (was Linux scsi / usb-mass-storage and HP printer cardreader bug + fix)

2008-01-20 Thread Hans de Goede
James Bottomley wrote: On Mon, 2008-01-14 at 20:27 +0100, Hans de Goede wrote: James Bottomley wrote: Plus what is the rq->nr_sectors > sdp->sector_size / 512 test supposed to be doing? that being true is supposed to be a guarantee of the block layer (and if something goes wrong there's a chec

PATCH: scsi-sd-last-sector-bug-flag.patch

2008-01-20 Thread Hans de Goede
Hi all, This patch adds a new scsi_device flag for devices which contain a bug where the device crashes when the last sector is read in a larger then 1 sector read. This is for example the case with sdcards in the HP PSC1350 printer cardreader and in the HP PSC1610 printer cardreader. Signed-of

RE: Periodic USB failure

2008-01-20 Thread Mike Moreton
Jon, > I will need to figure out how to build a kernel for the thing to turn > on CONFIG_USB_DEBUG. I'm willing to help you through this if you want - email me off list. Mike. > Date: Sat, 19 Jan 2008 17:52:27 -0500 > From: [EMAIL PROTECTED] > To: [EMAI

Re: USB_SC_* vs USB_PR_* in unusual_dev.h

2008-01-20 Thread Grant Grundler
On Sat, Jan 19, 2008 at 10:09:47PM -0800, Matthew Dharm wrote: > On Sat, Jan 19, 2008 at 09:25:57PM -0700, Grant Grundler wrote: > > Hi, > > I'm slightly confused by this declaration in drivers/usb/storage/usb.c: > > #define UNUSUAL_DEV(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax, \ > >