On Thu, 2004-09-09 at 10:05, Dominic Evans wrote: > The 2.6 Kernel code might be interesting, especially as there are > numerous posts on here regarding people willing to try and port the > isp116x code to 2.6.x. I'm not aware how much the usb code has changed > between 2.4.x -> 2.6.x but I am guessing it cannot be too extensive > changes required, nor should it be difficult to work by comparing diffs > of already ported drivers.
I will send it to you in private mail. > >> Also, if you have any queries about the USB hardware etc on the VIPER > please don't hesitate to ask. > > What is the interrupt trigger source for the isp116x on the Viper? (i.e. > is it set up to be edge or level triggered) It's IRQ 25 (GPIO 2) and the HcHardwareConfig used in the 2.4 driver is InterruptOutputPolarity|InterruptPinTrigger|DataBusWidth16|DREQOutputPolarity|DownstreamPort15KRSel|AnalogOCEnable I make that active high, edge triggered. The GPIO line is setup as GPIO_BOTH_EDGES in arch/arm/mach-pxa/viper.c. You could probably just make that one edge or the other, or even try for level triggered. > Could you also tell me which webcams you have tried with it? The pwc > driver with phillips/logitech seems to be the most common (and is what > I'm attempting to get working) but it would be interesting to see if any > others have been tried. I've tried a pwc and a ov511, neither worked. I've also tried the boundary isp116x driver, the original roman one and the tango one. > Also do you have any comment on this: > > // this chip (isp116x) gives a pulse of 167ns on the interrupt, pxa250 > requires 1000ns > > As I cannot find this requirement documented anywhere in the publicly > available docs I was wondering if you had any better information? I vaguely remember this, although it was quite some time ago that I worked out the interrupt setup for ISP116x on the VIPER so my memory is entirely fuzzy. Perhaps this is why I chose to use edge rather than level triggered interrupts. I know that with the above configuration interrupts are received and I suspect that at the time I decided this was good enough for now, I don't think interrupts are being missed or anything like that... Ian. -- Ian Campbell, Senior Design Engineer Web: http://www.arcom.com Arcom, Clifton Road, Direct: +44 (0)1223 403 465 Cambridge CB1 7EA, United Kingdom Phone: +44 (0)1223 411 200 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel