[linux-usb-devel] PATCH: (as31) USB root hub polling stops after suspend

2003-06-09 Thread Alan Stern
as with non-root hubs, if you want the periodic interrogations to stop during a suspend then the URB should be unlinked. So I moved the check for whether the HC is running to the place where the timer is first started when the URB is submitted, instead of checking whenever the timer expires. Alan

[linux-usb-devel] PATCH: Use separate transport_flags bits for transfer_dma andsetup_dma

2003-06-09 Thread Alan Stern
for control transfers. I also fixed a bug in usb_hcd_giveback_urb(), whereby the code would attempt to unmap the buffers even for non-DMA host controllers. Alan Stern # This is a BitKeeper generated patch for the following project: # Project Name: greg k-h's linux 2.5 USB kernel tree # This patch

[linux-usb-devel] Re: PATCH: Use separate transport_flags bits for transfer_dma andsetup_dma

2003-06-10 Thread Alan Stern
, but that shouldn't hurt -- especially since no drivers currently use usb_buffer_map()! Alan Stern --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features

Re: [linux-usb-devel] usb-storage and rescan-scsi-bus.sh in 2.4

2003-06-10 Thread Alan Stern
it back to the same scsi entry. This behavior has been changed in 2.5, where the scsi entry does go away when you unplug the drive. Alan Stern --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger

Re: [linux-usb-devel] usb-storage and rescan-scsi-bus.sh in 2.4

2003-06-10 Thread Alan Stern
to recognize that the new disk is a different device and assign it a different scsi host number. It does this by comparing vendor/product ID's and serial numbers. So your old disk would still be sdb1 and would still be inaccessible, while the new disk would be sdc1. Alan Stern

Re: [linux-usb-devel] host controller process error: who done it?

2003-06-10 Thread Alan Stern
it would make the schedule inconsistent. It's a puzzling problem. Alan Stern --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed

Re: [linux-usb-devel] Re: When is the next BK pull going to happen?

2003-06-11 Thread Alan Stern
doesn't contain anything. Thanks, Alan Stern --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free

[linux-usb-devel] PATCH: (as31) Keep root hub status timer running during suspend

2003-06-11 Thread Alan Stern
Greg: Not having heard any complaints about this patch, I'm submitting it. It fixes a problem with the root hub status URB implementation; the timer that controls the root hub polling was not getting reset during a PM suspend. Alan Stern # This is a BitKeeper generated patch

Re: [linux-usb-devel] Pontis SP600 + 2.4.20 = kernel panic

2003-06-11 Thread Alan Stern
rely on it to store your files correctly, why do you want to hook it up to your computer at all? Alan Stern --- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com

Re: [linux-usb-devel] Re: When is the next BK pull going to happen?

