Re: [linux-usb-devel] uhci_hcd problem: over-current change repeated messages

2006-12-05 Thread Alan Stern
every time I start the computer. Write back if you'd like to see the result of any other check. And thanks a lot! You're welcome. I'll submit this; it may appear as early as 2.6.20. Alan Stern - Take Surveys. Earn Cash

[linux-usb-devel] [PATCH] UHCI: module parameter to ignore overcurrent changes

2006-12-05 Thread Alan Stern
relying on interrupts, since each overcurrent event would generate a new interrupt. This patch (as826) is essentially a copy of David Brownell's ignore_oc patch for ehci-hcd, ported to uhci-hcd. Signed-off-by: Alan Stern [EMAIL PROTECTED] --- Index: usb-2.6/drivers/usb/host/uhci-hcd.c

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

2006-12-05 Thread Alan Stern
On Tue, 5 Dec 2006, Dominik Brodowski wrote: Hi, On Tue, Dec 05, 2006 at 07:19:01AM -0500, Dominik Brodowski wrote: Hi, git bisect proved that the patch commit 40f122f343797d02390c5a157372cac0c5b50bb7 Author: Alan Stern [EMAIL PROTECTED] Date: Thu Nov 9 14:44:33 2006 -0500

Re: [linux-usb-devel] usb hang

2006-12-04 Thread Alan Stern
subsystem hung. The dmesg output appears similar to yesterday's. Do you want it? No thanks, it sounds exactly like your previous examples. Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join

Re: [linux-usb-devel] race in sysfs between sysfs_remove_file() and read()/write() #2

2006-12-04 Thread Alan Stern
count. Can you examine the patch carefully to see if it is okay? Also, Oliver, it looks like the latest version of your patch makes an unnecessary change to sysfs_remove_file(). Alan Stern - Take Surveys. Earn Cash

Re: [linux-usb-devel] race in sysfs between sysfs_remove_file() and read()/write() #2

2006-12-04 Thread Alan Stern
; + + sysfs_hash_and_remove(d, attr-name); } There's no apparent advantage to introducing the local variable d, either in terms of execution speed or readability. (Although the original source line should have a space after the comma.) Alan Stern

Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-12-04 Thread Alan Stern
. It would be easy enough to write a program to send these commands, using libusb for example, however I don't know of any existing examples. Generally lsusb is good enough. Alan Stern - Take Surveys. Earn Cash. Influence

Re: [linux-usb-devel] uhci_hcd problem: over-current change repeated messages

2006-12-04 Thread Alan Stern
starts up, you may need to do rmmod uhci-hcd modprobe uhci-hcd ignore_oc=y before the new flag will take effect. Modifying /etc/modprobe.conf may not be sufficient because some distributions load uhci-hcd from initramfs, before modprobe.conf is available. Alan Stern Certain boards

Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-12-03 Thread Alan Stern
. There does not seems to more sleep routines in 'core' and 'host' directories, so I guess it is something else. Also show this in your usbmon log. Start copying the usbmon data before plugging in the remote, and include what happens when you rmmod the driver and then modprobe it back. Alan Stern

Re: [linux-usb-devel] usb hang

2006-12-03 Thread Alan Stern
On Sat, 2 Dec 2006, David Relson wrote: On Sat, 2 Dec 2006 17:08:02 -0500 (EST) Alan Stern wrote: ...[snip]... Remind me of the context again; it has slipped my mind. You were getting random disconnects that sometimes (or always?) ended up hanging the USB subsystem? Good question

Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-12-02 Thread Alan Stern
stage. As far as I can tell from your usbmon logs, the drivers do exactly the same thing each time you load them. The only difference is that sometimes the device responds and other times it doesn't. Alan Stern - Take Surveys

Re: [linux-usb-devel] [PATCH 96/103] USB: create a new thread for every USB device found during the probe sequence

2006-12-02 Thread Alan Stern
all at once. But there still is all the overhead from creating new threads to handle these events. Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get

Re: [linux-usb-devel] [GIT PATCH] USB patches for 2.6.19

2006-12-02 Thread Alan Stern
, then the device will automatically be suspended. 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

Re: [linux-usb-devel] InterVideo RC-201 IR USB Remote Control

