Re: [linux-usb-devel] ohci: USB devices only detected at boot time

2007-02-14 Thread Alan Stern
bus registered, assigned bus number 2 ohci_hcd :00:01.4: irq 167, io mem 0x1000 If you want to get useful information from the system log, you have to turn on CONFIG_USB_DEBUG. Alan Stern - Take Surveys. Earn Cash

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-14 Thread Alan Stern
On Tue, 13 Feb 2007, Jon Smirl wrote: On 2/13/07, Alan Stern [EMAIL PROTECTED] wrote: It's possible that after resuming, the device is still functional but in some weird state. Perhaps sending it the right sort of HID messages would get it fully working again. But I don't want to mess

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-14 Thread Alan Stern
occurs. Talk to the maintainer of the usb audio driver -- that's where support needs to be added for the suspend, resume, pre_reset, and post_reset methods. Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join

Re: [linux-usb-devel] ohci: USB devices only detected at boot time

2007-02-14 Thread Alan Stern
/state and see what happens when you plug in or remove a device. Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions

[linux-usb-devel] [PATCH] EHCI: turn off remote wakeup during shutdown

2007-02-13 Thread Alan Stern
This patch (as850b) disables remote wakeup (and everything else!) on all EHCI ports when the shutdown() method is called. If remote wakeup is left active then some systems will reboot instead of powering off. This fixes Bugzilla #7828. Signed-off-by: Alan Stern [EMAIL PROTECTED] Cc: David

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-13 Thread Alan Stern
sending it the right sort of HID messages would get it fully working again. But I don't want to mess around with experimenting and writing all sorts of special-purpose programs to test it -- particularly since a simple reset will do the job. Alan Stern

Re: [linux-usb-devel] Howto debug failure to use remote wakup?

2007-02-13 Thread Alan Stern
to put the above call at some other place in the suspend process? I can try to dig other information out of the traces, if someone tells me what to look for. Anything you can't understand... Alan Stern - Using Tomcat

Re: [linux-usb-devel] Problems with USB port and a dongle + recompilation with USB support

2007-02-13 Thread Alan Stern
. For example, setting it to (HZ*60) will cause the suspend to happen only after 60 seconds of inactivity. Or you can prevent USB devices from being suspended entirely by turning off the CONFIG_USB_SUSPEND setting. Alan Stern - Using

Re: [linux-usb-devel] USB device losing power

2007-02-13 Thread Alan Stern
the problem. It's good to have a reliable test case, thanks. Below is a revised version of the diagnostic patch. Try using it instead of the earlier one and let's see what happens. Alan Stern Index: 2.6.20/drivers/usb/host/uhci-hub.c

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-13 Thread Alan Stern
On Tue, 13 Feb 2007, Jon Smirl wrote: On 2/13/07, Jon Smirl [EMAIL PROTECTED] wrote: On 2/13/07, Alan Stern [EMAIL PROTECTED] wrote: It's possible that after resuming, the device is still functional but in some weird state. Perhaps sending it the right sort of HID messages would get

Re: [linux-usb-devel] PATCH: usb: descriptor structures have to be packed

2007-02-12 Thread Alan Stern
accesses to be treated as if they were unaligned, even when the programmer knew they were not. Then there's the pragmatic reason: A lot of code has already been written and would all need to be changed over. Alan Stern

Re: [linux-usb-devel] question on usb_suspend_interface()

2007-02-12 Thread Alan Stern
really think it is needed. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere

Re: [linux-usb-devel] deadlocks in using autopm interfaces

2007-02-12 Thread Alan Stern
special is needed, but getting the locking just right requires a good deal of care; you have to worry about the BKL in addition to the driver's own io_mutex. Alan Stern - Using Tomcat but need to do more? Need to support web

Re: [linux-usb-devel] PATCH: ohci-s3c2410 suspend/resume support

2007-02-12 Thread Alan Stern
ohci-s3c2410.c patch seems to work fine without it. No, it isn't necessary. IMO it should be removed from those other drivers. On the other hand, David Brownell said that it should be left in since it does no real harm. My advice is not to add in new unnecessary code. Alan Stern

Re: [linux-usb-devel] Q: suspend/resume support

2007-02-11 Thread Alan Stern
is a little more complicated than the other two because it also supports autosuspend. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make

Re: [linux-usb-devel] Problem with remote control

2007-02-11 Thread Alan Stern
a special driver. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1

