[linux-usb-devel] Re: isp1362-hcd - usb usb1: bogus endpoint ep0in in usb_submit_urb (bad maxpacket 0)

2006-03-17 Thread Olav Kongas
On Thu, 16 Mar 2006, Vishal Oliyil Kunnil wrote: > -- > driver isp1362-hcd, 2005-04-04 > isp1362-hcd isp1362-hcd0: ISP1362 Host Controller > isp1362_hc_reset: > isp1362_sw_r

[linux-usb-devel] Re: isp1362-hcd - usb usb1: bogus endpoint ep0in in usb_submit_urb (bad maxpacket 0)

2006-03-17 Thread Olav Kongas
On Thu, 16 Mar 2006, Vishal Oliyil Kunnil wrote: > Hi, > I am trying to get the isp1362-hcd driver running on a custom PXA board . Got > lots of info from the list archives, had to pull the H_WAKE pin low to get > the clock trigger ready (Thanks to the list archives :) ) > > IRQ 27 is assing

[linux-usb-devel] Re: isp1362

2005-06-08 Thread Marco Schramel
Hi all, Olav and Lothar thank you for your comments. What i have to do to prevent the cpu from this ms interrupts? thanks and best regards Marco -- - Marco Schramel --- This SF.Net email is sponsored by: NEC IT Guy Games. How far c

Re: [linux-usb-devel] Re: isp1362-hcd driver feedback

2005-04-27 Thread Michael
> > I used the define 'USE_32BIT' to 0. > > Isn't the ISP1362 16-bit only? You can do 32-bit accesses on > > the 16-bit bus, but then you violate the (fussy) timing for > > sure! > > > That depends on the capabilities of the processors memory > interface. At least on PXA you can program the me

[linux-usb-devel] Re: isp1362-hcd driver feedback

2005-04-27 Thread Lothar Wassmann
Hi, > I needed to modify the drivers/usb/Makefile before it would compile > in: > > diff -dbBurN linux-2.6.11-mm2/drivers/usb/Makefile > linux-2.6.11-mm2-oscar4_usb/drivers/usb/Makefile > --- linux-2.6.11-mm2/drivers/usb/Makefile 2005-04-25 > 15:29:50.0 -0500 > +++ linux-2.6.11-mm2-

[linux-usb-devel] Re: isp1362-hcd and XFERCTR

2005-04-20 Thread Lothar Wassmann
Hi, > Hi. I'm having some trouble with your driver, and there's parts I > don't understand. The one I'm asking about this time, is: Where is > XFERCTR being set? The below code snippet mentions assuming it's > set up, but I can't find the code that actually sets it up! > > // use readsw/writes

Re: [linux-usb-devel] Re: isp1362 driver - BUG_ON(xfer_size < mps)

2004-12-17 Thread Lothar Wassmann
Hi Michael, Michael writes: > Thanks for your responses, guys. > I worked around the problem by increasing the INT buffer's blk > size: > > // dev->intl_queue.num_bufs = 32; > // dev->intl_queue.blk_size = 8; > dev->intl_queue.num_bufs = 1; >

Re: [linux-usb-devel] Re: isp1362 driver - BUG_ON(xfer_size < mps)

2004-12-17 Thread Michael
--- Lothar Wassmann <[EMAIL PROTECTED]> wrote: > Hi David, > > > On Friday 17 December 2004 6:53 am, Lothar Wassmann wrote: > > > Hi David, > > > > > > > On Friday 17 December 2004 1:51 am, Lothar Wassmann wrote: > > > > > > xfer_size = ptd_xfer_size(ptd_q, xfer_type, len); > > > > > > printk

Re: [linux-usb-devel] Re: isp1362 driver - BUG_ON(xfer_size < mps)

2004-12-17 Thread Lothar Wassmann
Hi David, > On Friday 17 December 2004 6:53 am, Lothar Wassmann wrote: > > Hi David, > > > > > On Friday 17 December 2004 1:51 am, Lothar Wassmann wrote: > > > > > xfer_size = ptd_xfer_size(ptd_q, xfer_type, len); > > > > > printk("len = %d, xfer_size = %d, mps = %d, xfer_type = %d\n", > > > >

Re: [linux-usb-devel] Re: isp1362 driver - BUG_ON(xfer_size < mps)

2004-12-17 Thread David Brownell
Hi Lothar, On Friday 17 December 2004 6:53 am, Lothar Wassmann wrote: > Hi David, > > > On Friday 17 December 2004 1:51 am, Lothar Wassmann wrote: > > > > xfer_size = ptd_xfer_size(ptd_q, xfer_type, len); > > > > printk("len = %d, xfer_size = %d, mps = %d, xfer_type = %d\n", > > > > len, xfer_s

Re: [linux-usb-devel] Re: isp1362 driver - BUG_ON(xfer_size < mps)

2004-12-17 Thread Lothar Wassmann
Hi David, > On Friday 17 December 2004 1:51 am, Lothar Wassmann wrote: > > > xfer_size = ptd_xfer_size(ptd_q, xfer_type, len); > > > printk("len = %d, xfer_size = %d, mps = %d, xfer_type = %d\n", > > > len, xfer_size, mps, xfer_type); > > > if (xfer_size < len && xfer_size % mps) { > > >

Re: [linux-usb-devel] Re: isp1362 driver - BUG_ON(xfer_size < mps)

2004-12-17 Thread David Brownell
On Friday 17 December 2004 1:51 am, Lothar Wassmann wrote: > > xfer_size = ptd_xfer_size(ptd_q, xfer_type, len); > > printk("len = %d, xfer_size = %d, mps = %d, xfer_type = %d\n", > > len, xfer_size, mps, xfer_type); > > if (xfer_size < len && xfer_size % mps) { > > BUG_ON(xfer_size < m

[linux-usb-devel] Re: isp1362 driver - BUG_ON(xfer_size < mps)

2004-12-17 Thread Lothar Wassmann
Hi Michael, > Hi. I'm using the ohci-isp1362 driver, and I'm finally getting it > working. However, I can make it crash every time I use a > usb-serial adapter. > > I seem to trigger the BUG_ON(xfer_size < mps) in process_td. > (ohci-isp1362-emu.c) It seems the null pointer dereference is > cau

[linux-usb-devel] Re: ISP1362 driver - write_reg32 & drop_all_ptds

2004-11-25 Thread Lothar Wassmann
Hi Michael, > Could you give me a hint of what to use for 'drop_ptds_for_td'? > The parameters don't seem to match clear_ptd_queue or > clear_ptd_queues. It's used like this: > > #ifdef CONFIG_USB_OHCI_ISP1362 > if (TD_CC_GET(td->hwINFO) == 0x0a) { > drop_ptds_for_td(ohci_to_h

[linux-usb-devel] Re: ISP1362 driver - write_reg32 & drop_all_ptds

2004-11-23 Thread Michael
Hello again. > > 1. It doesn't seem to include the functions 'drop_all_ptds' and > > 'drop_ptds_for_td', which are necessary in order to compile. > > > Grrr. I renamed the function to 'clear_ptd_queue' but obviously > missed to change some calls in ohci-isp1362-regs.h. Thanks, that's good to kno

[linux-usb-devel] Re: ISP1362 driver - write_reg32 & drop_all_ptds

2004-11-23 Thread Lothar Wassmann
Hi, Michael writes: > Hi. I'm trying to use the changes in your latest driver, but there > are two bigger issues I've run into. > > 1. It doesn't seem to include the functions 'drop_all_ptds' and > 'drop_ptds_for_td', which are necessary in order to compile. > Grrr. I renamed the function to 'c