Re: [linux-usb-devel] Question about usb-serial port registration

2007-03-23 Thread Alan Stern
and its inode number. A new file can be created with the same name, but it won't be able to use the same inode number unless all references to the old file have been released. Alan Stern - Take Surveys. Earn Cash. Influence

Re: [linux-usb-devel] timers and busy detection

2007-03-22 Thread Alan Stern
you want to accomplish here? I'm still puzzled. Are you trying to avoid letting the timer expire repeatedly while the device is in use for a prolonged time? Alan Stern - Take Surveys. Earn Cash. Influence the Future

Re: [linux-usb-devel] possible USB regression with 2.6.21-rc4: iPod doesn't work

2007-03-22 Thread Alan Stern
. Your log basically shows a hub going berserk. Or a bad USB transceiver. _Something_ is generating those overcurrent warnings, and it sure looks like a hardware malfunction. Alan Stern - Take Surveys. Earn Cash

Re: [linux-usb-devel] polling mechanism for media presence

2007-03-21 Thread Alan Stern
existing standalone program to do that. 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] How can i test my driver, to see wether it work properly when more than one device plug into system?

2007-03-21 Thread Alan Stern
. There are tools which can simulate USB devices. See http://www.linux-usb.org/gadget/ I don't think any of the existing tools will simulate a printer, however. Alan Stern - Take Surveys. Earn Cash. Influence

Re: [linux-usb-devel] Fwd: Re: [PATCH 3/4] libata: reimplement suspend/resume support using sdev-manage_start_stop

2007-03-21 Thread Alan Stern
is this relevant to usb-storage? 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] polling mechanism for media presence

2007-03-21 Thread Alan Stern
memory? Too much system overhead? Too slow to respond? By many metrics (though not all!) C programs are more efficient than shell scripts. We actually did it this way as a quick fix. I guess we stumbled onto the right solution? The right sort of solution, anyway. Alan Stern

[linux-usb-devel] [PATCH] USB: add power/level sysfs attribute

2007-03-21 Thread Alan Stern
-by: Alan Stern [EMAIL PROTECTED] --- Index: usb-2.6/Documentation/ABI/testing/sysfs-bus-usb === --- usb-2.6.orig/Documentation/ABI/testing/sysfs-bus-usb +++ usb-2.6/Documentation/ABI/testing/sysfs-bus-usb @@ -13,3 +13,29 @@ Description

Re: [linux-usb-devel] how can this code compile?

2007-03-21 Thread Alan Stern
? You mean, evaluate (urb urb-dev urb-dev-bus)? Yes indeed, it might. But in the course of evaluating that inner expression, the execution would stop as soon as it found that urb was NULL. That's guaranteed by the C language. Alan Stern

Re: [linux-usb-devel] Fwd: Re: [PATCH 3/4] libata: reimplement suspend/resume support using sdev-manage_start_stop

2007-03-21 Thread Alan Stern
On Wed, 21 Mar 2007, Oliver Neukum wrote: Am Mittwoch, 21. März 2007 16:05 schrieb Alan Stern: It's not clear what you mean. That patch series removed some braindead code and added a facility whereby the SCSI disk driver would spin down a disk during suspend and spin up during resume

Re: [linux-usb-devel] is gadgetfs driver so hard that no one can answer me?

2007-03-21 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] [patch] usb video class support

2007-03-21 Thread Alan Stern
in practice you do want from new drivers, so I'm very interested in what you are expecting. Thanks dom For that matter, how much in-tree code uses the Wireless USB declarations? It seems to me that if one is acceptable then the other should be too. Alan Stern

Re: [linux-usb-devel] polling mechanism for media presence

2007-03-20 Thread Alan Stern
sorry. HAL? Where do I get this daemon? It's part of the hal package, which is included in Fedora and presumably other distributions as well. See http://www.freedesktop.org/Software/hal Alan Stern - Take Surveys

[linux-usb-devel] [PATCH] USBHID: fix retry reset logic

