Re: [linux-usb-devel] usb 2.4: Little Rework for usbserial

2006-08-04 Thread Willy Tarreau
Both patches queued, Thanks Pete ! Willy - 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 surve

[linux-usb-devel] cannot eject ipod. more data with usb-storage debug msg

2006-08-04 Thread Martin (KaFai), Lau
Hi. I think a few people have posted the same problem before but I cannot find any answer on this...I am still having problem with ejecting ipod after a few verions of kernel 2.6 and keep getting "reset high speed USB device using ehci_hcd" I collected some date and hopefully it will be useful

Re: [linux-usb-devel] usb_control_msg returns -EPIPE

2006-08-04 Thread Greg KH
On Fri, Aug 04, 2006 at 02:20:44PM -0500, Paul B Schroeder wrote: > Hello... > > I'm using the Moschip USB-serial driver code available here: > http://www.moschip.com/html/MCS7840.html I have verified that it works > with the 2.6.11-1.1369_FC4 kernel in Fedora Core 4. > > I am, however, wantin

Re: [linux-usb-devel] [PATCH 1/9] USB: New functions to check endpoints info.

2006-08-04 Thread David Brownell
On Friday 04 August 2006 12:11 pm, Greg KH wrote: > On Fri, Aug 04, 2006 at 03:57:45PM -0300, Luiz Fernando N. Capitulino wrote: > > Em Fri, 4 Aug 2006 10:09:38 -0700 > > Greg KH <[EMAIL PROTECTED]> escreveu: > > > > | On Fri, Aug 04, 2006 at 02:23:52PM +, Luiz Fernando N. Capitulino > > wrot

Re: [linux-usb-devel] [PATCH] Support for MP3-Player A-VOX WSX-300ER

2006-08-04 Thread Phil Dibowitz
David Kuehling wrote: > Hi, > > just another (cheap) MP3-Player that needs an entry in unusual_devs.h. > Patch and copy of /proc/bus/usb/devices attached. > > BTW I don't understand the bcdDeviceMin/Max entries. But it just > works... Alan - I'm heading out of the country today - can you handle

[linux-usb-devel] usb 2.4: unsigned long flags

2006-08-04 Thread Pete Zaitcev
After a similar problem surfaced in usbserial, I looked across the code base and found this instance. The bug is obvious: local_irq_save takes a long, not int. Signed-Off-By: Pete Zaitcev <[EMAIL PROTECTED]> --- linux-2.4.33-rc3/drivers/usb/host/usb-ohci.c2005-12-22 13:19:11.0 -0

[linux-usb-devel] usb 2.4: Little Rework for usbserial

2006-08-04 Thread Pete Zaitcev
This patch fixes various hangs and oopses which happen if serial devices are handled roughly (e.g. disconnected while open), open-close-open races and hangs, and issues with getty running on ttyUSBx. Finally, I got rid of the "#ifdef I_AM_A_DARING_HACKER". Originally, I thought it would be there f

Re: [linux-usb-devel] Problem: irq 217: nobody cared + backtrace

2006-08-04 Thread Jesper Juhl
On 04/08/06, Alan Stern <[EMAIL PROTECTED]> wrote: > On Fri, 4 Aug 2006, Jesper Juhl wrote: > > > On 03/08/06, Alan Stern <[EMAIL PROTECTED]> wrote: > > > > > > Has this happened more than once? > > > > Seems to happen consistently after ~10 interrupts. > > > > > In case it happens again, here

Re: [linux-usb-devel] Stability-Problem of EHCI with a larger number of USB-Hubs/Devices

2006-08-04 Thread Christopher Montgomery
On 8/4/06, David Brownell <[EMAIL PROTECTED]> wrote: > Did you try with 2.6.18-rc3? There's a Kconfig option for an > improved interrupt scheduler, which might help especially with > all those low speed devices. Actually, assuming I'm reading the spec right, I've come to realize Dan's improved sc

[linux-usb-devel] [PATCH] Support for MP3-Player A-VOX WSX-300ER

2006-08-04 Thread David Kuehling
Hi, just another (cheap) MP3-Player that needs an entry in unusual_devs.h. Patch and copy of /proc/bus/usb/devices attached. BTW I don't understand the bcdDeviceMin/Max entries. But it just works... regards, David --- old/unusual_devs.h 2006-08-04 19:57:52.0 +0200 +++ unusual_devs.h 2

