Hi.
I solved some problems. I corrected pwc_isoc_handler() like kernel-2.6.
So, normally re-submitting URBs.
And, I corrected pwc_isoc_cleanup(). Before usb_unlink_urb(), I
inserted “urb->complete = NULL”.
So, I prevented “urb->complete = pwc_isoc_handler()” more. Continuity
“re-submit_urb” in pwc_isoc_handler() was
a cause of kernel oops. Finally, the camera is operating well.
But, I can operate USB camera only using an expedient. At first, when I
connect USB camera and play the picture,
reassigned used device and no more actions. Then, unplugged the USB
camera and replugged that, re-assigned
new device number and all operation is very well. No problem.
Why good result at second assign?

(operated the camera)
hub.c: USB new device connect on bus1/1, assigned device number 2
(Frozen. No more actions. So, unplug USB Camera)
usb.c: USB disconnect on device 2

pwc Disconnected while webcam is in use!

USB HC dev free
(Replugged the camera)
USB HC dev alloc 384 bytes                                   
hub.c: USB new device connect on bus1/1, assigned device number 3

pwc Logitech QuickCam 4000 Pro USB webcam detected.

pwc Registered as /dev/video0.
(From now, All operation is good!! No problems)

[dmesg]
BH    X   11    4    4   11    4    4   11    4    4   BH    X   11
4    4   BH    X   11    4    4   11    4    4   11    4    4   BH    X
11   15
    3             11    1    3    a    2    3   11    1    3
a    2    3             11    1    3    a    2    3   11    1    3
a    0
hc_isp116x.c: USB HC reset_hc usb-: ctrl = 0x80 ;
hc_isp116x.c: reset device
hc_isp116x.c: ITL BufferDone lost3, bstat:1 tp:0 eot_pc:c0038e80
hc_isp116x.c:x  state:0, preq:8, prsp:300, req:8, rsp:300 full:3,
done:18, fmRemRsp:16384, fmRemReq:10496 tt:0
hc_isp116x.c: * state:0, preq:8, prsp:300, req:8, rsp:300 full:3,
done:18, fmRemRsp:16384, fmRemReq:10998 tt:0
hc_isp116x.c:   state:1, preq:8, prsp:8, req:0, rsp:0 full:4, done:20,
fmRemRsp:11527, fmRemReq:11252 tt:2
: HcuPInterrupt read history, elapsed time in usec, value, + bottom
half entry/exit
  762  136   19  846  129   18  499    0  380  191   30    9    0  747
135   18  844  131   17  851  131   19  294    0  579 2238  745  172
260    0  672 2128
   11    4    4   11    4    4   BH    X   11    4    4   BH    X   11
4    4   11    4    4   11    4    4   BH    X   11   15   11    4   BH
X   11   15
    a    2    3   11    1    3              a    2    3             11
1    3    a    2    3   11    1    3              a    0    0    1
1    1
hc_isp116x.c: USB HC reset_hc usb-: ctrl = 0x80 ;
hc_isp116x.c: reset device
hc_isp116x.c: ITL BufferDone lost3, bstat:0 tp:0 eot_pc:40009f44
hc_isp116x.c:x  state:1, preq:8, prsp:300, req:8, rsp:300 full:3,
done:18, fmRemRsp:16384, fmRemReq:10149 tt:2
hc_isp116x.c: * state:0, preq:8, prsp:300, req:8, rsp:300 full:3,
done:18, fmRemRsp:16384, fmRemReq:10175 tt:0
hc_isp116x.c:   state:1, preq:8, prsp:8, req:0, rsp:0 full:4, done:20,
fmRemRsp:11527, fmRemReq:11252 tt:2
: HcuPInterrupt read history, elapsed time in usec, value, + bottom
half entry/exit
   27    9    0  809  177   30  779  131   17  851  165   20  417    0
427  207   31   94    0  644  137   19  840  133   18  848  132   17
242    0  637 2252
    4   BH    X   11    4    4   11    4    4   11    4    4   BH    X
11    4    4   BH    X   11    4    4   11    4    4   11    4    4
BH    X   11   15
    3             11    1    3    a    2    3   11    1    3
a    2    3             11    1    3    a    2    3   11    1    3
a    0
hc_isp116x.c: USB HC reset_hc usb-: ctrl = 0x80 ;
hc_isp116x.c: reset device
hc_isp116x.c: ITL BufferDone lost3, bstat:0 tp:0 eot_pc:c001bb54
hc_isp116x.c: * state:0, preq:8, prsp:300, req:8, rsp:300 full:3,
done:18, fmRemRsp:16384, fmRemReq:9931 tt:0
hc_isp116x.c:x  state:1, preq:8, prsp:300, req:8, rsp:300 full:3,
done:18, fmRemRsp:16384, fmRemReq:9720 tt:2
hc_isp116x.c:   state:1, preq:8, prsp:8, req:0, rsp:0 full:4, done:20,
fmRemRsp:11527, fmRemReq:11252 tt:2
: HcuPInterrupt read history, elapsed time in usec, value, + bottom
half entry/exit
   19  840  133   18  848  132   17  242    0  637 2252  728  143  281
0  690   91  134    0  744  152   18  833  165   19  819  144   22  190
0  663 2213
    4   11    4    4   11    4    4   BH    X   11   15   11    4   BH
X   11    4   BH    X   11    4    4   11    4    4   11    4    4   BH
X   11   15
    3    a    2    3   11    1    3              a    0    0    1