2007-03-20 Thread Alan Stern
the previous error. This patch (as873) fixes that oversight. Signed-off-by: Alan Stern [EMAIL PROTECTED] CC: Jiri Kosina [EMAIL PROTECTED] --- Index: usb-2.6/drivers/usb/input/hid-core.c === --- usb-2.6.orig/drivers/usb/input/hid-core.c

Re: [linux-usb-devel] autosuspend default

2007-03-20 Thread Alan Stern
On Tue, 20 Mar 2007, Oliver Neukum wrote: Am Montag, 19. März 2007 19:38 schrieb Alan Stern: Judging from the bug report, it sounds like a problem with the userspace tools -- apparently either scanimage or sane exits before the scanner is ready.  Or maybe the problem lies in the scanner

Re: [linux-usb-devel] [PATCH] USBHID: fix retry reset logic

2007-03-20 Thread Alan Stern
On Tue, 20 Mar 2007, Jiri Kosina wrote: On Tue, 20 Mar 2007, Alan Stern wrote: The USB HID driver fails to reset its error-retry timeout when there has been a long time interval between I/O errors with no successful URB completions in the meantime. As a result, the very next error would

Re: [linux-usb-devel] [patch 7/8] File Storage Gadget Support

2007-03-19 Thread Alan Stern
USB_COMPOSITE_DEVICE #define ADJUST_INTF(i) do {i -= fsg-interface_shift;} while (0) #else #define ADJUST_INTF(i) do {} while (0) #endif Together these two changes would remove over half of your giant patch. Alan Stern

Re: [linux-usb-devel] remote-wakeup/sus/res

2007-03-19 Thread Alan Stern
... is the device's name.) To resume, to: echo -n 0 /sys/bus/usb/devices/.../power/state To test remote wakeup, do: echo enabled /sys/bus/usb/devices/.../power/wakeup before suspending. Alan Stern - Take Surveys. Earn Cash

Re: [linux-usb-devel] autosuspend default

2007-03-19 Thread Alan Stern
with having an unbound device disconnect? Doesn't it reconnect when the port is resumed? 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] autosuspend default

2007-03-19 Thread Alan Stern
On Mon, 19 Mar 2007, Oliver Neukum wrote: Am Montag, 19. März 2007 17:21 schrieb Alan Stern: On Mon, 19 Mar 2007, Oliver Neukum wrote: Hi, I got another bug report about a scanner disconnecting when suspended. Could we introduce a setting for deciding whether unbound devices

[linux-usb-devel] [PATCH] UHCI: Fix problem caused by lack of terminating QH

2007-03-19 Thread Alan Stern
. This fixes the NumLock-hang bug reported by Jiri Slaby. Signed-off-by: Alan Stern [EMAIL PROTECTED] --- Greg: This needs to get into 2.6.21. Alan Stern Index: usb-2.6/drivers/usb/host/uhci-q.c === --- usb-2.6.orig/drivers/usb

[linux-usb-devel] [PATCH] UHCI: Add some WARN_ON()s

2007-03-19 Thread Alan Stern
-off-by: Alan Stern [EMAIL PROTECTED] --- Index: usb-2.6/drivers/usb/host/uhci-q.c === --- usb-2.6.orig/drivers/usb/host/uhci-q.c +++ usb-2.6/drivers/usb/host/uhci-q.c @@ -123,10 +123,14 @@ static struct uhci_td *uhci_alloc_td(str

Re: [linux-usb-devel] polling mechanism for media presence

2007-03-18 Thread Alan Stern
, your next step is to do nothing at all. HAL does this polling for you automatically. Just make sure you run HAL and you'll be all set. Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's

Re: [linux-usb-devel] is gadgetfs driver so hard that no one can answer me?

2007-03-17 Thread Alan Stern
Adel using the same email address, but they have been answered by David Brownell. Using gadgetfs isn't hard. Trying to explain it to someone who isn't willing to go through the examples and figure things out for himself is _very_ hard. Alan Stern

Re: [linux-usb-devel] bmAttribute NO_REMOTE_WAKEUP

2007-03-17 Thread Alan Stern
. What use is polling for activity if the devices have no way to report the activity to the computer? 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] bmAttribute NO_REMOTE_WAKEUP

