Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 2001 12:19:55 -0500
From:      Andrew Arensburger <arensb@cfar.umd.edu>
To:        freebsd-questions@freebsd.org
Subject:   USB camera not recognized
Message-ID:  <200102171719.MAA04329@glitnir.cfar.umd.edu>

next in thread | raw e-mail | index | archive | help
	I have a Kodak DC4800 camera. I'm trying to use it under
4.2-RELEASE. When I plug the camera into the USB hub, I get the
following messages on the console and in 'dmesg':

uhci_idone: error, addr=0, endpt=0x00, status 0x500000<BABBLE,STALLED>
uhub1: device problem, disabling port 3

As you might expect, 'usbdevs' doesn't list the camera.

	I've poked around a bit, but haven't found anything. I think I
need to look in the bottom half of the kernel, but I haven't found the
relevant code.
	Any hints? Suggestions? Does this belong in -hardware or
-hackers, perhaps?

	I've appended a rather verbose bit of 'dmesg' below. UHCI
debugging was turned on, and 'uhcidebug' was set to 13. This is what
happens when the camera is plugged in. I'm not sure what to make of
the "<BABBLE,STALLED>" status.

-- 
Andrew Arensburger, Systems guy		Center for Automation Research
arensb@cfar.umd.edu			University of Maryland
	      Insert prong A into hole B and twist HARD!


uhci_open: pipe=0xc0ba0500, addr=0, endpt=0 (1)
uhci_device_control type=0x80, request=0x06, wValue=0x0100, wIndex=0x0000 len=8, addr=0, endpt=0
uhci_alloc_std_chain: addr=0 endpt=0 len=8 ls=0 flags=0x2
uhci_alloc_std_chain: maxp=8 ntd=1
uhci_alloc_std_chain: nexttog=0
uhci_device_request: before transfer
TD(0xc0a43e60) at 07e77e60 = link=0x07e77e24 status=0x18800000 token=0x00e0002d buffer=0x07e701e0
  7e77e24<VF> 18800000<ACTIVE>,errcnt=3,actlen=1 pid=2d,addr=0,endpt=0,D=0,maxlen=8
TD(0xc0a43e20) at 07e77e20 = link=0x07e77e44 status=0x188003ff token=0x00e80069 buffer=0x07e701f0
  7e77e44<VF> 188003ff<ACTIVE>,errcnt=3,actlen=0 pid=69,addr=0,endpt=0,D=1,maxlen=8
TD(0xc0a43e40) at 07e77e40 = link=0x00000001 status=0x19800000 token=0xffe800e1 buffer=0x00000000
  1<T> 19800000<ACTIVE,IOC>,errcnt=3,actlen=1 pid=e1,addr=0,endpt=0,D=1,maxlen=0
uhci_add_ctrl: sqh=0xc0a41d40
uhci_enter_ctl_q: follow from [0]
TD(0xc0a40fe0) at 07e74fe0 = link=0x07e73fa2 status=0x02000000 token=0x00000000 buffer=0x00000000
  7e73fa2<Q> 2000000<ISO>,errcnt=0,actlen=1 pid=00,addr=0,endpt=0,D=0,maxlen=1
QH(0xc0a3ffa0) at 07e73fa0: hlink=07e75f82 elink=00000001
QH(0xc0a3ffa0) at 07e73fa0: hlink=07e75f82 elink=00000001
QH(0xc0a41f80) at 07e75f80: hlink=07e73fc2 elink=07e77fa0
QH(0xc0a3ffc0) at 07e73fc0: hlink=07e75d42 elink=00000001
QH(0xc0a41d40) at 07e75d40: hlink=07e73fe2 elink=00000001
QH(0xc0a3ffe0) at 07e73fe0: hlink=00000001 elink=00000001
QH(0xc0a3ffc0) at 07e73fc0: hlink=07e75d42 elink=00000001
Enqueued QH:
QH(0xc0a41d40) at 07e75d40: hlink=07e73fe2 elink=00000001
TD(0xc0a43e60) at 07e77e60 = link=0x07e77e24 status=0x18000007 token=0x00e0002d buffer=0x07e701e0
  7e77e24<VF> 18000007,errcnt=3,actlen=8 pid=2d,addr=0,endpt=0,D=0,maxlen=8
