----------------eredeti üzenet-----------------
Feladó: "PongráczI"

Címzett: [email protected]
Dátum: Tue, 31 Jan 2012 13:08:32 +0100
----------------------------------------------------------

>
>
>....
>
>My negative (unsuccesful) tests:
>
>
>
>latest mm-send-sms.py failed, I got this error message (Error
>org.freedesktop.ModemManager.Modem.Gsm.Unknown: Unknown error) and it seems 
>this python script make something with the dbus, because
>after that I am not able use the dbus-send to receive sms list from the stick, 
>so, from my point
>of view, this python script kills the modem in this way.
>The internet connection was live during, before and after this step, so, it 
>seems it did
>not harm the data connection, but only the sms related part of modem.
>
>I am not able to use the command line dbus-send to build up the necessary data 
>structure
>for sending SMS. Probably I simply stupid, it is possible, but I did not 
>succeed to create
>the a{sv} structure. The internet connection was live before/during/after this 
>test.
>
>
>My question is, how to send sms using modemmanager's dbus interface from 
>command line,
>using dbus-send or python, without kill internet connection or sms 
>functionality?
>
>
>
>
>Hi,
>
>I did test this python script (mm-send-sms.py, I got it using git from the 
>official
>repository) and I expected that, after running this script, I am not able to 
>read sms information
>from the stick anymore. I tried to make it work with these steps, without 
>unplug the stick:
>
>
>reset the usb device by software ( ioctl(fd, USBDEVFS_RESET, 0); )
>
>restart dbus/networkmanager, killall modemmanager,
>
>remove ehci_hcd and ohci_hcd, load ehci_hcd and ohci_hcd
>
>
>
>All these steps (even apply all of them one by one) did not make sms function 
>(I mean, read
>sms list) work again.
>
>The only solution was to unplug the stick and plug it again, it went back to 
>normal again.
>
>I found a linux software on the ZTE usb stick, which can send/receive sms etc. 
>while it is
>online, but I need a more general solution, which I can use it in my way. I 
>use a really mini PC,
>which I would like to run as a server and control the gsm connectivity.
>
>So, could somebody give me some hints, how to send sms using modem-manager, if
>possible? Probably a working example of the a{sv} structure to use the command 
>line?
>
>Thanks in advance,
>
>Cheers, István
_______________________________________________
networkmanager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to