From: "Michael A. Kangin" <mak@cea.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: [sisyphus] Не работает gammu & irda
Date: Sat, 17 Sep 2005 12:04:50 +0400
Message-ID: <200509171204.50643.mak@cea.ru> (raw)
Здравствуйте!
Попытался настроить gammu на работу с irda (телефон Ericsson T39m). В
соответствии с /etc/gammurc написал ~/.gammurc:
------------
[mak@mak-home mak]$ cat .gammurc
[gammu]
port = /dev/ircomm0
connection = irdaat
startinfo = yes
logformat = textall
use_locking = yes
----------
Получаем мгновенный облом:
--------------
[mak@mak-home mak]$ gammu --identify
[Gammu - 1.02.00 built 18:00:42 Aug 23 2005 in gcc 3.4]
[Connection - "irdaat"]
[Model type - ""]
[Device - "/dev/ircomm0"]
[Run on - Linux, kernel 2.6.11-wks26-up-alt4]
[ERROR 20: Some functions not available for your OS (disabled in config or not
written).]
Some functions not available for your OS (disabled in config or not written).
--------------
Насторожило, что
[mak@mak-home mak]$ strings /usr/bin/gammu |grep -c irdaat
0
Ок, поменял Connection с irdaat на irda
ситуация немного изменилась:
Теперь облом не мгновенный, примерно с секундной задержкой, и другой:
-------------------
[mak@mak-home mak]$ gammu --identify
[Gammu - 1.02.00 built 18:00:42 Aug 23 2005 in gcc 3.4]
[Connection - "irda"]
[Model type - ""]
[Device - "/dev/ircomm0"]
[Run on - Linux, kernel 2.6.11-wks26-up-alt4]
[ERROR 14: No response in specified timeout. Probably phone not connected.]
No response in specified timeout. Probably phone not connected.
-----------------
При этом вывод irdadump не показывает никакой активности, только
идентификационные строчки компьютера и телефона:
----------
07:52:44.411914 xid:cmd ea3464c4 > ffffffff S=6 s=5 (14)
07:52:44.501904 xid:cmd ea3464c4 > ffffffff S=6 s=* mak-home hint=4400
[ Computer LAN Access ] (24)
07:52:46.961528 xid:cmd ea3464c4 > ffffffff S=6 s=0 (14)
07:52:47.029837 xid:rsp ea3464c4 < 25f3c2c0 S=6 s=0 T39 hint=9124 [ PnP Modem
IrCOMM IrOBEX ] (20)
07:52:47.051516 xid:cmd ea3464c4 > ffffffff S=6 s=1 (14)
---------
И вообще, теоретически, оно работает....:
---------
[mak@mak-home mak]$ gnokii --identify
GNOKII Version 0.6.5
IMEI : 520396450004661
Manufacturer : ERICSSON
Model : 1130102-BVT39m
Revision : R4A008 CXC125313
----------
[mak@mak-home mak]$ ls -l /dev/ircomm0
crw-rw---- 1 root tty 161, 0 Сен 17 11:52 /dev/ircomm0
[mak@mak-home mak]$ groups mak
mak : mak root adm tty uucp cdwriter audio kqemu hashman mak_a mak_b
От рута ситуация не лучше.
Это всё как, баг? Вешать? Еще какие-нибудь версии чего-нибудь написать? Или я
чего-то не понимаю и руки у меня кривые?
--
wbr, Michael A. Kangin
next reply other threads:[~2005-09-17 8:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-17 8:04 Michael A. Kangin [this message]
2005-09-17 18:48 ` [sisyphus] " Dmitry Vukolov
2005-09-18 20:57 ` Michael A. Kangin
2005-09-18 21:45 ` Dmitry Vukolov
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=200509171204.50643.mak@cea.ru \
--to=mak@cea.ru \
--cc=sisyphus@altlinux.ru \
/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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git