From owner-freebsd-questions Sat Feb 17 9:20: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from glitnir.cfar.umd.edu (glitnir.cfar.umd.edu [128.8.132.40]) by hub.freebsd.org (Postfix) with ESMTP id 94AA037B491 for ; Sat, 17 Feb 2001 09:19:56 -0800 (PST) Received: from glitnir.cfar.umd.edu (localhost [127.0.0.1]) by glitnir.cfar.umd.edu (8.9.3/8.9.1) with ESMTP id MAA04329 for ; Sat, 17 Feb 2001 12:19:55 -0500 (EST) Message-Id: <200102171719.MAA04329@glitnir.cfar.umd.edu> To: freebsd-questions@freebsd.org Subject: USB camera not recognized Date: Sat, 17 Feb 2001 12:19:55 -0500 From: Andrew Arensburger Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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 "" 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 18800000,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 188003ff,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 19800000,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 2000000,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 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 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 190007ff,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 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 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 190007ff,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 18800000,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 188003ff,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 188003ff,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 188003ff,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 19800000,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 2000000,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 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 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 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 18500001,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 19800000,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 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 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 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 18500001,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 19800000,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 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 18800000,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 19800000,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 2000000,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 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 190007ff,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 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 190007ff,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 18800000,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 188003ff,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 19800000,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 2000000,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 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 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 190007ff,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 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 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 190007ff,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