Ubuntu Gutsy on the Toshiba U300

October 31st, 2007

Screen resolution too small

The native resolution 1280x800 is not recognized correctly. Bugs #153160, #135169, #136783. To fix it:

echo "deb http://ppa.launchpad.net/kyle/ubuntu/ gutsy main" >> /etc/apt/sources.list
apt-get update
apt-get upgrade
dpkg-reconfigure xserver-xorg

No sound

The soundcard seems to be recognized, but outputs no perceptible sound. Bug #159045.

The fix is not very obvious, but you need to install Realtek's audio driver for this. This workaround pretty much nukes your alsa installation and messes with ubuntu's configuration, but if the config wasn't working at all, what good is it?

Make sure you have lib32ncurses5-dev installed, or alsa-utils will fail silently.

wget ftp://202.65.194.211/pc/audio/realtek-linux-audiopack-4.07a.tar.bz2
tar xjvf realtek-linux-audiopack-4.07a.tar.bz2
cd realtek-linux-audiopack-4.07a
sudo ./install

I haven't done any exhaustive testing, but sound output works, at least.

References: toshiba laptops, u300

EDIT: Okay, one problem. Plugging in headphones does not interfere at all with sound output from the speakers, and the two have separate volume controls. This is fixed partially by using:

modprobe snd_hda_intel model=toshiba probe_mask=1

In /etc/modprobe.d/alsa-base :

options snd-hda-intel model=toshiba probe_mask=1

I say partially, because what I observe is that sound output is now sent to the right place, but the master volume control does not control the headphones. So if you have the headphones plugged in, you need a separate control for that. Still an improvement.

UPDATE: Discard the above, this seems to fix it conclusively.

:: random entries in this category ::

9 Responses to "Ubuntu Gutsy on the Toshiba U300"

  1. lowhat says:

    Hi. I'm trying to install the sound drivers in my Ubuntu Gutsy, but I can't install lib32ncurses5-dev, so the installer show me an error:
    checking for initscr in -lncurses... no
    checking for initscr in -lcurses... no
    configure: error: this packages requires a curses library
    make: *** No se especificó ningún objetivo y no se encontró ningún makefile. Alto.
    make: *** No hay ninguna regla para construir el objetivo `install'. Alto.
    Remove Folder.....
    ./install: 100: alsaconf: not found

    I can't install this package from repositories and I don't find it in anywhere of the internet. any help?

  2. numerodix says:

    Unfortunately I don't know how to find out which repo a package is from. Here's my sources.list, it should definitely be somewhere in there:

    deb http://nl.archive.ubuntu.com/ubuntu/ gutsy main restricted
    deb http://nl.archive.ubuntu.com/ubuntu/ feisty main restricted
    deb-src http://nl.archive.ubuntu.com/ubuntu/ gutsy main restricted
    deb http://nl.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
    deb-src http://nl.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
    deb http://nl.archive.ubuntu.com/ubuntu/ gutsy universe
    deb-src http://nl.archive.ubuntu.com/ubuntu/ gutsy universe
    deb http://nl.archive.ubuntu.com/ubuntu/ gutsy-updates universe
    deb-src http://nl.archive.ubuntu.com/ubuntu/ gutsy-updates universe
    deb http://nl.archive.ubuntu.com/ubuntu/ gutsy multiverse
    deb-src http://nl.archive.ubuntu.com/ubuntu/ gutsy multiverse
    deb http://nl.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
    deb-src http://nl.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
    deb http://nl.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
    deb-src http://nl.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
    deb http://archive.canonical.com/ubuntu gutsy partner
    deb-src http://archive.canonical.com/ubuntu gutsy partner
    deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
    deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
    deb http://security.ubuntu.com/ubuntu gutsy-security universe
    deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
    deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
    deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse
    deb http://ppa.launchpad.net/kyle/ubuntu/ gutsy main
    deb http://packages.medibuntu.org/ gutsy free non-free

  3. lowhat says:

    I've tried with your repos, but it still haven't found this package.
    The only package I've found is libncurses5-dev and googling I've found lib32ncurses5-dev but it's only for amd64, and I'm i386...

    Installing libncurses5-dev it completes the installation, I select my audio card (hda intel ), but when it says it's going to test the sound, it says that everything is correct, but it shows this on the command line:

    modinfo: could not find module snd

    and later:

  4. lowhat says:

    I've tried with your repos, but it still haven't found this package.
    The only package I've found is libncurses5-dev and googling I've found lib32ncurses5-dev but it's only for amd64, and I'm i386...

    Installing libncurses5-dev it completes the installation, I select my audio card (hda intel Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev...) ), but when it says it's going to test the sound, it says that everything is correct, but it shows these errors on the command line:

    modinfo: could not find module snd

    and later:

    ALSA lib confmisc.c:769:(parse_card) cannot find card ''
    and another errors telling me that the device doesn't exist

    The system tray icon is like it's silenced and when I click it, it says it hasn't found any device.

    any ideas?

  5. numerodix says:

    No, wouldn't know what to do about that, I'm afraid. You should post this on launchpad though: https://bugs.launchpad.net/ubuntu/+bug/159045

  6. lowhat says:

    It seems this howto works only on amd64 platforms...
    The solution on i386 platforms is:
    sudo apt-get install linux-backports-modules-generic

    from:
    http://ubuntuforums.org/showpost.php?p=3607793&postcount=6

  7. numerodix says:

    That's perfect, thanks a lot!

  8. Boke says:

    It worked perfectly for me too.

    Do you guys know if the tv out quirk will be integrated to xorg official driver anytime soon?

    Any bug I could follow? I've been searching a little but can't find one...

  9. Paulino says:

    It worked for me too for a few days. Now I don't have sound in any Linux app. except vmware: In a winXP virtual machine inside ubuntu, i have sound working !!!???

    How can it be? The virtual machine, i think, doesn't have access to the fisical hardware...