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?

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?

     

-----Ursprüngliche Nachricht-----
Von: Olav Kongas [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 27. Juli 2005 11:13
An: Fukumoto Akira
Cc: linux-usb-devel@lists.sourceforge.net
Betreff: Re: [linux-usb-devel] isp116x



On Wed, 27 Jul 2005, Fukumoto Akira wrote:

> Great Stuff !!
> dmesg looks much better now. 

It was my fault: it turns out that I had put up on the 
webpage the 2.6.13-rc1 version of the driver instead of the 
intended 2.6.12 version. I will change the driver on the 
web. Sorry about wasting your time.

> My problem is still on the SCSI side. The SCSI side will not support sda1
> device-node. I do not get:
> 
> 'SCSI emulation for USB Mass Storage devices' emmited in scsiglue.c
> 
> Are there any methods to test the driver alone?  
> Which event in the system should occur when plugging an USB-Device?

The 'SCSI emulation ...' message can be issued only after 
the device attachment is detected. But it is not clear 
whether the attachments are detected at all. Therefore the 
problem is still likely on the isp side, not the scsi.

Play with the sel15Kres setting again. Maybe just the 
current setting is incorrect. Try attaching different flash 
drives. Rebuild your kernel to include USB HID device 
support and try whether keyboards or mice are detected. If 
you have progress, please post also the new dmesg.

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