Re: [linux-usb-devel] USB: make usb_iso_packet_descriptor.status signed

2007-02-11 Thread Alan Stern
the corresponding userspace-visible declaration in usbdevice_fs.h? Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job

Re: [linux-usb-devel] Patch for expanded text API in usbmon

2007-02-10 Thread Alan Stern
be signed. Please feel free to fix it. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere

Re: [linux-usb-devel] [RFC] Autosuspend update

2007-02-10 Thread Alan Stern
? There are other ways to resume them from userspace. Opening a device's usbfs file will do it, for instance. (Running lsusb resumes _every_ USB device.) Or simply trying to use the device, since it will resume on demand. Alan Stern

Re: [linux-usb-devel] code review request: simple usb stream interface (susi)

2007-02-09 Thread Alan Stern
URBs does make a very small (10%?) difference in performance, and staring at usbmon, it appears that sometimes I do in fact get multiple callbacks from the same frame. But it's quite rare... Bus analysis is the way to go. Alan Stern

Re: [linux-usb-devel] Gadget Zero patch for ZLP

2007-02-09 Thread Alan Stern
ether.c. It would be enough to have the line say: req-zero = value wLength; as in zero.c. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly

Re: [linux-usb-devel] Blackberry driver and pm

2007-02-09 Thread Alan Stern
On Fri, 9 Feb 2007, Oliver Neukum wrote: Am Donnerstag, 8. Februar 2007 17:09 schrieb Alan Stern: You shouldn't call usb_autopm_get_interface().  The changes it makes are lost when the driver fails to bind to the interface.  You should call usb_autopm_resume_device() instead

Re: [linux-usb-devel] PATCH: usb: descriptor structures have to be packed

2007-02-09 Thread Alan Stern
On Fri, 9 Feb 2007, Sergei Organov wrote: Alan Stern [EMAIL PROTECTED] writes: On Thu, 8 Feb 2007, Sergei Organov wrote: IMHO aligned(N) should be used in portable code only to *increase* alignment (this effectively excludes usage of 'packed'), and then the alignment won't affect

Re: [linux-usb-devel] code review request: simple usb stream interface (susi)

2007-02-09 Thread Alan Stern
for a single URB. From what you wrote, it looked as though you may have misunderstood this. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated

Re: [linux-usb-devel] autosuspend for storage devices

2007-02-09 Thread Alan Stern
, which I haven't ever tried to use. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere

Re: [linux-usb-devel] USB host controller testing in linux

2007-02-09 Thread Alan Stern
the performance of a host controller + USB device combination. One way is to use dd to transfer a large amount of data to or from the device, and see what the throughput is. Alan Stern - Using Tomcat but need to do more? Need

Re: [linux-usb-devel] FX2 Bulk In/Out fails with bulkloop.hex

2007-02-09 Thread Alan Stern
source file Documentation/usb/usbmon.txt) to see what's really happening. [And please instruct your email client to wrap lines at 74 columns or thereabouts.] Alan Stern - Using Tomcat but need to do more? Need to support web

[linux-usb-devel] [PATCH] usbcore: clean up the new blacklist code

2007-02-09 Thread Alan Stern
. Improve some comment texts. Don't log the quirks value if it is 0. Make sysfs display the quirks value in hexadecimal, which will be more informative. Signed-off-by: Alan Stern [EMAIL PROTECTED] --- Index: usb-2.6/drivers/usb/core/message.c

[linux-usb-devel] [RFC] Autosuspend update

