On Sun, 15 Jul 2007, Rogier Wolff wrote:

> > It's kind of involved.  In brief: The computer's USB hardware detects a
> > new connection and generates an interrupt.  The hub driver learns that
> > a new device has been connected to some port and goes through a complex
> > initialization and enumeration procedure, which involves resetting the
> > port, assigning the device an address, reading the device's
> > descriptors, and choosing a device configuration.  Once that's all
> > done, the device will appear in /proc/bus/usb/devices.
> 
> My kernel reports: 
>       New USB device found on port ... 

Mine doesn't.  For example, I just plugged in a USB flash storage 
device.  The only kernel messages appearing during the initialization 
phases were these two:

usb 6-4: new high speed USB device using ehci_hcd and address 2
usb 6-4: configuration #1 chosen from 1 choice

(Note, this is without CONFIG_USB_DEBUG enabled.)  The first of those
doesn't get printed until after the port has been successfully reset.

> If enumeration and assigning an addres fails, I get a message saying
> that a few seconds later. If Haines doesn't get the "new USB device"
> message, there is something wrong with the camera, cable or the port. 

That's what I said earlier.

> Interrupts on his USB devices seem to work as other devices are 
> detected. 

The question is not whether interrupts are working; the question is 
whether an interrupt occurs when the camera is plugged in.  If it 
doesn't, that's a pretty clear indication that the camera or the cable 
is at fault.  And it indicates that the problem occurs right at the 
beginning of the normal device-detection pathway.

This is also why I asked whether the camera works when plugged into a 
different computer.

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to