LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 10-23-2007, 07:03 AM   #1
gopi.d
Member
 
Registered: Feb 2006
Location: India
Distribution: Slackware 12, Fedora 7, Kubuntu-7.04
Posts: 172

Rep: Reputation: 30
How to Connect Sony Ericsson W850i as modem through usb cable


Please help me to connect my sony ericsson w850i as modem though usb data cable in slackware 12. and also tell me how to detect the phone in kandy or wammu.
 
Old 10-25-2007, 05:41 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
Just plug it in. Check dmesg or /var/log/messages. It will probably be detected as /dev/ttyUSB0.
 
Old 10-25-2007, 10:50 AM   #3
gopi.d
Member
 
Registered: Feb 2006
Location: India
Distribution: Slackware 12, Fedora 7, Kubuntu-7.04
Posts: 172

Original Poster
Rep: Reputation: 30
got the phone plugged in usb and dmesg shows the phone is detected, but how to sync with the phone or use it as modem.
 
Old 10-25-2007, 11:09 AM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
To use it as a modem, run your terminal program (e.g., minicom) and set the device to what was detected (e.g., /dev/ttyUSB0). You use the same Hayes AT commands that you would use on a regular modem.

The sync programs also require configuration with the device name. Check the man page or documentation for each package to see how you need to configure the device. For example, for the gnokii/xgnokii programs I use, I needed to edit /etc/gnokiirc to specify the device information.
 
Old 10-26-2007, 12:03 AM   #5
gopi.d
Member
 
Registered: Feb 2006
Location: India
Distribution: Slackware 12, Fedora 7, Kubuntu-7.04
Posts: 172

Original Poster
Rep: Reputation: 30
i have kde mobile tools installed but when i select the /dev/ttyUSB0 i get the error message unable to connect to the port. pls help to connect the phone to kde mobile tools.
 
Old 10-26-2007, 12:45 AM   #6
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
What does your /var/log/messages say when you plug the phone in?
 
Old 10-30-2007, 09:01 AM   #7
gopi.d
Member
 
Registered: Feb 2006
Location: India
Distribution: Slackware 12, Fedora 7, Kubuntu-7.04
Posts: 172

