Re: [linux-usb-devel] pwc stops if the system is loaded

2003-07-15 Thread Oliver Neukum
Am Montag, 14. Juli 2003 18:10 schrieb David Brownell: Oliver Neukum wrote: Hi all, I've managed to get my stuff running on 2.5 (pfew ... :-) The first experiments show that the camera does *not* die when doing a cat /dev/hda /dev/null on 2.5. Interesting ! I tried a couple of hundred

Re: [linux-usb-devel] pwc stops if the system is loaded

2003-07-15 Thread Oliver Neukum
Particularly after taking a quick glance at the code and not seeing anything that much cared about nonzero fault codes when the urbs are returned. Hi nemosoft, looking at the 2.5 code error handling seems fishy: if (urb-status != -EINPROGRESS urb-status != 0) { char

Re: [linux-usb-devel] PROBLEM: usb-storage: usb to atapi fails

2003-07-15 Thread Alan Stern
On 15 Jul 2003, Daniel Stöckner wrote: I´m not in this list. In earlier Versions of Kernel 2.5., in Version 2.4.21-pre7 and in Windows XP :( it works. It is a Maxtor 120GB Harddisk-drive connected to a USB2 usb-atapi-interface. After some seconds of powering up, the traffic LED turns on and

[linux-usb-devel] [PATCH]fix race between open() and probe()

2003-07-15 Thread Oliver Neukum
Hi, registering the device before setting the interface data can lead to a null pointer being followed in open(). This patch fixes that. Regards Oliver You can import this changeset into BK by piping this whole message to: '| bk receive [path to repository]' or apply the

[linux-usb-devel] [PATCH]fix layering violation in usblp

2003-07-15 Thread Oliver Neukum
Hi, writing urb-status is a no go area for drivers. Regards Oliver You can import this changeset into BK by piping this whole message to: '| bk receive [path to repository]' or apply the patch as usual. ===

[linux-usb-devel] [PATCH 2.4] USB: New vendor/product ids for scanner driver

2003-07-15 Thread Henning Meier-Geinitz
Hi, this patch adds new vendor/product ids for Avision, Canon, HP, Microtek and Relisys scanners. Bye, Henning diff -u -r linux-2.4.22-pre6/drivers/usb/scanner.c linux-2.4.22-pre6.newids8/drivers/usb/scanner.c --- linux-2.4.22-pre6/drivers/usb/scanner.c 2003-07-15 09:44:23.0

[linux-usb-devel] [PATCH 2.6] USB: fix open/probe race in scanner driver

2003-07-15 Thread Henning Meier-Geinitz
Hi, This patch from Oliver Neukum fixes a race between open and probe. Bye, Henning diff -u -r linux-2.6.0-test1/drivers/usb/image/scanner.c linux-2.6.0-test1.openrace/drivers/usb/image/scanner.c --- linux-2.6.0-test1/drivers/usb/image/scanner.c 2003-07-14 05:32:29.0 +0200 +++

[linux-usb-devel] [PATCH 2.6] USB: New vendor/product ids for scanner driver

2003-07-15 Thread Henning Meier-Geinitz
Hi, this patch adds new vendor/product ids for Avision, Canon, HP, Microtek and Relisys scanners. It's on top of the open/probe race patch I've just sent. Bye, Henning diff -u -r linux-2.6.0-test1.openrace/drivers/usb/image/scanner.c linux-2.6.0-test1.newids8/drivers/usb/image/scanner.c ---

[linux-usb-devel] Re: Problems with usb-ohci on 2.4.22-preX

2003-07-15 Thread Roger Larsson
I am not alone then... On lördagen den 12 juli 2003 16.14, Ruben Puettmann wrote: hy, i try to install linux on my new motherboard EPOX 8RDA3+ with nvidia nforce2 chipset. If I try to attached some usb devices ( usb memory stick ) I got this errors ( 2.4.22-pre5 pre2..): I used a

[linux-usb-devel] [PATCH 2.4] USB: fix check for SCN_MAX_MNR in scanner driver

2003-07-15 Thread Henning Meier-Geinitz
Hi, When checking if all minors are used don't read beyond p_scn_table (Sergey Vlasov). Bye, Henning --- linux-2.4.22-pre6.newids8/drivers/usb/scanner.c 2003-07-15 12:01:23.0 +0200 +++ linux-2.4.22-pre6.maxminor/drivers/usb/scanner.c2003-07-15 18:18:35.0 +0200 @@

[linux-usb-devel] [PATCH 2.4] USB: Fix crash when scanners are disconnected while open

2003-07-15 Thread Henning Meier-Geinitz
Hi, This patch fixes the crash that occurs in the scanner driver when the device is disconnected while it's still open and an application tries to call write/read/ioctl. The patch is from Sergey Vlasov. It's the simplest approach I've seen so far (without porting kobject to 2.4). I can't get the

[linux-usb-devel] Re: PATCH: remove now-dead mode-translation code

2003-07-15 Thread Greg KH
On Mon, Jul 14, 2003 at 01:14:09AM -0700, Matthew Dharm wrote: This patch removes all of the mode-translation logic. It's no longer needed, as the upper-level drivers now all issue the proper 10-byte commands. This is a large patch, but what it's doing is removing a great deal of unneeded

[linux-usb-devel] Re: [PATCH] scanner unplug and error handling fix

2003-07-15 Thread Henning Meier-Geinitz
Hi, On Tue, Jul 08, 2003 at 03:50:17PM +0400, Sergey Vlasov wrote: Disconnect handling in the USB scanner driver is buggy. This can be reproduced by unplugging the scanner while it is used by e.g. xsane (the complete oops report is below). Your fix works for me. Thanks! I've send it to

[linux-usb-devel] Re: PATCH: convert ISD200 and Jumpshot to DMA-safe buffer

2003-07-15 Thread Greg KH
On Mon, Jul 14, 2003 at 01:06:29AM -0700, Matthew Dharm wrote: This patch converts the ISD200 and Jumpshot drivers to use the new DMA-safe buffer. Greg, please apply. Applied, thanks. greg k-h --- This SF.Net email sponsored by: Parasoft

[linux-usb-devel] 2.6.0-test1: random errors for USB disk

2003-07-15 Thread Harald Dunkel
Hi folks, I get random errors when reading or writing my USB 2.0 disk with kernel 2.6.0-test1. Just a few minutes ago mkreiserfs got stuck. Syslog says Jul 15 20:05:28 styx kernel: SCSI error : 2 0 0 0 return code = 0x605 Jul 15 20:05:28 styx kernel: end_request: I/O error, dev sdc, sector

Re: [linux-usb-devel] 2.6.0-test1: random errors for USB disk

2003-07-15 Thread David Brownell
Harald Dunkel wrote: Using the same disk on kernel 2.4.21 together with the patches released on June 20th the disk worked very stable. I had written about 40 GByte on this disk without a small hiccup. Since test1 and that 2.4.22-pre1 code are essentially the same in terms of the low level code

Re: [linux-usb-devel] Re: Problems with usb-ohci on 2.4.22-preX

2003-07-15 Thread David Brownell
Roger Larsson wrote: I am not alone then... hub.c: new USB device 00:02.1-3, assigned address 2 usb_control/bulk_msg: timeout usb-ohci.c: unlink URB timeout usb.c: USB device not accepting new address=2 (error=-110) This is exactly what I get (2.4.20). But I use quite different hardware. STPC

[linux-usb-devel] Re: 2.6.0-test1: random errors for USB disk

2003-07-15 Thread Harald Dunkel
Harald Dunkel wrote: Hi folks, I get random errors when reading or writing my USB 2.0 disk with kernel 2.6.0-test1. Just a few minutes ago mkreiserfs got stuck. Syslog says Jul 15 20:05:28 styx kernel: SCSI error : 2 0 0 0 return code = 0x605 Jul 15 20:05:28 styx kernel: end_request: I/O

Re: [linux-usb-devel] 2.6.0-test1: random errors for USB disk

2003-07-15 Thread Harald Dunkel
David Brownell wrote: Harald Dunkel wrote: Using the same disk on kernel 2.4.21 together with the patches released on June 20th the disk worked very stable. I had written about 40 GByte on this disk without a small hiccup. Since test1 and that 2.4.22-pre1 code are essentially the same in terms

Re: [linux-usb-devel] Re: Problems with usb-ohci on 2.4.22-preX

2003-07-15 Thread Greg KH
On Tue, Jul 15, 2003 at 11:34:03AM -0700, David Brownell wrote: I've hardly ever seen ACPI do anything except break USB. Heh, my laptop _requires_ ACPI to get USB to work properly :) greg k-h --- This SF.Net email sponsored by: Parasoft

Re: [linux-usb-devel] Re: Problems with usb-ohci on 2.4.22-preX

2003-07-15 Thread David Brownell
Greg KH wrote: On Tue, Jul 15, 2003 at 11:34:03AM -0700, David Brownell wrote: I've hardly ever seen ACPI do anything except break USB. Heh, my laptop _requires_ ACPI to get USB to work properly :) The fact that I've seen one laptop work with ACPI is the entire reason I said hardly ever ... ;)

[linux-usb-devel] unneeded Protocol entry in unusual_devs.h

2003-07-15 Thread Christoph Heine
Hi, This message appeared in my logs: usb-storage: This device (054c,0010,0430 S ff P 01) has an unneeded Protocol entry in unusual_devs.h Please send a copy of this message to [EMAIL PROTECTED] scsi0 : SCSI emulation for USB Mass Storage devices Vendor: Sony Model: Sony DSC

Re: [linux-usb-devel] 2.6.0-test1: random errors for USB disk

2003-07-15 Thread Alan Stern
On Tue, 15 Jul 2003, Harald Dunkel wrote: Hi folks, I get random errors when reading or writing my USB 2.0 disk with kernel 2.6.0-test1. Just a few minutes ago mkreiserfs got stuck. Syslog says Jul 15 20:05:28 styx kernel: SCSI error : 2 0 0 0 return code = 0x605 Jul 15 20:05:28

Re: [linux-usb-devel] unneeded Protocol entry in unusual_devs.h

2003-07-15 Thread Alan Stern
On Tue, 15 Jul 2003, Christoph Heine wrote: Hi, This message appeared in my logs: usb-storage: This device (054c,0010,0430 S ff P 01) has an unneeded Protocol entry in unusual_devs.h Please send a copy of this message to [EMAIL PROTECTED] scsi0 : SCSI emulation for USB Mass Storage

Re: [linux-usb-devel] 2.6.0-test1: random errors for USB disk

2003-07-15 Thread Harald Dunkel
Hi David, David Brownell wrote: And I notice you still didn't post the details about the disk (and enclosure) in use on USB. IT's really no big surprise that two different hardware+driver stacks don't act the same, even though the (eventually) should. Sorry, I did not realize that you are

Re: [linux-usb-devel] Re: Problems with usb-ohci on 2.4.22-preX

2003-07-15 Thread Roger Larsson
Removed from linux-kernel... On tisdagen den 15 juli 2003 20.34, David Brownell wrote: Roger Larsson wrote: I am not alone then... hub.c: new USB device 00:02.1-3, assigned address 2 usb_control/bulk_msg: timeout usb-ohci.c: unlink URB timeout usb.c: USB device not accepting new

Re: [linux-usb-devel] 2.6.0-test1: random errors for USB disk

2003-07-15 Thread Harald Dunkel
David Brownell wrote: Harald Dunkel wrote: Using the same disk on kernel 2.4.21 together with the patches released on June 20th the disk worked very stable. I had written about 40 GByte on this disk without a small hiccup. Since test1 and that 2.4.22-pre1 code are essentially the same in terms

[linux-usb-devel] usbtest on 2.6.0test1 + EZ-USB FX (no firmware) - oops

2003-07-15 Thread Charles Lepple
I have a somewhat homebrew EZ-USB FX board, and the routing of the D+ and D- lines is a little suspect (the autorouter ignored all of the length matching and impedance criteria). For this reason, I wanted to run usbtest on it to be sure that the routing isn't affecting signal quality too much.

[linux-usb-devel] Re: [patch 2.6.0-test1] gadget zero learns about pxa2xx udc

2003-07-15 Thread Greg KH
On Mon, Jul 14, 2003 at 10:22:43PM -0700, David Brownell wrote: Please merge. Applied, thanks. greg k-h --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT

Re: [linux-usb-devel] [PATCH]fix layering violation in usblp

2003-07-15 Thread Greg KH
On Tue, Jul 15, 2003 at 05:42:21PM +0200, Oliver Neukum wrote: Hi, writing urb-status is a no go area for drivers. Applied, thanks. greg k-h --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems

[linux-usb-devel] Re: [patch 2.6.0-test1] usbtest, autoconfigure from descriptors

2003-07-15 Thread Greg KH
On Mon, Jul 14, 2003 at 10:23:00PM -0700, David Brownell wrote: Not all gadget controllers support ep2in-bulk and ep2out-bulk, unlike the EZ-USB (non-FX2) devices or the net2280. So this patch teaches usbtest how to look at the descriptors it's given, and use the appropriate endpoints. This

[linux-usb-devel] Re: [patch 2.6.0-test1] ohci minor tweaks

2003-07-15 Thread Greg KH
On Mon, Jul 14, 2003 at 07:29:07PM -0700, David Brownell wrote: Two small updates: - Report short control reads correctly in an exotic case that our regression tests cover. (Haven't run them with ohci for a long time, it seems...) - IRQ non-delivery bugs (ACPI, APIC, etc) can

[linux-usb-devel] Re: [patch 2.6.0-test1] ethernet gadget learns about pxa2xx udc

2003-07-15 Thread Greg KH
On Mon, Jul 14, 2003 at 10:23:28PM -0700, David Brownell wrote: Please merge. Applied, thanks. greg k-h --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT

[linux-usb-devel] Re: [patch 2.6.0-test1] usb net drivers SET_NETDEV_DEV

2003-07-15 Thread Greg KH
On Mon, Jul 14, 2003 at 07:29:34PM -0700, David Brownell wrote: I noticed that Viro's use alloc_etherdev patch left a small problem: only usbnet did SET_NETDEV_DEV, and that used the wrong driver model device. This has all the usb network drivers use SET_NETDEV_DEV, so the

[linux-usb-devel] Re: [PATCH 2.6] USB: fix open/probe race in scanner driver

2003-07-15 Thread Greg KH
On Tue, Jul 15, 2003 at 06:02:15PM +0200, Henning Meier-Geinitz wrote: Hi, This patch from Oliver Neukum fixes a race between open and probe. Applied, thanks. greg k-h --- This SF.net email is sponsored by: VM Ware With VMware you can

[linux-usb-devel] Re: [PATCH 2.6] USB: New vendor/product ids for scanner driver

2003-07-15 Thread Greg KH
On Tue, Jul 15, 2003 at 06:04:31PM +0200, Henning Meier-Geinitz wrote: Hi, this patch adds new vendor/product ids for Avision, Canon, HP, Microtek and Relisys scanners. It's on top of the open/probe race patch I've just sent. Applied, thanks. greg k-h

Re: [linux-usb-devel] [PATCH]fix race between open() and probe()

2003-07-15 Thread Greg KH
On Tue, Jul 15, 2003 at 05:38:56PM +0200, Oliver Neukum wrote: Hi, registering the device before setting the interface data can lead to a null pointer being followed in open(). This patch fixes that. Applied, thanks. greg k-h --- This

[linux-usb-devel] Re: usbtest on 2.6.0test1 + EZ-USB FX (no firmware) - oops

2003-07-15 Thread Charles Lepple
Before I round up the ksymoops log (it requires setting up a serial console), should I try testing with a later version of usbtest? Is this a known issue? The log was easier to get than I expected. It's attached. On second glance, it looks like an issue in uhci-hdc. I may be able to test this

[linux-usb-devel] Re: [PATCH 2.4] USB: New vendor/product ids for scanner driver

2003-07-15 Thread Greg KH
On Tue, Jul 15, 2003 at 05:45:03PM +0200, Henning Meier-Geinitz wrote: Hi, this patch adds new vendor/product ids for Avision, Canon, HP, Microtek and Relisys scanners. Applied, thanks. greg k-h --- This SF.net email is sponsored by: VM

[linux-usb-devel] Re: [PATCH 2.4] USB: Fix crash when scanners are disconnected while open

2003-07-15 Thread Greg KH
On Tue, Jul 15, 2003 at 07:30:00PM +0200, Henning Meier-Geinitz wrote: Hi, This patch fixes the crash that occurs in the scanner driver when the device is disconnected while it's still open and an application tries to call write/read/ioctl. The patch is from Sergey Vlasov. It's the simplest

[linux-usb-devel] Re: [PATCH 2.4] USB: fix check for SCN_MAX_MNR in scanner driver

2003-07-15 Thread Greg KH
On Tue, Jul 15, 2003 at 07:23:45PM +0200, Henning Meier-Geinitz wrote: Hi, When checking if all minors are used don't read beyond p_scn_table (Sergey Vlasov). Applied, thanks. greg k-h --- This SF.net email is sponsored by: VM Ware With

Re: [linux-usb-devel] Re: Problems with usb-ohci on 2.4.22-preX

2003-07-15 Thread David Brownell
Roger Larsson wrote: Removed from linux-kernel... On tisdagen den 15 juli 2003 20.34, David Brownell wrote: Roger Larsson wrote: I am not alone then... hub.c: new USB device 00:02.1-3, assigned address 2 usb_control/bulk_msg: timeout usb-ohci.c: unlink URB timeout usb.c: USB device not

Re: [linux-usb-devel] Re: usbtest on 2.6.0test1 + EZ-USB FX (nofirmware) - oops

2003-07-15 Thread David Brownell
Charles Lepple wrote: Before I round up the ksymoops log (it requires setting up a serial console), should I try testing with a later version of usbtest? Is this a known issue? The log was easier to get than I expected. It's attached. On second glance, it looks like an issue in uhci-hdc. I may

Re: [linux-usb-devel] Re: Problems with usb-ohci on 2.4.22-preX

2003-07-15 Thread Roger Larsson
On onsdagen den 16 juli 2003 01.27, David Brownell wrote: Roger Larsson wrote: Removed from linux-kernel... On tisdagen den 15 juli 2003 20.34, David Brownell wrote: Roger Larsson wrote: I am not alone then... hub.c: new USB device 00:02.1-3, assigned address 2 usb_control/bulk_msg:

[linux-usb-devel] [stern@rowland.harvard.edu: [usb-storage] PATCH: (as58) I/O buffering for sddr09]

2003-07-15 Thread Matthew Dharm
Greg, please apply this patch from Alan to 2.5 Matt - Forwarded message from Alan Stern [EMAIL PROTECTED] - Date: Tue, 15 Jul 2003 16:22:01 -0400 (EDT) From: Alan Stern [EMAIL PROTECTED] Subject: [usb-storage] PATCH: (as58) I/O buffering for sddr09 To: Matthew Dharm [EMAIL PROTECTED]

[linux-usb-devel] [stern@rowland.harvard.edu: [usb-storage] PATCH: (as59) Make sddr55 use proper I/O buffering]

2003-07-15 Thread Matthew Dharm
Greg, please apply this patch from Alan to 2.5 Matt - Forwarded message from Alan Stern [EMAIL PROTECTED] - Date: Tue, 15 Jul 2003 16:24:40 -0400 (EDT) From: Alan Stern [EMAIL PROTECTED] Subject: [usb-storage] PATCH: (as59) Make sddr55 use proper I/O buffering To: Matthew Dharm [EMAIL