2006-12-02 Thread Alan Stern
On Sat, 2 Dec 2006, Adam Sulmicki wrote: On Sat, 2 Dec 2006, Alan Stern wrote: The usbmon log on that web site don't show what happens when you unload the drivers. And the dmesg log doesn't say what you are doing at each stage. sorry about that. here are complete annoatated logs

Re: [linux-usb-devel] usb hang

2006-12-02 Thread Alan Stern
an old version of it as the first attachment to this bug report: http://bugzilla.kernel.org/show_bug.cgi?id=6374 I don't know if there are any later versions. Alan Stern - Take Surveys. Earn Cash. Influence the Future

Re: [linux-usb-devel] Fw: mass-storage problems with Archos AV500

2006-12-01 Thread Alan Stern
-brew 2.6.18-rc4. Any mass storage quirk needed that might be missing? No. According to your log there is nothing wrong with the device, and Linux did recognize it properly. It just needs a new partition table. Run fdisk on it. Alan Stern

Re: [linux-usb-devel] GNU/Linux USB Questions

2006-12-01 Thread Alan Stern
2-0:1.0 4-0:1.0 6-0:1.0 bind unbind # echo -n 1-0:1.0 /sys/bus/usb/drivers/hub/unbind This would unbind the hub driver from the 1-0:1.0 device. Writing the device name to the bind file will rebind the driver to the device. Alan Stern

Re: [linux-usb-devel] Composite device driver binding

2006-12-01 Thread Alan Stern
. There are a few existing drivers which do this. Search the kernel source for calls to usb_driver_claim_interface. Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get

Re: [linux-usb-devel] HUAWEI E220 usb-umts-modem

2006-11-30 Thread Alan Stern
? Did you remember to run make modules_install after building the new usb-storage.ko? 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

Re: [linux-usb-devel] uhci_hcd problem: over-current change repeated messages

2006-11-30 Thread Alan Stern
. 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

Re: [linux-usb-devel] [RFC] ohci: Fix multiple bus glues problem

2006-11-29 Thread Alan Stern
, you've changed the way the driver appears to userspace. Now instead of loading ohci-hcd, people will have to load ohci-hcd-pci. Or in an initramfs environment, they will have to load both. Alan Stern - Take Surveys

Re: [linux-usb-devel] [RFC] ohci: Fix multiple bus glues problem

2006-11-29 Thread Alan Stern
On Wed, 29 Nov 2006, Sylvain Munaut wrote: Alan Stern wrote: There are two things I don't like about your change. First, you've added a lot of new global symbols. That's not _too_ bad in itself, but it would be better if you could avoid it. Second, you've changed the way the driver

Re: [linux-usb-devel] uhci_hcd problem: over-current change repeated messages

2006-11-29 Thread Alan Stern
it in drivers/usb/core/hub.c). Any other idea on how to fix this? There are a few possibilities. For example, we could add a sysfs attribute file listing ports which should not be monitored for an overcurrent condition. Alan Stern

Re: [linux-usb-devel] Isochronus transfer

2006-11-28 Thread Alan Stern
. What I want to do is to let the webcam reply to me. According to the USB specification, the default altsetting for any interface should not send transfer any ISO data. You might need to do a USBDEVFS_SETINTERFACE call. Alan Stern

Re: [linux-usb-devel] usb-storage (2.4.26) hangs with error -84 at READ_10 (PNY Attache' 1GB)

2006-11-28 Thread Alan Stern
.). It could be a cable-level hardware 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 opinions on IT business topics through

Re: [linux-usb-devel] [PATCH]transvibrator disconnect race

2006-11-28 Thread Alan Stern
: Maneesh Soni [EMAIL PROTECTED]. He ought to be interested in it, and he probably can answer all our questions. Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get

Re: [linux-usb-devel] [PATCH]gl620a bad buffer allocation

2006-11-27 Thread Alan Stern
On Sun, 26 Nov 2006, David Brownell wrote: On Sunday 26 November 2006 6:46 pm, Alan Stern wrote: On Sun, 26 Nov 2006, David Brownell wrote: On Thursday 23 November 2006 6:19 am, Oliver Neukum wrote: Hi, gl620a uses a buffer within a struct. This can corrupt memory

Re: [linux-usb-devel] Peripheral Driver Querry

2006-11-27 Thread Alan Stern
communications that it is not likely to be a limiting factor. 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

Re: [linux-usb-devel] [USB] urb-number_of_packets = 256 !

