OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Can I Stop A Specific 'tty' With Qcop?, To solve network connectivity issues
sdjf
post Mar 11 2007, 02:26 AM
Post #1





Group: Members
Posts: 454
Joined: 17-November 05
Member No.: 8,551



On some Zaurii, even if someone is already online, while Opera is opening up, the network applet stops saying 'Connected' and says 'Network Offline' instead. When done using Opera, users have to disconnect from the internet by using 'cardctl reset 0' or 'cardctl suspend', if they don't just decide to physically unplug either the modem or the jack.

When I was solely using cardctl commands to disconnect, the next two times I attempt to go online, I had to use cardctl again, and usually also kill the pppd process, before my modem would work properly. Otherwise, I could tap on "Connect" and have it get stuck on "Initializing" forever, push 'Abort', and then have it repeat the "Initializing" forever thing about ten times before I finally _might_ get it to work.


If Opera is run more than once during the online session, the GUI may give the user the option to disconnect, but that tapping "disconnect" at that point could result in a crash and require a soft reset.

I have found that I can correct the situation, with none of the above problems developing later on, by entering a combination of cardctl commands and the following:

qcop QPE/Network 'stop()'

However, when a friend who had a simultaneous LAN connection going entered the qcop command, it messed up his network.

Is there any way we can specify, with qcop, which specific process listening on the Network channel we wish to have receive the message?

I could certainly specify the exact process number (PID) of the process I wanted to raise or stop, or which tty or type of Network process I wanted to affect (i.e., LAN, DialUp, IRDA, etc.).

Is there a way to do this using qcop? Has anyone seen anything about Network subchannels that would be helpful?

Thanks,
sdjf
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th May 2013 - 09:23 PM