On Thu, 28 Jul 2005, Fukumoto Akira wrote:

> Hello Olav,
> some news from my development. Two facts I have found:
> 
> 1. Assuming that USB needs hot plug-function the kernel always needs
> usermode-functions i.e. call_usermodehelper() to install dev-nodes for
> USB-Mass Storage-device. In my case I have static linked isp116x-Drivers
> which are registered during __init of the kernel before rootfs is available
> therfore call_usermodehelper()-> /sbin/hotplug gets -1 when open a file. 
> Do you know a way to register isp116x-driver after rootfs is loaded?

I agree with what Ian already told you: you can make static 
device nodes or build isp116x-hcd as a module.

> 
> 2. I get an Interrupt from isp when isp116x_start() is initializing the chip
> before HCD_RUNNING is set. In this case the base-interrupt handler
> usb_hcd_irq() never serve isp116x_irq() the interrupt stays pending. I
> believe it is better to set chip-setup after hcd->state = HC_RUNNING; is
> installed. What do you think about that?

Are you sure your interrupt configuration is correct? 
Polarity, for example?

Olav


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to