Some notes on installing Opensuse 10.3 on a Toshiba Portege R500.
Installation
First, use F2 and F3 to select your language and screen resolution. I prefer a resolution of 1024*768 to get a nice loading splash screen later. 1280×800 results in slighty sharper fonts but no loading splash screen.
At the end of the installation you have to set the X resolution to 1280×800, 12.2 inches and 1280×800@60Hz (monitor).
Suspend
As root: echo ‘S2RAM_OPTS=”-f” ‘ >> /etc/pm/config.d/suspend.conf
If you experience problems with your framebuffer, you can try “-f -a 3″.
See:
http://en.opensuse.org/Pm-utils
http://en.opensuse.org/S2ram
Volume control
KMix is confused by the volume wheel on the lower left side oft chasis. Quit KMix and add the mini program for volume control to the kicker panel. Configure the global shortcut with the volume wheel and Fn+Esc as the mute button. Set the “Front” channel to 100% since the applet is only able to control the PCM channel.
Brightness control
Open the /etc/sysconfig editor in yast to edit the key /etc/sysconfig/kernel/MODULES_LOADED_ON_BOOT . Add the module “toshiba_acpi”. After a reboot, brightness control via Fn+F6/F7 and kpowersave should work.
Fingerprint Reader
In my model, there’s an AuthenTec AES1610 fingerprint reader integrated. It’s connected via USB internally and there’s a userland driver available (you need no special kernel module)! Use ‘lsub’ and check the ID, if it’s the same device ( Mine: ‘Bus 002 Device 005: ID 08ff:1600 AuthenTec, Inc.’).
Install the latest version of libfprint, fprint_demo, pam_fprint (via 1-click install; see the openSUSE build service).
As root:
Start ‘fprint_demo’ to check, if it’s working. Faster wipes cause better scans.
Played enough? Go to /root and delete ‘.fprint’. Now use fprint_demo to register the finger you want to use for authentication, close fprint_demo and copy ‘.fprint’ to your users home directory. You can use two different fingers (read ‘.fprint’) for root and your user. Delete .fprint in your root home, if you do not want to authenticate as root via the finger print reader. You can do the same via “pam_fprint_enroll”, but with no visual control.
Now, let’s configure PAM. Edit /etc/pam.d/common-auth:
auth required pam_env.so
auth required pam_unix2.so
auth sufficient pam_fprint.so
Insert the bold line.
That’s it. Fingerprint authentication now should work in every app, that uses PAM. I’ve tested ’su’ and ’sudo’, the kdm login manager, kdesu (yast etc.) and the screensaver lock (in kde). Works as good as in Windows, at least… (This bundled authentication software is a pile of sh…!)
Read the security notes!
Docking station
Hot docking and undocking works. The “undock button” on the docking station is recognized as an acpi event and shuts down all subsystems attached to the docking station (usb, dvi etc.).
Sometimes, the above said things are not true. All hail to the ACPI god…
External display
Beamer via vga works. Widescreen display (1680×1050) via DVI works. Xinerama/ Dual Head works. Use xrandr or better krandtray to manipulate the X server. For Xinerama add “Virtual desiredX desiredY” to the subsection “Display” in your xorg.conf and use something like “xrandr –auto –output TMDS-1 –right-of LVDS” to activate Xinerama. Make sure, that you use the new ‘intel’ driver. The old ‘i810′ is not able to do that stuff so easily.
There are some problems with DRI and the ‘intel’ driver: XVideo is juddering with DRI turned on. I’ve also problems with Xinerama and DRI. The juddering problem is gone with the “i810″, but the other cool stuff is also gone (rotating, independent resolution control etc.).
Edit: I’ve just recognized, that xinerama is the old X extension to do dual head and xrandr is the new way. So replace Xinerama by dual head
Bluetooth
The bluetooth module is turned off by default and has to be activated on demand. There are patches flying around to enable the toshiba_acpi module to do this (Here is the latest by Jonathan McDowell, which was rejected -> “Toshiba Bluetooth – Rejected since 1995â„¢“).
One way to activate it in Linux is to use the “toshset” utility with proper kernel patches. In Ubuntu, something like “toshset -bluetooth on” will do the job. Unfortunately, that’s not working in openSUSE 10.3 . The easiest way for us is to use the great script from 0bits.com .
- Install the kernel-source
- Download toshbt.tar.gz
- As root: extract it, type “make” and “make install”. We have a new bluetooth enabler module now: toshbt
- Load the new module: modprobe toshbt
In the same moment you load the module, kbluetooth should start (asuming you are using KDE) and you can begin to play with your new bluetooth thingy. You can load the module automatically at boot (see “Brightness control”).
Not working
- Turning off the lcd backlight is not working, i.e. you can turn off BOTH the backlight and the LCD, but not the backlight alone to use the transflexive ability of the screen. Perhaps, there’s a way with toshset (which is not working in openSUSE 10.3) to achieve this.
- SD-Card reader not working. Strangely, it is detected in Knoppix. But not further investigated yet.
- Firewire not tried. (It worked on my Toshiba P10, so I see no problems there…)
Overall, this notebook is a great linux machine.
Other sites:
R500 Wifi and ACPI
Review of the new Toshiba Portege R500
R500 Fingerprint sensor, Bluetooth, and Volume Control
First impressions
Toshiba-Portege-R500-10N-sous (It’s in french, but bash is a universal language
)
Changelog:
10th Feb 2008: added Docking Station, External Display and Fingerprint Reader
12th Feb 2008: added Bluetooth
Hi, I have just bought a Toshiba satellite A100-796.
re lcd backlight, I usually do this:
xset dpms force off
in a console or via alt+f2, and it just works(tm)
Hi Marcello!
Thanks for your comment. That will shut down LCD and backlight simultanously. What I want is to turn of the backlight only. The display is transflexive and could be enlightend by sunlight only. In Windows that works great and saves a huge amount of power.
[...] 12, 2008 in Computerkram, English I’ve updated my article running openSUSE 10.3 on a Toshiba Portege [...]
Hey did you test the SD Car reader work in Knoppix?
Does the suspend to disk work for your R500? It works for Slackware on my Tecra M2 by doing the following as root:
echo “disk” > /sys/power/state
Unfortunately fnfxd has to be installed to turn the screen back on, but I am working on fixing that. It should be posted this weekend in my Shell Script Sundays column.
In Knoppix, a sd card is actually detected (a konqueror window pops up in KDE). But I wasn’t able to write anything. I’ve read, that this issues should be fixed with the 2.6.24 kernel. I want to use a SD card for GRUB as a boot token. So this would be nice working. (Actually, you can boot from one as long as the BIOS is in control…)
With an unencrypted swas suspend to disk is working out of the box, but I’m not using it, because suse has problems to resume from an encrypted swap (there are bugs in the order of running scripts in their initrd . I’ve got it running one time, but have not further investigated since then).
fnfxd is obsolete. In suse and other major distributions, this is handled by acpid or HAL. All you need is the toshiba_acpi module running.
The toshiba_acpi module is quite a mess. I see no real, coordinated development for years here (and the maintainer is refusing the bluetooth patch for example). You can do a hell lot of stuff in Windows via the Toshiba HCI. Just reading some stuff about acpi to understand that things better.
`The current toshset is supposed to support the transflective stuff:
http://www.schwieters.org/toshset/
Wooh, that’s nice. Just arrived in time for summer session in the sun
[...] How to integrate Authentec Aes2501 Fingerprint Reader? I followed the guidelines here Opensuse 10.3 on Toshiba Portege R500 « LoBlog with minor modification. Fingerprint scanner worked first time. (Machine is HP Pavilion dv9572ea [...]