2006-11-27 Thread Alan Stern
(I didn't really investigate in depth this possibility). It should work. Go back and try it again more carefully. Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel

Re: [linux-usb-devel] [PATCH]transvibrator disconnect race

2006-11-27 Thread Alan Stern
On Mon, 27 Nov 2006, Oliver Neukum wrote: Am Montag, 27. November 2006 04:00 schrieb Alan Stern: Fourth, you might consider deallocating the sysfs_buffer_collection as soon as the last buffer is removed from its list.  I don't know if this really matters... That would mean

Re: [linux-usb-devel] Peripheral Driver Querry

2006-11-27 Thread Alan Stern
between user and kernel mode would have made the driver that much slower, and one generally wants mass-storage devices to run as fast as possible. Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join

Re: [linux-usb-devel] [PATCH]transvibrator disconnect race

2006-11-27 Thread Alan Stern
On Mon, 27 Nov 2006, Oliver Neukum wrote: Am Montag, 27. November 2006 20:45 schrieb Alan Stern: I like it, except for one little detail.  You don't need buffer-anchor; it gets used only in remove_from_collection(), which is called only from sysfs_release(), so you can pass the inode

Re: [linux-usb-devel] [PATCH]transvibrator disconnect race

2006-11-27 Thread Alan Stern
the deallocation from happening before you release the inode's lock? 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

Re: [linux-usb-devel] [PATCH]transvibrator disconnect race

2006-11-27 Thread Alan Stern
); } iput(inode); } } This looks reasonable, subject to the questions raised above. Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel

Re: [linux-usb-devel] [PATCH]transvibrator disconnect race

2006-11-26 Thread Alan Stern
the previous recommendation.) 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

Re: [linux-usb-devel] [PATCH]gl620a bad buffer allocation

2006-11-26 Thread Alan Stern
that it could corrupt the contents of the buffer during an input operation. I don't think it matters as far as output is concerned... Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's

Re: [linux-usb-devel] [PATCH]transvibrator disconnect race

2006-11-26 Thread Alan Stern
. As mentioned above, you already use that lock when you create the buffer_collection. I don't see anything wrong with using the lock again when you deallocate it. Alan Stern - Take Surveys. Earn Cash. Influence the Future

Re: [linux-usb-devel] [PATCH]transvibrator disconnect race

2006-11-25 Thread Alan Stern
() is walking the list. Somehow you need to protect the list pointers. 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

Re: [linux-usb-devel] 2.6.19-rc5-mm2 : usb keeps resetting usb keyboard.

2006-11-25 Thread Alan Stern
the instructions in Documentation/usb/usbmon.txt). To keep the trace simple, you should unplug all USB devices except the one you're testing. Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join

Re: [linux-usb-devel] [PATCH]transvibrator disconnect race

2006-11-25 Thread Alan Stern
the driver has been unbound from the 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 on IT business topics

Re: [linux-usb-devel] Fw: usb-storage data errors

2006-11-24 Thread Alan Stern
a Hardware error. This should have made the copying more reliable, but it's hard to tell exactly what's happening. It could be that they aren't directly related to the compare mismatches you see. Alan Stern - Take Surveys. Earn

Re: [linux-usb-devel] [PATCH]transvibrator disconnect race

2006-11-24 Thread Alan Stern
to address the problem. The patch will provide a way for the driver to create a lightweight sysfs directory under the interface's directory, where the attribute can safely be created. Alan Stern - Take Surveys. Earn Cash

Re: [linux-usb-devel] [PATCH]transvibrator disconnect race

2006-11-24 Thread Alan Stern
transvibrator devices and one gets unplugged. 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

Re: [linux-usb-devel] [PATCH 1/2] Fixed compiled issue tu to new of_platform.h header

2006-11-24 Thread Alan Stern
combining multiple HCIs into a single driver? 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

Re: [linux-usb-devel] [PATCH]transvibrator disconnect race

2006-11-24 Thread Alan Stern
walking the list with opening closing attribute files, which could turn out to be prohibitively difficult. Greg, what do you think? Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay

Re: [linux-usb-devel] usbmon, next round

2006-11-23 Thread Alan Stern
On Wed, 22 Nov 2006, Pete Zaitcev wrote: On Wed, 22 Nov 2006 22:00:32 -0500 (EST), Alan Stern [EMAIL PROTECTED] wrote: On Wed, 22 Nov 2006, Pete Zaitcev wrote: Don't feel any need to reply or explain -- this is meant mainly to illustrate that eavesdropping sometimes doesn't provide

