Toshiba Satellite Pro 6100

This page describes the configuration of FreeBSD on a Toshiba Satellite Pro 6100 laptop.

Operating system

The installation of FreeBSD 4.5 RELEASE from the mini ISO image went flawlessly, without any need to manually configure the kernel available on CD. After that I use cvsup to update my source tree to 4.8-RELEASE and built/install world without a hitch.

You can read the:

There is some hints for install FreeBSD.

XFree86 configuration

This notebook has GeForce4 420 Go + 16M VRAM. XFree86 4.3.0 + nVidia port (/usr/ports/x11/nvidia-driver) work fine with this notebook. Then let XFree86 configured itself using XFree86 -configure and change the driver to nvidia later. However, to use to all the area of your LCD screen you need to set the resolution to 1400x1050.

You can get my XF86Config configuration file.

There is some problem with the built-in AccuPoint pointing device. I can not make it works with XFree86 directly. I need moused to make AccuPoint works with XFree86, anyway , use moused gives another advantage. You can use both USB mouse and AccuPoint simultaneously. I add the moused.sh script to /usr/local/etc/rc.d to start the moused.
Don't forget to add the line Option "zAxisMapping" "4 5" to "InputDevice" section if you what to use the wheel on your mouse.

However, there is some bug in XFree86 keyboard driver, which I found the solution from Samuel Tardieu FreeBSD on a Portege 4010 site . In his page,

However, XFree86 4.2.0 is not usable as is: it sets the keyboard in raw mode but is unable to interpret multiple key release events. It results into multiple key presses, such as in thisss exaamplllle. The right fix would be to patch XFree86 so that it handles those events correctly (as does the console FreeBSD driver, as well as the Linux one). However, in the meantime, you should install the x11/accessx port and use the following command in your ~/.xinitrc:
ax +bouncekeys bouncedelay 20 -timeout

If you use gnome2 as your desktop management, you may not need ax. You can use gnome2 Keyboard Accessibility Perference. Set Enable Bounce Keys in Filters tab. This work fine for me.

Someone on FreeBSD mobile also has a solution with xkbset. This is his solution.

> On Thu, May 08, 2003 at 11:02:33PM +0200, arno_AT_heho_DOT_snv_DOT_jussieu_DOT_fr wrote:
> > I rrun -curreent on a Toshiba sattellite Pro 6000 for over
> > a month with no particular problem, other than a very
> > irrittating "keyboard echo" when in X11 mode.
> 
> The ever so irritating toshiba-keyboard. 
> Put the following in a file, chmod +x it and load it from ~/.xinitrc
> when you start X. You need to install xkbset though. 
> 
> if [ -x /usr/X11R6/bin/xkbset ]; then
>        xkbset m
>        xkbset exp =m
>        xkbset sl 5
>        xkbset exp =sl
>        xkbset -f slowaccept
>        xkbset exp =f =slowaccept
> fi

NVidia Driver

After long waiting,NVIDIA has released official FreeBSD 4.7 drivers!!! The performance of this new driver is amazing, compare to old nv driver.

Note:

current nvidia driver (1.0.6113) is not work (at least with my notebook) when SoftEIDS is disabled. I need to use old driver (1.0.3203) if you want 1400x1050 mode, see Software Setup page for more detail.

 nv drivernvidia driver
glxgears at 300x300124 FPS 1554 FPS
glxgears at 1400x105016 FPS 181 FPS

This notebook work best with 16bps, it run much slower at 24bps. If you want to use 1400x1050 mode on this notebook. Don't forget to add
hw.nvidia.registry.SoftEDIDs=0 
hw.nvidia.registry.Mobile=2
To your /etc/sysctl.conf because this notebook EDID allows you to use only 1372x1050 at 16 bps with custom mode line .
Modeline "1400x1050" 129 1372 1464 1656 1960 1050 1051 1054 1100 +HSync +VSync

External display output

Switching between internal/dual/external display works using the Fn-F5 key work under text and graphic mode (see section device of my XF86Config).
However, Switch to TV Out has a problem, when you switch back from TV to LCD, the screen is very dim ( dimer than setting LCD brightness to 0 ) and there is noway to reset it back unless start X Window with nVidia driver.

