Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2001 17:36:28 -0500
From:      Randall Hopper <aa8vb@nc.rr.com>
To:        stable@freebsd.org
Subject:   USB help needed
Message-ID:  <20011229173628.A862@nc.rr.com>

next in thread | raw e-mail | index | archive | help
     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: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> 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: <VIA 82C686 ACPI interface> 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




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