Re: [Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-10-14 Thread Alexander Sack
On Tue, Oct 13, 2009 at 01:52:14PM -, vulfgar wrote:
 It works! :)
 

thanks. daily builds should already have this now, so you dont need to
manually patch.

daily builds are here:
https://edge.launchpad.net/~network-manager/+archive/trunk

 - Alexander

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-10-13 Thread jfritz
sudo python ./mm-test.py 
[sudo] password for fritz: 
GSM modem
Driver: 'cdc_acm'
Modem device: '/sys/devices/pci:00/:00:1d.7/usb2/2-3'
Data device: 'ttyACM1'
Traceback (most recent call last):
  File ./mm-test.py, line 240, in module
modem.Enable(True)
  File /usr/lib/pymodules/python2.6/dbus/proxies.py, line 140, in __call__
**keywords)
  File /usr/lib/pymodules/python2.6/dbus/connection.py, line 620, in 
call_blocking
message, timeout)
dbus.exceptions.DBusException: 
org.freedesktop.ModemManager.Modem.Gsm.OperationNotSupported: Operation not 
supported

I did not observe a difference in the log files or the output of mm-test
whether i run it as root or not

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-10-13 Thread Alexander Sack
please try the patch (mm.patch) i am attaching, like:

sudo apt-get build-dep modemmanager
sudo apt-get install devscripts
apt-get source modemmanager
cd modemmanager*/
patch -p1  /tmp/mm.patch
debuild -b
cd ..
sudo dpkg -i modem*.deb

** Attachment added: mm.patch
   http://launchpadlibrarian.net/33585082/mm.patch

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-10-13 Thread Alexander Sack
sorry. previous patch was wrong. use this

** Attachment added: mm.patch
   http://launchpadlibrarian.net/33585385/mm.patch

** Attachment removed: mm.patch
   http://launchpadlibrarian.net/33585082/mm.patch

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-10-13 Thread Alexander Sack
i opened bug 450256 for whatever is left.

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-10-13 Thread jfritz
63318.aa78b5f-0ubuntu1_amd64.deb'.
 dpkg-genchanges -b 
../modemmanager_0.2.git.20091003t063318.aa78b5f-0ubuntu1_amd64.changes
dpkg-genchanges: binary-only upload - not including any source code
dpkg-buildpackage: binary only upload (no source included)
Now running lintian...
W: modemmanager: binary-without-manpage usr/sbin/modem-manager
E: modemmanager: pkg-has-shlibs-control-file-but-no-actual-shared-libs
W: modemmanager: postinst-has-useless-call-to-ldconfig
W: modemmanager: postrm-has-useless-call-to-ldconfig
W: modemmanager: wrong-bug-number-in-closes l114:#XX
Finished running lintian.
Now signing changes and any dsc files...
 signfile modemmanager_0.2.git.20091003t063318.aa78b5f-0ubuntu1_amd64.changes 
Alexander Sack a...@ubuntu.com
gpg: skipped Alexander Sack a...@ubuntu.com: secret key not available
gpg: 
/tmp/debsign.Q4UxojoA/modemmanager_0.2.git.20091003t063318.aa78b5f-0ubuntu1_amd64.changes:
 clearsign failed: secret key not available
debsign: gpg error occurred!  Aborting
debuild: fatal error at line 1255:
running debsign failed

seems ok.

package installing works too, and connection works now as well on N97

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-10-13 Thread Alexander Sack
fix committed upstream: 0bcdf6a7c105471b195203a4a9f065c3f7fbbc7e

http://cgit.freedesktop.org/ModemManager/ModemManager/commit/?id=0bcdf6a7c105471b195203a4a9f065c3f7fbbc7e

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-10-13 Thread vulfgar
It works! :)

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-10-12 Thread Alexander Sack
On Sun, Oct 11, 2009 at 10:26:33PM -, vulfgar wrote:
 Still got this problem with Nokia 5800. 
 Installed version Installed: 0.2.git.20091003t171625.a088f12-0ubuntu2~nmt1 
 (karmic)
 

If you see this, please follow instructions here:

https://wiki.ubuntu.com/DebuggingModemmanager

the sooner you do that the more likely is a fix for karmic. so hurry ;).

 - Alexander

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-10-12 Thread jfritz