2007-02-09 Thread Alan Stern
, posted a few minutes ago. Alan Stern Index: usb-2.6/fs/sysfs/file.c === --- usb-2.6.orig/fs/sysfs/file.c +++ usb-2.6/fs/sysfs/file.c @@ -516,6 +516,30 @@ int sysfs_create_file(struct kobject * k /** + * sysfs_add_file_to_group

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-09 Thread Alan Stern
it will wake up fully... but a reset works just as well. This looks like a prime candidate for a quirks entry. I will create one later on. And I'll mail the device back early next week. Alan Stern - Using Tomcat but need to do more

Re: [linux-usb-devel] autosuspend for storage devices

2007-02-09 Thread Alan Stern
not suspending devices. I am managing vetos. Call it what you will; the effect is the same. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-09 Thread Alan Stern
, keep it as long as you think it will be useful. Stick some speakers on it and check it out, it sounds way better than typical motherboard audio. Not bad for $40. Okay, we'll see what happens. Alan Stern - Using Tomcat

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-09 Thread Alan Stern
the resume event up the stack to wherever this control software is, and the control software is confused about what state it in? As far as I can tell, nothing at all gets reported up the stack. Maybe the usbhid driver needs to do a Get-Report as part of its resume processing. Alan Stern

Re: [linux-usb-devel] [RFC] Autosuspend update

2007-02-09 Thread Alan Stern
On Fri, 9 Feb 2007, Oliver Neukum wrote: Am Freitag, 9. Februar 2007 23:12 schrieb Alan Stern: Firstly, cool. I'll look at it closer again, but just some first comments. +static ssize_t +set_autosuspend(struct device *dev, struct device_attribute *attr, +   const char

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-09 Thread Alan Stern
On Fri, 9 Feb 2007, Jon Smirl wrote: On 2/9/07, Alan Stern [EMAIL PROTECTED] wrote: Are you certain? The mute button is on the top front edge, but the light appears about 2/3 of the way up the front side. (There may be another light right on the mute button as well; I can't remember

Re: [linux-usb-devel] FX2 Bulk In/Out fails with bulkloop.hex

2007-02-09 Thread Alan Stern
arrived. I know for certain, because the host received an ACK in response -- it's in your usbmon log. Probably you were misled because the Set-Interface request cleared the FX2's EP. Alan Stern - Using Tomcat but need to do

Re: [linux-usb-devel] usbmon and iso

2007-02-08 Thread Alan Stern
On Wed, 7 Feb 2007, Pete Zaitcev wrote: Alan, do you happen to know how much usb_iso_packet_descriptor thingies we allocate typically? One? Three? Tens? A hundred? In usbfs we allow 128. If we routinely get lots of them per URB then I need to rethink the line format and all other things. It's

Re: [linux-usb-devel] [patch]fix autosuspend race in skeleton driver

2007-02-08 Thread Alan Stern
that the pointer to the device may become invalid. Here's the fix. A good example of the dangers of relying on BKL for anything serious. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff

Re: [linux-usb-devel] [PATCH] EHCI: disable wakeup on all ports during shutdown

2007-02-08 Thread Alan Stern
On Wed, 7 Feb 2007, Alan Stern wrote: This patch (as850) disables remote wakeup on EHCI ports when the shutdown() method is called. If it is left active then some systems will reboot instead of powering off. This solves Bugzilla #7828. I'm having second thoughts about this patch. First

Re: [linux-usb-devel] hid powersave by autosuspend #2

2007-02-08 Thread Alan Stern
complicated than necessary. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application

Re: [linux-usb-devel] Blackberry driver and pm

2007-02-08 Thread Alan Stern
to the interface. You should call usb_autopm_resume_device() instead -- unfortunately it isn't EXPORTed. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre

Re: [linux-usb-devel] PATCH: usb: descriptor structures have to be packed

2007-02-08 Thread Alan Stern
make up your own.) Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server

Re: [linux-usb-devel] Gadget Zero patch for ZLP

2007-02-08 Thread Alan Stern
= value w_length + (value % gadget-ep0-maxpacket) == 0; value = usb_ep_queue (gadget-ep0, req, GFP_ATOMIC); if (value 0) { DBG (dev, ep_queue -- %d\n, value); Alan Stern

Re: [linux-usb-devel] [PATCH 41/70] usbcore: remove unused bandwith-related code

2007-02-08 Thread Alan Stern
://marc.theaimsgroup.com/?l=linux-usb-develm=117019834316197w=2 which is nearly identical to Andrew's. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology

Re: [linux-usb-devel] code review request: simple usb stream interface (susi)

2007-02-08 Thread Alan Stern
again, not concurrently. For more information, read the kerneldoc in the source file drivers/usb/core/urb.c. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly

Re: [linux-usb-devel] hid powersave by autosuspend #2

2007-02-08 Thread Alan Stern
autosuspend_delay values. All this in addition to the standard device-wide autosuspend delay, which will also be settable via sysfs. The initial timeout value should be set to the maximum of the device-wide delay and the interface delays. Is that right? Alan Stern

Re: [linux-usb-devel] USB host controller testing in linux

2007-02-08 Thread Alan Stern
-storage device. They are meant to be used only with devices which support the special bulk-echo testing protocol. That induces an endpoint error at our hostcontroller layer.I think this may be the reason if i am not wrong.Please guide me in this. You are correct. Alan Stern

[linux-usb-devel] {PATCH] usbcore: fix bug in USB ID matching

2007-02-08 Thread Alan Stern
This patch (as851) fixes a bug introduced when the USB ID matching code was refactored. If any of the device-level matches fail we should reject right away. Instead, when none of the device-level matches fail the current code accepts right away. Signed-off-by: Alan Stern [EMAIL PROTECTED

Re: [linux-usb-devel] code review request: simple usb stream interface (susi)

2007-02-08 Thread Alan Stern
more complicated than that but you get the idea) and partly because the callbacks tend to occur while handling USB controller hardware interrupt requests, which cannot be nested. Alan Stern - Using Tomcat but need to do more

Re: [linux-usb-devel] usbmon and iso

2007-02-08 Thread Alan Stern
to encompass all the packets in the descriptor list (although usbcore doesn't bother to check for that), because transfer_buffer_length is used in setting up the DMA mapping. Alan Stern - Using Tomcat but need to do more

Re: [linux-usb-devel] PATCH: usb: descriptor structures have to be packed

2007-02-08 Thread Alan Stern
consider the alignment attribute to be part of the type, then you can indeed express 16-bit-little-endian-unsigned-integer-unaligned as a C type. In fact __le16 expresses it perfectly all except for the unaligned part, which you agree doesn't belong in the type. Alan Stern

Re: [linux-usb-devel] usb: descriptor structures have to be packed

2007-02-08 Thread Alan Stern
member. That really can't be done. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere

Re: [linux-usb-devel] hid powersave by autosuspend #2

2007-02-08 Thread Alan Stern
timeout value should be set to the maximum of the device-wide delay and the interface delays. Is that right? Yes. Okay, I'll work on it. Alan Stern - Using Tomcat but need to do more? Need to support web services

Re: [linux-usb-devel] usb: descriptor structures have to be packed

2007-02-08 Thread Alan Stern
On Thu, 8 Feb 2007, Phil Endecott wrote: Alan Stern wrote: On Thu, 8 Feb 2007, Phil Endecott wrote: From a higher-level (source code) point of view, the alignment doesn't affect the set of operations which can be applied to the data type. It affects whether you can legally

Re: [linux-usb-devel] code review request: simple usb stream interface (susi)

2007-02-08 Thread Alan Stern
to send a zillion IN tokens only to have the device send a zillion NAKs: it'd suck up bandwidth that could be useful to other devices on the bus. If you don't care very much about throughput, that's fine. Alan Stern

[linux-usb-devel] [PATCH] USB: unconfigure devices which have config 0

2007-02-08 Thread Alan Stern
handling like this, there is no way to unconfigure these non-compliant devices. Signed-off-by: Alan Stern [EMAIL PROTECTED] --- Index: usb-2.6/drivers/usb/core/devio.c === --- usb-2.6.orig/drivers/usb/core/devio.c +++ usb-2.6/drivers

Re: [linux-usb-devel] hid powersave by autosuspend #2

2007-02-07 Thread Alan Stern
to work as before. This way using the maximum delay value should do exactly what you want. Right? Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre

Re: [linux-usb-devel] Howto debug failure to use remote wakup?

2007-02-07 Thread Alan Stern
, the device itself may choose not to report wakeup events. If it isn't configured, for instance, it won't report anything. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done

[linux-usb-devel] Bug in usb_match_one_id()?

2007-02-07 Thread Alan Stern
below needed? If yes, I'll send it with a proper patch comment and S-O-B. Alan Stern Index: usb-2.6/drivers/usb/core/driver.c === --- usb-2.6.orig/drivers/usb/core/driver.c +++ usb-2.6/drivers/usb/core/driver.c @@ -415,8 +415,8

Re: [linux-usb-devel] PATCH: usb: descriptor structures have to be packed

2007-02-07 Thread Alan Stern
(), get_unaligned_be32(), get_unaligned_be64(), and the corresponding put_unaligned...() things? But for some unclear reason people weren't in favor of it. And as a result, the kernel is filled with roll-your-own versions of these things. Alan Stern

Re: [linux-usb-devel] Bug in usb_match_one_id()?

2007-02-07 Thread Alan Stern
On Wed, 7 Feb 2007, Greg KH wrote: On Wed, Feb 07, 2007 at 12:53:31PM -0500, Alan Stern wrote: Greg: When you refactored the USB device-matching code, you may have introduced a bug. Does it seem reasonable that an entry might contain both device-specific and interface-specific

Re: [linux-usb-devel] hid powersave by autosuspend #2

2007-02-07 Thread Alan Stern
On Wed, 7 Feb 2007, Oliver Neukum wrote: Am Mittwoch, 7. Februar 2007 18:40 schrieb Alan Stern: On Wed, 7 Feb 2007, Oliver Neukum wrote: So the answer would not be the largest delay, but the largest delay currently requested to be active. We haven't yet defined how a driver can

Re: [linux-usb-devel] PATCH: usb: descriptor structures have to be packed

2007-02-07 Thread Alan Stern
!) Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based

[linux-usb-devel] [PATCH] EHCI: disable wakeup on all ports during shutdown

2007-02-07 Thread Alan Stern
This patch (as850) disables remote wakeup on EHCI ports when the shutdown() method is called. If it is left active then some systems will reboot instead of powering off. This solves Bugzilla #7828. Signed-off-by: Alan Stern [EMAIL PROTECTED] --- Index: usb-2.6/drivers/usb/host/ehci-hcd.c

Re: [linux-usb-devel] example with io ordering (Re: CDC-ACM driver: data duplication due to throttling)

2007-02-06 Thread Alan Stern
* for spin locks. Locks are used to guarantee that nobody sees an inconsistent state. Therefore memory ordering must be ensured. Documentation/io_ordering.txt Not to mention Documentation/memory_barriers.txt and Documentation/atomic_ops.txt. Alan Stern

Re: [linux-usb-devel] hid powersave by autosuspend #2

2007-02-06 Thread Alan Stern
something like the patch below added instead of your idle timer. (Note: not even compile-tested!) With this infrastructure in place, all you have to do is set_bit(USB_DF_DEVICE_BUSY, hid_to_usb_dev(hid)-dflags); whenever an event occurs. No messing around with extra timers. Alan Stern

Re: [linux-usb-devel] [Patch] cp2101: remove unnecessary kcalloc

2007-02-06 Thread Alan Stern
architectures cannot do DMA to stack memory. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM

Re: [linux-usb-devel] hid powersave by autosuspend #2

2007-02-06 Thread Alan Stern
of the delays. Does that sound right? Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere

[linux-usb-devel] [PATCH] USB: fix concurrent buffer access in the hub driver

2007-02-05 Thread Alan Stern
This patch (as849) fixes a bug in the USB hub driver. A single pre-allocated buffer is used for all port status reads, but nothing guarantees exclusive use of the buffer. A mutex is added to provide this guarantee. Signed-off-by: Alan Stern [EMAIL PROTECTED] --- This patch should go

Re: [linux-usb-devel] USB disconnects in 2.6.20-rc5 (but improved behaviour over earlier RCs)

2007-02-05 Thread Alan Stern
are not shielded well. But I don't have better ideas. Another possibility is a recently-discovered bug in the USB core. Here is a patch to fix the bug; perhaps it will help solve your problem: http://marc.theaimsgroup.com/?l=linux-usb-develm=117068738929326w=2 Alan Stern

[linux-usb-devel] [Linux-usb-users] ehci_hcd with slower FSB than normal (fwd)

2007-02-05 Thread Alan Stern
Someone who knows about PCI and EHCI may be able to answer this... It's odd that the enumeration fails partway through instead of right at the beginning. Alan Stern -- Forwarded message -- Date: Sun, 04 Feb 2007 14:20:52 -0500 From: [EMAIL PROTECTED] To: linux-usb-users

Re: [linux-usb-devel] hub does disconnect when resuming

2007-02-04 Thread Alan Stern
, and it doesn't seem worthwhile to allocate permanently one URB per hub if it will hardly ever be used. Prakash, here's an alternative patch. It should work just as well as the previous one (don't try to apply them both!). Alan Stern Index: usb-2.6/drivers/usb/core/hub.c

Re: [linux-usb-devel] USB kernel / udev issue with Palm Treo 700p

2007-02-04 Thread Alan Stern
to be fixed, none of them are directly connected with the kernel. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job

Re: [linux-usb-devel] hub does disconnect when resuming

2007-02-04 Thread Alan Stern
On Sun, 4 Feb 2007, Prakash Punnoor wrote: Am Sonntag 04 Februar 2007 schrieb Alan Stern: Prakash, here's an alternative patch. It should work just as well as the previous one (don't try to apply them both!). Seems to work fine for me. Nice work! Out of curiousity. Did the git-bisect

Re: [linux-usb-devel] USB kernel / udev issue with Palm Treo 700p

2007-02-04 Thread Alan Stern
. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based

Re: [linux-usb-devel] hub does disconnect when resuming

2007-02-04 Thread Alan Stern
On Sun, 4 Feb 2007, Oliver Neukum wrote: Am Sonntag, 4. Februar 2007 17:07 schrieb Alan Stern: On Sat, 3 Feb 2007, Oliver Neukum wrote: If you want simplicity, I'd suggest serialization. kmalloc for 4 bytes is overkill. I think it is even faster if we block on the cases there's

[linux-usb-devel] Request for change to usbmon

2007-02-03 Thread Alan Stern
. The dropped events may already be listed in the s file, but usually people copy only the t file, and in case correlating the two isn't as easy as seeing the information right there. Having an in-line indication of dropouts could help a lot in debugging tricky problems. Alan Stern

Re: [linux-usb-devel] hub does disconnect when resuming

2007-02-03 Thread Alan Stern
On Sat, 3 Feb 2007, Prakash Punnoor wrote: Am Freitag 02 Februar 2007 schrieb Alan Stern: When you have a chance, please try hooking the scanner up to that bad hub port again, and use the usbmon facility. Instructions are in the kernel source file Documentation/usb/usbmon.txt. Start

Re: [linux-usb-devel] Request for change to usbmon

2007-02-03 Thread Alan Stern
On Sat, 3 Feb 2007, Pete Zaitcev wrote: On Sat, 3 Feb 2007 11:43:50 -0500 (EST), Alan Stern [EMAIL PROTECTED] wrote: Here's an idea for an improvement to the text interface in usbmon which should be easy to implement. I'd like to know for certain when and where events are missing from

Re: [linux-usb-devel] hub does disconnect when resuming

2007-02-03 Thread Alan Stern
seeing. Alan Stern Index: usb-2.6/drivers/usb/core/hub.c === --- usb-2.6.orig/drivers/usb/core/hub.c +++ usb-2.6/drivers/usb/core/hub.c @@ -1422,18 +1422,24 @@ static int hub_port_status(struct usb_hu

Re: [linux-usb-devel] hub does disconnect when resuming

2007-02-03 Thread Alan Stern
On Sat, 3 Feb 2007, Oliver Neukum wrote: Am Samstag, 3. Februar 2007 23:02 schrieb Alan Stern: Obviously we can't afford to use a single dedicated buffer like this.   Each thread reading a hub's port status will have to provide its own buffer, or more simply, we will have to allocate

[linux-usb-devel] hub does disconnect when resuming

2007-02-02 Thread Alan Stern
the scanner up to that bad hub port again, and use the usbmon facility. Instructions are in the kernel source file Documentation/usb/usbmon.txt. Start acquiring the usbmon log before running sane, and stop it after sane has failed. Alan Stern

Re: [linux-usb-devel] Fw: 2 GB SD card problem vs. 2.6.20-rc7 (FAT: Filesystem panic (dev sdc1))

2007-02-02 Thread Alan Stern
. This looks like one of them. What happens if you use the same card and reader under another operating system? Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre

Re: [linux-usb-devel] hub does disconnect when resuming

2007-02-02 Thread Alan Stern
On Fri, 2 Feb 2007, Prakash Punnoor wrote: Am Freitag 02 Februar 2007 schrieb Alan Stern: When you have a chance, please try hooking the scanner up to that bad hub port again, and use the usbmon facility. Instructions are in the kernel source file Documentation/usb/usbmon.txt. Start

[linux-usb-devel] [PATCH] usbcore: small changes to hub driver's suspend method

2007-02-02 Thread Alan Stern
never succeed. Signed-off-by: Alan Stern [EMAIL PROTECTED] --- Index: usb-2.6/drivers/usb/core/hub.c === --- usb-2.6.orig/drivers/usb/core/hub.c +++ usb-2.6/drivers/usb/core/hub.c @@ -1902,6 +1902,7 @@ static int hub_suspend(struct

[linux-usb-devel] [PATCH] EHCI: add debugging message to ehci_bus_suspend

2007-02-02 Thread Alan Stern
This patch (as848) adds a useful little debugging message to let us know when ehci-hcd's bus_suspend method runs. The other HCDs have similar messages; now ehci-hcd doesn't need to feel left out. Signed-off-by: Alan Stern [EMAIL PROTECTED] --- Index: usb-2.6/drivers/usb/host/ehci-hub.c

Re: [linux-usb-devel] patch to autosuspend mice

2007-02-01 Thread Alan Stern
precedence? How does this sound? Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere

Re: [linux-usb-devel] USB kernel / udev issue with Palm Treo 700p

2007-02-01 Thread Alan Stern
On Wed, 31 Jan 2007, Dirk Eddelbuettel wrote: Alan Stern stern at rowland.harvard.edu writes: In fact, it's possible that these problems are caused by bad USB cable connections. They certainly could result in intermittent disconnects. We tried two factory new cables that came

Re: [linux-usb-devel] patch to autosuspend mice

2007-02-01 Thread Alan Stern
Greg, see below... On Thu, 1 Feb 2007, Oliver Neukum wrote: Am Donnerstag, 1. Februar 2007 15:51 schrieb Alan Stern: On Wed, 31 Jan 2007, Oliver Neukum wrote: This would call mod_timer() for every completed in-URB. Are you sure this is better than an approach maintaining a periodical

Re: [linux-usb-devel] USB Interrupt Transfer limited to 1 packet?

2007-02-01 Thread Alan Stern
, code that relies on getting an error from usb_uhci? I don't think people write drivers like that. They prefer to avoid errors. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff

Re: [linux-usb-devel] patch to autosuspend mice

2007-01-31 Thread Alan Stern
with start-up tasks and other initializations and 2 seconds is just not enough time. If the user could put usbcore.autosuspend_delay=60 on the boot command line, then it would be possible to prevent some devices from being autosuspended. Alan Stern P.S.: Nowadays we're supposed to use

Re: [linux-usb-devel] request for test with your quirky drive enclosure

2007-01-31 Thread Alan Stern
to use rather than || ? The idea being, I presume, that the last partition will extend only as far as a pseudo-cylinder boundary. Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay

Re: [linux-usb-devel] autosuspend IRQ trouble

2007-01-31 Thread Alan Stern
from being loaded in the first place. That would certainly solve the problem. :-) Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your

Re: [linux-usb-devel] patch to autosuspend mice

2007-01-31 Thread Alan Stern
hand, you start with autosuspend turned off and then turn it on, none of your idle devices will get autosuspended until some event restarts their autosuspend timers. You would have to run lsusb or do something similar. Alan Stern

Re: [linux-usb-devel] request for test with your quirky drive enclosure

2007-01-31 Thread Alan Stern
is divisible by 63*255 = 16065. The way you're doing it, a capacity of 5355 would pass the test even though it shouldn't. This patch is a result of despair, I am running out of solutions. Some problems are best left unsolved... Alan Stern

Re: [linux-usb-devel] patch to autosuspend mice

2007-01-31 Thread Alan Stern
the advantages or disadvantages? Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere

[linux-usb-devel] [PATCH] Fix fallout from usbcore bandwidth removal

2007-01-30 Thread Alan Stern
This patch (as845) cleans up some fallout from the removal of the usbcore bandwidth machinery. Signed-off-by: Alan Stern [EMAIL PROTECTED] --- Note that Andrew Morton has already applied the first hunk to the -mm tree. Alan Stern Index: usb-2.6/drivers/isdn/gigaset/bas-gigaset.c

Re: [linux-usb-devel] autosuspend IRQ trouble

2007-01-30 Thread Alan Stern
it, or from what you can else see in the dmesg? Turn on CONFIG_PM_SYSFS_DEPRECATED in your kernel build of 2.6.19. After booting and plugging in the USB HD, rmmod usb-storage. Then do echo -n 2 /sys/bus/usb/devices/usb1/power/state That will force the root hub to suspend. Alan Stern

Re: [linux-usb-devel] designs... (Re: [patch, attach, RFC] usb-serial: ti_usb removing firmware)

2007-01-30 Thread Alan Stern
of this device. You seem to want the kernel to load your tape driver even when the device is in its floppy state. That isn't going to happen; when the kernel sees a floppy device it will load a floppy driver, not a tape driver. Alan Stern

Re: [linux-usb-devel] suspending hid devices

2007-01-30 Thread Alan Stern
be created? Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http

<    5   6   7   8   9   10   11   12   13   14   >