Re: [linux-usb-devel] [usb-storage] Question about usb sg handling

2007-06-19 Thread Oliver Neukum
Am Dienstag, 19. Juni 2007 schrieb Pete Zaitcev: On Tue, 19 Jun 2007 11:11:18 +0800, jidong xiao [EMAIL PROTECTED] wrote:   But I remember, the reason we use sg is that, we can transfer several buffers in one DMA operation, thus we can speed things up accordingly because we turned

[linux-usb-devel] [PATCH] fsl_usb2_udc: fix bug for portsc bit masking

2007-06-19 Thread Li Yang
Fix a bug that PORT_TYPE and PORT_WIDTH aren't masked correctly in portsc. Signed-off-by: Christopher Cason [EMAIL PROTECTED] Signed-off-by: Li Yang [EMAIL PROTECTED] --- drivers/usb/gadget/fsl_usb2_udc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [linux-usb-devel] Error -71 on device descriptor read/all

2007-06-19 Thread Chuck Ebbert
On 06/19/2007 10:45 AM, Renato S. Yamane wrote: Hi, I see this in dmesg: usb 1-1: device descriptor read/all, error -71 Using 2.6.21.1 Someone know what it is? Try disabling CONFIG_USB_SUSPEND [usb developers: what are the drawbacks of doing this?]

Re: [linux-usb-devel] Error -71 on device descriptor read/all

2007-06-19 Thread Jiri Kosina
[ OK, it probably seems like a faulty hardware (controller or the device itself), which is not able to run at high speed, but runs nicely on full speed. Do you have a chance to try another high speed device in this machine to check whether it works? Adding linux-usb-devel into CC ,

Re: [linux-usb-devel] Error -71 on device descriptor read/all

2007-06-19 Thread Oliver Neukum
Am Dienstag, 19. Juni 2007 schrieb Chuck Ebbert: Try disabling CONFIG_USB_SUSPEND [usb developers: what are the drawbacks of doing this?] Increased power consumption. Regards Oliver - This

[linux-usb-devel] ALi M5273 not working reliably

2007-06-19 Thread Guillaume Bedot
Hello, I've just tried a PCI to USB2 card with a ALi M5273 A1 chip. Transferring a big file (a few hundreds MB) to an USB stick fails. Is this chip supposed to be supported ? Is there some sonfig trick to use ? How can I help ? Three things come to my mind. I can make some tests, or give / mail

Re: [linux-usb-devel] Error -71 on device descriptor read/all

2007-06-19 Thread Paul Walmsley
On Tue, 19 Jun 2007, Oliver Neukum wrote: Am Dienstag, 19. Juni 2007 schrieb Chuck Ebbert: Try disabling CONFIG_USB_SUSPEND [usb developers: what are the drawbacks of doing this?] Increased power consumption. speaking of CONFIG_USB_SUSPEND, I've encountered at least one device -- a Canon

Re: [linux-usb-devel] Zonet ZUN2210

2007-06-19 Thread Jon Smirl
On 6/18/07, James Painter [EMAIL PROTECTED] wrote: Jon Smirl wrote: Has anyone tried the Zonet ZUN2210 USB to Ethernet adapter? What chipset is it using? http://www.zonetusa.com/DispProduct.asp?ProductID=81 Googling doesn't give a conclusive answer if it works with Linux. Based on

Re: [linux-usb-devel] FX2: Device not accepting address (dmesg/usbmon output incl.)

2007-06-19 Thread Stephan Esterhuizen
I solved this problem, not linux-specific at all, but figured I'll post the solution here anyways: The Cypress FX2LP chip has a pin labeled RESERVED, on my PCB this pin was left floating but should have been tied to GND (as per documentation). - Stephan Hi, you get that message if nothing

Re: [linux-usb-devel] Question about usb sg handling

2007-06-19 Thread Pete Zaitcev
On Tue, 19 Jun 2007 09:26:15 +0200, Oliver Neukum [EMAIL PROTECTED] wrote: The main problem is that the URB does not have an s/g list. If it did, the whole library would be unnecessary. Nonetheless, we still And that from the man who complained about 24 more bytes in struct urb ;-) I