** Attachment added: modem.log.txt
   http://launchpadlibrarian.net/33552477/modem.log.txt

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-10-12 Thread jfritz
GSM modem
Driver: 'cdc_acm'
Modem device: '/sys/devices/pci:00/:00:1d.7/usb2/2-1'
Data device: 'ttyACM0'
Traceback (most recent call last):
  File ./mm-test.py, line 240, in module
modem.Enable(True)
  File /usr/lib/pymodules/python2.6/dbus/proxies.py, line 140, in __call__
**keywords)
  File /usr/lib/pymodules/python2.6/dbus/connection.py, line 620, in 
call_blocking
message, timeout)
dbus.exceptions.DBusException: 
org.freedesktop.ModemManager.Modem.Gsm.OperationNotSupported: Operation not 
supported


:)

** Attachment added: nm.log.txt
   http://launchpadlibrarian.net/33552514/nm.log.txt

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-10-12 Thread Alexander Sack

did you run it as root?

On Mon, Oct 12, 2009 at 06:07:28PM -, jfritz wrote:
 GSM modem
 Driver: 'cdc_acm'
 Modem device: '/sys/devices/pci:00/:00:1d.7/usb2/2-1'
 Data device: 'ttyACM0'
 Traceback (most recent call last):
   File ./mm-test.py, line 240, in module
 modem.Enable(True)
   File /usr/lib/pymodules/python2.6/dbus/proxies.py, line 140, in __call__
 **keywords)
   File /usr/lib/pymodules/python2.6/dbus/connection.py, line 620, in 
 call_blocking
 message, timeout)
 dbus.exceptions.DBusException: 
 org.freedesktop.ModemManager.Modem.Gsm.OperationNotSupported: Operation not 
 supported
 
 
 :)
 
 ** Attachment added: nm.log.txt
http://launchpadlibrarian.net/33552514/nm.log.txt
 

 - Alexander

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-10-12 Thread vulfgar
Still problem even after todays update. The phone is turned of.


python ./mm-test.py
Traceback (most recent call last):
  File ./mm-test.py, line 214, in module
modems = manager_iface.EnumerateDevices()
  File /usr/lib/pymodules/python2.6/dbus/proxies.py, line 68, in __call__
return self._proxy_method(*args, **keywords)
  File /usr/lib/pymodules/python2.6/dbus/proxies.py, line 140, in __call__
**keywords)
  File /usr/lib/pymodules/python2.6/dbus/connection.py, line 620, in 
call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not 
receive a reply. Possible causes include: the remote application did not send a 
reply, the message bus security policy blocked the reply, the reply timeout 
expired, or the network connection was broken.

modem.log.txt:
** Message: Loaded plugin Gobi
** Message: Loaded plugin Generic
** Message: Loaded plugin MotoC
** Message: Loaded plugin Option High-Speed
** Message: Loaded plugin Sierra
** Message: Loaded plugin Novatel
** Message: Loaded plugin Ericsson MBM
** Message: Loaded plugin ZTE
** Message: Loaded plugin Huawei
** Message: Loaded plugin Option
** Message: Loaded plugin Nokia
** Message: (ttyACM0) opening serial device...
** (modem-manager:29758): DEBUG: (ttyACM0): probe requested by plugin 'Nokia'
** (modem-manager:29758): DEBUG: (ttyACM0): -- 'AT+GCAPCR'
** (modem-manager:29758): DEBUG: (ttyACM0): -- 'AT+GCAPCRCRLF+GCAP: 
+CGSM,+DS,+WCRLFCRLFOKCRLF'
** Message: (ttyACM0) closing serial device...

(modem-manager:29758): GLib-GObject-CRITICAL **:
g_object_class_install_property: assertion `class-set_property != NULL'
failed

(modem-manager:29758): GLib-GObject-CRITICAL **: 
g_object_class_install_property: assertion `class-set_property != NULL' failed
** Message: (Nokia): GSM modem /sys/devices/pci:00/:00:1a.7/usb1/1-3 
claimed port ttyACM0
** (modem-manager:29758): DEBUG: Added modem 
/sys/devices/pci:00/:00:1a.7/usb1/1-3
** (modem-manager:29758): DEBUG: Exported modem 
/sys/devices/pci:00/:00:1a.7/usb1/1-3 as 
/org/freedesktop/ModemManager/Modems/0


