Meyer,
Are you able to work with this Webcam on Davinci ?
Swami
-----Original Message-----
From: Laurent Meyer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 09, 2008 2:22 PM
To: Subbrathnam, Swaminathan
Cc: [email protected]
Subject: RE: DM355 + MVL 2.6.10 USB stalling endpoint error
Le mercredi 09 avril 2008 à 14:07 +0530, Subbrathnam, Swaminathan a
écrit :
> I think Webcam support was not validated on that release on DM355 platform.
> You would require further updates for supporting webcams/ISO devices.
>
> Patches are available for DaVinci platform that will enable support for
> ISO/Webcams over DaVinci. You can try to port the same over DM355. Another
> option is to wait until TI gets this update released on DM355.
>
> Regards
> swami
I have already ported the ISO patch from Davinci but it led to the same
results.
It seems that the issue is more on USB2 protocol:
If you look on the traces below, there is a lot of "control NAK
timeouts". This can be a normal situation but we got more than the
driver expected:
see traces "no URB for end 0"
>
> -----Original Message-----
> From: Laurent Meyer [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 09, 2008 2:03 PM
> To: Subbrathnam, Swaminathan
> Cc: [email protected]
> Subject: RE: DM355 + MVL 2.6.10 USB stalling endpoint error
>
>
> Le mercredi 09 avril 2008 à 14:00 +0530, Subbrathnam, Swaminathan a
> écrit :
> > Meyer,
> >
> > Are you using the 2.6.10 stack that came with the DM355
> > EVM that is released by TI/MV ?
> >
> >
>
> Yes i do !
>
> >
> > swami
> >
> >
> >
> >
> > ______________________________________________________________________
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On
> > Behalf Of Laurent Meyer
> > Sent: Wednesday, April 09, 2008 12:36 PM
> > To: [email protected]
> > Subject: DM355 + MVL 2.6.10 USB stalling endpoint error
> >
> >
> >
> >
> > Hi all
> >
> > I try to make work a Philips WEBCAM SPC 1300NC
> > USB webcam on a TI DM355 with montavista kernel 2.6.10, i backported
> > uvcvideo driver, but i have a "stalling endpoint" error, see driver
> > debug below.
> >
> > Here is the complete log
> >
> > Any help would be appreciated.
> >
> > <7>musb_submit_urb 2032: submit c6a7ede0 hw0, dev7 ep0in, len
> > 255
> > <7>musb_start_urb 232: urb c6a7ede0: ep0out, type 2, max 64, addr 7,
> > buffer c6b8
> > <7>musb_ep_program 655: --> hw0, urb c6a7ede0, spd3 dev7 ep0out, hub0
> > port1, by8
> > <7>musb_write_fifo 427: TX ep0 fifo c7800420 count 8 buf
> > c6be51e0
> > <7>musb_start_urb 285: Start TX0
> > pio
> > <7>musb_interrupt 1606: <== IRQ host usb0000 tx0001
> > rx0000
> > <7>musb_h_ep0_irq 1302: <== csr0 0200, count 0, urb
> > c6a7ede0
> > <7>musb_h_ep0_continue 1246: start
> > IN-DATA
> > <7>musb_h_ep0_irq 1378: more ep0 DATA, csr
> > 0020
> > <7>tototata8 status =
> > 0
> > <7>musb_interrupt 1606: <== IRQ host usb0000 tx0001
> > rx0000
> > <7>musb_h_ep0_irq 1302: <== csr0 0001, count 52, urb
> > c6a7ede0
> > <7>musb_read_fifo 446: RX ep0 fifo c7800420 count 52 buf
> > c6a75c80
> > <7>musb_h_ep0_irq 1391: ep0 STATUS, csr
> > 0042
> > <7>musb_interrupt 1606: <== IRQ host usb0000 tx0001
> > rx0000
> > <7>musb_h_ep0_irq 1302: <== csr0 00c2, count 0, urb
> > c6a7ede0
> > <7>musb_h_ep0_irq 1320: control NAK
> > timeout
> > <7>__musb_giveback 328: complete c6a7ede0 (0), dev7 ep0in,
> > 52/255
> > <6>usb 1-1: Product: Philips SPC 1300NC
> > Webcam
> > usb 1-1: Product: Philips SPC 1300NC
> > Webcam
> >
> > <7>musb_submit_urb 1936: pUrb=c6a7ede0, end=0,
> > bufsize=255
> > <7>musb_interrupt 1606: <== IRQ host usb0000 tx0001
> > rx0000
> > <7>musb_h_ep0_irq 1302: <== csr0 0082, count 0, urb
> > 00000000
> > <7>musb_h_ep0_irq 1320: control NAK
> > timeout
> > <7>musb_h_ep0_irq 1360: no URB for end
> > 0
> >
> > <7>musb_submit_urb 1987: end 0 claimed for type=2, addr=7,
> > end=0
> >
> > <7>musb_submit_urb 2032: submit c6a7ede0 hw0, dev7 ep0in, len
> > 255
> > <7>musb_start_urb 232: urb c6a7ede0: ep0out, type 2, max 64, addr 7,
> > buffer c6b8
> > <7>musb_ep_program 655: --> hw0, urb c6a7ede0, spd3 dev7 ep0out, hub0
> > port1, by8
> > <7>musb_write_fifo 427: TX ep0 fifo c7800420 count 8 buf
> > c6be51e0
> > <7>musb_start_urb 285: Start TX0
> > pio
> > <7>musb_interrupt 1606: <== IRQ host usb0000 tx0001
> > rx0000
> > <7>musb_h_ep0_irq 1302: <== csr0 0200, count 0, urb
> > c6a7ede0
> > <7>musb_h_ep0_continue 1246: start
> > IN-DATA
> > <7>musb_h_ep0_irq 1378: more ep0 DATA, csr
> > 0020
> > <7>musb_interrupt 1606: <== IRQ host usb0000 tx0001
> > rx0000
> > <7>musb_h_ep0_irq 1302: <== csr0 0204, count 0, urb
> > c6a7ede0
> > <7>musb_h_ep0_irq 1312: STALLING
> > ENDPOINT
> > <7>musb_h_ep0_irq 1331:
> > aborting
> > <7>__musb_giveback 328: complete c6a7ede0 (-32), dev7 ep0in,
> > 0/255
> >
> > <7>musb_submit_urb 1936: pUrb=c6a7ede0, end=0,
> > bufsize=255
> >
> > <7>musb_submit_urb 1987: end 0 claimed for type=2, addr=7,
> > end=0
> >
> > <7>musb_submit_urb 2032: submit c6a7ede0 hw0, dev7 ep0in, len
> > 255
> > <7>musb_start_urb 232: urb c6a7ede0: ep0out, type 2, max 64, addr 7,
> > buffer c6b8
> > <7>musb_ep_program 655: --> hw0, urb c6a7ede0, spd3 dev7 ep0out, hub0
> > port1, by8
> > <7>musb_write_fifo 427: TX ep0 fifo c7800420 count 8 buf
> > c6be51e0
> > <7>musb_start_urb 285: Start TX0
> > pio
> > <7>musb_interrupt 1606: <== IRQ host usb0000 tx0001
> > rx0000
> > <7>musb_h_ep0_irq 1302: <== csr0 0200, count 0, urb
> > c6a7ede0
> > <7>musb_h_ep0_continue 1246: start
> > IN-DATA
> > <7>musb_h_ep0_irq 1378: more ep0 DATA, csr
> > 0020
> > <7>tototata8 status =
> > 0
> > <7>musb_interrupt 1606: <== IRQ host usb0000 tx0001
> > rx0000
> > <7>musb_h_ep0_irq 1302: <== csr0 0001, count 22, urb
> > c6a7ede0
> > <7>musb_read_fifo 446: RX ep0 fifo c7800420 count 22 buf
> > c6a75c80
> > <7>musb_h_ep0_irq 1391: ep0 STATUS, csr
> > 0042
> > <7>musb_interrupt 1606: <== IRQ host usb0000 tx0001
> > rx0000
> > <7>musb_h_ep0_irq 1302: <== csr0 00c2, count 0, urb
> > c6a7ede0
> > <7>musb_h_ep0_irq 1320: control NAK
> > timeout
> > <7>__musb_giveback 328: complete c6a7ede0 (0), dev7 ep0in,
> > 22/255
> > <6>usb 1-1: Manufacturer: Philips
> > CE
> > usb 1-1: Manufacturer: Philips
> > CE
> > <7>DEV: registering device: ID =
> > '1-1'
> > <7>musb_interrupt 1606: <== IRQ host usb0000 tx0001
> > rx0000
> > <7>musb_h_ep0_irq 1302: <== csr0 0082, count 0, urb
> > 00000000
> > <7>musb_h_ep0_irq 1320: control NAK
> > timeout
> > <7>musb_h_ep0_irq 1360: no URB for end
> > 0
> > <7>usb 1-1:
> > hotplug
> > <7>PM: Adding info for
> > usb:1-1
> > <7>bus usb: add device
> > 1-1
> > <7>bound device '1-1' to driver
> > 'usb'
> >
> > <7>musb_submit_urb 1936: pUrb=c6a7ede0, end=0,
> > bufsize=0
> >
> > <7>musb_submit_urb 1987: end 0 claimed for type=2, addr=7,
> > end=0
> >
> > <7>musb_submit_urb 2032: submit c6a7ede0 hw0, dev7 ep0out, len
> > 0
> > <7>musb_start_urb 232: urb c6a7ede0: ep0out, type 2, max 64, addr 7,
> > buffer c6b8
> > <7>musb_ep_program 655: --> hw0, urb c6a7ede0, spd3 dev7 ep0out, hub0
> > port1, by8
> > <7>musb_write_fifo 427: TX ep0 fifo c7800420 count 8 buf
> > c6be5d20
> > <7>musb_start_urb 285: Start TX0
> > pio
> > <7>musb_interrupt 1606: <== IRQ host usb0000 tx0001
> > rx0000
> > <7>musb_h_ep0_irq 1302: <== csr0 0200, count 0, urb
> > c6a7ede0
> > <7>musb_h_ep0_irq 1391: ep0 STATUS, csr
> > 0060
> > <7>musb_interrupt 1606: <== IRQ host usb0000 tx0001
> > rx0000
> > <7>musb_h_ep0_irq 1302: <== csr0 0244, count 0, urb
> > c6a7ede0
> > <7>musb_h_ep0_irq 1312: STALLING
> > ENDPOINT
> > <7>musb_h_ep0_irq 1331:
> > aborting
> > <7>__musb_giveback 328: complete c6a7ede0 (-32), dev7 ep0out,
> > 0/0
> >
> > <3>usb 1-1: can't set config #1, error
> > -32
> > usb 1-1: can't set config #1, error
> > -32
> > <7>bus usb: remove device
> > 1-1
> > <7>PM: Removing info for
> > usb:1-1
> > <7>usb 1-1:
> > hotplug
> >
> > <7>MGC_VirtualHubSubmitUrb 377: ROOT SETUP req23.01 v0001 i0001
> > l0
> > <7>MGC_VirtualHubSubmitUrb 457: enable port
> > 0
> > <7>MGC_VirtualHubSubmitUrb 648: URB status 0, len
> > 0
> >
> > <7>MGC_VirtualHubSubmitUrb 377: ROOT SETUP req23.01 v0001 i0001
> > l0
> > <7>MGC_VirtualHubSubmitUrb 457: enable port
> > 0
> > <7>MGC_VirtualHubSubmitUrb 648: URB status 0, len
> > 0
> > <7>hub 1-0:1.0: state 5 ports 1 chg fffe evt
> > 0006
> >
> > <7>MGC_VirtualHubSubmitUrb 377: ROOT SETUP reqa3.00 v0000 i0001
> > l4
> > <7>MGC_VirtualHubSubmitUrb 392: GET_STATUS(), bType=20, bRecip=03,
> > wIndex=0001
> > <7>MGC_VirtualHubSubmitUrb 433: status 0503 change
> > 0000
> > <7>MGC_VirtualHubSubmitUrb 648: URB status 0, len
> > 4
> >
> > --
> >
> >
> > Laurent MEYER.
> >
> >
> >
> >
> >
> >
> >
> >
--
Laurent MEYER.
Resp projets Borea SAS
Tél: +331 75 43 78 43
Email: [EMAIL PROTECTED]
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source