UbuntuWiki:LaptopTestingTeam/ToshibaPortegeM200

出自Ubuntu中文

* Contact: ChrisDebenham MatthewGarrett Bernstein
  • Make: Toshiba
  • Brand: Portege
  • Model: M200
  • Website: http://www.toshiba.com
  • S/N: Only needed if you have a Canonical supplied laptop

目录

[编辑] Current Issues and Regressions

Hardware Information
Device Works? Bug #
in Breezy? in Dapper? in Edgy?
Screen & Monitors
Screen Yes Yes Yes
Correct resolution? Yes Yes Yes
Correct refresh rate? Yes Yes Yes
3D Acceleration No Yes (see BinaryDriverHowto/Nvidia)
External monitor works? No Yes (see TwinView) Yes (TwinView or NVidia 96XX drivers)
External monitor - mirrors No Yes (see TwinView) Yes (TwinView or NVidia 96XX drivers)
External monitor - extend desktop No Yes (see TwinView) Yes (TwinView or NVidia 96XX drivers)
Power Management
Battery detected? Yes Yes Yes
Hibernates? Yes Yes (Not with Nvidia Binary Drivers) Yes, also comes back up with Nvidia 9631 drivers but USB is not working
Sleep Yes Yes (Not with TwinView enabled) (manual activation in GUI)Yes (even with TwinView, might need to unload some USB modules first if it won't suspend)
Dim monitor on battery No Yes Yes (powersaved)
Blank monitor on inactivity Yes Yes Yes (but needs to switch to text console and back to get light back on)
Lid Close Yes Yes Not sure
Cpu frequency scaling Yes Yes Yes
Sound
Sound works? Yes Yes Yes
Correct volume? Yes Yes Yes
Hardware volume switch Yes Yes Yes
Headphone jack Yes Yes Yes
Mic jack Yes Yes Yes
Networking
Wired NIC Yes Yes Yes
Wireless NIC Yes Yes Yes
PCMCIA NIC Yes Untested Untested
Firewire Untested N/A Untested, presumed to work (is detected)
Bluetooth Yes Untested Yes
Modem Untested Untested Untested
Infrared With manual setting Untested Untested
Touchpad & Mice
Touchpad Yes Yes Yes
Touchpad - Doubletap = double click Yes Yes Yes
Touchpad - Scrolling (right edge) No Yes Yes
Touchpad - Enable/Disable No Yes (see SynapticsTouchpad or here) Yes
External mouse - USB Yes Yes Yes
Touchscreen No Yes (manual config in shell) Yes (see Wacom)
Docking Station/Port Replicator
External mouse - Serial Untested Untested Untested
AC through replicator Untested Yes Yes
USB Untested Yes Yes
Serial Untested Untested Untested
Parallel Untested Untested Untested
External Monitor - VGA Yes Yes Yes
External Monitor - DVI Yes Yes Yes
Modem Untested Untested Untested
NIC Untested Yes Yes
PS/2 Untested Untested Untested
Additional Hardware
Fingerprint reader N/A N/A N/A
CD/DVD drive N/A N/A N/A
PCMCIA cards Yes Untested Untested
Parallel Ports N/A N/A N/A
Card reader(s) No Has SD card, doesn't work Has SD card, doesn't work, no driver
Function and other keys
Fn key Operation Keycode Works? Bug #
in Breezy(old)? in Dapper (current stable)? in Edgy (current developement)
Fn+Space Zoom No No No
Fn+Esc Mute Yes Yes Yes (even OSD)
Fn+F1 Lock Yes Yes Not in KDE
Fn+F2 Performance No No No
Fn+F3 Suspend to RAM No No Untested
Fn+F4 Hibernate Yes Yes Untested (Hibernate in general doesn't really work)
Fn+F5 Display switch No No No
Fn+F6 Brightness down Yes Yes Yes
Fn+F7 Brightness up Yes Yes Yes
Fn+F8 Wireless Yes Yes Not sure, always use hardware switch
Fn+F9 Touchpad toggle No No (see Touchpad Enable/Disable above!!) Untested
Fn+F10 Fn-lock Yes Yes Untested
Fn+F11 Num lock Yes Yes Untested
Fn+F12 Scroll lock Yes Yes Untested
Fn+1 Zoom out No No No
Fn+2 Zoom in No No no
Other special keys
Key Operation Keycode Works? Bug #
in Breezy (current stable)? in Dapper (current development)?
Key Untested Untested

[编辑] Notes

[编辑] Touchscreen configuration

Step 1 - Install the "wacom-tools" and "setserial" packages using the following:

sudo apt-get install wacom-tools setserial 

If you're using 7.04, stop here! Restart X (or reboot) and the pen should be working as expected. If you're using pre-7.04 Ubuntu, continue... Step 2 - Run the following setserial command to set the device to the screen

sudo setserial /dev/ttyS0 port 0x338 irq 4 autoconfig 

NOTES:

  • On 6.06 (Dapper) the device is /dev/ttyS4
  • On 6.10 (Edgy) the device changed to /dev/ttyS0

Step 3 - Edit the "/etc/X11/xorg.conf" file and change every instance of "/dev/wacom" to "/dev/ttyS0" (or ttyS4 for 6.06) Step 4 - Restart X (CTRL-ALT-BACKSPACE) Finished - The pen should now work


[编辑] Automatic Screen Rotation

Step 1 - Get the restricted NVIDIA drivers working

  • Feisty - click the System menu, Administration, Restricted Drivers Manager
  • pre-Feisty - lots of how-to entries in the forums

Step 2 - Edit XORG to add rotation

  • edit the xorg.conf as per Step 3 of the touchscreen configuration section above
  • find the `Section "Device"`
  • between `Section "Device"` and `EndSection` add the following line (preferable nearer `EndSection` than the top)
Option		"RandRRotation" "on"

Step 3 - Restart X (CTRL-ALT-BACKSPACE) Step 4 - Create the Rotate Script

#!/bin/sh
#Author: Patrick Coke & Tim Pope
#
#
while xset q >/dev/null 2>&1; do
sleep 2 # Polling Interval, 2 seconds

lid="`cat /proc/acpi/button/lid/LID/state|awk '{print $2}'`"

# Looks to see if what orientation the screen is in (Normal or Left)
# and puts the orientation into the $orientation variable
orientation="`/usr/bin/X11/xrandr --query | /bin/grep 'Current rotation' | /usr/bin/awk '{print $4}'`"
dpms="`xset q|grep 'Monitor is'|awk '{print $3}'`"
if [ "$orientation" = "normal" -a "$lid" = "closed" -a "$dpms" = "On" ]; then
# Rotates screen orientation to the left
/usr/bin/X11/xrandr --orientation left
# Rotates the stylus cordinate plane
xsetwacom set "stylus" Rotate 2
elif [ "$orientation" = "left" -a "$lid" = "open" ]; then
# Rotates the screen back to normal
/usr/bin/X11/xrandr --orientation normal
# Rotates the stylus cordinate plane to normal
xsetwacom set "stylus" Rotate 0
fi
done

Step 5 - Save and Name the file appropriately

  • save the new file in a safe place away from accidental deletes
  • suggestion: /home/{user}/scripts/Rotate - replace {user} with your user account

Step 6 - Make the script executable

  • open a terminal
  • enter the following, making any necessary change to reflect the name and location of your script
chmod 777 /home/{user}/scripts/Rotate

Step 7 - Add the script to the startup

  • Click System menu, Preferences, Sessions
  • Click New on Startup Programs
  • In the Name field, put anything you like (suggestion: Rotate)
  • Click Browse and find the script (suggestion: /home/{user}/scripts/Rotate)

Step 8 - Logout and Log back in Finished - Try rotating the screen NOTES:

  • The script above, whilst excellent, rotates the screen into portrait with the ports/exhaust on the left hand side - I prefer to have the ports/exhaust on the right hand side in portrait mode, as I'm right-handed - to do this, find/replace all occurances of left with right in the script and change the number at the end of the first line that starts xsetwacom to 1 not 2
  • I prefer to manually control rotation in all four orientations with a set of scripts and a taskbar icon - I'll try and write-up the manual control version at a later date (02/07/2007)

[编辑] Suspend to RAM on edgy

If your laptop doesn't suspend to ram (comes back immediately) do this:

    sudo apt-get install powersaved
  • (possibly add GUI for it, kpowersave or other)
  • Edit /etc/powersaved/sleep and add a number of USB modules to UNLOAD modules list, may need some tries to get them all