** Attachment added: nm.log.txt
   http://launchpadlibrarian.net/33566708/nm.log.txt

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-10-11 Thread vulfgar
Still got this problem with Nokia 5800. 
Installed version Installed: 0.2.git.20091003t171625.a088f12-0ubuntu2~nmt1 
(karmic)

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-10-08 Thread jfritz
still seeing this behavior with Nokia N97 and modemmanager:
  Installed: 0.2.git.20091003t063318.aa78b5f-0ubuntu1

modem-manager: (ttyACM0) opening serial device...
modem-manager: Got failure code 4: Operation not supported
NetworkManager: WARN  stage1_prepare_done(): GSM modem connection failed: 
Operation not supported
NetworkManager: info  (ttyACM0): device state change: 4 - 9 (reason 1)
NetworkManager: info  Marking connection 'T-Mobile' invalid.
NetworkManager: Tried to set deprecated property gsm/puk
NetworkManager: info  Activation (ttyACM0) failed.

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-10-05 Thread Alexander Sack
http://cgit.freedesktop.org/ModemManager/ModemManager/commit/?id=2bad09403aae95dd25ce03790fce45a85578f677

** Package changed: network-manager (Ubuntu) = modemmanager (Ubuntu)

** Changed in: modemmanager (Ubuntu)
   Status: New = Fix Committed

** Changed in: modemmanager (Ubuntu)
 Assignee: (unassigned) = Alexander Sack (asac)

** Changed in: modemmanager
   Status: New = Fix Released

** Changed in: network-manager
   Status: New = Invalid

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-10-05 Thread Launchpad Bug Tracker
This bug was fixed in the package modemmanager - 0.2.git.20091003t063318
.aa78b5f-0ubuntu1

---
modemmanager (0.2.git.20091003t063318.aa78b5f-0ubuntu1) karmic; urgency=low

  New upstream snapshot: 2009-10-03 06:33:18 (GMT)
  + aa78b5f5e5319e04f5b57f928bfab69dd4b93d88
  * fixes
- LP: #430576 - refuse to connect over Nokia N85, turns off the handset
- LP: #416126 - various unsolicited messages for mbm cause fail on connect

 -- Alexander Sack a...@ubuntu.com   Tue, 06 Oct 2009 01:02:12 +0200

** Changed in: modemmanager (Ubuntu)
   Status: Fix Committed = Fix Released

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-10-04 Thread xens
Same problem with Nokia N97 and Nokia E75

Hope it'll be fixed  before 9.10 final!

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-10-01 Thread Bart Cerneels
Confirmed with a Nokia 5800 as well.
These messages are shown in /var/log/daemon.log

Oct  1 11:06:38 belepl0011 modem-manager: Got failure code 4: Operation not 
supported
Oct  1 11:06:38 belepl0011 NetworkManager: WARN  stage1_prepare_done(): GSM 
modem connection failed: Operation not supported

Could figure out how to kill the already running modem-manager so I
could start it in debug mode, so no autoput to confirm the AT+CFUN
command.

But this appears to be fixed upstream:
http://cgit.freedesktop.org/ModemManager/ModemManager/commit/?id=2bad09403aae95dd25ce03790fce45a85578f677

Considering Nokia's marketshare, can this fix be included in 9.10 final?

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-09-24 Thread Launchpad Bug Tracker
** Branch linked: lp:~modemmanager/modemmanager/ubuntu

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-09-22 Thread Eugene Crosser
** Also affects: network-manager (Ubuntu)
   Importance: Undecided
   Status: New

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 430576] Re: refuse to connect over Nokia N85, turns off the handset

2009-09-22 Thread Eugene Crosser
At least my model (Nokia N85) responds with error to an attempt to turn
power on (AT+CFUN=1), and indeed switches off when given power off
command (AT+CFUN=0). This patch makes the modem manager not try any of
these commands on Nokia devices.

** Attachment added: Do not try to power on/off Nokia handsets
   http://launchpadlibrarian.net/32297468/nokia-power.diff

-- 
refuse to connect over Nokia N85, turns off the handset
https://bugs.launchpad.net/bugs/430576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs