Can anyone help get my LG Optimus, running Android 2.2.1, to show up properly as a mass storage device in FreeBSD 8.1? It works find in Windows and Linux, but I get the following errors:
The block size reported in the second to last line seems to change every time it's connected.
I'm guessing it may have something to do with the fact that USB storage isn't turned on at the time the device is connected, you have to wait until the phone detects the connection and then turn on mass storage mode.
Code:
$ uname -a
FreeBSD calvin 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #2: Tue Nov 30 14:29:54 CST 2010 root@calvin:/usr/obj/usr/src/sys/GENERIC i386
Code:
$ dmesg | tail -n 12
ugen10.3: <LG Electronics Inc.> at usbus10
umass0: <LG Electronics Inc. LG Android USB Device, class 0/0, rev 2.00/1.00, addr 3> on usbus10
umass0: SCSI over Bulk-Only; quirks = 0x0000
umass0:3:0:-1: Attached to scbus3
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI status: Check Condition
(probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB)
(da0:umass-sim0:0:0:0): unsupportable block size 0
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): unsupportable block size 536870912
(da0:umass-sim0:0:0:0): removing device entry
The block size reported in the second to last line seems to change every time it's connected.
I'm guessing it may have something to do with the fact that USB storage isn't turned on at the time the device is connected, you have to wait until the phone detects the connection and then turn on mass storage mode.