Re: [linux-usb-devel] Fw: usb-storage data errors

2006-11-23 Thread Alan Stern
On Thu, 23 Nov 2006, DervishD wrote: Hi Alan :) * Alan Stern [EMAIL PROTECTED] dixit: On Wed, 22 Nov 2006, Andrew Morton wrote: The problem is the following: whenever I copy a lot of data to the usb-storage device (more than a few GB's), the copy goes OK, without an error

Re: [linux-usb-devel] Mounting USB key on compulab pxa270

2006-11-22 Thread Alan Stern
likelihood is using a different IRQ line from what the system thinks it is using. Check out the contents of /proc/interrupts and you'll probably see what I mean. Alan Stern - Take Surveys. Earn Cash. Influence the Future

[linux-usb-devel] [PATCH 5b/6] USB: keep count of unsuspended children

2006-11-22 Thread Alan Stern
a device disconnects we need to remember whether it was suspended at the time (leave the counter alone) or not (decrement the counter). Signed-off-by: Alan Stern [EMAIL PROTECTED] --- This is a slight revision of as818 (number 5/6, posted a couple of days ago). I forgot that it's possible

Re: [linux-usb-devel] Fw: usb-storage data errors

2006-11-22 Thread Alan Stern
information. About all you've told us so far is that from time to time something goes wrong. That's not much to go on. Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel

Re: [linux-usb-devel] usbmon, next round

2006-11-22 Thread Alan Stern
? That doesn't make any sense... 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

Re: [linux-usb-devel] 2.6.19-rc5: possible regression - OHCI dead after several STD/resume cycles

2006-11-21 Thread Alan Stern
On Tue, 21 Nov 2006, Andrey Borzenkov wrote: Using 2.6.9-rc5 + Alan Stern fix for can't disable OHCI wakeup via sysfs. I started noticing strange messages after resume: ACPI: PCI Interrupt :00:06.0[A] - Link [LNKH] - GSI 11 (level, low) - IRQ 11 ACPI: PCI interrupt for device :00

Re: [linux-usb-devel] Fw: [Bugme-new] [Bug 7548] New: Slot 0 not NULL on disconnecting SN9C10x PC Camera

2006-11-19 Thread Alan Stern
disconnect, address 2 Nov 18 07:56:09 elke usb 2-2: Disconnecting SN9C10x PC Camera... Nov 18 07:56:09 elke usb 2-2: V4L2 device /dev/video0 deregistered Maybe this should be sent to the V4L2 people. Alan Stern - Take

Re: [linux-usb-devel] [discuss] static IDs

2006-11-18 Thread Alan Stern
to keep the blacklist in userspace. Oliver can tell you more about them; we had a discussion about this some time ago. Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel

Re: [linux-usb-devel] [patch 2.6.19-rc6] EHCI hooks for high speed electrical tests

2006-11-17 Thread Alan Stern
of direct root-hub reset (along the same lines as bus_suspend). But it's a low priority. 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

Re: [linux-usb-devel] [PATCH 7/12] USB Storage: unusual_devs.h entry for Sony Ericsson P990i

2006-11-17 Thread Alan Stern
the blacklist entries! 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

Re: [linux-usb-devel] [discuss] static IDs (Re: [PATCH 7/12] USB Storage: unusual_devs.h entry for Sony Ericsson P990i)

2006-11-17 Thread Alan Stern
On Sat, 18 Nov 2006, Oleg Verych wrote: On Fri, Nov 17, 2006 at 10:22:58AM -0500, Alan Stern wrote: Those email addresse in unusual_devs.h are _not_ credits. (The credit belongs to the person who writes and submits the patch, not the person who owns the hardware and reports the problem

Re: [linux-usb-devel] Error of Couldn't find both bulk-in and bulk-out endpoints

2006-11-16 Thread Alan Stern
] assigned from the device or core? I guess I tried to figure out where the problem was from the device or core. The descriptor value comes from the device. You can view the values in /proc/bus/usb/devices. Alan Stern - Take

[linux-usb-devel] [PATCH] net2280: don't send unwanted zero-length packets

2006-11-16 Thread Alan Stern
sending ZLPs for IN transfers on ep0 until a response has been submitted, and avoids stalling when an OUT packet is received before a request has been submitted for an OUT transfer on ep0. Signed-off-by: Alan Stern [EMAIL PROTECTED] --- Index: usb-2.6/drivers/usb/gadget/net2280.c

Re: [linux-usb-devel] How to hack the EHCI driver to send no more than a single transaction per frame

2006-11-15 Thread Alan Stern
. Alternatively, since you don't care about the speed of your transfers, you could run at full speed using a UHCI controller instead of high speed using EHCI. It's easy to patch uhci-hcd to make it put each transaction in a separate frame. Alan Stern

Re: [linux-usb-devel] [BUG] timeout on USB close (reproductible)

2006-11-15 Thread Alan Stern
drivers/usb/core/driver.c, in usb_unbind_interface(). Just comment out the call to usb_set_interface(). Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get

Re: [linux-usb-devel] USB device visible only as root?!

2006-11-15 Thread Alan Stern
choice Any idea what's going on here? Check the file and directory permissions in /proc/bus/usb/. Try upgrading to 2.6.18. Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay

Re: [linux-usb-devel] [PATCH] resume_device symbol conflict

2006-11-14 Thread Alan Stern
to change the name of resume_device to usb_resume_device, then please make analogous name changes to suspend_device, suspend_interface, and resume_interface. Alan Stern - Using Tomcat but need to do more? Need to support web

Re: [linux-usb-devel] [BUG] timeout on USB close (reproductible)

2006-11-14 Thread Alan Stern
the device by unplugging it. In the meanwhile, I'm about to add some dbg_printf in my kernel to trace the source of this error -104. The source of the errors is the Titanium failure to respond to the kernel's Clear-Halt requests. Alan Stern

Re: [linux-usb-devel] [PATCH] resume_device symbol conflict (v2)

2006-11-14 Thread Alan Stern
On Tue, 14 Nov 2006, Stephen Hemminger wrote: Several functions in USB core overlap with global functions. The linker appears to do the right thing, but it is bad practice and makes debugging harder. Acked-by: Alan Stern [EMAIL PROTECTED

Re: [linux-usb-devel] [BUG] timeout on USB close (reproductible)

2006-11-14 Thread Alan Stern
Instruments and ask them to issue an update to fix it. 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

[linux-usb-devel] [PATCH] OHCI: disallow autostop when wakeup is not available

2006-11-14 Thread Alan Stern
This patch (as822) prevents the OHCI autostop mechanism from kicking in if the root hub is not able or not allowed to issue wakeup requests. Signed-off-by: Alan Stern [EMAIL PROTECTED] --- Greg: This patch should go into 2.6.19-rc ASAP. It does solve a real problem. The larger-scale changes

Re: [linux-usb-devel] 2.6.19-rc5 regression: can't disable OHCI wakeup via sysfs

2006-11-14 Thread Alan Stern
On Tue, 14 Nov 2006, David Brownell wrote: On Monday 13 November 2006 9:15 am, Alan Stern wrote: On Mon, 13 Nov 2006, David Brownell wrote: It's a *driver model* API, which is also accessible from sysfs ... to support per-device policies, for example the (a) workaround

Re: [linux-usb-devel] Is it possible to using only EHCI HCD without companion OHCI HCD driver?

2006-11-13 Thread Alan Stern
well. You should use a more recent 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 easier Download IBM

Re: [linux-usb-devel] 2.6.19-rc5 regression: can't disable OHCI wakeup via sysfs

2006-11-13 Thread Alan Stern
in keeping autostop when CONFIG_PM is off. 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] 2.6.19-rc5 regression: can't disable OHCI wakeup via sysfs

2006-11-13 Thread Alan Stern
, as it should? Or does it only affect may_wakeup? 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] 2.6.19-rc5 regression: can't disable OHCI wakeup via sysfs

