[linux-usb-devel] Max usb_request length?

2005-06-24 Thread Li Yang-r58472
Hi, I tried to get my hands on USB gadget driver recently, but there are things I can't figure out through documents I can get. There is a length field in the usb_request structure. It is filled by upper gadget layer (fs, serial, etc.). However, I can't find maximum limit for this field, or

RE: [linux-usb-devel] Module Reloading Problem

2005-06-24 Thread Budde, Marco
Hi Alan, When a driver is unloaded, usbcore sends a Set-Interface request to select altsetting 0 on the device. This command is supposed to clear the data toggles and reset all the endpoints in the interface. this could be the reason for our problem. I just had a look into the code for

Re: [linux-usb-devel] [alsa-devel] Fw: BUG: Kernel panic when disconnecting Edirol USB2 audio interface

2005-06-24 Thread Colin Fletcher
Clemens Ladisch wrote: You didn't mention that the device was currently playing/recording, so I assume it wasn't. Correct. Simply plugging in and unplugging the USB cable (or powering the UA-1000 on and off) causes the oops every time. In this case, the oops apparently happens when the

Re: [linux-usb-devel] [alsa-devel] Fw: BUG: Kernel panic when disconnecting Edirol USB2 audio interface

2005-06-24 Thread Clemens Ladisch
Colin Fletcher wrote: Clemens Ladisch wrote: In this case, the oops apparently happens when the MIDI URBs are canceled (the MIDI input URBs are active as long as the driver is loaded). Please try the attached patch; it adds two printk()s around the snd_usbmidi_disconnect() function. If

Re: [linux-usb-devel] Fw: BUG: Kernel panic when disconnecting Edirol USB2 audio interface

2005-06-24 Thread Colin Fletcher
[EMAIL PROTECTED] wrote: What kind of URBs are being queued? With CONFIG_USB_DEBUG, please show what /sys/class/usb_host/usbN/{async,periodic} with the driver active, before the unplug. (Use the right usbN ...) /sys/class/usb_host/usb3/async is empty; I've attached the contents of

Re: [linux-usb-devel] [alsa-devel] Fw: BUG: Kernel panic when disconnecting Edirol USB2 audio interface

2005-06-24 Thread Colin Fletcher
Clemens Ladisch wrote: There is a bug in the EHCI driver that will corrupt memory, use this patch: http://www.mail-archive.com/linux-usb-devel@lists.sourceforge.net/msg35743.html After applying this, I can start jackd, record a couple of minutes worth of eight tracks in ardour, and stop

Re: [linux-usb-devel] Max usb_request length?

2005-06-24 Thread Alan Stern
On Fri, 24 Jun 2005, Li Yang-r58472 wrote: Hi, I tried to get my hands on USB gadget driver recently, but there are things I can't figure out through documents I can get. There is a length field in the usb_request structure. It is filled by upper gadget layer (fs, serial, etc.).

[linux-usb-devel] Fixed Driver patch for Keyspan Digital Remote

2005-06-24 Thread Michael Downey
It looks like my last email got messed up even though I spent 15 minutes making sure it was correct. I'm attaching the patch as it looks like Thunderbird does an appropriate job attaching text. If this isn't satisfactory please let me know and I'll try to dig up something else. Michael Downey

RE: [linux-usb-devel] Module Reloading Problem

2005-06-24 Thread Alan Stern
On Fri, 24 Jun 2005, Budde, Marco wrote: Hi Alan, When a driver is unloaded, usbcore sends a Set-Interface request to select altsetting 0 on the device. This command is supposed to clear the data toggles and reset all the endpoints in the interface. this could be the reason for

[linux-usb-devel] Re: ub device errors [Fwd: Reboot: eve.kumria.com 2005-06-20 17:08 Security Events]

2005-06-24 Thread Anand Kumria
On Mon, 2005-06-20 at 09:39 -0700, Pete Zaitcev wrote: On Tue, 21 Jun 2005 00:05:33 +1000, Anand Kumria [EMAIL PROTECTED] wrote: I should warn you that ub is probably not ready for general use just yet, but if you are willing to play with it, I welcome any feedback. Once you had enough of

Re: [linux-usb-devel] New driver for Keyspan Digital Media Remote for 2.6.12

2005-06-24 Thread Johannes Berg
On Thu, 2005-06-23 at 16:44 -0600, Michael Downey wrote: I'm using Thunderbird and can't figure out how to inline attachments so I'm pasting it here: Unfortunately, this (I guess) caused the patch to word-wrap. At least it appears word-wrapped here. johannes signature.asc Description: This

[linux-usb-devel] Re: Fixed Driver patch for Keyspan Digital Remote

2005-06-24 Thread Greg KH
On Fri, Jun 24, 2005 at 09:04:59AM -0600, Michael Downey wrote: It looks like my last email got messed up even though I spent 15 minutes making sure it was correct. I'm attaching the patch as it looks like Thunderbird does an appropriate job attaching text. If this isn't satisfactory please

[linux-usb-devel] Re: 2.6.12 USB Keypad still not working

2005-06-24 Thread Andrew Morton
Sid Boyce [EMAIL PROTECTED] wrote: PhoneSkype USB Phone SK-04. It gets detected, is registered in /sys/bus/usb as a Keypad. Everything else USB works including the phone handset. Nothing is detected by showkey when keys are pressed. # less /sys/bus/usb/devices/usb3/3-2/3-2:1.3/interface