Original Poster
Rep: Reputation: 30
here is the output of dmesg
root@gopi:~# dmesg
Linux agpgart interface v0.102 (c) Dave Jones
i2c_core: exports duplicate symbol i2c_smbus_write_i2c_block_data (owned by kernel)
agpgart: Detected an Intel 915G Chipset.
agpgart: AGP aperture is 256M @ 0x0
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:01:00.0 to 64
NVRM: loading NVIDIA UNIX x86 Kernel Module 100.14.19 Wed Sep 12 14:12:24 PDT 2007
Linux video capture interface: v2.00
i2c_core: exports duplicate symbol i2c_smbus_write_i2c_block_data (owned by kernel)
Bluetooth: Core ver 2.11
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
saa7130/34: v4l2 driver version 0.2.14 loaded
ACPI: PCI Interrupt 0000:06:02.0[A] -> GSI 18 (level, low) -> IRQ 18
saa7134[0]: found at 0000:06:02.0, rev: 1, irq: 18, latency: 32, mmio: 0xfab01000
saa7134[0]: subsystem: 11bd:002b, board: Pinnacle PCTV Stereo (saa7134) [card=26,autodetected]
saa7134[0]: board init: gpio is 0
Bluetooth: HCI USB driver ver 2.9
usbcore: registered new interface driver hci_usb
saa7134[0]: i2c eeprom 00: bd 11 2b 00 f8 f8 1c 00 43 43 a9 1c 55 d2 b2 92
saa7134[0]: i2c eeprom 10: 00 00 19 0e ff 20 ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 20: 01 40 01 03 03 ff 03 01 08 ff 00 53 ff ff ff ff
saa7134[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 40: ff 07 00 c0 86 ff 01 01 ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 50: 0c 22 17 34 02 97 c2 8b ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 60: 03 03 19 71 fb ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
i2c_core: exports duplicate symbol i2c_smbus_write_i2c_block_data (owned by kernel)
tuner 1-0043: chip found @ 0x86 (saa7134[0])
tda9887 1-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 1-0060: Chip ID is not zero. It is not a TEA5767
tuner 1-0060: chip found @ 0xc0 (saa7134[0])
tuner 1-0060: microtune: companycode=3cbf part=42 rev=2f
tuner 1-0060: microtune MT2050 found, OK
tuner 1-0060: microtune: companycode=3cbf part=42 rev=2f
tuner 1-0060: microtune MT2050 found, OK
saa7134[0]: registered device video0 [v4l2]
saa7134[0]: registered device vbi0
i2c_core: exports duplicate symbol i2c_smbus_write_i2c_block_data (owned by kernel)
Adding 618492k swap on /dev/sdb3. Priority:-1 extents:1 across:618492k
EXT3 FS on sdb1, internal journal
input: PC Speaker as /class/input/input2
input: ImPS/2 Generic Wheel Mouse as /class/input/input3
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
lp0: using parport0 (interrupt-driven).
lp0: console ready
e100: Intel(R) PRO/100 Network Driver, 3.5.17-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
ACPI: PCI Interrupt 0000:06:08.0[A] -> GSI 20 (level, low) -> IRQ 21
e100: eth0: e100_probe: addr 0xfab00000, irq 21, MAC addr 00:13:20:6C:4D:BD
Capability LSM initialized
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
kjournald starting. Commit interval 5 seconds
EXT3 FS on sdb2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
fuse init (API version 7.8)
Intel ISA PCIC probe: not found.
Databook TCIC-2 PCMCIA probe: not found.
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
usbhid: exports duplicate symbol hiddev_hid_event (owned by kernel)
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
eth0: no IPv6 routers present
usb 3-1: new full speed USB device using uhci_hcd and address 2
usb 3-1: configuration #3 chosen from 1 choice
cdc_acm 3-1:3.1: ttyACM0: USB ACM device
cdc_acm 3-1:3.3: ttyACM1: USB ACM device
usbcore: registered new interface driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
usb0: register 'cdc_ether' at usb-0000:00:1d.1-1, CDC Ethernet Device, 02:80:37:f8:02:00
usbcore: registered new interface driver cdc_ether
 
Old 10-30-2007, 01:04 PM   #8
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
It says your phone is at /dev/ttyACM0:

Code:
cdc_acm 3-1:3.1: ttyACM0: USB ACM device
cdc_acm 3-1:3.3: ttyACM1: USB ACM device
 
Old 10-31-2007, 04:39 AM   #9
gopi.d
Member
 
Registered: Feb 2006
Location: India
Distribution: Slackware 12, Fedora 7, Kubuntu-7.04
Posts: 172

Original Poster
Rep: Reputation: 30
yes it was /dev/ttyACM0 but is accesible as root only and getting error unable to open port when connecting as user
 
Old 10-31-2007, 09:50 AM   #10
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
You can chmod or chown the device file to make it accessible to you as a user. Depending on how your distribution automates this, you may need to add an entry to /etc/security/console.perms or add/update a udev rule in /etc/udev/rules.d/. If you have trouble figuring this out, start a new question regarding your distribution and automating the permissions. That way, someone familiar with that distribution will take notice.
 
Old 11-01-2007, 05:47 AM   #11
gopi.d
Member
 
Registered: Feb 2006
Location: India
Distribution: Slackware 12, Fedora 7, Kubuntu-7.04
Posts: 172

Original Poster
Rep: Reputation: 30
Finally got my phone connected to Kmobile tools by setting the device to /dev/ttyACM0 and got my phone talking to linux but getting errors while dialing to ppp through gprs, kppp gives connection error when dialed and wvdial gives username and password not supplied error. but in my gprs service there is no username & password, it just dials to my apn and establishes connection. i could not figure out where the problem is but i have not tried this before, the same works well in windows by mobile networking wizard in sony ericsson pc suite.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem mounting Sony Ericsson W850i through USB Data Cable gopi.d Linux - Hardware 1 07-04-2007 07:56 AM
installing Sony Ericsson W850i mobile in Fedora 7 gopi.d Linux - Hardware 0 06-20-2007 07:29 AM
let my suse 9 connect to Sony Erricson k750i via usb cable ? A.Elkaysh Suse/Novell 2 04-01-2006 03:30 PM
Data Cable Software for Sony Ericsson sukhen Linux - Software 1 02-13-2006 07:17 PM
Sony Ericsson T630 & USB data cable norkers Linux - Hardware 0 01-13-2005 07:21 AM


All times are GMT -5. The time now is 07:53 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration