> Is there a way to actively probe out for a device from a usb port?

> [The other ports act the same way... a usbstick is recognized,
> this device isn't.]

The problem was bad cable mating... power pair connected but
data pair did not. Cutting back some plastic shroud let USB
seat further in and fixed it. Mountable and files accessible now.


New problem... the kernel is picking up what might be a second
LUN and throwing a lot of errors. If this LUN is real and intentional
I have no idea what purpose it would be for. It is not accessible
in a usual way with dd...

# camcontrol devl -v
scbus3 on umass-sim0 bus 0:
<NAME 3.00> at scbus3 target 0 lun 0 (da0,pass2)
<NAME 3.00> at scbus3 target 0 lun 1 (da1,pass3)
# ls /dev/*da*
/dev/da0        /dev/da0s1      /dev/da1
# dd if=/dev/da1 of=/dev/null
dd: /dev/da1: Device not configured

[Update: This has both soldered flash and microSD slot,
the second LUN may be the SD slot. Will test...]


Also the kernel does not print USB 'port' number except on disconnect...
 kernel: umass0: at uhub3, port 5, addr 2 (disconnected)
It needs to print a corresponding 'connected' line on connect,
or perhaps add the 'port' in here...
 kernel: umass0: <NAME, class 0/0, rev 2.00/1.00, addr 2> on usbus3


Here's the full LUN / port issue log...

k: ugen3.2: <Name> at usbus3
k: umass0: <Name, class 0/0, rev 2.00/1.00, addr 2> on usbus3
k: umass0:  SCSI over Bulk-Only; quirks = 0x4000
k: umass0:3:0:-1: Attached to scbus3
k: (probe0:umass-sim0:0:0:0): Down reving Protocol Version from 2 to 0?
k: pass2 at umass-sim0 bus 0 scbus3 target 0 lun 0
k: pass2: <NAME 3.00> Removable Direct Access SCSI-0 device
k: pass2: Serial Number 0123456789ABCDEF
k: pass2: 40.000MB/s transfers
k: GEOM: new disk da0
k: da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
k: da0: <NAME 3.00> Removable Direct Access SCSI-0 device
k: da0: Serial Number 0123456789ABCDEF
k: da0: 40.000MB/s transfers
k: da0: 3770MB (7722483 512 byte sectors: 255H 63S/T 480C)
k: da0: quirks=0x2<NO_6_BYTE>
k: da0: Delete methods: <NONE(*)>
k: (probe0:umass-sim0:0:0:1): Down reving Protocol Version from 2 to 0?
k: (probe0:umass-sim0:0:0:1): SCSI status error
k: (probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 00 20 00 00 00 00
k: (probe0:umass-sim0:0:0:1): CAM status: SCSI Status Error
k: (probe0:umass-sim0:0:0:1): SCSI status: Check Condition
k: (probe0:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 (Medium
not present)
k: (probe0:umass-sim0:0:0:1): Error 6, Unretryable error
k: pass3 at umass-sim0 bus 0 scbus3 target 0 lun 1
k: pass3: <NAME 3.00> Removable Direct Access SCSI-0 device
k: pass3: Serial Number 0123456789ABCDEF
k: pass3: 40.000MB/s transfers
k: (da1:umass-sim0:0:0:1): SCSI status error
k: (da1:umass-sim0:0:0:1): READ CAPACITY(10). CDB: 25 20 00 00 00 00 00 00 00 00
k: (da1:umass-sim0:0:0:1): CAM status: SCSI Status Error
k: (da1:umass-sim0:0:0:1): SCSI status: Check Condition
k: (da1:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not present)
k: (da1:umass-sim0:0:0:1): Error 6, Unretryable error
k: da1 at umass-sim0 bus 0 scbus3 target 0 lun 1
k: da1: <NAME 3.00> Removable Direct Access SCSI-0 device
k: da1: Serial Number 0123456789ABCDEF
k: da1: 40.000MB/s transfers
k: da1: Attempt to query device size failed: NOT READY, Medium not present
k: da1: quirks=0x2<NO_6_BYTE>
k: da1: Delete methods: <NONE(*)>
k: GEOM: new disk da1
k: (da1:umass-sim0:0:0:1): SCSI status error
k: (da1:umass-sim0:0:0:1): READ CAPACITY(10). CDB: 25 20 00 00 00 00 00 00 00 00
k: (da1:umass-sim0:0:0:1): CAM status: SCSI Status Error
k: (da1:umass-sim0:0:0:1): SCSI status: Check Condition
k: (da1:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not present)
k: (da1:umass-sim0:0:0:1): Error 6, Unretryable error
k: Opened disk da1 -> 6
k: (da1:umass-sim0:0:0:1): SCSI status error
k: (da1:umass-sim0:0:0:1): READ CAPACITY(10). CDB: 25 20 00 00 00 00 00 00 00 00
k: (da1:umass-sim0:0:0:1): CAM status: SCSI Status Error
k: (da1:umass-sim0:0:0:1): SCSI status: Check Condition
k: (da1:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not present)
k: (da1:umass-sim0:0:0:1): Error 6, Unretryable error
k: Opened disk da1 -> 6
k: ugen3.2: <Name> at usbus3 (disconnected)
k: umass0: at uhub3, port 5, addr 2 (disconnected)
k: (da0:umass-sim0:0:0:0): lost device - 0 outstanding, 0 refs
k: (da0:umass-sim0:0:0:0): removing device entry
k: (pass2:umass-sim0:0:0:0): lost device
k: (pass2:umass-sim0:0:0:0): removing device entry
k: (da1:umass-sim0:0:0:1): lost device - 0 outstanding, 0 refs
k: (da1:umass-sim0:0:0:1): removing device entry
k: (pass3:umass-sim0:0:0:1): lost device
k: (pass3:umass-sim0:0:0:1): removing device entry
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to