USB connection to phone

I have a mobile phone (T68i) attached to my server and everything works fine. But sometimes the phone craches and needs to be rebooted wich is quite annoying.

So I want to use a newer phone that is not 10+ years old :slight_smile:

But when using a K610i or C702 the phone does not appear on /dev/ttyUSB0 as expected.

When inserting the usb cable a dmesg gives this:

[5924924.451033] usb 1-3: new high speed USB device using ehci_hcd and address 19
[5924924.576728] usb 1-3: New USB device found, idVendor=0fce, idProduct=d0d9
[5924924.576760] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[5924924.576782] usb 1-3: Product: Sony Ericsson C702
[5924924.576800] usb 1-3: Manufacturer: Sony Ericsson
[5924924.576817] usb 1-3: SerialNumber: 3543870256565080
[5924924.577438] usb 1-3: configuration #3 chosen from 1 choice

and a lsusb gives this:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0bf8:100f Fujitsu Siemens Computers 
Bus 001 Device 019: ID 0fce:d0d9 Sony Ericsson Mobile Communications AB 
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 011: ID 0731:0528 Susteen, Inc. SonyEricsson DCU-11 Cable
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

but only the old T68i can be found on /dev/ttyUSB0:

ll -lrt /dev/ttyUSB*
crwxrwxrwx 1 root dialout 188, 0 2010-05-16 14:54 /dev/ttyUSB0

Does anyone have an idea why I cannot see new phones on my server?

I had a similar problem with a new Nokia, I followed the advise to downgrade libusb given here:
Changes in USB DEvice Access with Suse 11.2 ??? - openSUSE Forums.

That helped me!

Thanks - I will try to downgrade libusb.

I’m kind of a newbie, so… how do I do that?

Download the rpm and type:

rpm -ivh libusb-0_1-4-0.1.12-140.1.i586.rpm

?

BR. and thanks for the quick reply.

I’m feeling more and more like a noob, but does this not mean that libusb0 is installed?

rpm -qa | grep libusb
libusb-0_1-4-0.1.13-2.2.i586
libusb-1_0-0-1.0.2-2.2.i586

q:o) Theis

Hi theisborg;

here is a post from ubuntu:

[ubuntu] Sony Ericsson C702 - getting the most out of the phone on Ubuntu - Ubuntu Forums](http://ubuntuforums.org/showthread.php?t=1048055)

they suggest your device needs to be in phone mode:

Menu -> Settings -> Connectivity -> USB -> USB Network -> USB network type -> Phone as modem

were you already using that?

Thanks for the tip. The phone is now connected as /dev/ttyACM0 (says the yast hardware configuration) but there is no such file in the filesystem.

Did a lot of googling, and tried stuff like:

ln -sf /dev/ttyACM0 /dev/ttyS0

and

mknod /dev/ttyACM0 c 166 0

but no luck. Then I tried:

modprobe cdc-acm

but got:
FATAL: Could not load /lib/modules/2.6.31.12-0.1-desktop/modules.dep: No such file or directory

So my status right now is that suse finds the phone and says it is /dev/ttyACM0 but there is no such file in the filesystem.

A dump from the hardware list gives this:

60: USB 00.0: 0000 Unclassified device
  [Created at usb.122]
  UDI: /org/freedesktop/Hal/devices/usb_device_1d6b_2_0000_00_10_4_if0_0
  Unique ID: n7Sn.NCtym1hIKP4
  Parent ID: k4bc.22MfGOBVe10
  SysFS ID: /devices/pci0000:00/0000:00:10.4/usb1/1-3/1-3:3.0
  SysFS BusID: 1-3:3.0
  Hardware Class: unknown
  Model: "Sony Ericsson Mobile Sony Ericsson C702"
  Hotplug: USB
  Vendor: usb 0x0fce "Sony Ericsson Mobile Communications AB"
  Device: usb 0xd0d9 "Sony Ericsson C702"
  Serial ID: "3543870256565080"
  Speed: 480 Mbps
  Module Alias: "usb:v0FCEpD0D9d0000dc02dsc00dp00ic02isc08ip00"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #53 (Hub)

61: USB 00.1: 10200 Modem
  [Created at usb.122]
  UDI: /org/freedesktop/Hal/devices/usb_device_1d6b_2_0000_00_10_4_if1
  Unique ID: EJir.AfW7mx0uGd9
  Parent ID: k4bc.22MfGOBVe10
  SysFS ID: /devices/pci0000:00/0000:00:10.4/usb1/1-3/1-3:3.1
  SysFS BusID: 1-3:3.1
  Hardware Class: modem
  Model: "Sony Ericsson Mobile Sony Ericsson C702"
  Hotplug: USB
  Vendor: usb 0x0fce "Sony Ericsson Mobile Communications AB"
  Device: usb 0xd0d9 "Sony Ericsson C702"
  Serial ID: "3543870256565080"
  Device File: /dev/ttyACM0
  Speed: 480 Mbps
  Module Alias: "usb:v0FCEpD0D9d0000dc02dsc00dp00ic02isc02ip01"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #53 (Hub)

68: USB 00.8: 0291 USB Host-to-Host link
  [Created at usb.122]
  UDI: /org/freedesktop/Hal/devices/usb_device_fce_d0d9_3543870256565080_if8
  Unique ID: eqOk.oYag8BTMMi1
  Parent ID: k4bc.22MfGOBVe10
  SysFS ID: /devices/pci0000:00/0000:00:10.4/usb1/1-3/1-3:3.8
  SysFS BusID: 1-3:3.8
  Hardware Class: network
  Model: "Sony Ericsson Mobile Sony Ericsson C702"
  Hotplug: USB
  Vendor: usb 0x0fce "Sony Ericsson Mobile Communications AB"
  Device: usb 0xd0d9 "Sony Ericsson C702"
  Serial ID: "3543870256565080"
  Speed: 480 Mbps
  Module Alias: "usb:v0FCEpD0D9d0000dc02dsc00dp00ic02isc06ip00"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #53 (Hub)

The connection to the old phone (that works) looks like:

59: USB 00.0: 0700 Serial controller
  [Created at usb.122]
  UDI: /org/freedesktop/Hal/devices/usb_device_731_528_noserial_if0_serial_usb_0
  Unique ID: FKGF.oKXn8oY9cAA
  Parent ID: pBe4.5nw7MPEyvh9
  SysFS ID: /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0
  SysFS BusID: 2-1:1.0
  Hardware Class: unknown
  Model: "Susteen SonyEricsson DCU-11 Cable"
  Hotplug: USB
  Vendor: usb 0x0731 "Susteen, Inc."
  Device: usb 0x0528 "SonyEricsson DCU-11 Cable"
  Revision: "0.01"
  Driver: "pl2303"
  Driver Modules: "pl2303", "pl2303"
  Device File: /dev/ttyUSB0
  Device Files: /dev/ttyUSB0, /dev/char/188:0, /dev/serial/by-path/pci-0000:00:10.0-usb-0:1:1.0-port0, /dev/serial/by-id/usb-0731_0528-if00-port0
  Device Number: char 188:0
  Speed: 12 Mbps
  Module Alias: "usb:v0731p0528d0001dc00dsc00dp00icFFisc00ip00"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #54 (Hub)

Thanks for all your suggestions…

q:o) Theis

is there anything in swerdna’s post #26

How to configure USB modem in opensuse 11.1 - Page 3 - openSUSE Forums

that might be of help to you;

and this is his post

Wireless broadband in Suse/openSUSE for Bigpond Next G Network (HSDPA-enabled bp3-usb)

since then, some steps are simpler but they are all laid out here

Hi all

Just wanted to say that the problem is solved (by a linux guru friend :slight_smile:

In case others have a similar problem this is what we did:

insmod /lib/modules/2.6.31.12-0.2-desktop/kernel/drivers/usb/class/cdc-acm.ko

and voilá - everything works as expected.

Thanks for all your help and suggestions.

q:o) Theis

thanks: so this file

cdc-acm.ko

exists in /lib/modules/2.6.31.12-0.2-desktop/kernel/drivers/usb/class

but you have to “prod” it with insmod;

some forums have a SOLVED addition: don’t think is an OpenSuse thing