1    3              a    2    3   11    1    3    a    2    3
11    0
hc_isp116x.c: USB HC reset_hc usb-: ctrl = 0x80 ;
hc_isp116x.c: reset device
hc_isp116x.c: ITL BufferDone lost3, bstat:1 tp:0 eot_pc:c001bb54
hc_isp116x.c:x  state:0, preq:8, prsp:300, req:8, rsp:300 full:3,
done:18, fmRemRsp:16384, fmRemReq:10662 tt:0
hc_isp116x.c: * state:0, preq:8, prsp:300, req:8, rsp:300 full:3,
done:18, fmRemRsp:16384, fmRemReq:11342 tt:0
hc_isp116x.c:   state:1, preq:8, prsp:8, req:0, rsp:0 full:4, done:20,
fmRemRsp:11527, fmRemReq:11252 tt:2
: HcuPInterrupt read history, elapsed time in usec, value, + bottom
half entry/exit
   17  242    0  637 2252  728  143  281    0  690   91  134    0  744
152   18  833  165   19  819  144   22  190    0  663 2213  763  146
215    0  746 2111
    4   BH    X   11   15   11    4   BH    X   11    4   BH    X   11
4    4   11    4    4   11    4    4   BH    X   11   15   11    4   BH
X   11   15
    3              a    0    0    1              1    3              a
2    3   11    1    3    a    2    3             11    0    0    1
1    1
hc_isp116x.c: USB HC reset_hc usb-: ctrl = 0x80 ;
hc_isp116x.c: reset device
hc_isp116x.c: ITL BufferDone lost3, bstat:0 tp:0 eot_pc:402a5eac
hc_isp116x.c:x  state:1, preq:8, prsp:300, req:8, rsp:300 full:3,
done:18, fmRemRsp:16384, fmRemReq:10181 tt:2
hc_isp116x.c: * state:0, preq:8, prsp:300, req:8, rsp:300 full:3,
done:18, fmRemRsp:16384, fmRemReq:10180 tt:0
hc_isp116x.c:   state:1, preq:8, prsp:8, req:0, rsp:0 full:4, done:20,
fmRemRsp:11527, fmRemReq:11252 tt:2
: HcuPInterrupt read history, elapsed time in usec, value, + bottom
half entry/exit
  870  138   92    0  877   83  896  149   18  832  162   19  420    0
428  208   32   74    0  657  137   19  845  130   18  851  131   18
239    0  635 2220
   11    4   BH    X   11    4   11    4    4   11    4    4   BH    X
11    4    4   BH    X   11    4    4   11    4    4   11    4    4
BH    X   11   15
    1    1              1    3    a    2    3   11    1    3
a    2    3             11    1    3    a    2    3   11    1    3
a    0
hc_isp116x.c: USB HC reset_hc usb-: ctrl = 0x80 ;
hc_isp116x.c: reset device
hc_isp116x.c: ITL BufferDone lost3, bstat:1 tp:0 eot_pc:40159854
hc_isp116x.c: * state:0, preq:8, prsp:300, req:8, rsp:300 full:3,
done:18, fmRemRsp:16384, fmRemReq:11340 tt:0
hc_isp116x.c:x  state:0, preq:8, prsp:300, req:8, rsp:300 full:3,
done:18, fmRemRsp:16384, fmRemReq:10641 tt:0
hc_isp116x.c:   state:1, preq:8, prsp:8, req:0, rsp:0 full:4, done:20,
fmRemRsp:11527, fmRemReq:11252 tt:2
: HcuPInterrupt read history, elapsed time in usec, value, + bottom
half entry/exit
  896  149   18  832  162   19  420    0  428  208   32   74    0  657
137   19  845  130   18  851  131   18  239    0  635 2220  758  145
226    0  736 2112
   11    4    4   11    4    4   BH    X   11    4    4   BH    X   11
4    4   11    4    4   11    4    4   BH    X   11   15   11    4   BH
X   11   15
    a    2    3   11    1    3              a    2    3             11
1    3    a    2    3   11    1    3              a    0    0    1
1    1
hc_isp116x.c: USB HC reset_hc usb-: ctrl = 0x80 ;
hc_isp116x.c: reset device
hub.c: USB new device connect on bus1/1, assigned device number 2
err: a:0, ep:0, pid:0, t:1,slow:0,iso:0,last:1, len:0, maxps:8, cc:5
act:0
pxa-dmaWork.c: urb status -110, cc:5, good bytes before error: 0 of 0
err: a:2, ep:0, pid:0, t:1,slow:0,iso:0,last:1, len:8, maxps:8, cc:5
act:0
pxa-dmaWork.c: urb status -110, cc:5, good bytes before error: 0 of 8
err: a:2, ep:0, pid:0, t:1,slow:0,iso:0,last:1, len:8, maxps:8, cc:5
act:0
pxa-dmaWork.c: urb status -110, cc:5, good bytes before error: 0 of 8
err: a:2, ep:0, pid:0, t:1,slow:0,iso:0,last:1, len:8, maxps:8, cc:5
act:0
pxa-dmaWork.c: urb status -110, cc:5, good bytes before error: 0 of 8
err: a:2, ep:0, pid:0, t:1,slow:0,iso:0,last:1, len:8, maxps:8, cc:5
act:0
pxa-dmaWork.c: urb status -110, cc:5, good bytes before error: 0 of 8
usb.c: USB disconnect on device 2
pwc Disconnected while webcam is in use!
USB HC dev free
USB HC dev alloc 384 bytes
hub.c: USB new device connect on bus1/1, assigned device number 3
pwc Logitech QuickCam 4000 Pro USB webcam detected.
pwc Registered as /dev/video0.
pwc This Logitech QuickCam Pro 4000 camera is equipped with a Sony CCD
sensor + TDA8787 (32).




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to