2007-03-17 Thread Alan Stern
me up. Now, if some drivers want to take that as a hint not to suspend the device, then okay -- but it isn't a standardized meaning. Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's

Re: [linux-usb-devel] reset low speed USB device using uhci_hcd

2007-03-16 Thread Alan Stern
. I still see the errors when I disable ACPI in the kernel configuration. Take a look at your BIOS settings for USB. In particular, if there's a setting for USB Legacy device support, try turning it off. Alan Stern

Re: [linux-usb-devel] More about autoresume

2007-03-16 Thread Alan Stern
On Thu, 15 Mar 2007, Oliver Neukum wrote: Am Donnerstag, 15. März 2007 14:31 schrieb Alan Stern: Oliver: Suppose the superuser has suspended a USB device and disabled autoresume. Then what should happen under the following circumstances? 1. The device's usbfs file is opened

[linux-usb-devel] [PATCH] usblp: quirk flag and device entry for Seiko Epson M129C printer

2007-03-16 Thread Alan Stern
flag tells the driver to ignore the Class and SubClass values in the interface descriptor. Signed-off-by: Alan Stern [EMAIL PROTECTED] CC: Vojtech Pavlik [EMAIL PROTECTED] --- Index: usb-2.6/drivers/usb/class/usblp.c === --- usb-2.6

Re: [linux-usb-devel] [patch]fix usb serial race due to late shutdown

2007-03-16 Thread Alan Stern
I size this cleanly? BITS_PER_LONG? That would work. 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

Re: [linux-usb-devel] More about autoresume

2007-03-16 Thread Alan Stern
On Fri, 16 Mar 2007, Oliver Neukum wrote: Am Freitag, 16. März 2007 20:46 schrieb Alan Stern: Here's a patch to implement all this.  I'm still not crazy about the idea of disabling autoresume, but I can see that some people might want to do it occasionally. This patch is meant to go

[linux-usb-devel] More about autoresume

2007-03-15 Thread Alan Stern
to the bConfigurationValue attribute. 3. A new driver module is loaded and it is probed for one of the device's interfaces. As things stand now, all three would fail. Does that seem reasonable? Alan Stern P.S.: You've got 3 or 4 different email addresses floating around, and I'm never quite sure

Re: [linux-usb-devel] limits of usb_kill_urb()

2007-03-15 Thread Alan Stern
for cycles. Comments? Should I add a warning to Documentation/URB.txt? It wouldn't be a bad idea to do so. 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] Disabling certain error logging?

2007-03-15 Thread Alan Stern
to work at the same time. I am of course trying that as well, but just in case i can't i'll have to live with these errors and would like to know if i can suppress them. To get rid of those messages, all you need to do is turn off CONFIG_USB_DEBUG. Alan Stern

Re: [linux-usb-devel] More about autoresume

2007-03-15 Thread Alan Stern
On Thu, 15 Mar 2007, Oliver Neukum wrote: Am Donnerstag, 15. März 2007 14:31 schrieb Alan Stern: Oliver: Suppose the superuser has suspended a USB device and disabled autoresume. Then what should happen under the following circumstances? 1. The device's usbfs file is opened

[linux-usb-devel] [PATCH] EHCI: add delay to bus_resume before accessing ports

2007-03-15 Thread Alan Stern
This patch (as870) adds a delay to ehci-hcd's bus_resume routine. Apparently there are controllers and/or BIOSes out there which need such a delay to get the ports back into their correct state. This fixes Bugzilla #8190. Signed-off-by: Alan Stern [EMAIL PROTECTED] --- David: I'm a little

Re: [linux-usb-devel] USB Keyboard

2007-03-15 Thread Alan Stern
-ROM) and then pull the plug when the keyboad doesn't work! Can you get the live-CD to initialize a network interface via DHCP and then log in remotely? Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join

Re: [linux-usb-devel] USB Keyboard

2007-03-15 Thread Alan Stern
that flavor. It depends on the chipset used for the motherboard. Intel and VIA use UHCI, pretty much everyone else uses OHCI. Dick, there's an even simpler way to debug this. Install your special CD on a machine with an old-fashioned PS/2 keyboard and use that! Alan Stern

Re: [linux-usb-devel] USB Keyboard

2007-03-15 Thread Alan Stern
to manage at load time; instead the driver core calls their probe() routine later on. Consequently drivers can't tell at load time whether there will be any useful work for them to do. Alan Stern - Take Surveys. Earn Cash

Re: [linux-usb-devel] [PATCH] USB: separate autosuspend from external suspend

2007-03-14 Thread Alan Stern
On Wed, 14 Mar 2007, Oliver Neukum wrote: Am Dienstag, 13. März 2007 21:37 schrieb Alan Stern: +/** + * usb_external_resume_device - external resume of a USB device and its interfaces + * @udev: the usb_device to resume + * + * This routine handles external resume requests: ones

Re: [linux-usb-devel] [PATCH] USB: separate autosuspend from external suspend

2007-03-14 Thread Alan Stern
runtime power management. You ought to bring it up on linux-pm. Alan Stern P.S.: Even if we leave autosuspend out of the picture, I imagine that constantly suspending and resuming your system would take more power than just letting it sit idle

Re: [linux-usb-devel] reset low speed USB device using uhci_hcd

2007-03-14 Thread Alan Stern
On Wed, 14 Mar 2007, Gordon Messmer wrote: Alan Stern wrote: On Tue, 13 Mar 2007, Gordon Messmer wrote: 2.6.20 behaves the same. If I built a preemptible kernel, (with preempt the BKL) and the timer frequency is 1000 HZ, then the mouse has issues. If I build a kernel with a lower

Re: [linux-usb-devel] reset low speed USB device using uhci_hcd

2007-03-14 Thread Alan Stern
On Wed, 14 Mar 2007, Gordon Messmer wrote: Alan Stern wrote: On Wed, 14 Mar 2007, Gordon Messmer wrote: I have tried other mice with this PC. I have an old MS optical Intellimouse (the second worst mouse I've ever used), and a newer revision of the problematic Logitech BD-58, a BT

Re: [linux-usb-devel] question on irqs and memory ordering

2007-03-14 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

[linux-usb-devel] [PATCH] USB: fix race in HCD removal

2007-03-13 Thread Alan Stern
() call to after the HCD's stop() method, at which time IRQ generation should be disabled. Signed-off-by: Alan Stern [EMAIL PROTECTED] --- Index: usb-2.6/drivers/usb/core/hcd.c === --- usb-2.6.orig/drivers/usb/core/hcd.c +++ usb-2.6

Re: [linux-usb-devel] Problem with Epson Pos Printer

2007-03-13 Thread Alan Stern
machines with different hardware, i think that without debian binary kernels can be like live in the hell. Do you know any way to try that it would be patched in mainstream linux kernel? Okay, below is a patch you should test. If it works, I will submit it to be included in the kernel. Alan

Re: [linux-usb-devel] [PATCH] USB: fix race in HCD removal

2007-03-13 Thread Alan Stern
On Tue, 13 Mar 2007, Greg KH wrote: On Tue, Mar 13, 2007 at 11:10:52AM -0400, Alan Stern wrote: This patch (as865) fixes a race in the HCD removal code discovered by Milan Plzik. Arrival of an interrupt after the root hub was unregistered could cause the root-hub status timer to start up

Re: [linux-usb-devel] [Linux-usb-users] reset low speed USB device using uhci_hcd

2007-03-13 Thread Alan Stern
those two config settings causes the errors to start, whereas changing any one of them eliminates the errors. I must admit, I don't see how these config changes could affect the controller's behavior so much. Maybe there's some deep problem in your motherboard's chipset... Alan Stern

[linux-usb-devel] [PATCH] USB: separate autosuspend from external suspend

2007-03-13 Thread Alan Stern
of the change, it turns out to be necessary to do remote wakeup of root hubs from a workqueue. We had been using khubd, but it does autoresume rather than an external resume. Using the ksuspend_usb_wq workqueue for this purpose seemed a logical choice. Signed-off-by: Alan Stern [EMAIL PROTECTED

[linux-usb-devel] [PATCH] USB: Allow autosuspend delay to equal 0

2007-03-13 Thread Alan Stern
This patch (as867) adds an entry for the new power/autosuspend attribute in Documentation/ABI/testing, and it changes the behavior of the delay value. Now a delay of 0 means to autosuspend as soon as possible, and negative values will prevent autosuspend. Signed-off-by: Alan Stern [EMAIL

Re: [linux-usb-devel] [Linux-usb-users] reset low speed USB device using uhci_hcd

2007-03-13 Thread Alan Stern
On Tue, 13 Mar 2007, Gordon Messmer wrote: Alan Stern wrote: It would help if you could try out 2.6.20, since it is the most recent kernel. Verify that changing those two config settings causes the errors to start, whereas changing any one of them eliminates the errors. 2.6.20

Re: [linux-usb-devel] Netac OnlyDisk Mini incorrectly detected as write protected

2007-03-13 Thread Alan Stern
detection problem? I can test, provide whatever info needed. I have over 40 of these devices so I'm desperate to iron out this last issue :) Post another usbmon log showing what happens with your unusual_devs entry present. Alan Stern

Re: [linux-usb-devel] libusb driver question: can't write to endpoint

2007-03-12 Thread Alan Stern
and run the real USBSnoopy program on 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 through

Re: [linux-usb-devel] Possible race condition in ohci-hcd.c

2007-03-12 Thread Alan Stern
, this looks like a real bug. Does it happen reproducibly on your device? Does the patch below fix it? Alan Stern Index: usb-2.6/drivers/usb/core/hcd.c === --- usb-2.6.orig/drivers/usb/core/hcd.c +++ usb-2.6/drivers/usb/core/hcd.c @@ -544,6

Re: [linux-usb-devel] rmmod uhci_hcd - BUG: atomic counter underflow

2007-03-12 Thread Alan Stern
connected to USB. Would it be possible for you to add the atomic counter underflow check to 2.6.21-rc3 and see if the problem still occurs? If it doesn't, that's a good indication the USB stack isn't guilty -- the bus registration code hasn't changed for several kernel releases. Alan Stern

Re: [linux-usb-devel] rmmod uhci_hcd - BUG: atomic counter underflow

2007-03-12 Thread Alan Stern
On Mon, 12 Mar 2007, Jiri Slaby wrote: Jiri Slaby napsal(a): Alan Stern napsal(a): On Mon, 12 Mar 2007, Jiri Slaby wrote: After rmmoding of uhci_hcd on fresh booted 2.6.21-rc3-mm2 I got this: BUG: atomic counter underflow at: [...] [c01db754] kobject_put+0x14/0x16 [c01db8a3

Re: [linux-usb-devel] libusb driver question: can't write to endpoint

2007-03-11 Thread Alan Stern
it. That includes ehci-hcd, ohci-hcd, uhci-hcd, and any other USB drivers. You also have to unmount /proc/bus/usb if it is mounted. You can change some module parameters on-the-fly. In this case you would have to write to /sys/module/usbcore/parameters/usbfs_snoop. Alan Stern

Re: [linux-usb-devel] libusb driver question: can't write to endpoint

2007-03-11 Thread Alan Stern
increase the timeout to something like 1000 (1 second). 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

Re: [linux-usb-devel] Multiple bulk vs. control URBs submission question

2007-03-11 Thread Alan Stern
with -EPROTO error. That's a normal error, indicating that the device isn't responding to packets. Not surprising, since you have turned it off. Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join

Re: [linux-usb-devel] USB Mass Storage Device question - PIO mapped, not DMA based HCDs

2007-03-11 Thread Alan Stern
Mass Storage driver (look it up in the MAINTAINERS file in the kernel source). 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] storage, no media found?

2007-03-10 Thread Alan Stern
. But I don't expect it. I wouldn't be surprised if an unusual_devs entry could fix the problem. But first we would have to know what the problem is, which requires either a verbose usb-storage debugging log or a usbmon log. Alan Stern

Re: [linux-usb-devel] 2.6.21-rc3-mm1

2007-03-10 Thread Alan Stern
to simulate an unplug (actually, to do an unbind), and echo FOO /sys/bus/usb/drivers/usbhid/unbind to do a bind, where FOO is the name of the USB mouse device link present in the /sys/bus/usb/drivers/usbhid directory. Alan Stern

Re: [linux-usb-devel] 2.6.21-rc3-mm1

2007-03-10 Thread Alan Stern
: write error: No such device Any thoughts? Another mistake on my part. The correct command is echo -n '2-2:1.0' /sys/bus/usb/drivers/usbhid/unbind Without the -n, the system thinks that the newline character at the end of the line written by echo is part of the filename. Alan Stern

Re: [linux-usb-devel] USB Mass Storage Device question - PIO mapped, not DMA based HCDs

2007-03-10 Thread Alan Stern
, the answer is simple. Since it doesn't use DMA, it should access the memory pointed to by urb-transfer_buffer (and urb-setup_packet for control transfers). Alan Stern - Take Surveys. Earn Cash. Influence the Future

Re: [linux-usb-devel] libusb driver question: can't write to endpoint

2007-03-10 Thread Alan Stern
timeout value of 2 ms seems rather low. You might want to increase it. Have you tried setting the usbfs_snoop=1 module parameter for usbcore? It will dump your program's I/O activity to the system log. Alan Stern - Take

Re: [linux-usb-devel] Multiple bulk vs. control URBs submission question

2007-03-10 Thread Alan Stern
driver is behaving as intended. 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 4/4] USB: export autosuspend delay in sysfs

2007-03-09 Thread Alan Stern
On Fri, 9 Mar 2007, Oliver Neukum wrote: Am Donnerstag, 8. März 2007 16:57 schrieb Alan Stern: On Thu, 8 Mar 2007, Oliver Neukum wrote: All right, maybe it wouldn't if you did it for a short time -- but then what would be the point? Surely if you want to power down the network

Re: [linux-usb-devel] [PATCH 4/4] USB: export autosuspend delay in sysfs

2007-03-09 Thread Alan Stern
that interface -- without doing ifconfig down and breaking all the existing sessions. Isn't that what you wanted? Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get

[linux-usb-devel] [PATCH] usbcore: move usb_autosuspend_work

2007-03-09 Thread Alan Stern
This patch (as864) moves the work routine for USB autosuspend from one source file to another. This permits the removal of one whole global symbol (!) and should smooth the way for more changes in the future. Signed-off-by: Alan Stern [EMAIL PROTECTED] --- Index: usb-2.6/drivers/usb/core

Re: [linux-usb-devel] transfer flags policy

2007-03-08 Thread Alan Stern
. As such it has to be per-URB, not per-device or per-endpoint. 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] khubd hanging in 2.6.21-rc3

2007-03-08 Thread Alan Stern
, the first no longer worked. Could it be a memory-mapping error? Both sets of registers got mapped to the same address? See what dmesg says when you modprobe ohci-hcd, and do a detailed comparison between 2.6.21-rc3 and a working kernel. Alan Stern

Re: [linux-usb-devel] [PATCH 4/4] USB: export autosuspend delay in sysfs

2007-03-08 Thread Alan Stern
to the interface. Why? A full suspension of the system does that and we should seek to be able to do the same. What happens when the opposite end of a network connection tries to send data to a suspended system? Yes, TCP is pretty aggressive about retries, but doesn't it eventually give up? Alan Stern

Re: [linux-usb-devel] Problem with Epson Pos Printer

2007-03-08 Thread Alan Stern
*/ }; recompile module and install it but now i have this error on printer reconnect: usblp: probe of 3-1:1.0 failed with error -5 usb 3-1: device_add(3-1:1.0) -- -5 anyone on the list can help me please? i would like very pleased, thanks in advance. What does lsusb -v show for the printer? Alan

