Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [SOLVED] Enter PC-Suite Mode via Terminal?

    Reply
    Page 1 of 2 | 1   2   | Next
    velolala | # 1 | 2011-10-01, 12:46 | Report

    Hi,
    unfortunately my N900s screen is broken (doesn't display anything and doesn't react to touch anymore). The phone itself is still working and I can connect via ssh over wifi. For the time being, I just want to use N900 as an USB UMTS modem. The problem is, that I can not enter PC-Suite Mode when connecting via USB, because the dialog is not visible...

    Is there any other way to enter PC-Suite Mode?

    I read the Maemo PC Connectivity Tutorial and also the page about USB-Networking but I could not find any hints in there.

    Thanks for any help,
    velolala

    Update: This is solved now, please have a look at #6 and #9.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by velolala; 2011-10-07 at 15:30. Reason: Tagged as solved

     
    tig3r81 | # 2 | 2011-10-01, 15:12 | Report

    I think you could see the screen on the television using tv-cable.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to tig3r81 For This Useful Post:
    ivyking, velolala

     
    velolala | # 3 | 2011-10-01, 16:47 | Report

    Originally Posted by tig3r81 View Post
    I think you could see the screen on the television using tv-cable.
    Thanks a lot for your response! I know about that, but then I still can't touch the screen, can I?

    One possible solution I could think of is to call the selection binary via ssh-X-forwarding. But since I'm planning to use the modem away from my home wifi, I won't be able to do that every time, or it would be a huge pita...

    I hope that there is some /proc or d-bus switch that controls the different modes?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Estel | # 4 | 2011-10-01, 18:03 | Report

    Hey, if I remember correctly, on one of following locations:

    /usr/sbin/
    /usr/bin/

    ... is a script or binary, with name corresponding to pc-suite. My unverified guess is that, by invoking this file from x-term You could enter PC-Suite mode, when connected physically via USB cable.

    If that is not the case, I'm sorry to say You must wait for someone knowledgeable to enter this thread. I'm 1005 sure it is possible via xTerm.

    /Estel

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to Estel For This Useful Post:
    ivyking, velolala

     
    freemangordon | # 5 | 2011-10-01, 18:07 | Report

    Or you can attach a mouse and click "PC-Suite" button.

    EDIT:
    script Estel is talking about is in /usr/sbin and is called oss-usb-mass-storage-enable.sh

    You may try to enter pc-suite mode with:

    rmmod g_file_storage

    modprobe g_nokia

    or

    insmod /lib/modules/current/g_nokia.ko

    if modprobe does not want to insert module

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by freemangordon; 2011-10-01 at 18:12.
    The Following 5 Users Say Thank You to freemangordon For This Useful Post:
    handaxe, ivyking, samipower, sicelo, velolala

     
    velolala | # 6 | 2011-10-01, 18:40 | Report

    Originally Posted by freemangordon View Post
    script Estel is talking about is in /usr/sbin and is called oss-usb-mass-storage-enable.sh
    I can't find that one on my phone. Anyway...

    Originally Posted by freemangordon View Post
    You may try to enter pc-suite mode with:

    rmmod g_file_storage
    modprobe g_nokia
    with these I'm able to access the usbmoden once again. Thanks so much!

    I wrote a script, that does the module manipulation. I will now try to cron that to run every few minutes. That is a quick and dirty solution, but should do the job.

    What I didn't found out yet, is how to manipulate the modem settings on the n900 through the command line. Is the selection of 2G/3G switching also done by inserting/removing modules?

    (@mod: should I rather open a new thread for this question, because the original one is solved?)

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by velolala; 2011-10-01 at 18:42. Reason: call for moderation

     
    pali | # 7 | 2011-10-01, 19:06 | Report

    You can try scripts pcsuite-enable.sh and pcsuite-disable.sh (from ke-recv)

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to pali For This Useful Post:
    ivyking, LavaCroft, samipower

     
    freemangordon | # 8 | 2011-10-01, 19:46 | Report

    Originally Posted by velolala View Post
    I can't find that one on my phone. Anyway...


    with these I'm able to access the usbmoden once again. Thanks so much!

    I wrote a script, that does the module manipulation. I will now try to cron that to run every few minutes. That is a quick and dirty solution, but should do the job.

    What I didn't found out yet, is how to manipulate the modem settings on the n900 through the command line. Is the selection of 2G/3G switching also done by inserting/removing modules?

    (@mod: should I rather open a new thread for this question, because the original one is solved?)
    I think it is some dbus stuff, look in the source code of 2g/3g selection applet(whatever the package name is) on how to do this.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to freemangordon For This Useful Post:
    ivyking

     
    antezz | # 9 | 2011-10-01, 20:07 | Report

    Originally Posted by freemangordon View Post
    I think it is some dbus stuff, look in the source code of 2g/3g selection applet(whatever the package name is) on how to do this.
    Why dig in source codes when we got wiki? http://wiki.maemo.org/Phone_control#Radio_mode

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to antezz For This Useful Post:
    ivyking, velolala

     
    velolala | # 10 | 2011-10-07, 15:27 | Report

    Originally Posted by antezz View Post
    Why dig in source codes when we got wiki? http://wiki.maemo.org/Phone_control#Radio_mode
    Thanks a bunch you guys! I had no idea about the Phone_control wiki page. Now I consider my issues as 'solved'.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 2 | 1   2   | Next
vBulletin® Version 3.8.8
Normal Logout