FBSD 8.1 and Android phone

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FBSD 8.1 and Android phone

Fernando Apesteguía
Hi all,

I bought a GeeksPhone One[1]. It uses Android 2.2.1. I'm trying to get
FreeBDS recognize the phone.
When I plug it to the USB port and activate the "Storage" option, this
is what dmesg reports:

ugen7.3: <Geeksphone> at usbus7
umass1: <Geeksphone ONE Android Phone, class 0/0, rev 2.00/2.26, addr
3> on usbus7
(probe0:umass-sim1:1:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe0:umass-sim1:1:0:0): CAM status: SCSI Status Error
(probe0:umass-sim1:1:0:0): SCSI status: Check Condition
(probe0:umass-sim1:1:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0
(Invalid field in CDB)
(da4:umass-sim1:1:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0
(da4:umass-sim1:1:0:0): SCSI sense: Error code 0x72
(da4:umass-sim1:1:0:0): fatal error, failed to attach to device
(da4:umass-sim1:1:0:0): lost device
(da4:umass-sim1:1:0:0): removing device entry

This is the output of camcontrol devlist
$ camcontrol devlist
<TSSTcorp CDDVDW TS-H653N 0208>    at scbus1 target 0 lun 0 (pass0,cd0)
<Generic USB SD Reader 1.00>       at scbus2 target 0 lun 0 (pass1,da0)
<Generic USB CF Reader 1.01>       at scbus2 target 0 lun 1 (pass2,da1)
<Generic USB SM Reader 1.02>       at scbus2 target 0 lun 2 (pass3,da2)
<Generic USB MS Reader 1.03>       at scbus2 target 0 lun 3 (pass4,da3)
<Android Mass Storage 1000>        at scbus3 target 0 lun 0 (pass5)

I tried to reset (all) the devices. For bus 2 I think the error is
normal since I don't have any cards inside the card reader.
$ camcontrol reset all
Reset of bus 0 was successful
Reset of bus 1 was successful
Reset of bus 2 returned error 0x3a
Reset of bus 3 returned error 0x3a

Just for the record, the phone is properly recognized in both Ubuntu
10.10 and Fedora 14:

[   38.902038] usb 2-1: new high speed USB device using ehci_hcd and address 3
[   39.018432] usb 2-1: New USB device found, idVendor=0489, idProduct=c001
[   39.018437] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   39.018440] usb 2-1: Product: ONE Android Phone
[   39.018442] usb 2-1: Manufacturer: Geeksphone
[   39.018444] usb 2-1: SerialNumber: XXXXXXXXXXXX
[   39.030778] scsi7 : usb-storage 2-1:1.0
[   40.033204] scsi 7:0:0:0: Direct-Access     Android  Mass Storage
  1000 PQ: 0 ANSI: 2
[   40.035213] sd 7:0:0:0: Attached scsi generic sg6 type 0
[   40.048431] sd 7:0:0:0: [sdf] Attached SCSI removable disk
[   62.052920] sd 7:0:0:0: [sdf] 15548416 512-byte logical blocks:
(7.96 GB/7.41 GiB)
[   62.053541] sd 7:0:0:0: [sdf] Assuming drive cache: write through
[   62.055163] sd 7:0:0:0: [sdf] Assuming drive cache: write through
[   62.055171]  sdf: sdf1
[   62.424607] SELinux: initialized (dev sdf1, type vfat), uses genfs_contexts

Maybe I'm doing something wrong as I'm an ignorant about cam(3) and
camcontrol(5).

Any help is appreciated.

Cheers

[1] http://www.geeksphone.com/en/moviles/especificaciones.php
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-user-groups
To unsubscribe, send any mail to "[hidden email]"