Bug 23978

Summary: doesn't work with GSM modem
Product: Sisyphus Reporter: Nick S. Grechukh <gns>
Component: ModemManagerAssignee: Mikhail Efremov <sem>
Status: ASSIGNED --- QA Contact: qa-sisyphus
Severity: critical    
Priority: P3 CC: mike, sem
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
вывод modem-manager --debug none

Description Nick S. Grechukh 2010-08-27 20:30:49 MSD
При активации в NetworkManager происходит следующее:

[altlinux@eeelive devel]$ tail -n 0 -f /var/log/messages 
Aug 27 19:25:44 eeelive NetworkManager[7717]: <info> Hostname is not changed because Xorg server is active 
Aug 27 19:26:01 eeelive NetworkManager[7717]: <info> Activation (ttyACM0) starting connection 'Beeline' 
Aug 27 19:26:01 eeelive NetworkManager[7717]: <info> (ttyACM0): device state change: 3 -> 4 (reason 0) 
Aug 27 19:26:01 eeelive NetworkManager[7717]: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) scheduled... 
Aug 27 19:26:01 eeelive NetworkManager[7717]: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) started... 
Aug 27 19:26:01 eeelive NetworkManager[7717]: <info> (ttyACM0): device state change: 4 -> 6 (reason 0) 
Aug 27 19:26:01 eeelive NetworkManager[7717]: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) complete. 
Aug 27 19:26:01 eeelive NetworkManager[7717]: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) scheduled... 
Aug 27 19:26:01 eeelive NetworkManager[7717]: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) started... 
Aug 27 19:26:01 eeelive NetworkManager[7717]: <info> (ttyACM0): device state change: 6 -> 4 (reason 0) 
Aug 27 19:26:01 eeelive NetworkManager[7717]: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) complete. 
Aug 27 19:26:01 eeelive modem-manager: (ttyACM0) opening serial device...
Aug 27 19:26:01 eeelive modem-manager: Modem /org/freedesktop/ModemManager/Modems/13: state changed (disabled -> enabling)
Aug 27 19:26:01 eeelive modem-manager: Modem /org/freedesktop/ModemManager/Modems/13: state changed (enabling -> disabled)
Aug 27 19:26:01 eeelive modem-manager: (ttyACM0) closing serial device...
Aug 27 19:26:01 eeelive NetworkManager[7717]: <warn> GSM modem enable failed: (32) Failed to find a usable modem character set 
Aug 27 19:26:01 eeelive NetworkManager[7717]: <info> (ttyACM0): device state change: 4 -> 9 (reason 28) 
Aug 27 19:26:01 eeelive NetworkManager[7717]: <info> Marking connection 'Beeline' invalid. 
Aug 27 19:26:01 eeelive NetworkManager[7717]: <warn> Activation (ttyACM0) failed. 
Aug 27 19:26:01 eeelive NetworkManager[7717]: <info> (ttyACM0): device state change: 9 -> 3 (reason 0) 
Aug 27 19:26:01 eeelive NetworkManager[7717]: <info> (ttyACM0): deactivating device (reason: 0).

Через шнурок/rfcomm, без разницы. А в отпуске очень обидно без интернета.
Comment 1 Nick S. Grechukh 2010-08-27 20:32:18 MSD
Телефон, если это имеет значение, samsung SGH-E250.

Последний раз пробовал весной и всё работало.
Comment 2 Nick S. Grechukh 2010-08-27 20:36:19 MSD
с дебагом выглядит так:

