On Friday 16 April 2004 17:33, Alan Stern wrote: > On Thu, 15 Apr 2004, Simone Gotti wrote: > > I've did this 4 time with the same results, I've > > used /proc/driver/uhci/0000:00:10.0 because > > /proc/driver/uhci/0000:00:10.1 gived the same result so probably the > > bluetooth device was connected to this. > > > > Like test I've used #sdptool browse > > > > I've taked 3 files: before the execution of the command, during and > > after. > > I found in error in the patch you identified. This should fix it. Please > let me know how it works. > > Alan Stern > > > > ===== drivers/usb/host/uhci-hcd.c 1.101 vs edited ===== > --- 1.101/drivers/usb/host/uhci-hcd.c Fri Mar 26 10:19:10 2004 > +++ edited/drivers/usb/host/uhci-hcd.c Fri Apr 16 11:02:37 2004 > @@ -425,6 +425,7 @@ > list_del_init(&qh->list); > } > > + list_del_init(&qh->urbp->queue_list); > qh->urbp = NULL; > > /* Check to see if the remove list is empty. Set the IOC bit */ > @@ -579,7 +580,7 @@ > pltd->link = UHCI_PTR_TERM; > } > > - list_del_init(&urbp->queue_list); > + /* urbp->queue_list is handled in uhci_remove_qh() */ > } > > static struct urb_priv *uhci_alloc_urb_priv(struct uhci_hcd *uhci, struct > urb *urb)
Sorry, I've tried it but I've got the same behavior, I've looked at the output of /proc/driver/uhci/0000:00:10.0 but it's quite similar. It's attached. Let me know if you need any other tests. Bye! -- Simone Gotti <[EMAIL PROTECTED]>
# cat /proc/driver/uhci/0000\:00\:10.0 HC status usbcmd = 00c1 Maxp64 CF RS usbstat = 0000 usbint = 000f usbfrnum = (1)6ac flbaseadd = 0e3ac000 sof = 40 stat1 = 0480 OverCurrent stat2 = 0495 OverCurrent Enabled Connected Frame List Skeleton QH's - skel_int128_qh [cce49000] link (0ce49152) element (00000001) urbp == NULL - skel_int64_qh [cce49030] link (0ce49152) element (00000001) urbp == NULL - skel_int32_qh [cce49060] link (0ce49152) element (00000001) urbp == NULL - skel_int16_qh [cce49090] link (0ce49152) element (00000001) urbp == NULL - skel_int8_qh [cce490c0] link (0ce49152) element (00000001) urbp == NULL - skel_int4_qh [cce490f0] link (0ce49152) element (00000001) urbp == NULL - skel_int2_qh [cce49120] link (0ce49152) element (00000001) urbp == NULL - skel_int1_qh [cce49150] link (0ce492a2) element (00000001) urbp == NULL [cce492a0] link (0ce49182) element (03ec04c0) 0: [c3ec04c0] link (00000001) e3 IOC Active NAK Length=7ff MaxLen=f DT1 EndPt=1 Dev=2, PID=69(IN) (buf=0ce31838) - skel_ls_control_qh [cce49180] link (0ce491b2) element (00000001) urbp == NULL - skel_fs_control_qh [cce491b0] link (0ce491e2) element (00000001) urbp == NULL - skel_bulk_qh [cce491e0] link (0ce49272) element (00000001) urbp == NULL [cce49270] link (0ce49212) element (03ec0080) 0: [c3ec0080] link (03ec00c0) e3 SPD Active NAK Length=7ff MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e25c4) 1: [c3ec00c0] link (03ec0100) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e2604) 2: [c3ec0100] link (03ec0140) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2644) 3: [c3ec0140] link (03ec0180) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e2684) 4: [c3ec0180] link (03ec01c4) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e26c4) 5: [c3ec01c0] link (03ec0200) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e2704) 6: [c3ec0200] link (03ec0240) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2744) 7: [c3ec0240] link (03ec0280) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e2784) 8: [c3ec0280] link (03ec02c0) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e27c4) 9: [c3ec02c0] link (03ec0304) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e2804) 10: [c3ec0300] link (03ec0340) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2844) 11: [c3ec0340] link (03ec0380) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e2884) 12: [c3ec0380] link (03ec03c0) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e28c4) 13: [c3ec03c0] link (03ec0400) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e2904) 14: [c3ec0400] link (03ec0444) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2944) 15: [c3ec0440] link (03ec0480) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e2984) 16: [c3ec0480] link (00000001) e3 IOC Active Length=0 MaxLen=3 DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e29c4) - skel_term_qh [cce49210] link (00000001) element (03ec0000) urbp == NULL Main list URBs: 1: urb_priv [c542f454] urb [cd3f5768] qh [cce49270] Dev=2 EP=2(IN) BLK FSBR_TO TDs=17 queued URBs=0 2: urb_priv [c542f48c] urb [cd3f5308] qh [cce492a0] Dev=2 EP=1(IN) INT TDs=1 queued URBs=0 Remove list URBs: Empty Complete list URBs: Empty
# cat /proc/driver/uhci/0000\:00\:10.0 HC status usbcmd = 00c1 Maxp64 CF RS usbstat = 0000 usbint = 000f usbfrnum = (0)458 flbaseadd = 0e3ac000 sof = 40 stat1 = 0480 OverCurrent stat2 = 0495 OverCurrent Enabled Connected Frame List Skeleton QH's - skel_int128_qh [cce49000] link (0ce49152) element (00000001) urbp == NULL - skel_int64_qh [cce49030] link (0ce49152) element (00000001) urbp == NULL - skel_int32_qh [cce49060] link (0ce49152) element (00000001) urbp == NULL - skel_int16_qh [cce49090] link (0ce49152) element (00000001) urbp == NULL - skel_int8_qh [cce490c0] link (0ce49152) element (00000001) urbp == NULL - skel_int4_qh [cce490f0] link (0ce49152) element (00000001) urbp == NULL - skel_int2_qh [cce49120] link (0ce49152) element (00000001) urbp == NULL - skel_int1_qh [cce49150] link (0ce49242) element (00000001) urbp == NULL [cce49240] link (0ce49182) element (03ec0040) 0: [c3ec0040] link (00000001) e3 IOC Active NAK Length=7ff MaxLen=f DT0 EndPt=1 Dev=2, PID=69(IN) (buf=0ce31838) - skel_ls_control_qh [cce49180] link (0ce491b2) element (00000001) urbp == NULL - skel_fs_control_qh [cce491b0] link (0ce491e2) element (00000001) urbp == NULL - skel_bulk_qh [cce491e0] link (0ce492a2) element (00000001) urbp == NULL [cce492a0] link (0ce49212) element (03ec04c0) 0: [c3ec04c0] link (03ec0500) e3 SPD Active NAK Length=7ff MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e25c4) 1: [c3ec0500] link (03ec0540) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2604) 2: [c3ec0540] link (03ec0580) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e2644) 3: [c3ec0580] link (03ec05c0) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2684) 4: [c3ec05c0] link (03ec0604) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e26c4) 5: [c3ec0600] link (03ec0640) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2704) 6: [c3ec0640] link (03ec0680) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e2744) 7: [c3ec0680] link (03ec06c0) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2784) 8: [c3ec06c0] link (03ec0700) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e27c4) 9: [c3ec0700] link (03ec0744) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2804) 10: [c3ec0740] link (03ec0780) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e2844) 11: [c3ec0780] link (03ec07c0) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2884) 12: [c3ec07c0] link (03ec0800) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e28c4) 13: [c3ec0800] link (03ec0840) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2904) 14: [c3ec0840] link (03ec0884) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e2944) 15: [c3ec0880] link (03ec08c0) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2984) 16: [c3ec08c0] link (00000001) e3 IOC Active Length=0 MaxLen=3 DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e29c4) [cce49300] link (0ce49212) element (03ec0940) 0: [c3ec0940] link (0ce49272) e3 IOC Active Length=0 MaxLen=1b DT1 EndPt=2 Dev=2, PID=e1(OUT) (buf=0c0a72e0) -- Queued QH's: [cce49270] link (0ce49212) element (03ec0080) 0: [c3ec0080] link (00000001) e3 IOC Active Length=0 MaxLen=f DT0 EndPt=2 Dev=2, PID=e1(OUT) (buf=05a554f8) - skel_term_qh [cce49210] link (00000001) element (03ec0000) urbp == NULL Main list URBs: 1: urb_priv [c542f454] urb [cd3f5768] qh [cce492a0] Dev=2 EP=2(IN) BLK FSBR_TO TDs=17 queued URBs=0 2: urb_priv [c542f41c] urb [cbe2490c] qh [cce49300] Dev=2 EP=2(OUT) BLK FSBR_TO TDs=1 queued URBs=1 3: urb_priv [c542f534] urb [cbe24420] qh [cce49270] Dev=2 EP=2(OUT) BLK FSBR_TO TDs=1 queued 4: urb_priv [c542f48c] urb [cd3f5308] qh [cce49240] Dev=2 EP=1(IN) INT TDs=1 queued URBs=0 Remove list URBs: Empty Complete list URBs: Empty
# cat /proc/driver/uhci/0000\:00\:10.0 HC status usbcmd = 00c1 Maxp64 CF RS usbstat = 0000 usbint = 000f usbfrnum = (0)418 flbaseadd = 0e3ac000 sof = 40 stat1 = 0480 OverCurrent stat2 = 0495 OverCurrent Enabled Connected Frame List Skeleton QH's - skel_int128_qh [cce49000] link (0ce49152) element (00000001) urbp == NULL - skel_int64_qh [cce49030] link (0ce49152) element (00000001) urbp == NULL - skel_int32_qh [cce49060] link (0ce49152) element (00000001) urbp == NULL - skel_int16_qh [cce49090] link (0ce49152) element (00000001) urbp == NULL - skel_int8_qh [cce490c0] link (0ce49152) element (00000001) urbp == NULL - skel_int4_qh [cce490f0] link (0ce49152) element (00000001) urbp == NULL - skel_int2_qh [cce49120] link (0ce49152) element (00000001) urbp == NULL - skel_int1_qh [cce49150] link (0ce49242) element (00000001) urbp == NULL [cce49240] link (0ce49182) element (03ec0040) 0: [c3ec0040] link (00000001) e3 IOC Active NAK Length=7ff MaxLen=f DT0 EndPt=1 Dev=2, PID=69(IN) (buf=0ce31838) - skel_ls_control_qh [cce49180] link (0ce491b2) element (00000001) urbp == NULL - skel_fs_control_qh [cce491b0] link (0ce491e2) element (00000001) urbp == NULL - skel_bulk_qh [cce491e0] link (0ce492a2) element (00000001) urbp == NULL [cce492a0] link (0ce49212) element (03ec04c0) 0: [c3ec04c0] link (03ec0500) e3 SPD Active NAK Length=7ff MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e25c4) 1: [c3ec0500] link (03ec0540) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2604) 2: [c3ec0540] link (03ec0580) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e2644) 3: [c3ec0580] link (03ec05c0) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2684) 4: [c3ec05c0] link (03ec0604) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e26c4) 5: [c3ec0600] link (03ec0640) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2704) 6: [c3ec0640] link (03ec0680) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e2744) 7: [c3ec0680] link (03ec06c0) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2784) 8: [c3ec06c0] link (03ec0700) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e27c4) 9: [c3ec0700] link (03ec0744) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2804) 10: [c3ec0740] link (03ec0780) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e2844) 11: [c3ec0780] link (03ec07c0) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2884) 12: [c3ec07c0] link (03ec0800) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e28c4) 13: [c3ec0800] link (03ec0840) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2904) 14: [c3ec0840] link (03ec0884) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e2944) 15: [c3ec0880] link (03ec08c0) e3 SPD Active Length=0 MaxLen=3f DT0 EndPt=2 Dev=2, PID=69(IN) (buf=083e2984) 16: [c3ec08c0] link (00000001) e3 IOC Active Length=0 MaxLen=3 DT1 EndPt=2 Dev=2, PID=69(IN) (buf=083e29c4) [cce49300] link (0ce49212) element (03ec0940) 0: [c3ec0940] link (00000001) e3 IOC Active Length=0 MaxLen=1b DT1 EndPt=2 Dev=2, PID=e1(OUT) (buf=0c0a72e0) - skel_term_qh [cce49210] link (00000001) element (03ec0000) urbp == NULL Main list URBs: 1: urb_priv [c542f454] urb [cd3f5768] qh [cce492a0] Dev=2 EP=2(IN) BLK FSBR_TO TDs=17 queued URBs=0 2: urb_priv [c542f41c] urb [cbe2490c] qh [cce49300] Dev=2 EP=2(OUT) BLK FSBR_TO TDs=1 queued URBs=0 3: urb_priv [c542f48c] urb [cd3f5308] qh [cce49240] Dev=2 EP=1(IN) INT TDs=1 queued URBs=0 Remove list URBs: Empty Complete list URBs: Empty