Re: [linux-usb-devel] khubd and ent:sda1 sucking CPU with reiser4 + USB HD

2007-03-08 Thread Alan Stern
On Wed, 7 Mar 2007, Pete Zaitcev wrote: On Wed, 7 Mar 2007 17:18:29 -0500 (EST), Alan Stern [EMAIL PROTECTED] wrote: I've never heard of a process failing to show up in a SysRq-t listing. It suggests something is wrong with the process management in the kernel you were using

Re: [linux-usb-devel] Problem with Epson Pos Printer

2007-03-08 Thread Alan Stern
dereference at virtual address ... hehehe i would be better long away from kernel code i think :). Probably. :-) Try making the change above and see what happens. Alan Stern - Take Surveys. Earn Cash. Influence

Re: [linux-usb-devel] Problem with Epson Pos Printer

2007-03-08 Thread Alan Stern
and bInterfaceSubClass set to 255, but bInterfaceProtocol is 2 and it seems to work with that setting. Details are in the earlier messages of this thread. Can we just add a new type of quirk, like USBLP_QUIRK_IGNORE_CLASS, for usblp_select_alts()? Alan Stern

[linux-usb-devel] EHCI reports message lost IAA (fwd)

2007-03-07 Thread Alan Stern
-- Forwarded message -- Date: Tue, 06 Mar 2007 22:00:39 +0100 From: Peer Griebel [EMAIL PROTECTED] To: linux-usb-users@lists.sourceforge.net Subject: [Linux-usb-users] EHCI reports message lost IAA Dear USB developers, Sam Revitch is currently developing a driver for Ricoh

Re: [linux-usb-devel] Thoughts on a new driver

2007-03-07 Thread Alan Stern
is to run USBSnoopy under Wine and use it to view binary logs. However this might not work for you. Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance

Re: [linux-usb-devel] Zero-Byte Packet Questions

2007-03-07 Thread Alan Stern
versa). Other controllers don't use DMA, but gadget drivers should always call alloc_buffer so that they will work correctly with all peripheral controllers. Alan Stern - Take Surveys. Earn Cash. Influence the Future

Re: [linux-usb-devel] How to detect of Windows Pc's removal action?

2007-03-07 Thread Alan Stern
these suspends; it is called fsg_suspend(). 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] khubd and ent:sda1 sucking CPU with reiser4 + USB HD

2007-03-07 Thread Alan Stern
On Tue, 6 Mar 2007, Eric Buddington wrote: On Tue, Mar 06, 2007 at 01:34:41PM -0500, Alan Stern wrote: The stack trace didn't include the khubd process at all. Probably that means it had already died. No, it's still there. I ran 'echo t /proc/sysrq-trigger' again, and khubd did

Re: [linux-usb-devel] Zero-Byte Packet Questions

2007-03-07 Thread Alan Stern
this routine without it. You will have to add an awful lot of additional code. 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] How to detect of Windows Pc's removal action?

2007-03-07 Thread Alan Stern
. A similar approach will work from within a program. 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] khubd and ent:sda1 sucking CPU with reiser4 + USB HD

2007-03-07 Thread Alan Stern
, or is this new behavior? How often does the problem occur? 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

Re: [linux-usb-devel] khubd and ent:sda1 sucking CPU with reiser4 + USB HD

2007-03-07 Thread Alan Stern
On Wed, 7 Mar 2007, Eric Buddington wrote: On Wed, Mar 07, 2007 at 03:22:05PM -0500, Alan Stern wrote: On Wed, 7 Mar 2007, Eric Buddington,,, wrote: So SysRq-t doesn't show anything about khubd, and SysRq-p doesn't give me anything at all. What else can I try? How about SysRq

Re: [linux-usb-devel] khubd and ent:sda1 sucking CPU with reiser4 + USB HD

2007-03-06 Thread Alan Stern
disk, which won't umount (device is busy). It looks like khubd allocates memory and enters reiser4. Possibly we have GFP_KERNEL in khubd where we should have GFP_NOIO or reiser4 has a problem dealing with IO failures. A more complete stack trace (for example, Alt-SysRq-T) would help. Alan Stern

Re: [linux-usb-devel] i.MX31 usb device support and power supply

2007-03-06 Thread Alan Stern
On Tue, 6 Mar 2007, Valentin Longchamp wrote: Alan Stern wrote: c-desc.bMaxPower is what the hub makes available for each port and udev-bus_mA is what the device requests. It's the reverse: (c-desc.bMaxPower * 2) is what the device requests and udev-bus_mA is what the hub makes