2003-06-11 Thread Alan Stern
a clean release (like 2.5.70). What about patches against linuxusb.bkbits.net/usb-2.5? Or is that what you meant when you wrote my tree (that's the above link) rather than kernel.bkbits.net/gregkh/usb/usb-2.5-bk? Alan Stern --- This SF.NET email

[linux-usb-devel] scsi error-handler threads

2003-06-11 Thread Alan Stern
Greg that this is a real bug. In the meantime, see if this helps. Alan Stern = class.c 1.30 vs edited = --- 1.30/drivers/base/class.c Tue Jun 3 15:15:17 2003 +++ edited/drivers/base/class.c Wed Jun 11 14:50:39 2003 @@ -282,8 +282,12 @@ class_device_driver_link(class_dev

[linux-usb-devel] PATCH: (as32c) Use separate transport_flags bits for transfer_dmaand setup_dma

2003-06-12 Thread Alan Stern
-transfer_flags |= URB_NO_DMA_MAP; to + kaweth-irq_urb-transfer_flags |= URB_NO_TRANSFER_DMA_MAP; Alan Stern # This is a BitKeeper generated patch for the following project: # Project Name: greg k-h's linux 2.5 USB kernel tree # This patch format is intended for GNU patch command version 2.5 or higher

[linux-usb-devel] Re: PATCH: (as32c) Use separate transport_flags bits for transfer_dmaand setup_dma

2003-06-12 Thread Alan Stern
for the default case. Maybe someone else with, say a USB keyboard and mouse, can try it out and verify that it's okay. Alan Stern --- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http

Re: [linux-usb-devel] PROBLEM: memory stick - timeout

2003-06-13 Thread Alan Stern
been some changes in the scsi driver that affect usb-storage at exactly the spot where your log says the device hung. Alan Stern --- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http

Re: [linux-usb-devel] Problem with AIPTEK usb-pendrive

2003-06-13 Thread Alan Stern
On Fri, 13 Jun 2003, Matthias Fuchs wrote: Hi Alan, Alan Stern wrote: Can you try using your device on a regular PC? I did that before. Seems to work under 2.4.18 (SuSE kernel). Can you try using Linux 2.5.70 to see if that helps? No, I cannot try that, since this kernel

Re: [linux-usb-devel] [patch 2.4.21-rc8] ehci-hcd updates

2003-06-14 Thread Alan Stern
the module before plugging the disk in to make things work. That sounds interesting. Can you post a copy of the oops output? Maybe also a copy of the usb-storage debugging log showing what happens when you try to run fdisk? Alan Stern

Re: [linux-usb-devel] Pontis SP600 + 2.4.20 = kernel panic

2003-06-15 Thread Alan Stern
file problem. As I said before, you have to post another copy of the usb-storage debugging log before I can tell the reason for that error message. Quite likely it is a problem with the firmware. But there's no way to know without more information. Alan Stern

Re: [linux-usb-devel] [patch 2.4.21-rc8] ehci-hcd updates

2003-06-16 Thread Alan Stern
. Alan Stern --- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ___ [EMAIL PROTECTED

Re: [linux-usb-devel] [patch 2.4.21-rc8] ehci-hcd updates

2003-06-17 Thread Alan Stern
is reiserfs getting upset about its journalling device going offline. Alan Stern --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You

Re: [linux-usb-devel] [patch 2.4.21-rc8] ehci-hcd updates

2003-06-17 Thread Alan Stern
/sd.c, approximately line 1346, right after the line that says strcpy(gd-devfs_name,sdp-devfs_name); the statement printk(KERN_INFO scsi devfs_name: %s\n, sdp-devfs_name); and then try again plugging in the disk with sd_mod already loaded. Alan Stern

[linux-usb-devel] Accepting new usb-storage unusual_devs.h patches

2003-06-18 Thread Alan Stern
not to back-port the new codes so that unusual_devs.h can remain consistent between the two versions. I'll work on that too. Alan Stern On Wed, 18 Jun 2003, Greg KH wrote: ChangeSet 1.1318.4.11, 2003/06/17 14:38:38-07:00, [EMAIL PROTECTED] [PATCH] USB: Patch for Vivicam 355 drivers/usb

Re: [linux-usb-devel] ehci / usb-storage problems

2003-06-19 Thread Alan Stern
. About possible performance improvement on 2.5 ehci/usb-storage: I've tested with 2.5.71, and I don't see a significant improvement over 2.4. (Both are arround 7.7 MB/s for read, 10 MB/s for write). Disk can do arround 40 MB/s reads on IDE. I don't know what's going on there. Alan Stern

Re: [linux-usb-devel] ehci / usb-storage problems

2003-06-19 Thread Alan Stern
the data. The data doesn't even have to be all there, just enough to fill up the next packet. There's nothing very funny about it -- in fact, in would _really_ be funny if the device could transmit the data _before_ it was there! :-) Alan Stern

Re: [linux-usb-devel] unneeded SubClass (2.5.72)

2003-06-23 Thread Alan Stern
/bus/usb/devices file with both the memory stick reader and the external floppy drive plugged in (or if you prefer, one copy with the reader plugged in and another copy with the drive plugged in). Thanks. Alan Stern --- This SF.Net email

Re: [linux-usb-devel] interface deallocated automatically atusb_disconnect?

2003-06-23 Thread Alan Stern
wanted to get rid of FIXMEs from my driver source. Alan Stern --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly

Re: [linux-usb-devel] unneeded SubClass (2.5.72)

2003-06-23 Thread Alan Stern
Can you also send the /proc/bus/usb/devices information with your floppy drive plugged in? Alan Stern On Mon, 23 Jun 2003, Stelian Pop wrote: Here they are. Stelian. T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D

Re: [linux-usb-devel] host controller process error: who done it?

2003-06-25 Thread Alan Stern
(), which does execute at the right time. Maybe there's a less invasive way to accomplish the same thing, but I can't think of one. Alan Stern --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU

Re: [linux-usb-devel] can usb_disconnect pre-empt?

2003-06-25 Thread Alan Stern
On Wed, 25 Jun 2003, Tuukka Toivonen wrote: Alan Stern wrote: Look at usb-skeleton.c. Exactly this problem was corrected there by adding a static lock a couple of months ago. Thanks for the tip. Although my intention was not to ask how to fix the bug, but point out that ov511.c appears

Re: [linux-usb-devel] unneeded SubClass and Protocol entries

2003-06-25 Thread Alan Stern
the usb-storage driver. Alan Stern --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated

Re: [linux-usb-devel] host controller process error: who done it?

2003-06-25 Thread Alan Stern
. Alan Stern --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http

Re: [linux-usb-devel] host controller process error: who done it?

2003-06-26 Thread Alan Stern
for every queued IN TD and no others. Alan Stern --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission

Re: [linux-usb-devel] Question about module reference counting inVisor driver (2.5.73)

2003-06-27 Thread Alan Stern
for how to fix this in the past on the mailing list, but I don't think they ever went very far. Alan Stern --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now

Re: [linux-usb-devel] host controller process error: who done it?

2003-06-27 Thread Alan Stern
, I'm not certain that it is correct. But it's the only way I could think of that the HC would see those TDs after they were freed, and in any case it's a hole that ought to be plugged. But yes, the fact that it only showed up with queued URBs would be a timing coincidence. Alan Stern

[linux-usb-devel] Re: [usb-storage] Re: PATCH: unusual_devs.h cleanups

2003-06-29 Thread Alan Stern
. However, IGNORE_SER is only present in one entry in unusual_devs.h. There would be no harm in re-introducing that entry back to 2.5, simply by defining the flag to have a value of 0. That way the two versions of the file could remain identical. Alan Stern

Re: [linux-usb-devel] Neuros Audio Device (0451,5409) has unneededSubClass and Protocol

2003-06-30 Thread Alan Stern
you see there. Alan Stern --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http

[linux-usb-devel] Re: [usb-storage] Re: PATCH: unusual_devs.h cleanups

2003-06-30 Thread Alan Stern
On Mon, 30 Jun 2003, Greg KH wrote: On Sun, Jun 29, 2003 at 12:16:01PM -0400, Alan Stern wrote: Perhaps they should be. One patch I sent in not too long ago removed some flag bits that are completely unused in 2.5 and almost, but not quite, entirely unused in 2.4. I believe the two

[linux-usb-devel] Re: SP600 + 2.4.21 = dev not ready WAS: Pontis SP600 + 2.4.20 =kernel panic

2003-06-30 Thread Alan Stern
-MEDIUM-REMOVAL command. However, it's harmless because everything else still works correctly. My advice is just go ahead and ignore those warning messages, since you know that it really is working okay. Alan Stern --- This SF.Net email

Re: [linux-usb-devel] Problems with 2.5.73

2003-07-01 Thread Alan Stern
. What are the problem's symptoms? Can you mount the device? Alan Stern --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter

Re: [linux-usb-devel] usb toggle mechanism

2003-07-01 Thread Alan Stern
feature (see usb_clear_halt()). You will generally have to do this anyway, because when anything goes wrong the device will stall the endpoint. Alan Stern --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports

Re: [linux-usb-devel] Problems with 2.5.73

2003-07-01 Thread Alan Stern
://sourceforge.net/mailarchive/forum.php?thread_id=2693048forum_id=5398 Maybe you can swap notes and see if you can figure anything out. Alan Stern --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce

Re: [linux-usb-devel] Neuros Audio Device (0451,5409) has unneededSubClass and Protocol

2003-07-01 Thread Alan Stern
a period of at least a couple of minutes. With that information, we may be able to say definitely that this is (or is not) a firmware issue. Alan Stern --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E

Re: [linux-usb-devel] Neuros Audio Device (0451,5409) has unneededSubClass and Protocol

2003-07-01 Thread Alan Stern
you've unmounted it! Of course, that's not much help when the device is failing. There's no reason to run a memory test on your machine, contrary to what Joshua Wise suggested. Alan Stern --- This SF.Net email sponsored by: Free pre-built

Re: [linux-usb-devel] usb toggle mechanism

2003-07-02 Thread Alan Stern
driver should do that. Alan Stern --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http

Re: [linux-usb-devel] Neuros Audio Device (0451,5409) has unneededSubClass and Protocol

2003-07-02 Thread Alan Stern
On Tue, 1 Jul 2003, Adam Kessel wrote: On Tue, Jul 01, 2003 at 12:06:14PM -0400, Alan Stern wrote: I think those particular error messages arise because your device has problems handling a command telling it to lock/unlock its door. Does this violate a standard? Is there an appropriate

[linux-usb-devel] Re: Test Patch: 2.5.69 Interrupt Latency

2003-07-04 Thread Alan Stern
has an error similar to the PIIX4. Do you advise me to try 2.5.74? It won't hurt to try. And it might end up working better than 2.5.70. Alan Stern --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E

Re: [linux-usb-devel] [patch 2.4.22-pre2] ehci-hcd updates

2003-07-04 Thread Alan Stern
fixed, the host_reset() function won't even be invoked. And if it is invoked, it should not return SUCCESS -- that would mean it had tried to fix a problem by changing some hardware state when in fact it had not done so. Alan Stern

RE: [linux-usb-devel] [patch 2.4.22-pre2] ehci-hcd updates

2003-07-05 Thread Alan Stern
sort of test using Linux 2.5? Alan Stern --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET

Re: [linux-usb-devel] PATCH: usb-storage support for Sony DSC P*digital camera series

2003-07-05 Thread Alan Stern
On Sat, 5 Jul 2003, Deti Fliegl wrote: Alan Stern wrote: The correct thing to do is to create a new entry in unusual_devs.h. The instructions for submitting such changes are given at the top of the source file. understood and ready to the receive a brown paper bag award. It's somehow

Re: [linux-usb-devel] copy of dmesg

2003-07-05 Thread Alan Stern
-storage driver in future releases of Linux. Alan Stern --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual

[linux-usb-devel] Re: Kernel 2.5.74 USB

2003-07-05 Thread Alan Stern
your chipset as well as the PIIX4. Alan Stern --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio

Re: [linux-usb-devel] [RFC PATCH] unusual devices (Re: usb-storagedoesn't recognize a Sony DSC-P92)

2003-07-06 Thread Alan Stern
and usb-storage modules are loaded, but where the P9 works, the P92 is not accessible. I think this may be due to a missing vendor/product entry. See the thread http://sourceforge.net/mailarchive/forum.php?thread_id=2717053forum_id=5398 Alan Stern

[linux-usb-devel] PATCH: (as53) Small correction to usb-skeleton.c

2003-07-07 Thread Alan Stern
the underlying error. Is there any sort of convention (a la Documentation/CodingStyle) about whether this approach should be used in general? There are _lots_ of places in the kernel where unnecessary checks for NULL pointers are made. Alan Stern = usb-skeleton.c 1.54 vs edited

Re: [linux-usb-devel] Question about writing a USB driver

2003-07-08 Thread Alan Stern
. The transfer flags have nothing to do with the race condition mentioned above. Furthermore, USB_QUEUE_BULK isn't even supported under 2.5 because it's unnecessary -- bulk URBs are always queued. That's one of the ways in which 2.5 is superior to 2.4. Alan Stern

Re: [linux-usb-devel] Need help with USB GPIB driver design

2003-07-08 Thread Alan Stern
a peripheral device management program which would store the configurations in a file, and a hotplug script could read and transmit the file to the driver each time an interface is attached. I hope this is the sort of thing you're looking for... Alan Stern

Re: [linux-usb-devel] Question about writing a USB driver

2003-07-08 Thread Alan Stern
? I think that's right -- if not someone will surely correct me. But I still urge you to start writing your driver for 2.5. When it works okay you can port it back to 2.4. Alan Stern --- This SF.Net email sponsored by: Parasoft Error proof

Re: [linux-usb-devel] Need help with USB GPIB driver design

2003-07-08 Thread Alan Stern
help. Greatly appreciated. Leigh Bassett You're welcome. Alan Stern --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps

Re: [linux-usb-devel] Re: PATCH: (as53) Small correction tousb-skeleton.c

2003-07-09 Thread Alan Stern
On Wed, 9 Jul 2003, Greg KH wrote: On Mon, Jul 07, 2003 at 10:20:32AM -0400, Alan Stern wrote: Greg: This fixes a minor error in usb-skeleton's disconnect() routine: if the interface's private data is NULL, the current code exits without releasing the disconnect_sem semaphore

Re: [linux-usb-devel] JMTek usb-storage device hangs

2003-07-10 Thread Alan Stern
similar to a device mentioned in linux-2.4.18/drivers/usb/storage/unusual_devs.h which is product id 3. I've tried adding a section to unusual_devs.h as suggested by Alan Stern in the above message. That section is: /* Same as above, for product id 5, seems to have similar problem. * Needed

Re: [linux-usb-devel] [PATCH] nokia 5510

2003-07-11 Thread Alan Stern
else, although I might be wrong about that. Alan Stern --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1

Re: [linux-usb-devel] usb mass storage message

2003-07-11 Thread Alan Stern
-storage driver in future releases. I don't know why your camera is showing up as scsi-generic rather than a scsi-disk device under 2.5.75. Maybe someone else on the list can answer that. Alan Stern --- This SF.Net email sponsored

Re: [linux-usb-devel] unneeded SubClass (2.5.72)

2003-06-24 Thread Alan Stern
in the Flashbuster-U entry should definitely be US_PR_DEVICE. Quite likely the US_PR_CB in the Memorystick entry should also be US_PR_DEVICE -- the /proc/bus/usb/devices info says that ought to work. I would appreciate it if you try it and let me know if it really does work okay. Alan Stern

Re: [linux-usb-devel] can usb_disconnect pre-empt?

2003-06-25 Thread Alan Stern
_static_ lock. Many examples can be found in the kernel sources. Right. So let's look at drivers/usb/ov511.c (2.4.21). Look at usb-skeleton.c. Exactly this problem was corrected there by adding a static lock a couple of months ago. Alan Stern

[linux-usb-devel] Re: PATCH: (as31) USB root hub polling stops after suspend

2003-06-25 Thread Alan Stern
the same effect as your patch but in a slightly different way. Comments? How does this work? It's a smaller change, against BK-current. But maybe David will prefer to change ohci-pci.c instead. Alan Stern = hcd.c 1.107 vs edited = --- 1.107/drivers/usb/core/hcd.cThu Jun 12 10:28

Re: [linux-usb-devel] Neuros Audio Device (0451,5409) has unneededSubClass and Protocol

2003-06-30 Thread Alan Stern
shut down. If I try to *remount* the drive at this point or reload the uhci-hcd module, the process gets stuck irretrievably. Again, debugging output and the kernel log from the segfault would be useful. Alan Stern --- This SF.Net email

Re: [linux-usb-devel] usb toggle mechanism

2003-07-01 Thread Alan Stern
, you can't directly create or store any information in a TD; all the TDs are set up and controlled by the HC driver. The driver knows when to set the bit because it keeps track of every packet it sends and the state of every endpoint in every device it's connected to. Alan Stern

Re: [linux-usb-devel] Another question about writing a USB driver

2003-07-14 Thread Alan Stern
plugged in. Alan Stern --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ [EMAIL

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

2003-07-15 Thread Alan Stern
and then hangs. It might help to see how it is able to reply properly with a different version of the driver. Also include a copy of /proc/bus/usb/devices, just to be thorough. Alan Stern --- This SF.Net email sponsored by: Parasoft Error

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

2003-07-15 Thread Alan Stern
without a small hiccup. Try rebuilding your kernel and enabling USB debugging and usb-storage debugging. Although this produces a lot of debugging messages in the system logs, it might indicate where the problem lies. Alan Stern

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

2003-07-15 Thread Alan Stern
that will include this entry plus a couple of others. Alan Stern --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1

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

2003-07-16 Thread Alan Stern
things started to go wrong. Alan Stern --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free

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

2003-07-16 Thread Alan Stern
if an urbp is still on that list. But that only happens if you have configured USB debugging in your kernel. If you haven't done that, try running the test again with USB debugging on. Or if you already have, look through the system log for messages from the uhci driver. Alan Stern

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

2003-07-16 Thread Alan Stern
On Wed, 16 Jul 2003, Charles Lepple wrote: Alan Stern said: This is a problem in uhci-hcd. A struct urbp (private data structure) is being accessed after it has been freed. More specifically, the list of unlinked URBs (uhci-urb_remove_list) has been corrupted: it points

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

2003-07-16 Thread Alan Stern
. The presence or absence of the firmware doesn't seem to affect whether this bug comes up. Alan Stern --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING

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

2003-07-16 Thread Alan Stern
. And EPIPE is often not handled. It's cleanup time now :-) It's an unglamorous job, and I'm grateful that you're doing it. Alan Stern --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems

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

2003-07-17 Thread Alan Stern
the test, it will print out the actual length in the system log. Let us know when you've got the results ready. Alan Stern = sd.c 1.52 vs edited = --- 1.52/drivers/scsi/sd.c Tue Jul 1 17:54:19 2003 +++ edited/drivers/scsi/sd.cThu Jul 17 10:52:10 2003 @@ -1135,6 +1135,7

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

2003-07-17 Thread Alan Stern
and the diagnostic patch I sent yesterday. Alan Stern = uhci-hcd.c 1.53 vs edited = --- 1.53/drivers/usb/host/uhci-hcd.cWed Jul 2 12:28:41 2003 +++ edited/drivers/usb/host/uhci-hcd.c Thu Jul 17 12:02:10 2003 @@ -1534,11 +1534,11 @@ break; } - urbp-status

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

2003-07-17 Thread Alan Stern
On Thu, 17 Jul 2003, Charles Lepple wrote: Alan Stern said: The information in the -g4 log was helpful. Here's another patch, which is my attempt to fix the bug. It actually changes two things: Cool, thanks! No more kernel panics-- my filesystem thanks you. However, the test still

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

2003-07-17 Thread Alan Stern
On Thu, 17 Jul 2003, David Brownell wrote: Alan Stern wrote: Remove_list is a list of URBs that were unlinked by the user. Complete_list is a list of URBs that are ready to be sent to giveback_urb(), either because they completed or because they were unlinked. The URB's hcd-private

[linux-usb-devel] PATCH: (as64) Handle over current inputs on all Intel controllers

2003-07-17 Thread Alan Stern
. It seems best just to check for Intel being the manufacturer, especially since it doesn't hurt to check for the condition when it isn't present or is only temporary. Please apply. Alan Stern = uhci-hcd.c 1.53 vs edited = --- 1.53/drivers/usb/host/uhci-hcd.cWed Jul 2 12:28:41 2003

[linux-usb-devel] UHCI driver: urb-status and urbp-status

2003-07-17 Thread Alan Stern
, looking through the code it appears that urbp-status is completely unnecessary, since it should pretty much always be equal to urb-status. Is there any reason for keeping urbp-status? Alan Stern P.S.: In addition, when URBs are dequeued, they should be added to the _tail_ of remove_list. That way

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

2003-07-17 Thread Alan Stern
the device misbehavior prevented the queue from being processed correctly, that would explain the out of order for subcase 3. Can you suggest any additional diagnostics that might help? Alan Stern --- This SF.net email is sponsored by: VM Ware

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

2003-07-17 Thread Alan Stern
that the USB controller itself is broken -- talk about grasping at straws! Alan Stern --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows

[linux-usb-devel] Re: UHCI driver: urb-status and urbp-status

2003-07-17 Thread Alan Stern
On Thu, 17 Jul 2003, Johannes Erdfelt wrote: On Thu, Jul 17, 2003, Alan Stern [EMAIL PROTECTED] wrote: A bug has turned up in the UHCI driver. Briefly, when an URB completes, uhci_transfer_result() doesn't store the status in urb-status but only in urbp-status. urb-status is set just

Re: [linux-usb-devel] UHCI driver: urb-status and urbp-status

2003-07-17 Thread Alan Stern
. Alan Stern --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http

Re: [linux-usb-devel] UHCI driver: urb-status and urbp-status

2003-07-17 Thread Alan Stern
driver won't touch the URB _at all_ once it has been submitted until the completion callback. So I don't see what the danger is. Alan Stern --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems

Re: [linux-usb-devel] UHCI driver: urb-status and urbp-status

2003-07-18 Thread Alan Stern
that this behavior is a bug. IMHO the only way to learn whether an URB can be unlinked is to try it. Is there any point in the code that tries to determine whether an URB can be unlinked without actually trying it? Alan Stern --- This SF.net

Re: [linux-usb-devel] UHCI driver: urb-status and urbp-status

2003-07-18 Thread Alan Stern
On Thu, 17 Jul 2003, Pete Zaitcev wrote: Date: Thu, 17 Jul 2003 23:01:42 -0400 (EDT) From: Alan Stern [EMAIL PROTECTED] [...] But a properly-written driver won't touch the URB _at all_ once it has been submitted until the completion callback. I said the same. It cannot look

Re: [linux-usb-devel] HCDs' module use count

2003-07-18 Thread Alan Stern
to have the same effect as rmmod-ing the HCD. Alan Stern --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines

Re: [linux-usb-devel] usb-storage - huge memory consumption, systemhangs

2003-07-18 Thread Alan Stern
in the log. Alan Stern --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here

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

2003-07-18 Thread Alan Stern
Charles: Just for kicks, try applying this patch and running test 10. I don't really know if it ought to make a significant difference, but it might. This is kind of a shot in the dark. Alan Stern = uhci-hcd.c 1.54 vs edited = --- 1.54/drivers/usb/host/uhci-hcd.cThu Jul 17 12

Re: [linux-usb-devel] UHCI driver: urb-status and urbp-status

2003-07-18 Thread Alan Stern
to mean that. You take unlink to mean eventually call the completion handler with urb-status equal to -ENOENT or -ECONNRESET, regardless of what the lower level driver or the hardware does. Bearing that in mind... On Fri, 18 Jul 2003, David Brownell wrote: Alan Stern wrote: On Fri, 18 Jul 2003

Re: [linux-usb-devel] UHCI driver: urb-status and urbp-status

2003-07-18 Thread Alan Stern
that information for an unlinked URB in any event. Alan Stern --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual

Re: [linux-usb-devel] Re: [Linux-usb-users] dsc v1 problem

2003-07-19 Thread Alan Stern
at all. Both devices should work fine with the most recent versions of the kernel. Try 2.4.22. Alan Stern --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING

Re: [linux-usb-devel] usb-storage - huge memory consumption, systemhangs

2003-07-19 Thread Alan Stern
could do about it? (heh - maybe I have to learn to write my own driver... or just sell this stupid thing :( ) You could try configuring usb-storage debugging on in your kernel. The debugging messages will help to show more precisely where your problem comes from. Alan Stern

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

2003-07-20 Thread Alan Stern
, hcd_endpoint_disable() has an irq-related error, and hub_events() could stand to be written a little more defensively. Alan Stern --- 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] unneeded SubClass and Protocol entries inunusual_devs.h

2003-07-21 Thread Alan Stern
to help improve the usb-storage driver in later releases. Alan Stern --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual

[linux-usb-devel] Patch (as63) Fix usbtest problems

2003-07-21 Thread Alan Stern
of my tests, and of course the driver just hung. Free the usbtest_dev structure! This was a rather surprising memory leak. Alan Stern = usbtest.c 1.30 vs edited = --- 1.30/drivers/usb/misc/usbtest.c Mon Jul 14 16:35:15 2003 +++ edited/drivers/usb/misc/usbtest.c Mon Jul 21

[linux-usb-devel] Patch: (as64) Fix irq problem in hcd_endpoint_disable()

2003-07-21 Thread Alan Stern
. In fact, since the routine ends with might_sleep() anyway, I don't see any reason to save the interrupt state at all. My patch just disables interrupts at the start and enables them at the end. I'm not sure that's how you intended it to work, so you may want to change it a little. Alan Stern

[linux-usb-devel] Patch: (as65) Rearrange hub port event processing

2003-07-21 Thread Alan Stern
be more like the traditional division of labor into top halves (which do just enough to turn off a device's interrupt request) and bottom halves (which do the actual work). Alan Stern = hub.c 1.112 vs edited = --- 1.112/drivers/usb/core/hub.cFri Jun 20 13:12:57 2003 +++ edited

[linux-usb-devel] Re: Patch: (as65) Rearrange hub port event processing

2003-07-21 Thread Alan Stern
Sorry, my original posting had a missing '}'. Here's the corrected version. Alan Stern = hub.c 1.112 vs edited = --- 1.112/drivers/usb/core/hub.cFri Jun 20 13:12:57 2003 +++ edited/drivers/usb/core/hub.c Mon Jul 21 11:35:07 2003 @@ -876,13 +876,6 @@ unsigned int

<    1   2   3   4   5   6   7   8   9   10   >