Sony Ericsson TM506 and if_cdce.ko
Manuel Chaviano
manny at computer.org
Tue Mar 9 17:18:02 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am trying to use my telephone to connect to the Internet, but had no success with
FreeBSD.
I have used under Debian with USB over ethernet and it does connect without problems,
but I would like to make it work in FreeBSD as well.
Any help will be greatly appreciated.
====================== uname output ================================================
FreeBSD epia.mmbb.org 7.2-STABLE FreeBSD 7.2-STABLE #4: Fri Jun 19 10:45:18 EDT 2009
manny at epia.mmbb.org:/usr/obj/usr/src/sys/MYKE i386
====================== uname output ================================================
0) sudo kldload if_cdce
kldstat
Id Refs Address Size Name
1 28 0xc0400000 52ecdc kernel
2 1 0xc092f000 6bdd8 if_ath.ko
3 6 0xc099b000 2c19c wlan.ko
4 1 0xc09c8000 7ef4 snd_via8233.ko
5 2 0xc09d0000 4a35c sound.ko
6 1 0xc0a1b000 193c accf_data.ko
7 1 0xc0a1d000 5200 wlan_scan_sta.ko
8 1 0xc0a23000 1924 wlan_scan_ap.ko
9 1 0xc0a25000 1b38 wlan_xauth.ko
10 1 0xc0a27000 431c wlan_tkip.ko
11 1 0xc0a2c000 5354 sem.ko
12 1 0xc0a32000 6a48c acpi.ko
13 1 0xc40da000 7000 linprocfs.ko
14 1 0xc40e1000 23000 linux.ko
15 1 0xc412a000 9000 if_bridge.ko
16 1 0xc4133000 6000 bridgestp.ko
17 1 0xc4441000 2000 accf_http.ko
18 1 0xc7f63000 4000 if_cdce.ko
1) Connect the USB cable [ phone <-> computer ].
2) The phone emits a sound asking me to open the flip and select an option.
3) I select "Phone mode" and the phone displays "Your phone is now ready to be used
with the computer".
4) dmesg (relevant section):
umass0: <Sony Ericsson Memory Stick, class 0/0, rev 2.00/0.00, addr 2> on uhub0
(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): NOT READY asc:3a,0
(probe0:umass-sim0:0:0:0): Medium not present
(probe0:umass-sim0:0:0:0): Unretryable error
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Sony Eri Memory Stick 0> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0
(probe0:umass-sim0:0:0:1): CAM Status: SCSI Status Error
(probe0:umass-sim0:0:0:1): SCSI Status: Check Condition
(probe0:umass-sim0:0:0:1): NOT READY asc:3a,0
(probe0:umass-sim0:0:0:1): Medium not present
(probe0:umass-sim0:0:0:1): Unretryable error
da1 at umass-sim0 bus 0 target 0 lun 1
da1: <Sony Eri Memory Stick 0> Removable Direct Access SCSI-0 device
da1: 1.000MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present
GEOM_LABEL: Label for provider da1s1 is msdosfs/PHONE CARD.
GEOM_LABEL: Label msdosfs/PHONE CARD removed.
GEOM_LABEL: Label for provider da1s1 is msdosfs/PHONE CARD.
umass0: at uhub0 port 1 (addr 2) disconnected
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry
(da1:umass-sim0:0:0:1): lost device
(da1:umass-sim0:0:0:1): removing device entry
GEOM_LABEL: Label msdosfs/PHONE CARD removed.
umass0: detached
ugen0: <Sony Ericsson Sony Ericsson TM506, class 2/0, rev 2.00/0.00, addr 2> on uhub0
ugen0: at uhub0 port 1 (addr 2) disconnected
ugen0: detached
cdce0: <Sony Ericsson Sony Ericsson TM506, class 2/0, rev 2.00/0.00, addr 2> on uhub0
cdce0: could not find data bulk in
device_attach: cdce0 attach returned 6
[manny at epia /usr/home/manny]$
5) ifconfig
ath0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:40:96:ac:3c:ac
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
status: associated
ssid "Riverside Park" channel 4 (2427 Mhz 11g) bssid 00:40:96:ac:3c:ac
authmode WPA privacy MIXED deftxkey 3 TKIP 2:128-bit TKIP 3:128-bit
txpower 31.5 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250
roam:rssi11g 7 roam:rate11g 5 protmode CTS burst dtimperiod 1
vr0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=2808<VLAN_MTU,WOL_UCAST,WOL_MAGIC>
ether 00:30:18:a8:0b:35
inet 208.205.31.42 netmask 0xffffff00 broadcast 208.205.31.255
media: Ethernet autoselect (100baseTX)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 1e:d5:93:86:27:cb
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: ath0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 1 priority 128 path cost 370370
member: vr0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 2 priority 128 path cost 200000
6) ls /dev/ | grep c
acd0
acpi
ad0s1c
console
consolectl
ctty
devctl
geom.ctl
mdctl
nfslock
pci
ttyvc
- --
L8R
We are prisoners of ideas.
- -- Ralph Waldo Emerson
__
///
__ ///
\\\///
\XX/ FreeBSD 7-STABLE
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
iEYEARECAAYFAkuWfHwACgkQ0Nrv8E+By332mQCgscxKiPNi1qabw6IVXpPvyyQq
KzcAnjSPGHh/D7XmCCETKufOeJLeTknD
=4hGQ
-----END PGP SIGNATURE-----
More information about the freebsd-usb
mailing list