Thursday, January 18, 2007

FC6 on my Toshiba P35-S611 Laptop

So I've been running Linux on this laptop for almost 2 years now. After some procrastination I decided to upgrade from FC4 to FC6. While the stability doesn't seem to be as great I have gotten a number of things to work that I never bothered to get working on the FC4 install. Those things include the built-in modem, a bluetooth dongle and dual displays.

The easiest thing to do was getting the internal modem working. I found the slmodem-alsa package on the Livna repo. I just installed it since I already had the Livna repo installed on my la
yum install slmodem-alsa
Then I edited /etc/sysconfig/slmodemd
COUNTRY=USA
Then start up the daemon
/etc/init.d/slmodemd restart
Now I had a /dev/ttySL0 interface
ls -l /dev/ttyS0
I made a symlink to /dev/modem
ln -s /dev/ttySL0 /dev/modem
Then I went into the system-config-network applet and set up a dialup connection

Unfortunately I haven't been able to make the modem speaker work but I can now test dialup accounts when I need to. And in a pinch I can use a dialup account if I have to.

YOU DON'T NEED TO COMPILE slmodemd FROM SOURCE!

Here's a cool pic of my current dual head setup:


And my xorg.conf config:

Section "ServerLayout"
Identifier "Multihead layout"
Screen 0 "Screen0" absolute 0 0
Screen 1 "Screen1" absolute 1440 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "AlwaysCore"
Option "Xinerama" "on"
Option "Clone" "off"
EndSection

Section "Files"

RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "synaptics"
Load "dri"
EndSection

Section "InputDevice"

Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
Option "LeftEdge" "120"
Option "RightEdge" "830"
Option "TopEdge" "120"
Option "BottomEdge" "650"
Option "FingerLow" "14"
Option "FingerHigh" "15"
Option "MaxTapMove" "110"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "20"
Option "MinSpeed" "0.3"
Option "MaxSpeed" "0.75"
EndSection

Section "Monitor"
Identifier "ExtMonitor"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1900x1200"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 74
VertRefresh 50.0 - 60
Option "dpms"
EndSection

Section "Monitor"
Identifier "LaptopLCD"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1440x900"
HorizSync 31.5 - 39.0
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection

Section "Device"

Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon Mobility 9100 IGP"
Option "MonitorLayout" "LVDS, CRT"
BusID "PCI:1:5:0"

EndSection

Section "Device"
Identifier "Videocard1"
Driver "radeon"
VendorName "Videocard Vendor"
BoardName "ATI Technologies Inc RS300M AGP [Radeon Mobility 9100IGP]"
BusID "PCI:1:5:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "LaptopLCD"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1440x900"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "ExtMonitor"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1900x1200"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection


I use the bluetooth to network sync my Treo 700p

/etc/bluetooth/hcid.conf:
options {
autoinit yes;
security user;
pairing multi;


}

device {
name "laptop";
class 0x120104;
iscan enable; pscan enable;
lm accept;
lp hold,sniff,park;
auth enable;
encrypt enable;
}


/etc/bluetooth/rfcomm.conf:
rfcomm0 {
bind yes;

# My treo 700p
device 00:07:E0:B8:F2:D4;

channel 1;

comment "Brian's Treo 700p";
}


/etc/sysconfig/dund:
DUNDARGS='--listen --persist --msdun call dun'

chkconfig bluetooth on
chkconfig dund on

service bluetooth start
service dund start

Then I just paired the phone to the laptop and set up a network sync.

To get gpilotd to netsync,
.gnome2/gnome-pilot.d/gpilotd:
[Device0]
type=4
name=Cradle
timeout=5


I didn't actually want to bind it to any particular IP address or I'd have added a few other settings.

No comments: