The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Ubuntu on the SZ

    Discussion in 'VAIO / Sony' started by leadweight, Jun 12, 2007.

  1. leadweight

    leadweight Notebook Consultant

    Reputations:
    26
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    30
    Below are a series of fixes to get Ubuntu 7.04 running on an SZ330. I don't know how to do the camera or the fingerprint reader, but drivers are available. Unresolved issues include lousy battery life and a failure to get all videos from Yahoo to play in Firefox, despite installing the exact same stuff that worked in a VM

    I suspect the power problem may be caused by the processor not cutting back from 2 ghz to 1 ghz often enough. The fan seemed quiet enough.

    My collection of fixes, from the Ubuntu support forums:
    ---------------

    Well, while Token Ring is indeed a network technology, it does not have any kind of login mechanism (OK, there is 802.1X, however this normally wouldn't prompt you for a password). I'm guessing you mean the Gnome Keyring, which has nothing to do with Token Ring.

    You can use PAM and your usual login password to unlock your keyring. To enable this, you have to install pam_keyring:
    Code:

    sudo apt-get install libpam-keyring

    After that, you need to edit the file /etc/pam.d/gdm:
    Code:

    sudo nano /etc/pam.d/gdm

    Add the following line to the end of the file (if you are using Feisty):
    Code:

    @include common-pamkeyring

    If you are using an older version, you need to add these two lines at the end instead:
    Code:

    auth optional pam_keyring.so try_first_pass
    session optional pam_keyring.so

    The next time you log in, your login password is automatically used to unlock the Gnome keyring. Obviously, this will only work if the two passwords are the same.

    HTH,
    Lars

    i,

    I have solved the problem with the above mentioned help regarding the CTRL ALT F1 and F7. Here is what I did to automate the process. Of course if someone ever discovers the real reason why this problem occurs, I would like to know. Meantime here is the workaround how to get back a fully functioning touchpad on several Sony Vaios (But surely on the TR series).

    Code:

    ##### At console #####
    cat > /etc/acpi/resume.d/92-virtscreenchange.sh
    chvt 1
    chvt 7
    CTRL + D (you actually have to press this, not write it)
    ##### We are now back at console #####
    chmod 755 /etc/acpi/resume.d/92-virtscreenchange.sh
    /etc/init.d/acpid restart

    Once done with that, just suspend and resume back. You will see just after you get the password prompt your screen will briefly go to VT1 then back to VT7 where your Ubuntu desktop is located at.

    So to sum it up, you need a file xx-name.sh in /etc/acpi/resume.d/ where xx represents a number between 01 and 99. Based on this number your script will be executed in a timely manner, 01 first, and 99 last.

    The file needs to contain

    Code:

    chvt 1
    chvt 7

    And it needs to be executable. Then a quick restart to acpid, and we should be ready to go.

    Hope this works for others as well as it did for me,

    NB: Use gedit to create the script, then right click in nautilus and make executable on permissions tab.

    Bluetooth:
    turn of in services applet under administraion.

    Re: Laptop display does not dim while running on battery
    You might want to try this:

    sudo mv /bin/sh /bin/sh.bak
    sudo ln -s /bin/bash /bin/sh