Re: nm 0.7.996 makes my nokia E75 GSM crash



On Sun, 2009-10-04 at 19:01 +0200, Romain Aviolat wrote:
> Hi there, 
> 
> I've been using my GSM with network manager for a while now (with a
> USB cable). 
> 
> With the beta release of ubuntu 9.10 (aka karmic koala -> nm 0.7.996),
> my phone is also detected as broadband modem, but when I select it
> from network-manager my phone crashes and then reboot :/ and nm says
> that the connection failed.
> 
> Issued with Nokia E75 and Nokia N97

I believe this was a bug in ModemManager that Alexander Sack just fixed.
ModemManager should not be running the CFUN commands on Nokia phones,
since CFUN=0 makes the phone shut off.  The MM enable sequence calls
CFUN=1, which the nokia phones do not support (so much for standards)
and an error is returned, then when NM directs MM to clean up the
connection attempt, MM runs CFUN=0 which makes the phone shut down.

Look for an update in 9.10 soon.

commit 0bcdf6a7c105471b195203a4a9f065c3f7fbbc7e
Author: Alexander Sack <asac jwsdot com>
Date:   Tue Oct 13 15:14:14 2009 +0200

    nokia: fix class property overrides to stop modemmanager from sending AT+CFUN (lp:450256)


Dan