Re: [linux-usb-devel] [PATCH 4/4] USB: export autosuspend delay in sysfs

2007-03-06 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] Udev?

2007-03-06 Thread Alan Stern
= 8 Ivl=248ms As you can see, the UPS binds to the usbhid driver. Not a serial driver. I obviously have too many hubs... Is there no chance of making a direct usb connection work to this device? Isn't it working now? Alan Stern

Re: [linux-usb-devel] Udev?

2007-03-06 Thread Alan Stern
-- but the USB development mailing list probably isn't the best place to look. 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] khubd and ent:sda1 sucking CPU with reiser4 + USB HD

2007-03-06 Thread Alan Stern
On Tue, 6 Mar 2007, Eric Buddington wrote: On Tue, Mar 06, 2007 at 10:36:20AM -0500, Alan Stern wrote: On Tue, 6 Mar 2007, Oliver Neukum wrote: Am Dienstag, 6. M??rz 2007 05:13 schrieb Eric Buddington: reiser4[khubd(163)]: commit_current_atom (fs/reiser4/txnmgr.c:1049)[nikita

Re: [linux-usb-devel] [PATCH 4/4] USB: export autosuspend delay in sysfs

2007-03-05 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] Fw: [Bugme-new] [Bug 8104] New: kernel floods console with connect-debounce failed

2007-03-05 Thread Alan Stern
controller to ignore this kind of activity. I don't know what can be done about 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

Re: [linux-usb-devel] i.MX31 usb device support and power supply

2007-03-05 Thread Alan Stern
or transceiver (Phillips ISP1504) documentation (quick look). Search for power_budget in the source code for your bus glue. Alan Stern - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay

Re: [linux-usb-devel] Fw: [Bugme-new] [Bug 8104] New: kernel floods console with connect-debounce failed

2007-03-04 Thread Alan Stern
-hcd. Evidently some EHCI controllers won't perform a handoff if the companion controller isn't initialized. 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] Fw: [Bugme-new] [Bug 8104] New: kernel floods console with connect-debounce failed

2007-03-03 Thread Alan Stern
. For instance, ACPI might mess up the power supply to the Bluetooth 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

Re: [linux-usb-devel] Clock synchronisation using the frame counter

2007-03-03 Thread Alan Stern
the Linux system clock at the time the SOF packet is sent. Any help would be appreciated. Section 5.12 of the USB 2.0 spec contains an extensive discussion of clock synchronization. Alan Stern - Take Surveys. Earn

Re: [linux-usb-devel] Fw: [Bugme-new] [Bug 8104] New: kernel floods console with connect-debounce failed

2007-03-03 Thread Alan Stern
On Sat, 3 Mar 2007, Oliver Neukum wrote: Am Samstag, 3. März 2007 16:51 schrieb Alan Stern: On Sat, 3 Mar 2007, Cristian Mammoli wrote: Oliver Neukum ha scritto: There's a very small chance that the compiler is to blame, but it is far more likely that the phenomenon itself

Re: [linux-usb-devel] Ответ: Unaligned access in EHCI driver

2007-03-02 Thread Alan Stern
for the unaligned access? No, how can I get the dump if really need it? Use dmesg after the problem occurs, or just copy the data from the console screen (use a VT or a serial console, not X). Alan Stern - Take Surveys. Earn

Re: [linux-usb-devel] [patch]ratelimit debounce error messages

2007-03-02 Thread Alan Stern
from working. Trying hard is fine, but to keep on trying for over 60 seconds is foolish. 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

<    3   4   5   6   7   8   9   10   11   12   >