TD(0xc0a43e20) at 07e77e20 = link=0x07e77e44 status=0x18000007 token=0x00e80069 buffer=0x07e701f0
  7e77e44<VF> 18000007,errcnt=3,actlen=8 pid=69,addr=0,endpt=0,D=1,maxlen=8
TD(0xc0a43e40) at 07e77e40 = link=0x00000001 status=0x190007ff token=0xffe800e1 buffer=0x00000000
  1<T> 190007ff<IOC>,errcnt=3,actlen=0 pid=e1,addr=0,endpt=0,D=1,maxlen=0
uhci_idone: ii=0xc0b96dc0, xfer=0xc0b2ff00, pipe=0xc0ba0500 ready
TD(0xc0a43e60) at 07e77e60 = link=0x07e77e24 status=0x18000007 token=0x00e0002d buffer=0x07e701e0
  7e77e24<VF> 18000007,errcnt=3,actlen=8 pid=2d,addr=0,endpt=0,D=0,maxlen=8
TD(0xc0a43e20) at 07e77e20 = link=0x07e77e44 status=0x18000007 token=0x00e80069 buffer=0x07e701f0
  7e77e44<VF> 18000007,errcnt=3,actlen=8 pid=69,addr=0,endpt=0,D=1,maxlen=8
TD(0xc0a43e40) at 07e77e40 = link=0x00000001 status=0x190007ff token=0xffe800e1 buffer=0x00000000
  1<T> 190007ff<IOC>,errcnt=3,actlen=0 pid=e1,addr=0,endpt=0,D=1,maxlen=0
uhci_check_intr: actlen=8, status=0x0
uhci_remove_ctrl: sqh=0xc0a41d40
uhci_ctrl_done: length=8
usb0: uhci_intr: exit
uhci_device_control type=0x80, request=0x06, wValue=0x0100, wIndex=0x0000 len=18, addr=0, endpt=0
uhci_alloc_std_chain: addr=0 endpt=0 len=18 ls=0 flags=0x2
uhci_alloc_std_chain: maxp=8 ntd=3
uhci_alloc_std_chain: nexttog=0
uhci_device_request: before transfer
TD(0xc0a43e60) at 07e77e60 = link=0x07e77de4 status=0x18800000 token=0x00e0002d buffer=0x07e701e0
  7e77de4<VF> 18800000<ACTIVE>,errcnt=3,actlen=1 pid=2d,addr=0,endpt=0,D=0,maxlen=8
TD(0xc0a43de0) at 07e77de0 = link=0x07e77e04 status=0x188003ff token=0x00e80069 buffer=0x07e11200
  7e77e04<VF> 188003ff<ACTIVE>,errcnt=3,actlen=0 pid=69,addr=0,endpt=0,D=1,maxlen=8
TD(0xc0a43e00) at 07e77e00 = link=0x07e77e24 status=0x188003ff token=0x00e00069 buffer=0x07e11208
  7e77e24<VF> 188003ff<ACTIVE>,errcnt=3,actlen=0 pid=69,addr=0,endpt=0,D=0,maxlen=8
TD(0xc0a43e20) at 07e77e20 = link=0x07e77e44 status=0x188003ff token=0x00280069 buffer=0x07e11210
  7e77e44<VF> 188003ff<ACTIVE>,errcnt=3,actlen=0 pid=69,addr=0,endpt=0,D=1,maxlen=2
TD(0xc0a43e40) at 07e77e40 = link=0x00000001 status=0x19800000 token=0xffe800e1 buffer=0x00000000
  1<T> 19800000<ACTIVE,IOC>,errcnt=3,actlen=1 pid=e1,addr=0,endpt=0,D=1,maxlen=0
uhci_add_ctrl: sqh=0xc0a41d40
uhci_enter_ctl_q: follow from [0]
TD(0xc0a40fe0) at 07e74fe0 = link=0x07e73fa2 status=0x02000000 token=0x00000000 buffer=0x00000000
  7e73fa2<Q> 2000000<ISO>,errcnt=0,actlen=1 pid=00,addr=0,endpt=0,D=0,maxlen=1