** Message: (ttyACM0) opening serial device...
** (modem-manager:13186): DEBUG: <1282926952.512803> (ttyACM0) device open count is 1 (open)
** (modem-manager:13186): DEBUG: <1282926952.513046> Modem /org/freedesktop/ModemManager/Modems/0: state changed (disabled -> enabling)
** (modem-manager:13186): DEBUG: <1282926952.616136> (ttyACM0): --> 'ATZ E0 V1<CR>'
** (modem-manager:13186): DEBUG: <1282926952.633154> (ttyACM0): <-- '<CR><LF>OK<CR><LF>'
** (modem-manager:13186): DEBUG: <1282926952.633446> (ttyACM0): --> 'ATE0<CR>'
** (modem-manager:13186): DEBUG: <1282926952.639205> (ttyACM0): <-- 'ATE0'
** (modem-manager:13186): DEBUG: <1282926952.641748> (ttyACM0): <-- '<CR>'
** (modem-manager:13186): DEBUG: <1282926952.644206> (ttyACM0): <-- '<CR><LF>OK<CR><LF>'
** (modem-manager:13186): DEBUG: <1282926952.644503> (ttyACM0): --> 'AT+CMEE=1<CR>'
** (modem-manager:13186): DEBUG: <1282926952.661974> (ttyACM0): <-- '<CR><LF>OK<CR><LF>'
** (modem-manager:13186): DEBUG: <1282926952.662234> (ttyACM0): --> 'ATX4 &C1<CR>'
** (modem-manager:13186): DEBUG: <1282926952.679750> (ttyACM0): <-- '<CR><LF>OK<CR><LF>'
** (modem-manager:13186): DEBUG: <1282926952.680004> (ttyACM0): --> 'AT+CFUN=1<CR>'
** (modem-manager:13186): DEBUG: <1282926952.696788> (ttyACM0): <-- '<CR><LF>+CME ERROR: 4<CR><LF>'
** (modem-manager:13186): DEBUG: Got failure code 4: Operation not supported
** (modem-manager:13186): DEBUG: <1282926952.697185> (ttyACM0): --> 'AT+IFC=1,1<CR>'
** (modem-manager:13186): DEBUG: <1282926952.710615> Modem /org/freedesktop/ModemManager/Modems/0: state changed (enabling -> disabled)
** (modem-manager:13186): DEBUG: <1282926952.710728> (ttyACM0) device open count is 0 (close)
** Message: (ttyACM0) closing serial device...
Comment 3 Nick S. Grechukh 2010-08-27 20:37:02 MSD
Кажется это похоже на https://bugs.launchpad.net/modemmanager/+bug/450256
Comment 4 Mikhail Efremov 2010-08-28 15:50:22 MSD
(In reply to comment #1)
> Последний раз пробовал весной и всё работало.

Точнее не получится вспомнить? Хотелось бы вычислить версию MM, с которой работало.
Comment 5 Mikhail Efremov 2010-09-06 20:24:04 MSD
Проверьте с 0.4-alt1.git20100906.
Comment 6 Nick S. Grechukh 2010-09-08 15:22:52 MSD
То же самое.

Попробую поделать лив из архива сизифа.
Comment 7 Mikhail Efremov 2010-09-22 17:46:30 MSD
Проверьте с 0.4-alt1.git20100922, должно помочь.
Comment 8 Nick S. Grechukh 2010-09-22 18:22:42 MSD
(In reply to comment #7)
> Проверьте с 0.4-alt1.git20100922, должно помочь.

Попробовал. Помогло, теперь валится с другим сообщением:

NetworkManager[11491]: <info> Activation (ttyACM0) starting connection 'Beeline'
NetworkManager[11491]: <info> (ttyACM0): device state change: 3 -> 4 (reason 0)
NetworkManager[11491]: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager[11491]: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) started...
NetworkManager[11491]: <info> (ttyACM0): device state change: 4 -> 6 (reason 0)
NetworkManager[11491]: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) complete.
NetworkManager[11491]: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager[11491]: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) started...
NetworkManager[11491]: <info> (ttyACM0): device state change: 6 -> 4 (reason 0)
NetworkManager[11491]: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) complete.
NetworkManager[11491]: <debug> [1285165077.191402] [nm-manager.c:1805] manager_rfkill_update_one_type(): WWAN hw-enabled 1 sw-enabled 1
NetworkManager[11491]: <info> WWAN now enabled by radio killswitch
NetworkManager[11491]: <debug> [1285165077.191652] [nm-manager.c:1641] manager_update_radio_enabled(): (ttyACM0): setting radio enabled
NetworkManager[11491]: <warn> GSM connection failed: (32) Operation not supported
NetworkManager[11491]: <info> (ttyACM0): device state change: 4 -> 9 (reason 1)
NetworkManager[11491]: <info> Marking connection 'Beeline' invalid.
NetworkManager[11491]: <warn> Activation (ttyACM0) failed.
NetworkManager[11491]: <debug> [1285165077.386152] [nm-device.c:3657] failed_to_disconnected(): (ttyACM0): running failed->disconnected transition
NetworkManager[11491]: <info> (ttyACM0): device state change: 9 -> 3 (reason 0)
NetworkManager[11491]: <info> (ttyACM0): deactivating device (reason: 0).
NetworkManager[11491]: <debug> [1285165077.389856] [nm-system.c:1350] flush_routes(): (ttyACM0) failed to lookup interface index
Comment 9 Nick S. Grechukh 2010-09-22 18:23:35 MSD
Created attachment 4557 [details]
вывод modem-manager --debug
Comment 10 Michael Shigorin 2015-04-19 20:18:17 MSK
Ещё актуально?  lp#450256 в состоянии "Fix Released".