Re: [linux-usb-devel] ALi M5273 not working reliably

2007-06-19 Thread Oliver Neukum
Am Dienstag, 19. Juni 2007 schrieb Guillaume Bedot: Hello, I've just tried a PCI to USB2 card with a ALi M5273 A1 chip. Transferring a big file (a few hundreds MB) to an USB stick fails. You are not the first to report a failure with ALi chips. Is this chip supposed to be supported ? Yes.

Re: [linux-usb-devel] Question about usb sg handling

2007-06-19 Thread Oliver Neukum
Am Dienstag, 19. Juni 2007 schrieb Pete Zaitcev: On Tue, 19 Jun 2007 09:26:15 +0200, Oliver Neukum [EMAIL PROTECTED] wrote: The main problem is that the URB does not have an s/g list. If it did, the whole library would be unnecessary. Nonetheless, we still And that from the man who

Re: [linux-usb-devel] rx errors reported by usbnet

2007-06-19 Thread Yum Rayan
Following is the patch that we received from our h/w vendor. It seems to correct the issue where we are seeing the ethernet interface accumulate RX errors while USB device is not actually used. We have been testing this for a while and it seems to work. Comments appreciated. Patch is against

[linux-usb-devel] Help tracking down chipset manufacturer for Kingsun KS-959 USB IrDA dongle

2007-06-19 Thread Alex Villací­s Lasso
Sorry if this is not the correct forum for this particular question, but here it goes: I am currently trying to get documentation on the protocol format for the Kingsun KS-959 USB IrDA (07d0:4959) dongle. This dongle is non-standard in many ways. See this post by me to see what I mean:

Re: [linux-usb-devel] Error -71 on device descriptor read/all

2007-06-19 Thread Oliver Neukum
Am Dienstag, 19. Juni 2007 schrieb Paul Walmsley: On Tue, 19 Jun 2007, Oliver Neukum wrote: Am Dienstag, 19. Juni 2007 schrieb Chuck Ebbert: Try disabling CONFIG_USB_SUSPEND [usb developers: what are the drawbacks of doing this?] Increased power consumption. speaking of

Re: [linux-usb-devel] Error -71 on device descriptor read/all

2007-06-19 Thread Alan Stern
On Tue, 19 Jun 2007, Jiri Kosina wrote: [ OK, it probably seems like a faulty hardware (controller or the device itself), which is not able to run at high speed, but runs nicely on full speed. Do you have a chance to try another high speed device in this machine to check whether it

Re: [linux-usb-devel] ALi M5273 not working reliably

2007-06-19 Thread Alan Stern
On Tue, 19 Jun 2007, Guillaume Bedot wrote: Hello, I've just tried a PCI to USB2 card with a ALi M5273 A1 chip. Transferring a big file (a few hundreds MB) to an USB stick fails. Is this chip supposed to be supported ? Is there some sonfig trick to use ? How can I help ? Three things

Re: [linux-usb-devel] Error -71 on device descriptor read/all

2007-06-19 Thread Alan Stern
On Tue, 19 Jun 2007, Paul Walmsley wrote: On Tue, 19 Jun 2007, Oliver Neukum wrote: Am Dienstag, 19. Juni 2007 schrieb Chuck Ebbert: Try disabling CONFIG_USB_SUSPEND [usb developers: what are the drawbacks of doing this?] Increased power consumption. speaking of

Re: [linux-usb-devel] rx errors reported by usbnet

2007-06-19 Thread Alan Stern
On Tue, 19 Jun 2007, Yum Rayan wrote: Following is the patch that we received from our h/w vendor. It seems to correct the issue where we are seeing the ethernet interface accumulate RX errors while USB device is not actually used. What do you mean by not actually used? If it really were not

Re: [linux-usb-devel] [2/2] 2.6.22-rc5: known regressions with patches

2007-06-19 Thread Stephen Hemminger
On Sun, 17 Jun 2007 16:24:00 +0200 Michal Piotrowski [EMAIL PROTECTED] wrote: Hi all, Here is a list of some known regressions in 2.6.22-rc5 with patches available. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions Memory management

Re: [linux-usb-devel] [PATCH] Add URB_FREE_BUFFER flag

2007-06-19 Thread Marcel Holtmann
Hi Greg, here is the patch to add the URB_FREE_BUFFER flag for freeing the transfer buffer together with the URB itself. Please apply. anything wrong with this patch? Regards Marcel - This SF.net email is sponsored by

[linux-usb-devel] [PATCH] Support Blackberry Pearl with berry_charge

2007-06-19 Thread Jeremy Katz
The Blackberry Pearl (8100) needs similar tweaks as older Blackberry models to be able to charge when connected via USB. The Pearl also adds an additional need to go into a separate mode for fully accessing the device; do that by default as well. Changes based on the changes from bcharge in the

[linux-usb-devel] [PATCH] Don't autosuspend Blackberry devices.

2007-06-19 Thread Jeremy Katz
Blackberry devices charge over USB. By autosuspending the port, they are not able to charge reliably. Signed-off-by: Jeremy Katz [EMAIL PROTECTED] --- drivers/usb/core/quirks.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/usb/core/quirks.c

Re: [linux-usb-devel] [PATCH] Add URB_FREE_BUFFER flag

2007-06-19 Thread Greg KH
On Tue, Jun 19, 2007 at 04:44:33PM +0200, Marcel Holtmann wrote: Hi Greg, here is the patch to add the URB_FREE_BUFFER flag for freeing the transfer buffer together with the URB itself. Please apply. anything wrong with this patch? No, sorry, it's in my to-apply queue, was traveling

Re: [linux-usb-devel] [PATCH] Printer Gadget Driver v0.2.0 (kernel

2007-06-19 Thread Craig Nadler
From: Craig W. Nadler [EMAIL PROTECTED] G_PRINTER: Adds a USB printer gadget driver for use in printer firmware. This patch adds a USB printer gadget driver for use in printer firmware. The printer gadget channels data between the USB host and a userspace program driving the print engine. The

Re: [linux-usb-devel] [PATCH] Don't autosuspend Blackberry devices.

2007-06-19 Thread Oliver Neukum
Am Dienstag, 19. Juni 2007 schrieb Jeremy Katz: Blackberry devices charge over USB. By autosuspending the port, they are not able to charge reliably. We made autosuspend configurable on a per device basis through sysfs precisely for such cases. The blacklist is only for devices which crash

Re: [linux-usb-devel] [PATCH] Don't autosuspend Blackberry devices.

2007-06-19 Thread Jeremy Katz
On Wed, 2007-06-20 at 00:12 +0200, Oliver Neukum wrote: Am Dienstag, 19. Juni 2007 schrieb Jeremy Katz: Blackberry devices charge over USB. By autosuspending the port, they are not able to charge reliably. We made autosuspend configurable on a per device basis through sysfs precisely for

Re: [linux-usb-devel] Question about usb sg handling

2007-06-19 Thread jidong xiao
Calm down. We should discuss this problem in a rational way. I believe there should be more stories behind this mail. Even though I am not quite clear about what happened before, but I guess probably you argued on this some time back. So what are the current status? Regards Jason Xiao On

Re: [linux-usb-devel] [PATCH] Don't autosuspend Blackberry devices.

2007-06-19 Thread Oliver Neukum
Am Mittwoch, 20. Juni 2007 schrieb Jeremy Katz: On Wed, 2007-06-20 at 00:12 +0200, Oliver Neukum wrote: Am Dienstag, 19. Juni 2007 schrieb Jeremy Katz: Blackberry devices charge over USB. By autosuspending the port, they are not able to charge reliably. We made autosuspend