QH(0xc0a3ffa0) at 07e73fa0: hlink=07e75f82 elink=00000001
QH(0xc0a3ffa0) at 07e73fa0: hlink=07e75f82 elink=00000001
QH(0xc0a41f80) at 07e75f80: hlink=07e73fc2 elink=07e77fa0
QH(0xc0a3ffc0) at 07e73fc0: hlink=07e75d42 elink=00000001
QH(0xc0a41d40) at 07e75d40: hlink=07e73fe2 elink=07e77e24
QH(0xc0a3ffe0) at 07e73fe0: hlink=00000001 elink=00000001
QH(0xc0a3ffc0) at 07e73fc0: hlink=07e75d42 elink=00000001
Enqueued QH:
QH(0xc0a41d40) at 07e75d40: hlink=07e73fe2 elink=07e77e24
TD(0xc0a43e60) at 07e77e60 = link=0x07e77de4 status=0x18000007 token=0x00e0002d buffer=0x07e701e0
  7e77de4<VF> 18000007,errcnt=3,actlen=8 pid=2d,addr=0,endpt=0,D=0,maxlen=8
TD(0xc0a43de0) at 07e77de0 = link=0x07e77e04 status=0x180007ff token=0x00e80069 buffer=0x07e11200
  7e77e04<VF> 180007ff,errcnt=3,actlen=0 pid=69,addr=0,endpt=0,D=1,maxlen=8
TD(0xc0a43e00) at 07e77e00 = link=0x07e77e24 status=0x18000007 token=0x00e00069 buffer=0x07e11208
  7e77e24<VF> 18000007,errcnt=3,actlen=8 pid=69,addr=0,endpt=0,D=0,maxlen=8
TD(0xc0a43e20) at 07e77e20 = link=0x07e77e44 status=0x18500001 token=0x00280069 buffer=0x07e11210
  7e77e44<VF> 18500001<BABBLE,STALLED>,errcnt=3,actlen=2 pid=69,addr=0,endpt=0,D=1,maxlen=2
TD(0xc0a43e40) at 07e77e40 = link=0x00000001 status=0x19800000 token=0xffe800e1 buffer=0x00000000
  1<T> 19800000<ACTIVE,IOC>,errcnt=3,actlen=1 pid=e1,addr=0,endpt=0,D=1,maxlen=0
uhci_idone: ii=0xc0b96dc0, xfer=0xc0b2ff00, pipe=0xc0ba0500 ready
TD(0xc0a43e60) at 07e77e60 = link=0x07e77de4 status=0x18000007 token=0x00e0002d buffer=0x07e701e0
  7e77de4<VF> 18000007,errcnt=3,actlen=8 pid=2d,addr=0,endpt=0,D=0,maxlen=8
TD(0xc0a43de0) at 07e77de0 = link=0x07e77e04 status=0x180007ff token=0x00e80069 buffer=0x07e11200
  7e77e04<VF> 180007ff,errcnt=3,actlen=0 pid=69,addr=0,endpt=0,D=1,maxlen=8
TD(0xc0a43e00) at 07e77e00 = link=0x07e77e24 status=0x18000007 token=0x00e00069 buffer=0x07e11208
  7e77e24<VF> 18000007,errcnt=3,actlen=8 pid=69,addr=0,endpt=0,D=0,maxlen=8
TD(0xc0a43e20) at 07e77e20 = link=0x07e77e44 status=0x18500001 token=0x00280069 buffer=0x07e11210
  7e77e44<VF> 18500001<BABBLE,STALLED>,errcnt=3,actlen=2 pid=69,addr=0,endpt=0,D=1,maxlen=2
TD(0xc0a43e40) at 07e77e40 = link=0x00000001 status=0x19800000 token=0xffe800e1 buffer=0x00000000
  1<T> 19800000<ACTIVE,IOC>,errcnt=3,actlen=1 pid=e1,addr=0,endpt=0,D=1,maxlen=0
uhci_check_intr: actlen=10, status=0x500000
uhci_idone: error, addr=0, endpt=0x00, status 0x500000<BABBLE,STALLED>
uhci_remove_ctrl: sqh=0xc0a41d40
uhci_ctrl_done: length=10
usb0: uhci_intr: exit
uhub1: device problem, disabling port 3
uhci_device_control type=0x23, request=0x01, wValue=0x0001, wIndex=0x0003 len=0, addr=2, endpt=0
uhci_device_request: before transfer
TD(0xc0a43fe0) at 07e77fe0 = link=0x07e77fc4 status=0x18800000 token=0x00e0022d buffer=0x07e70db0
  7e77fc4<VF> 18800000<ACTIVE>,errcnt=3,actlen=1 pid=2d,addr=2,endpt=0,D=0,maxlen=8
TD(0xc0a43fc0) at 07e77fc0 = link=0x00000001 status=0x19800000 token=0xffe80269 buffer=0x00000000
  1<T> 19800000<ACTIVE,IOC>,errcnt=3,actlen=1 pid=69,addr=2,endpt=0,D=1,maxlen=0
uhci_add_ctrl: sqh=0xc0a41fa0
uhci_enter_ctl_q: follow from [0]
TD(0xc0a40fe0) at 07e74fe0 = link=0x07e73fa2 status=0x02000000 token=0x00000000 buffer=0x00000000
  7e73fa2<Q> 2000000<ISO>,errcnt=0,actlen=1 pid=00,addr=0,endpt=0,D=0,maxlen=1
QH(0xc0a3ffa0) at 07e73fa0: hlink=07e75f82 elink=00000001
QH(0xc0a3ffa0) at 07e73fa0: hlink=07e75f82 elink=00000001
QH(0xc0a41f80) at 07e75f80: hlink=07e73fc2 elink=07e77fa0
QH(0xc0a3ffc0) at 07e73fc0: hlink=07e75fa2 elink=00000001
QH(0xc0a41fa0) at 07e75fa0: hlink=07e73fe2 elink=00000001
QH(0xc0a3ffe0) at 07e73fe0: hlink=00000001 elink=00000001
QH(0xc0a3ffc0) at 07e73fc0: hlink=07e75fa2 elink=00000001
Enqueued QH:
QH(0xc0a41fa0) at 07e75fa0: hlink=07e73fe2 elink=00000001
TD(0xc0a43fe0) at 07e77fe0 = link=0x07e77fc4 status=0x18000007 token=0x00e0022d buffer=0x07e70db0
  7e77fc4<VF> 18000007,errcnt=3,actlen=8 pid=2d,addr=2,endpt=0,D=0,maxlen=8
TD(0xc0a43fc0) at 07e77fc0 = link=0x00000001 status=0x190007ff token=0xffe80269 buffer=0x00000000
  1<T> 190007ff<IOC>,errcnt=3,actlen=0 pid=69,addr=2,endpt=0,D=1,maxlen=0
uhci_idone: ii=0xc0729880, xfer=0xc0b2ff00, pipe=0xc0a42d00 ready
TD(0xc0a43fe0) at 07e77fe0 = link=0x07e77fc4 status=0x18000007 token=0x00e0022d buffer=0x07e70db0
  7e77fc4<VF> 18000007,errcnt=3,actlen=8 pid=2d,addr=2,endpt=0,D=0,maxlen=8
TD(0xc0a43fc0) at 07e77fc0 = link=0x00000001 status=0x190007ff token=0xffe80269 buffer=0x00000000
  1<T> 190007ff<IOC>,errcnt=3,actlen=0 pid=69,addr=2,endpt=0,D=1,maxlen=0
uhci_check_intr: actlen=0, status=0x0
uhci_remove_ctrl: sqh=0xc0a41fa0
uhci_ctrl_done: length=0
usb0: uhci_intr: exit
uhci_device_control type=0xa3, request=0x00, wValue=0x0000, wIndex=0x0004 len=4, addr=2, endpt=0
uhci_alloc_std_chain: addr=2 endpt=0 len=4 ls=0 flags=0x2
uhci_alloc_std_chain: maxp=8 ntd=1
uhci_alloc_std_chain: nexttog=0
uhci_device_request: before transfer
TD(0xc0a43fe0) at 07e77fe0 = link=0x07e77e24 status=0x18800000 token=0x00e0022d buffer=0x07e70db0
  7e77e24<VF> 18800000<ACTIVE>,errcnt=3,actlen=1 pid=2d,addr=2,endpt=0,D=0,maxlen=8
TD(0xc0a43e20) at 07e77e20 = link=0x07e77fc4 status=0x188003ff token=0x00680269 buffer=0x07e701f0
  7e77fc4<VF> 188003ff<ACTIVE>,errcnt=3,actlen=0 pid=69,addr=2,endpt=0,D=1,maxlen=4
TD(0xc0a43fc0) at 07e77fc0 = link=0x00000001 status=0x19800000 token=0xffe802e1 buffer=0x00000000
  1<T> 19800000<ACTIVE,IOC>,errcnt=3,actlen=1 pid=e1,addr=2,endpt=0,D=1,maxlen=0
uhci_add_ctrl: sqh=0xc0a41fa0
uhci_enter_ctl_q: follow from [0]
TD(0xc0a40fe0) at 07e74fe0 = link=0x07e73fa2 status=0x02000000 token=0x00000000 buffer=0x00000000
  7e73fa2<Q> 2000000<ISO>,errcnt=0,actlen=1 pid=00,addr=0,endpt=0,D=0,maxlen=1
QH(0xc0a3ffa0) at 07e73fa0: hlink=07e75f82 elink=00000001
QH(0xc0a3ffa0) at 07e73fa0: hlink=07e75f82 elink=00000001
QH(0xc0a41f80) at 07e75f80: hlink=07e73fc2 elink=07e77fa0
QH(0xc0a3ffc0) at 07e73fc0: hlink=07e75fa2 elink=00000001
QH(0xc0a41fa0) at 07e75fa0: hlink=07e73fe2 elink=00000001
QH(0xc0a3ffe0) at 07e73fe0: hlink=00000001 elink=00000001
QH(0xc0a3ffc0) at 07e73fc0: hlink=07e75fa2 elink=00000001
Enqueued QH:
QH(0xc0a41fa0) at 07e75fa0: hlink=07e73fe2 elink=00000001
TD(0xc0a43fe0) at 07e77fe0 = link=0x07e77e24 status=0x18000007 token=0x00e0022d buffer=0x07e70db0
  7e77e24<VF> 18000007,errcnt=3,actlen=8 pid=2d,addr=2,endpt=0,D=0,maxlen=8
TD(0xc0a43e20) at 07e77e20 = link=0x07e77fc4 status=0x18000003 token=0x00680269 buffer=0x07e701f0
  7e77fc4<VF> 18000003,errcnt=3,actlen=4 pid=69,addr=2,endpt=0,D=1,maxlen=4
TD(0xc0a43fc0) at 07e77fc0 = link=0x00000001 status=0x190007ff token=0xffe802e1 buffer=0x00000000
  1<T> 190007ff<IOC>,errcnt=3,actlen=0 pid=e1,addr=2,endpt=0,D=1,maxlen=0
uhci_idone: ii=0xc0729880, xfer=0xc0b2ff00, pipe=0xc0a42d00 ready
TD(0xc0a43fe0) at 07e77fe0 = link=0x07e77e24 status=0x18000007 token=0x00e0022d buffer=0x07e70db0
  7e77e24<VF> 18000007,errcnt=3,actlen=8 pid=2d,addr=2,endpt=0,D=0,maxlen=8
TD(0xc0a43e20) at 07e77e20 = link=0x07e77fc4 status=0x18000003 token=0x00680269 buffer=0x07e701f0
  7e77fc4<VF> 18000003,errcnt=3,actlen=4 pid=69,addr=2,endpt=0,D=1,maxlen=4
TD(0xc0a43fc0) at 07e77fc0 = link=0x00000001 status=0x190007ff token=0xffe802e1 buffer=0x00000000
  1<T> 190007ff<IOC>,errcnt=3,actlen=0 pid=e1,addr=2,endpt=0,D=1,maxlen=0
uhci_check_intr: actlen=4, status=0x0
uhci_remove_ctrl: sqh=0xc0a41fa0
uhci_ctrl_done: length=4
usb0: uhci_intr: exit
uhci_root_ctrl_control type=0xa3 request=00


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102171719.MAA04329>