Alan Stern continued:

>On Tue, 4 May 2004 [EMAIL PROTECTED] wrote:
>
>> Here is my dump of /proc/driver/uhci/000:00:1d.1 after the various
stages:
>
... snip ...

>> == after hot-plug ==
>>
>> HC status
>>   usbcmd    =     0008   Maxp32 EGSM
>>   usbstat   =     0020   HCHalted
>>   usbint    =     000f
>>   usbfrnum  =   (0)264
>>   flbaseadd = 2b998264
>>   sof       =       40
>>   stat1     =     0080
>>   stat2     =     0080
>> Frame List
>> Skeleton QH's
>
>This is odd.  It says the USB controller in your computer is not aware
>that anything has been plugged in.  It's just as though no electrical
>connection was made.  In particular, look at the stat1 = 0080 line.  The
>least significant bit of that value is the Current Connection Status
>indicator; the fact that it is 0 means the controller is unaware that
>anything is attached to the port.

Now is it truely the controller that didn't detect the plugin, or
that it didn't report the plugin via an interrupt to driver sw that
eventually updates this info?

>Three possibilities: your USB controller is bad, your cable is bad, or
>your USB device is bad.  Since the same thing happens with multiple
>devices (and also multiple cables?) we can rule out the last possibility
>(and the second as well?).  This makes me think the USB hardware on your
>computer may be faulty.

Yup, thats why I went back and tried it 15 thousand more times, just to
prove I wasn't going insane.

>However, you say that everything works okay under Linux 2.4.  Have you
>tried it recently?

Just tried it, and it _still_ works find with 2.4.

It looks as if something has programmed the USB controller to ignore the
'leaving' status change.  Does the coldplug detect also go through
an status change detect phase, or does it poll for devices uppon the
driver's first activation.  ie. I have had all 3 devices plugged in
before powerup.  Then one at a time, I've unplugged them, and each one
in turn dissappears.  But once gone, they can never come back.  Kind of
like inserts are ignored, but removals are detected.  Thats why I ask
'how are devices detected at powerup?  asynchronously, or polled in init
()?'







-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to