ALT Linux hardware support
 help / color / mirror / Atom feed
From: Yury Aliaev <mutab0r@rambler.ru>
To: hardware@lists.altlinux.org
Subject: [Hardware] Телефон SE Z710i как модем
Date: Mon, 12 May 2008 18:46:39 +0400
Message-ID: <4828584F.3060103@rambler.ru> (raw)

Всем доброго времени суток!

Имеется телефон SonyEricsson Z710i. Я попробовал использовать его как 
GPRS/EDGE модем. При подключении к компу наблюдаю следующее (ядро -- 
2.6.16-std-up-не_помню_какое):

May 11 21:54:01 Iron_Felix kernel: usb 1-1: new full speed USB device 
using uhci_hcd and address 4
May 11 21:54:02 Iron_Felix kernel: usb 1-1: configuration #3 chosen from 
1 choice
May 11 21:54:41 Iron_Felix kernel: cdc_acm 1-1:3.1: ttyACM0: USB ACM device
May 11 21:54:41 Iron_Felix kernel: cdc_acm 1-1:3.3: ttyACM1: USB ACM device
May 11 21:54:41 Iron_Felix kernel: usbcore: registered new driver cdc_acm
May 11 21:54:41 Iron_Felix kernel: drivers/usb/class/cdc-acm.c: 
v0.25:USB Abstract Control Model driver
for USB modems and ISDN
adapters
May 11 21:54:43 Iron_Felix hald[3481]: Timed out waiting for hotplug 
event 473. Rebasing to 473
May 11 21:54:45 Iron_Felix kernel: usb0: register 'cdc_ether' at 
usb-0000:00:07.2-1, CDC Ethernet Device,
02:80:37:fe:02:00
May 11 21:54:45 Iron_Felix kernel: usbcore: registered new driver cdc_ether
May 11 21:54:48 Iron_Felix hald[3481]: Timed out waiting for hotplug 
event 476. Rebasing to 476

После чего появляются устройства /dev/ttyACM0 и /dev/ttyACM1. Теперь 
пытаюсь поднят ppp (команда pppd call beelin). Содержимое 
/etc/ppp/peers/beeline такое:

/dev/ttyACM1
user "beeline"
defaultroute
ipcp-accept-remote
noipdefault
usepeerdns
connect '/usr/sbin/chat -f /etc/ppp/scripts/beeline'

Соответственно /etc/ppp/scripts/beeline:

ABORT 'BUSY'
ABORT 'NO DIALTONE'
ABORT 'NO CARRIER'
ABORT 'HANG UP'
ABORT 'NO ANSWER'
ABORT 'ERROR'
'' AT+CGDCONT=1,"IP","internet.beeline.ru"
'OK' ATDT*99***1#
TIMEOUT 300
CONNECT ''

При этом в логе появляется следующее:

May 11 21:56:38 Iron_Felix kernel: CSLIP: code copyright 1989 Regents of 
the University of California
May 11 21:56:38 Iron_Felix kernel: PPP generic driver version 2.4.2
May 11 21:56:38 Iron_Felix pppd[5081]: pppd 2.4.2 started by root, uid 0
May 11 21:56:41 Iron_Felix pppd[5081]: Serial connection established.
May 11 21:56:42 Iron_Felix pppd[5081]: Using interface ppp0
May 11 21:56:42 Iron_Felix pppd[5081]: Connect: ppp0 <--> /dev/ttyACM0
May 11 21:56:46 Iron_Felix pppd[5081]: Hangup (SIGHUP)
May 11 21:56:46 Iron_Felix pppd[5081]: Modem hangup
May 11 21:56:46 Iron_Felix pppd[5081]: Connection terminated.
May 11 21:56:47 Iron_Felix pppd[5081]: Exit.
May 11 21:57:01 Iron_Felix kernel: usb 1-1: USB disconnect, address 4
May 11 21:57:01 Iron_Felix kernel: usb0: unregister 'cdc_ether' 
usb-0000:00:07.2-1, CDC Ethernet Device

Устройства /dev/ttyACM0 и /dev/ttyACM1 пропадают и при последующих 
втыканиях телефона не появляются до очередной перезагрузки. Вопрос: что 
я делаю не так и как добиться желаемого результата?

Заранее спасибо,
Юрий.


             reply	other threads:[~2008-05-12 14:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-12 14:46 Yury Aliaev [this message]
2008-05-12 17:42 ` Yakov Reztsov
2008-05-13  8:02   ` Yury Aliaev
2008-05-13 15:55     ` Van Petrov
2008-05-14  7:49       ` Yury Aliaev
2008-05-14  7:55     ` Yakov Reztsov
2008-05-14  9:03       ` Yury Aliaev
2008-05-14  9:19     ` K. A. Bylym
2008-05-14 13:07       ` Yury Aliaev
2008-05-14 13:58         ` Andrey Rahmatullin
2008-05-14 20:04           ` Alexandr Petukhov
2008-05-15 11:56             ` Yury Aliaev
2008-05-15 11:58               ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4828584F.3060103@rambler.ru \
    --to=mutab0r@rambler.ru \
    --cc=hardware@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux hardware support

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/hardware/0 hardware/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 hardware hardware/ http://lore.altlinux.org/hardware \
		hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
	public-inbox-index hardware

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.hardware


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git