From owner-freebsd-stable Sat Dec 29 15:25: 0 2001 Delivered-To: freebsd-stable@freebsd.org Received: from Mail6.nc.rr.com (fe6.southeast.rr.com [24.93.67.53]) by hub.freebsd.org (Postfix) with ESMTP id D95FB37B41E for ; Sat, 29 Dec 2001 15:24:51 -0800 (PST) Received: from stealth.cary.dummynet ([66.26.231.240]) by Mail6.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Sat, 29 Dec 2001 17:36:03 -0500 Received: (from rhh@localhost) by stealth.cary.dummynet (8.11.4/8.11.4) id fBTMaSj01213 for stable@freebsd.org; Sat, 29 Dec 2001 17:36:28 -0500 (EST) (envelope-from aa8vb@nc.rr.com) X-Authentication-Warning: stealth.cary.dummynet: rhh set sender to aa8vb@nc.rr.com using -f Date: Sat, 29 Dec 2001 17:36:28 -0500 From: Randall Hopper To: stable@freebsd.org Subject: USB help needed Message-ID: <20011229173628.A862@nc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I got this little MyMP3 player here which has a USB port and functions as a removable 32MB hard disk in Windows. Just for kicks I thought I'd try to access it from FreeBSD. When I do a 'camcontrol rescan 0' or rescan 1, devlist doesn't show any new devices. Any suggestions? And (backing up a step) are USB mass storage devices typically generic enough (like IDE hard disks) that I could even hope for this to work without device-specific support in the FreeBSD kernel? Thanks, Randall ============================================================================== Kernel config: # USB support device usb # USB Bus (required) device uhci # UHCI PCI->USB interface device umass # Disks/Mass storage - Requires scbus and da # NOTE: umass requires scbus, da, and pass devices device scbus device da device pass options UHCI_DEBUG options USB_DEBUG options UMASS_DEBUG options DIAGNOSTIC ============================================================================== dmesg excerpt: Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.3-STABLE #0: Sat Dec 29 15:01:29 EST 2001 ... uhci0: port 0xd400-0xd41f irq 9 at device 4.2 on pci0 uhci0: LegSup = 0x0000003b uhci_run: setting run=0 uhci_run: done cmd=0x80 sts=0x20 uhci_run: setting run=1 uhci_run: done cmd=0x81 sts=0x0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci_device_request: not done, ii=0xc1449640 umass0: vendor 0x090a product 0x1001, rev 1.00/1.00, addr 2, RBC over CBI umass-sim:1:-1:-1:XPT_PATH_INQ:. umass0:1:0:-1: Attached to scbus1 as device 0 umass0: Attach finished uhci1: port 0xd000-0xd01f irq 9 at device 4.3 on pci0 uhci1: LegSup = 0x00000010 uhci_run: setting run=0 uhci_run: done cmd=0x80 sts=0x20 uhci_run: setting run=1 uhci_run: done cmd=0x81 sts=0x0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered chip0: at device 4.4 on pci0 ... umass-sim:1:-1:-1:XPT_PATH_INQ:. umass-sim:1:-1:-1:XPT_PATH_INQ:. umass-sim:1:-1:-1:XPT_PATH_INQ:. umass0:1:0:0:XPT_PATH_INQ:. umass0:1:0:0:XPT_PATH_INQ:. umass0:1:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/36b data/18b sense umass-sim:1:1:0:func_code 0x0004: Invalid target (no wildcard) umass-sim:1:2:0:func_code 0x0004: Invalid target (no wildcard) umass0: Handling CBI state 10 (CBI Command), xfer=0xc1783500, NORMAL_COMPLETION uhci_device_bulk_transfer: not done, ii=0xc14495c0 uhci_timeout: ii=0xc14495c0 umass0: Handling CBI state 11 (CBI Data), xfer=0xc1783200, TIMEOUT umass0: Data-in 36b failed, TIMEOUT umass0: CBI Reset umass0: Handling CBI state 15 (CBI Reset), xfer=0xc1783000, NORMAL_COMPLETION umass0: Clear endpoint 0x81 stall umass0: Handling CBI state 16 (CBI bulk-in clear stall), xfer=0xc179df80, NORMAL_COMPLETION umass0: Clear endpoint 0x02 stall umass0: Handling CBI state 17 (CBI bulk-out clear stall), xfer=0xc179df00, NORMAL_COMPLETION umass0:1:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/36b data/18b sense umass0: Handling CBI state 10 (CBI Command), xfer=0xc1783500, NORMAL_COMPLETION uhci_device_bulk_transfer: not done, ii=0xc14495c0 uhci_timeout: ii=0xc14495c0 umass0: Handling CBI state 11 (CBI Data), xfer=0xc1783200, TIMEOUT umass0: Data-in 36b failed, TIMEOUT umass0: CBI Reset umass0: Handling CBI state 15 (CBI Reset), xfer=0xc1783000, NORMAL_COMPLETION umass0: Clear endpoint 0x81 stall umass0: Handling CBI state 16 (CBI bulk-in clear stall), xfer=0xc179df80, NORMAL_COMPLETION umass0: Clear endpoint 0x02 stall umass0: Handling CBI state 17 (CBI bulk-out clear stall), xfer=0xc179df00, NORMAL_COMPLETION umass0:1:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/36b data/18b sense umass0: Handling CBI state 10 (CBI Command), xfer=0xc1783500, NORMAL_COMPLETION uhci_device_bulk_transfer: not done, ii=0xc14495c0 uhci_timeout: ii=0xc14495c0 umass0: Handling CBI state 11 (CBI Data), xfer=0xc1783200, TIMEOUT umass0: Data-in 36b failed, TIMEOUT umass0: CBI Reset umass0: Handling CBI state 15 (CBI Reset), xfer=0xc1783000, NORMAL_COMPLETION umass0: Clear endpoint 0x81 stall umass0: Handling CBI state 16 (CBI bulk-in clear stall), xfer=0xc179df80, NORMAL_COMPLETION umass0: Clear endpoint 0x02 stall umass0: Handling CBI state 17 (CBI bulk-out clear stall), xfer=0xc179df00, NORMAL_COMPLETION umass0:1:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/36b data/18b sense umass0: Handling CBI state 10 (CBI Command), xfer=0xc1783500, NORMAL_COMPLETION uhci_device_bulk_transfer: not done, ii=0xc14495c0 uhci_timeout: ii=0xc14495c0 umass0: Handling CBI state 11 (CBI Data), xfer=0xc1783200, TIMEOUT umass0: Data-in 36b failed, TIMEOUT umass0: CBI Reset umass0: Handling CBI state 15 (CBI Reset), xfer=0xc1783000, NORMAL_COMPLETION umass0: Clear endpoint 0x81 stall umass0: Handling CBI state 16 (CBI bulk-in clear stall), xfer=0xc179df80, NORMAL_COMPLETION umass0: Clear endpoint 0x02 stall umass0: Handling CBI state 17 (CBI bulk-out clear stall), xfer=0xc179df00, NORMAL_COMPLETION umass0:1:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/36b data/18b sense umass0: Handling CBI state 10 (CBI Command), xfer=0xc1783500, NORMAL_COMPLETION uhci_device_bulk_transfer: not done, ii=0xc14495c0 uhci_timeout: ii=0xc14495c0 umass0: Handling CBI state 11 (CBI Data), xfer=0xc1783200, TIMEOUT umass0: Data-in 36b failed, TIMEOUT umass0: CBI Reset umass0: Handling CBI state 15 (CBI Reset), xfer=0xc1783000, NORMAL_COMPLETION umass0: Clear endpoint 0x81 stall umass0: Handling CBI state 16 (CBI bulk-in clear stall), xfer=0xc179df80, NORMAL_COMPLETION umass0: Clear endpoint 0x02 stall umass0: Handling CBI state 17 (CBI bulk-out clear stall), xfer=0xc179df00, NORMAL_COMPLETION ... ============================================================================== -- Randall Hopper aa8vb@nc.rr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message