Re: [linux-usb-devel] Stability-Problem of EHCI with a larger number of USB-Hubs/Devices

2006-08-04 Thread Matthias Schniedermeyer
David Brownell wrote: > Did you try with 2.6.18-rc3? There's a Kconfig option for an > improved interrupt scheduler, which might help especially with > all those low speed devices. I hadn't but i just did. (I guess you meant CONFIG_USB_EHCI_TT_NEWSCHED=y) The behaviour was different, every light

[linux-usb-devel] usb_control_msg returns -EPIPE

2006-08-04 Thread Paul B Schroeder
Hello... I'm using the Moschip USB-serial driver code available here: http://www.moschip.com/html/MCS7840.html I have verified that it works with the 2.6.11-1.1369_FC4 kernel in Fedora Core 4. I am, however, wanting to use it with the latest 2.6.17-1.2157_FC5 in Fedora Core 5. I've made mino

Re: [linux-usb-devel] [PATCH 1/9] USB: New functions to check endpoints info.

2006-08-04 Thread Greg KH
On Fri, Aug 04, 2006 at 03:56:23PM -0300, Luiz Fernando N. Capitulino wrote: > > Hi Thiago, > > Em Fri, 4 Aug 2006 13:35:07 -0300 > "Thiago Galesi" <[EMAIL PROTECTED]> escreveu: > > | > | > | Shouldn't this: > | > +int usb_endpoint_dir_in(struct usb_endpoint_descriptor *epd) > | > | be like

Re: [linux-usb-devel] [PATCH 1/9] USB: New functions to check endpoints info.

2006-08-04 Thread Greg KH
On Fri, Aug 04, 2006 at 03:57:45PM -0300, Luiz Fernando N. Capitulino wrote: > Em Fri, 4 Aug 2006 10:09:38 -0700 > Greg KH <[EMAIL PROTECTED]> escreveu: > > | On Fri, Aug 04, 2006 at 02:23:52PM +, Luiz Fernando N. Capitulino wrote: > | > +/* > | > + * usb_endpoint_dir_in - check whether the en

Re: [linux-usb-devel] [PATCH 1/9] USB: New functions to check endpoints info.

2006-08-04 Thread Luiz Fernando N. Capitulino
Em Fri, 4 Aug 2006 10:09:38 -0700 Greg KH <[EMAIL PROTECTED]> escreveu: | On Fri, Aug 04, 2006 at 02:23:52PM +, Luiz Fernando N. Capitulino wrote: | > +/* | > + * usb_endpoint_dir_in - check whether the endpoint has IN direction | > + * @epd: endpoint to be checked | > + * | > + * Returns posi

Re: [linux-usb-devel] [PATCH 1/9] USB: New functions to check endpoints info.

2006-08-04 Thread Luiz Fernando N. Capitulino
Hi Thiago, Em Fri, 4 Aug 2006 13:35:07 -0300 "Thiago Galesi" <[EMAIL PROTECTED]> escreveu: | | | Shouldn't this: | > +int usb_endpoint_dir_in(struct usb_endpoint_descriptor *epd) | | be like | | int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd) | | using the const keyword

Re: [linux-usb-devel] Fwd: Re: irq nobody cared in EHCI - Linux-2.6.14

2006-08-04 Thread David Brownell
On Tuesday 25 July 2006 11:58 pm, Naveen Mamindlapalli wrote: > > So to restate: the problem is that your FPGA code is > > issuing an IRQ when it shouldn't be. As if the IRQ > > line is still held high even when none of the enabled > > IRQ sources is still reporting the IRQ. > > > > The issue i

Re: [linux-usb-devel] Stability-Problem of EHCI with a larger number of USB-Hubs/Devices

2006-08-04 Thread David Brownell
Did you try with 2.6.18-rc3? There's a Kconfig option for an improved interrupt scheduler, which might help especially with all those low speed devices. - Dave - Take Surveys. Earn Cash. Influence the Future of IT Join Sour

Re: [linux-usb-devel] Problem: irq 217: nobody cared + backtrace

2006-08-04 Thread Greg KH
On Fri, Aug 04, 2006 at 04:33:11PM +0100, Sergio Monteiro Basto wrote: > On Thu, 2006-08-03 at 12:08 -0400, Alan Stern wrote: > > In case it happens again, here's how > > you can get more information. Turn on CONFIG_USB_DEBUG and > > CONFIG_DEBUG_FS, and mount a debugfs filesystem somewhere (say

Re: [linux-usb-devel] Problem: irq 217: nobody cared + backtrace

2006-08-04 Thread Alan Stern
On Fri, 4 Aug 2006, Sergio Monteiro Basto wrote: > > > I also got : > > > uhci_hcd :00:10.1: host controller process error, something bad > > > happened! > > > uhci_hcd :00:10.1: host controller halted, very bad! > > > uhci_hcd :00:10.1: HC died; cleaning up > > > usb 3-2: USB disconne

Re: [linux-usb-devel] [PATCH 1/9] USB: New functions to check endpoints info.

2006-08-04 Thread Greg KH
On Fri, Aug 04, 2006 at 02:23:52PM +, Luiz Fernando N. Capitulino wrote: > +/* > + * usb_endpoint_dir_in - check whether the endpoint has IN direction > + * @epd: endpoint to be checked > + * > + * Returns positive if the endpoint has IN direction, and zero else > + */ Wrong kernel doc style,

Re: [linux-usb-devel] Bug with USB proc_bulk in 2.4 kernel

2006-08-04 Thread Willy Tarreau
On Fri, Aug 04, 2006 at 09:57:04AM -0700, Benjamin Cherian wrote: > Willy, > > On Wednesday 02 August 2006 23:29, Willy Tarreau wrote: > > Perfect. Patch queued, thanks Pete. > > Do you know if it would be possible for this to get into 2.4.33? I know its > already at rc3, but it would be nice if

Re: [linux-usb-devel] Bug with USB proc_bulk in 2.4 kernel

2006-08-04 Thread Benjamin Cherian
Willy, On Wednesday 02 August 2006 23:29, Willy Tarreau wrote: > Perfect. Patch queued, thanks Pete. Do you know if it would be possible for this to get into 2.4.33? I know its already at rc3, but it would be nice if this patch could be pushed out sooner since 2.4.34 will probably not be out fo

Re: [linux-usb-devel] [PATCH 1/9] USB: New functions to check endpoints info.

2006-08-04 Thread Thiago Galesi
Shouldn't this: > +int usb_endpoint_dir_in(struct usb_endpoint_descriptor *epd) be like int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd) using the const keyword? -- - Thiago Galesi - Take Surveys.

Re: [linux-usb-devel] Problem: irq 217: nobody cared + backtrace

2006-08-04 Thread Sergio Monteiro Basto
On Fri, 2006-08-04 at 16:36 +0200, Jesper Juhl wrote: > > > > Has this happened more than once? > > Seems to happen consistently after ~10 interrupts. yap , I remember this same number when I cat /proc/interrupts - Ta

Re: [linux-usb-devel] Problem: irq 217: nobody cared + backtrace

2006-08-04 Thread Sergio Monteiro Basto
On Fri, 2006-08-04 at 12:07 -0400, Alan Stern wrote: > On Fri, 4 Aug 2006, Sergio Monteiro Basto wrote: > > > On Thu, 2006-08-03 at 12:08 -0400, Alan Stern wrote: > > > Has this happened more than once? > > > > In my case (it very different), all the time. > > If what happens to you is very di

Re: [linux-usb-devel] Problem: irq 217: nobody cared + backtrace

2006-08-04 Thread Alan Stern
On Fri, 4 Aug 2006, Sergio Monteiro Basto wrote: > On Thu, 2006-08-03 at 12:08 -0400, Alan Stern wrote: > > Has this happened more than once? > > In my case (it very different), all the time. If what happens to you is very different from what happens to Jesper then you should have said: "It do

Re: [linux-usb-devel] Problem: irq 217: nobody cared + backtrace

2006-08-04 Thread Alan Stern
On Fri, 4 Aug 2006, Jesper Juhl wrote: > On 03/08/06, Alan Stern <[EMAIL PROTECTED]> wrote: > > > > Has this happened more than once? > > Seems to happen consistently after ~10 interrupts. > > > In case it happens again, here's how > > you can get more information. Turn on CONFIG_USB_DEBUG