APM

The battery information given by apm is correct (both the charging level and the time estimate).

The suspend/resume feature works well except in XFree86. The current version of nVidia driver is not support APM yet. It is better to disable suspend when you running X Window.If the computer try to suspend in X Window, You may need to reboot the machine to make the screen go back to a workable state.

Ethernet

The ethernet card is an Intel EtherExpress Pro which works almost perfectly using the fxp driver.
There is a little problem in the dual boot Win2K-FreeBSD system, if you run Win2K and use hibernate to end Win2K. After restart the machine again in FreeBSD, FreeBSD can not found the Intel EtherExpress Pro card. You need to shutdown FreeBSD and restart to make the card visible.

Wireless ethernet

The wireless ethernet card is a Lucent Embedded WaveLan/IEEE, which works perfectly using the wi driver. It appears like a PCMCIA device, so you have to set pccard_enable=YES in your /etc/rc.conf to have it recognized.

Test with LinkSys WRT54G ,on FreeBSD 5.1, The wireless works fine with WEP 128 bits mode.
This is the output of ifconfig wi0

wi0: flags=8843 mtu 1500
        inet xxx.xxx.xxx.xxx netmask 0xffffff00 broadcast xxx.xxx.xxx.255
        ether XX:XX:XX:XX:XX:XX
        media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
        status: associated
        ssid XXXXXX 1:XXXXXX
        stationname SATELLITE
        channel 11 authmode OPEN powersavemode OFF powersavesleep 100
        wepmode MIXED weptxkey 1
        wepkey 1:128-bit wepkey 2:128-bit wepkey 3:128-bit wepkey 4:128-bit

PCMCIA

PCMCIA seem to works fine but I don't have any PCMCIA card to test except the built-in wireless ethernet card.

Sound

The sound works with the pcm/ich driver. I can play an MP3 music.

The sound seems better after I upgrade FreeBSD+gnome to 4.8+2.2.
Note:
After upgrade to 5.2 , I found the the sound playback ( with xmms ) play a little slower than normal rate (about 1 second from each 20 seconds). Changing hw.snd.pcm0.ac97rate has no effect.

DVD reader/CD-RW burner

Both CD-RW and DVD work fine for me with burncd and xine respectively. The maximum writing speed is 8x (burncd -s 8)

Untested peripherals

I have not had a chance to test the following peripherals:

Software

Setup software on this notebook is a long story. If you want to know how I setup the software portion of the notebook, see my software setup page.

Utilities

I write a small program to control this notebook function such as lcd brightness or cpu speed. You can download the toshctl code here.

Power Saving Tips

These are tips I use to reduce power consumtion on my notebook
  1. Edit /etc/cron to make /usr/libexec/atrun run "at" only once an hour. If you don't use "at" at all, just comment out the line.
  2. Edit /etc/fstab to add noatime to all rw FreeBSD disk partition.
  3. Use the toshctl to reduce CPU speed and LCD brigntness. turn off the FAN.
    	toshctl hci.cpu_speed=0
    	toshctl hci.lcd.brightness=3
    
  4. Increase syncer delay. Your notebook has a battery, so it is much safer than desktop machine to increase the delay. This is dangerous, use it with your own risk.
    	sysctl kern.filedelay=300
    	sysctl kern.dirdelay=299
    	sysctl kern.metadelay=298
    
    After checking, I found that this setting is not work until you change the value of syncer_maxdelay in /usr/src/sys/kern/vfs_subr.c,which ,in FreeBSD 4.8, hard code to 32 seconds. There is a PR submit to FreeBSD as PR#21859 to request dynamic change of syncer_maxdelay since Mon Oct 09 05:20:01 PDT 2000 but seem to be ignored.

Miscellaneous

Suggession from other ( I paraphase some of them )

See also


The document theme copy from FreeBSD Handbook
For questions about this documentation, e-mail <cws@miraclenet.co.th>.
Last update : $Id: index.html,v 1.16 2004/12/02 00:32:17 cws Exp $
Chatchawan Wongsiriprasert