2006-11-13 Thread Alan Stern
Andrey: Try this patch for 2.6.19-rc5. Although it doesn't make all the changes Dave and I have discussed, it ought to fix your problem. Alan Stern Index: 2.6.19-rc5/drivers/usb/host/ohci-hub.c === --- 2.6.19-rc5.orig/drivers

[linux-usb-devel] [PATCH] USB core: fix compiler warning about usb_autosuspend_work

2006-11-13 Thread Alan Stern
This patch (as821) fixes a compiler warning when CONFIG_PM isn't on (usb_autosuspend_work defined but not used). Signed-off-by: Alan Stern [EMAIL PROTECTED] --- Index: usb-2.6/drivers/usb/core/usb.c === --- usb-2.6.orig/drivers/usb

Re: [linux-usb-devel] failure to set configuration with UHCI (was:Re: Bugzilla Bug 7436 USB 1 on USB 2 Controller Bug)

2006-11-12 Thread Alan Stern
. Attached are two small patches, one for 2.6.15 and the other for 2.6.18. They will add a bunch of debugging information to the system log when the scanner is turned on. Please try running your test again (with each kernel) and post the resulting logs. usbmon isn't needed for this test. Alan Stern

Re: [linux-usb-devel] 2.6.19-rc5 regression: can't disable OHCI wakeup via sysfs

2006-11-12 Thread Alan Stern
try writing a patch to fix it. Perhaps the driver needs a resume_detect_is_broken quirk. Andrey, if you aren't using USB at all (you mentioned that no devices were plugged in), you can simply do rmmod ohci-hcd to stop all those log messages. Alan Stern

Re: [linux-usb-devel] Forcing OHCI Companion to be used by my flash cards reader

2006-11-12 Thread Alan Stern
which allow the user to specify that the EHCI controller shouldn't manage certain ports. They'll probably get into the kernel somewhere in the 2.6.21 time frame. You might be able to find older versions of those patches by searching the mailing list archives. Alan Stern

Re: [linux-usb-devel] 2.6.19-rc5 regression: can't disable OHCI wakeup via sysfs

2006-11-12 Thread Alan Stern
that autostop is intended to work even when CONFIG_PM is off. 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

Re: [linux-usb-devel] failure to set configuration with UHCI (was:Re: Bugzilla Bug 7436 USB 1 on USB 2 Controller Bug)

2006-11-11 Thread Alan Stern
driver appropriately. 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] Transaction timeout for host controller

2006-11-10 Thread Alan Stern
transmitted an IN packet but did not receive a DATA packet? Do you have a USB bus analyzer? 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] at91_udc: endless loop after rmmod g_file_storage and other problems

2006-11-10 Thread Alan Stern
opportunity to fix a driver bug! 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 device controllers

2006-11-10 Thread Alan Stern
for ur continous support You're welcome. 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] failure to set configuration with UHCI (was:Re: Bugzilla Bug 7436 USB 1 on USB 2 Controller Bug)

2006-11-10 Thread Alan Stern
anything of interest. But the usbmon output did include a hint of a problem. It's hard to tell at this point, I'll need to see the additional results from running lsusb. Alan Stern - Using Tomcat but need to do more

[linux-usb-devel] [PATCH 1/2] EHCI: Fix root-hub and port suspend/resume problems

2006-11-09 Thread Alan Stern
. If power was lost, pci_resume() must not call ehci_run(). At this point the root hub is still supposed to be suspended, not running. It's enough to rewrite the command register and set the configured_flag. Signed-off-by: Alan Stern [EMAIL PROTECTED] --- This is the updated

[linux-usb-devel] [PATCH 2/2] USB: Add autosuspend support to the hub driver