Re: [linux-usb-devel] Problem: irq 217: nobody cared + backtrace

2006-08-04 Thread Sergio Monteiro Basto
On Thu, 2006-08-03 at 12:08 -0400, Alan Stern wrote: > Has this happened more than once? In my case (it very different), all the time. I also got : uhci_hcd :00:10.1: host controller process error, something bad happened! uhci_hcd :00:10.1: host controller halted, very bad! uhci_hcd

[linux-usb-devel] [PATCH 5/9] acecad: Uses usb_endpoint_is_* functions.

2006-08-04 Thread Luiz Fernando N . Capitulino
Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> --- drivers/usb/input/acecad.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/usb/input/acecad.c b/drivers/usb/input/acecad.c index 18c10e1..d83603b 100644 --- a/drivers/usb/input/acecad.c +++ b/dr

[linux-usb-devel] [PATCH 0/9] USB: New endpoint's functions -V2.

2006-08-04 Thread Luiz Fernando N . Capitulino
Hello, here goes -V2. Please, review this and help testing if you have one of the changed drivers. I tested it on my x86_64 machine, but I'm unable to test in my i386 one, it seems that latest Linus' tree is broken for me. Changes from -V1: o The functions are not inline anymore, and I moved

[linux-usb-devel] [PATCH 1/9] USB: New functions to check endpoints info.

2006-08-04 Thread Luiz Fernando N . Capitulino
These functions makes USB driver's code simpler when dealing with endpoints by avoiding them from accessing the endpoint's descriptor structure directly when they only need to know the endpoint's transfer type and/or direction. Please, read each functions' documentation in order to know how to use

[linux-usb-devel] [PATCH 6/9] ati_remote: Uses usb_endpoint_is_* functions.

2006-08-04 Thread Luiz Fernando N . Capitulino
Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> --- drivers/usb/input/ati_remote.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/usb/input/ati_remote.c b/drivers/usb/input/ati_remote.c index df198cf..2506025 100644 --- a/drivers/usb/input/at

[linux-usb-devel] [PATCH 9/9] usb-serial: Uses usb_endpoint_is_* functions.

2006-08-04 Thread Luiz Fernando N . Capitulino
Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> --- drivers/usb/serial/usb-serial.c | 19 +++ 1 files changed, 7 insertions(+), 12 deletions(-) diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c index 12c1694..a6e8707 100644 --- a/drive

[linux-usb-devel] [PATCH 2/9] usblp: Uses usb_endpoint_is_* functions.

2006-08-04 Thread Luiz Fernando N . Capitulino
Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> --- drivers/usb/class/usblp.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c index 48dee4b..112cf76 100644 --- a/drivers/usb/class/usblp.c +++ b/dr

Re: [linux-usb-devel] Problem: irq 217: nobody cared + backtrace

2006-08-04 Thread Jesper Juhl
On 03/08/06, Alan Stern <[EMAIL PROTECTED]> wrote: > > Has this happened more than once? Seems to happen consistently after ~10 interrupts. > In case it happens again, here's how > you can get more information. Turn on CONFIG_USB_DEBUG and > CONFIG_DEBUG_FS, and mount a debugfs filesystem s

[linux-usb-devel] [PATCH 4/9] appletouch: Uses usb_endpoint_is_* functions.

2006-08-04 Thread Luiz Fernando N . Capitulino
Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> --- drivers/usb/input/appletouch.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/usb/input/appletouch.c b/drivers/usb/input/appletouch.c index 9e3f139..4c57c35 100644 --- a/drivers/usb/input/apple

[linux-usb-devel] [PATCH 3/9] hub: Uses usb_endpoint_is_* functions.

2006-08-04 Thread Luiz Fernando N . Capitulino
Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> --- drivers/usb/core/hub.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 26c8cb5..2e13543 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/co

[linux-usb-devel] [PATCH 8/9] powermate: Uses usb_endpoint_is_* functions.

2006-08-04 Thread Luiz Fernando N . Capitulino
Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> --- drivers/usb/input/powermate.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/usb/input/powermate.c b/drivers/usb/input/powermate.c index b3c0d0c..f0f8db6 100644 --- a/drivers/usb/input/powermate