> thanks for the great job!
> 
> Romain
> 
> 
> Oct  4 18:47:19 eee kernel: [  474.406507] usb 1-3: configuration #1
> chosen from 1 choice
> Oct  4 18:47:19 eee kernel: [  474.420461] cdc_acm 1-3:1.1: ttyACM0:
> USB ACM device
> Oct  4 18:47:19 eee kernel: [  474.422925] usb 1-3: bad CDC
> descriptors
> Oct  4 18:47:19 eee modem-manager: (ttyACM0) opening serial device...
> Oct  4 18:47:19 eee modem-manager: (ttyACM0): probe requested by
> plugin 'Nokia'
> Oct  4 18:47:29 eee modem-manager: (ttyACM0) closing serial device...
> Oct  4 18:47:31 eee kernel: [  474.423058] usb 1-3: bad CDC
> descriptors
> Oct  4 18:47:31 eee kernel: [  474.429248] cdc_phonet: probe of
> 1-3:1.10 failed with error -22
> Oct  4 18:47:31 eee kernel: [  483.838318] usb 1-3: USB disconnect,
> address 12
> Oct  4 18:47:31 eee kernel: [  485.916115] usb 1-3: new high speed USB
> device using ehci_hcd and address 13
> Oct  4 18:47:31 eee kernel: [  486.049826] usb 1-3: configuration #1
> chosen from 1 choice
> Oct  4 18:47:31 eee kernel: [  486.054387] cdc_acm 1-3:1.1: ttyACM1:
> USB ACM device
> Oct  4 18:47:31 eee kernel: [  486.056829] usb 1-3: bad CDC
> descriptors
> Oct  4 18:47:31 eee kernel: [  486.064480] usb 1-3: bad CDC
> descriptors
> Oct  4 18:47:31 eee kernel: [  486.098791] cdc_phonet: probe of
> 1-3:1.10 failed with error -22
> Oct  4 18:47:31 eee modem-manager: (ttyACM1) opening serial device...
> Oct  4 18:47:31 eee modem-manager: (ttyACM1): probe requested by
> plugin 'Nokia'
> Oct  4 18:47:32 eee modem-manager: (ttyACM1) closing serial device...
> Oct  4 18:47:32 eee modem-manager: (Nokia): GSM
> modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3 claimed port
> ttyACM1
> Oct  4 18:47:32 eee modem-manager: Added
> modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3
> Oct  4 18:47:32 eee modem-manager: Exported
> modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3
> as /org/freedesktop/ModemManager/Modems/1
> Oct  4 18:47:32 eee NetworkManager: <info>  (ttyACM1): new GSM device
> (driver: 'cdc_acm')
> Oct  4 18:47:32 eee NetworkManager: <info>  (ttyACM1): exported
> as /org/freedesktop/NetworkManager/Devices/3
> Oct  4 18:47:32 eee NetworkManager: <info>  (ttyACM1): now managed
> Oct  4 18:47:32 eee NetworkManager: <info>  (ttyACM1): device state
> change: 1 -> 2 (reason 2)
> Oct  4 18:47:32 eee NetworkManager: <info>  (ttyACM1): deactivating
> device (reason: 2).
> Oct  4 18:47:32 eee NetworkManager: flush_routes: assertion `iface_idx
> >= 0' failed
> Oct  4 18:47:32 eee NetworkManager: flush_addresses: assertion
> `iface_idx >= 0' failed
> Oct  4 18:47:32 eee NetworkManager: <info>  (ttyACM1): device state
> change: 2 -> 3 (reason 0)
> Oct  4 18:47:41 eee NetworkManager: <info>  Activation (ttyACM1)
> starting connection 'Swisscom Default'
> Oct  4 18:47:41 eee NetworkManager: <info>  (ttyACM1): device state
> change: 3 -> 4 (reason 0)
> Oct  4 18:47:41 eee NetworkManager: <info>  Activation (ttyACM1) Stage
> 1 of 5 (Device Prepare) scheduled...
> Oct  4 18:47:41 eee NetworkManager: <info>  Activation (ttyACM1) Stage
> 1 of 5 (Device Prepare) started...
> Oct  4 18:47:41 eee NetworkManager: <info>  (ttyACM1): device state
> change: 4 -> 6 (reason 0)
> Oct  4 18:47:41 eee NetworkManager: <info>  Activation (ttyACM1) Stage
> 1 of 5 (Device Prepare) complete.
> Oct  4 18:47:41 eee NetworkManager: <info>  Activation (ttyACM1) Stage
> 1 of 5 (Device Prepare) scheduled...
> Oct  4 18:47:41 eee NetworkManager: <info>  Activation (ttyACM1) Stage
> 1 of 5 (Device Prepare) started...
> Oct  4 18:47:41 eee NetworkManager: <info>  (ttyACM1): device state
> change: 6 -> 4 (reason 0)
> Oct  4 18:47:41 eee NetworkManager: <info>  Activation (ttyACM1) Stage
> 1 of 5 (Device Prepare) complete.
> Oct  4 18:47:41 eee modem-manager: (ttyACM1) opening serial device...
> Oct  4 18:47:41 eee modem-manager: Got failure code 4: Operation not
> supported
> Oct  4 18:47:41 eee NetworkManager: <WARN>  stage1_prepare_done(): GSM
> modem connection failed: Operation not supported
> Oct  4 18:47:41 eee NetworkManager: <info>  (ttyACM1): device state
> change: 4 -> 9 (reason 1)
> Oct  4 18:47:41 eee NetworkManager: <info>  Marking connection
> 'Swisscom Default' invalid.
> Oct  4 18:47:41 eee NetworkManager: Tried to set deprecated property
> gsm/puk
> Oct  4 18:47:41 eee NetworkManager: <info>  Activation (ttyACM1)
> failed.
> Oct  4 18:47:41 eee NetworkManager: <info>  (ttyACM1): device state
> change: 9 -> 3 (reason 0)
> Oct  4 18:47:41 eee NetworkManager: <info>  (ttyACM1): deactivating
> device (reason: 0).
> Oct  4 18:47:41 eee NetworkManager: flush_routes: assertion `iface_idx
> >= 0' failed
> Oct  4 18:47:41 eee NetworkManager: flush_addresses: assertion
> `iface_idx >= 0' failed
> Oct  4 18:47:41 eee NetworkManager: <info>  Policy set 'Auto
> xeni' (ra0) as default for routing and DNS.
> Oct  4 18:47:41 eee modem-manager: (ttyACM1) closing serial device...
> Oct  4 18:47:43 eee modem-manager: Removed
> modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3
> Oct  4 18:47:43 eee NetworkManager: <info>  (ttyACM1): now unmanaged
> Oct  4 18:47:43 eee NetworkManager: <info>  (ttyACM1): device state
> change: 3 -> 1 (reason 36)
> Oct  4 18:47:43 eee NetworkManager: <info>  (ttyACM1): cleaning up...
> Oct  4 18:47:43 eee NetworkManager: <info>  (ttyACM1): taking down
> device.
> Oct  4 18:47:47 eee wpa_supplicant[939]: CTRL-EVENT-SCAN-RESULTS 
> 
> 
> 
> 
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]