Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-22 Thread Guennadi Liakhovetski
On Tue, 18 Apr 2006, Paul Fulghum wrote: > I think setting tty to NULL is just a reflection > of the code assuming that the console open happens > only at system startup, before the usb serial port > is opened for other reasons. > > usb_console_setup() should be changed to use the > current tty v

[linux-usb-devel] OMAP ISR and Work Queue

2006-04-22 Thread Sujith Sankar
Hi All, I'm into developing OTG Controller driver for Linux for ARC controller. The only similar implementation that i could find was OMAP. Could you please clear the following doubts? 1.) In OMAP ISR, work queue is used for invoking the bottom half. Is it cumulative? If not, isn't there a chan

Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-22 Thread Paul Fulghum
On Sat, 2006-04-22 at 12:14 +0200, Guennadi Liakhovetski wrote: > Do you mean something like the patch below? If yes, then it doesn't > help:-( Any idea why?.. I'll try to have a better look too... That is what I meant, but I was wrong. My suggestion was pointless as port->tty should always be N

Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-22 Thread Guennadi Liakhovetski
On Sat, 22 Apr 2006, Paul Fulghum wrote: > As you say, back to looking at the code... > > Just as a quick hack/test, what happens if you don't > increment port->open_count in console.c:usb_console_setup() ? Hm, what I see here (without the proposed modification) is that getty is started, the pr

Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-22 Thread Paul Fulghum
On Sat, 2006-04-22 at 18:05 +0200, Guennadi Liakhovetski wrote: > On Sat, 22 Apr 2006, Paul Fulghum wrote: > > > As you say, back to looking at the code... > > > > Just as a quick hack/test, what happens if you don't > > increment port->open_count in console.c:usb_console_setup() ? > > Hm, what

Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-22 Thread Guennadi Liakhovetski
On Sat, 22 Apr 2006, Paul Fulghum wrote: > What I was looking for is to execute the ftdi_open (with > the actual tty struct) when getty opens the device. Emn, Paul, correct me if I am wrong. The only (regular) place I found where console->setup() is called is in kernel/printk.c in register_cons

Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-22 Thread Paul Fulghum
Guennadi Liakhovetski wrote: Emn, Paul, correct me if I am wrong. The only (regular) place I found where console->setup() is called is in kernel/printk.c in register_console()... Yes Anyway, I did check it (I just changed the if() that follows to if(1), because without ++open_count the test

[linux-usb-devel] Fw: [Bugme-new] [Bug 6427] New: no driver assigned to an usb storage device

2006-04-22 Thread Andrew Morton
Begin forwarded message: Date: Sat, 22 Apr 2006 11:23:50 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 6427] New: no driver assigned to an usb storage device http://bugzilla.kernel.org/show_bug.cgi?id=6427 Summary: no driver assigned to an usb storag

[linux-usb-devel] spca5xx-20060402 module can not loaded

2006-04-22 Thread Thomas Lais
Maybe some one can help my. I have compile the spca5xx-20060402 module for WebCams. I have Linux version 2.6.5-7.201-default ([EMAIL PROTECTED]) (gcc version 3.3.3 (SuSE Linux)) #2 Thu Nov 17 10:35:51 CET 2005 I do: :> make clean rm -r -f drivers/usb/*.o drivers/usb/.spcadecoder.o.cmd \ dri

Re: [linux-usb-devel] spca5xx-20060402 module can not loaded

2006-04-22 Thread michel Xhaard
Le Samedi 22 Avril 2006 20:50, Thomas Lais a écrit : > Maybe some one can help my. I have compile the spca5xx-20060402 module for > WebCams. I have you should post on the spca50x mailing list instead :) [EMAIL PROTECTED] > Linux version 2.6.5-7.201-default ([EMAIL PROTECTED]) (gcc version 3.3.3 >

Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-22 Thread Guennadi Liakhovetski
On Sat, 22 Apr 2006, Paul Fulghum wrote: > Guennadi Liakhovetski wrote: > > Emn, Paul, correct me if I am wrong. The only (regular) place I found where > > console->setup() is called is in kernel/printk.c in register_console()... > > Yes So, it doesn't make sense to change it there - register_co

Re: [linux-usb-devel] spca5xx-20060402 module can not loaded

2006-04-22 Thread Tilman Schmidt
On 22.04.2006 20:50, Thomas Lais wrote: > Maybe some one can help my. I have compile the spca5xx-20060402 module for > WebCams. I can't find such a module in the standard kernel tree. Where is it from? Where can its source be consulted? Which kernel releases does it support? > Linux version 2.

Re: [linux-usb-devel] OMAP ISR and Work Queue

2006-04-22 Thread David Brownell
On Saturday 22 April 2006 5:45 am, Sujith Sankar wrote: > Hi All, > > I'm into developing OTG Controller driver for Linux for ARC controller. > The only similar implementation that i could find was OMAP. It's not necessarily the best example for you, of course; if you have an integrated transceiv

[linux-usb-devel] why my ep0->queue is alway empty?

2006-04-22 Thread Peter.Chen
Hi I have developed dm320 udc these periods,and my program is based on omap_udc.c in kernel tree.I meet a proble: when ep0 interrupt is invoked,it enters my dm320_ep0_control function. Below is my function body: struct dm320_ep *ep0 = &udc->ep[0]; struct dm320_req *req = NULL; INFO("t