[linux-usb-devel] [PATCH 7/9] keyspan_remote: Uses usb_endpoint_is_* functions.

2006-08-04 Thread Luiz Fernando N . Capitulino
Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> --- drivers/usb/input/keyspan_remote.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/usb/input/keyspan_remote.c b/drivers/usb/input/keyspan_remote.c index 4723b31..a903595 100644 --- a/drivers/usb/

Re: [linux-usb-devel] usb hotplug, hid and snd_usb_audio

2006-08-04 Thread Luiz Fernando N. Capitulino
Em Fri, 4 Aug 2006 10:05:55 -0400 (EDT) Alan Stern <[EMAIL PROTECTED]> escreveu: | On Fri, 4 Aug 2006, Luiz Fernando N. Capitulino wrote: | | > Em Fri, 4 Aug 2006 18:23:06 +0900 | > | > Hi Magnus, | > | > "Magnus Damm" <[EMAIL PROTECTED]> escreveu: | > | > | Hi Pete, | > | | > | Thanks for t

Re: [linux-usb-devel] usb hotplug, hid and snd_usb_audio

2006-08-04 Thread Alan Stern
On Fri, 4 Aug 2006, Luiz Fernando N. Capitulino wrote: > Em Fri, 4 Aug 2006 18:23:06 +0900 > > Hi Magnus, > > "Magnus Damm" <[EMAIL PROTECTED]> escreveu: > > | Hi Pete, > | > | Thanks for the quick answer! > | > | On 8/4/06, Pete Zaitcev <[EMAIL PROTECTED]> wrote: > | > On Fri, 4 Aug 2006 15

[linux-usb-devel] -行-政-工-作-统-筹-管-理-高-级-研-修-班-

2006-08-04 Thread |3-E-薪-资-设-计|
linux-usb-devel您好,请转发给相关部门人员查收,谢谢! ★★★ 行政工作统筹管理高级研修班 ★★★ 时 间:2 0 0 6年8月11-12日 上海金水湾大酒店 2 0 0 6年8月18-19日 北京新兴宾馆 2 0 0 6年9月29-30日 深圳新大洲酒店 ―― 【主  办】职

Re: [linux-usb-devel] usb hotplug, hid and snd_usb_audio

2006-08-04 Thread Luiz Fernando N. Capitulino
Em Fri, 4 Aug 2006 18:23:06 +0900 Hi Magnus, "Magnus Damm" <[EMAIL PROTECTED]> escreveu: | Hi Pete, | | Thanks for the quick answer! | | On 8/4/06, Pete Zaitcev <[EMAIL PROTECTED]> wrote: | > On Fri, 4 Aug 2006 15:51:36 +0900, "Magnus Damm" <[EMAIL PROTECTED]> wrote: | > | > > 6. Unplug the u

[linux-usb-devel] HID device question

2006-08-04 Thread James Klaas
I've got one of those cheapo sound card/USB phones with a keypad. When I plug it in, it gives me an input device to read from, but only one of the keys generates a response. I've captured data from using a USB sniffer on Windows, so It could be added. Is there someone I can talk to about adding

Re: [linux-usb-devel] usb hotplug, hid and snd_usb_audio

2006-08-04 Thread Magnus Damm
Hi Pete, Thanks for the quick answer! On 8/4/06, Pete Zaitcev <[EMAIL PROTECTED]> wrote: > On Fri, 4 Aug 2006 15:51:36 +0900, "Magnus Damm" <[EMAIL PROTECTED]> wrote: > > > 6. Unplug the usb audio device. XMMS will from now on eat 100% CPU. > > The failure of XMMS is something Jaroslav might want

Re: [linux-usb-devel] usb hotplug, hid and snd_usb_audio

2006-08-04 Thread Pete Zaitcev
On Fri, 4 Aug 2006 15:51:36 +0900, "Magnus Damm" <[EMAIL PROTECTED]> wrote: > 6. Unplug the usb audio device. XMMS will from now on eat 100% CPU. The failure of XMMS is something Jaroslav might want to check. > 7. Again, check the state of all input devices: cat > /proc/bus/input/devices | grep