2006-11-09 Thread Alan Stern
This patch (as742b) adds autosuspend/autoresume support to the USB hub driver. The largest aspect of the change is that we no longer need a special flag for root hubs that want to be resumed. Now every hub is autoresumed whenever khubd needs to access it. Signed-off-by: Alan Stern [EMAIL

Re: [linux-usb-devel] 2.6.19-rc5-mm1

2006-11-09 Thread Alan Stern
to del_gendisk() decreases the device's refcount by 2. Consequently the structure is deallocated too early, causing the oops. Somebody who knows more than I do about add_disk() and del_gendisk() will have to figure what's going wrong. Alan Stern

Re: [linux-usb-devel] failure to set configuration with UHCI (was:Re: Bugzilla Bug 7436 USB 1 on USB 2 Controller Bug)

2006-11-09 Thread Alan Stern
, or scanimage. Just save the usbmon output and the dmesg log, showing what happened when the scanner was turned on. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly

Re: [linux-usb-devel] [PATCH 1/33] usb: writing_usb_driver free urb cleanup

2006-11-08 Thread Alan Stern
having a warning message appear will be a good thing. 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

Re: [linux-usb-devel] failure to set configuration with UHCI (was:Re: Bugzilla Bug 7436 USB 1 on USB 2 Controller Bug)

2006-11-08 Thread Alan Stern
this to Alan, who knows UHCI on the bit level. I missed most of this thread and haven't seen the system logs. Could you please resend them? Or better yet, collect new logs using an unpatched vanilla 2.6.18 kernel with CONFIG_USB_DEBUG turned on. Alan Stern

Re: [linux-usb-devel] Howto prevent libusb access?

2006-11-08 Thread Alan Stern
in accessibility of these two. Can you e.g. provide a chapter name in the spec or so? There are no official explanations of this; it isn't part of the USB spec (or any other spec). It's just the way the usbfs stack in Linux works. The only documentation is the kernel's source code. Alan Stern

Re: [linux-usb-devel] [PATCH 1/33] usb: writing_usb_driver free urb cleanup

2006-11-08 Thread Alan Stern
could do that in one series of patches. It is simple enough not to break things and hopefuly remove lots of redundant code. What do you thik of these (proposed) changes? They all sound good. Alan Stern - Using Tomcat

Re: [linux-usb-devel] [PATCH/RFC] EHCI and OHCI big endian registers only support

2006-11-07 Thread Alan Stern
while I upgrade my system to FC6... Don't hold your breath. :-) 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] A patch is still pending

2006-11-07 Thread Alan Stern
On Tue, 7 Nov 2006, Greg KH wrote: On Mon, Nov 06, 2006 at 11:48:38AM -0500, Alan Stern wrote: Greg: What happened to the as802 patch (EHCI: fix memory pool name allocation)? http://marc.theaimsgroup.com/?l=linux-usb-develm=116059861925588w=2 Did I misplace some email, or did

Re: [linux-usb-devel] Howto prevent libusb access?

2006-11-06 Thread Alan Stern
... If USB_TYPE_VENDOR is set in bRequestType then the request will always be allowed, regardless of the recipient field. Maybe that's your problem. Try using USB_TYPE_CLASS instead. Alan Stern - Using Tomcat but need to do more

Re: [linux-usb-devel] 2.6.18.2: lockdep warnings on rmmod ohci_hcd

2006-11-06 Thread Alan Stern
dmesg with increased LOG_SHIFT. I always find it rather difficult to understand the meaning of lockdep warnings, but this looks a bug that was fixed in 2.6.19-rc1. The patch that fixed it is here: http://marc.theaimsgroup.com/?l=linux-usb-develm=115938807428103w=2 Alan Stern

[linux-usb-devel] A patch is still pending

2006-11-06 Thread Alan Stern
Greg: What happened to the as802 patch (EHCI: fix memory pool name allocation)? http://marc.theaimsgroup.com/?l=linux-usb-develm=116059861925588w=2 Did I misplace some email, or did it slip through the cracks? Alan Stern

[linux-usb-devel] [PATCH] USB: Move private hub declarations out of public header file

2006-11-06 Thread Alan Stern
This patch (as809b) moves the declaration of the hub driver's private data structure from hub.h into the hub.c source file. Lots of other files import hub.h; they have no need to know about the details of the hub driver's private data. Signed-off-by: Alan Stern [EMAIL PROTECTED] --- On Fri, 3

[linux-usb-devel] [PATCH] OHCI: change priority level of resume log message

2006-11-06 Thread Alan Stern
All the other root-hub suspend or resume log messages, in ohci-hcd or any of the other host controller drivers, use the debug priority level. This patch (as815) makes the one single exception behave like all the rest. Signed-off-by: Alan Stern [EMAIL PROTECTED] --- Index: usb-2.6/drivers/usb

Re: [linux-usb-devel] [PATCH/RFC] EHCI and OHCI big endian registers only support

2006-11-05 Thread Alan Stern
. There doesn't seem to be anything objectionable in the patch itself. 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] USB: Move private hub declarations out of public header file

2006-11-05 Thread Alan Stern
On Fri, 3 Nov 2006, Greg KH wrote: On Tue, Oct 24, 2006 at 12:08:16PM -0400, Alan Stern wrote: This patch (as809) moves the declaration of the hub driver's private data structure from hub.h into the hub.c source file. Lots of other files import hub.h; they have no need to know about

Re: [linux-usb-devel] Howto prevent libusb access?

2006-11-05 Thread Alan Stern
. And bear in mind that as time goes by, more and more of your users will be using 2.6 instead of 2.4. Alan Stern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre

<    8   9   10   11   12   13   14   15   16   17   >