Reply
 
Thread Tools Display Modes
  #1  
Old 04-02-2012, 01:44 PM
emmex emmex is offline
Junior Member
 
Join Date: Mar 2012
Posts: 22
Thanks: 1
Thanked 2 Times in 2 Posts
Default PC-BSD 9.0 on a Compaq Presario CQ61-408SL laptop
I have update this thread. Now the laptop is usable at least as as in Windows :-))).

I have used FreeBSD for about a year, but I am new to PC-BSD so I prefer to share my experience.
I have replaced Windows 7 with a dual boot: PC-BSD 9.0 using ZFS as primary File System and the latest Debian Linux. In this thread I speak about PC-BSD only.

The hardware is supported by the OS, except Sleep (suspend to disk), it don't works.
The laptop works better than in Windows: I can view 720p video with mplayer and 480p video on YouTube and the wireless connection takes only few seconds to complete.

During the installation select the correct keyboard layout: Laptop/notebook Compaq (eg. Presario) Internet Keyboard.
If you have disk space install all four desktop managers: Kde, Gnome, Lxde and Xfce. With Kde I have this strange behaviour as noted in this thread, so I use Gnome or Xfce, but I’d like some Kde games and the Konsole terminal emulator.
Update: now I only use Gnome and, occasionally Xfce, I have removed Kde and Lxde from laptop.

During installation you can enable disk compression: right-click to open a terminal emulator and issue the command:
Code:
# zfs set compression=on tank0

The PC-BSD 9.0 Installer installs the wrong video driver. In this thread http://forums.freebsd.org/showpost.p...4&postcount=26 the FreeBSD developer wblock@, explain how to use the correct video driver.

Update: To use the Synaptics touchpad look at my post #6.

I’d like to use fn-f8 and fn-f8 to control screen brigtness. The driver acpi_video.ko must be loaded. in /boot/loader.conf add
Code:
# Load acpi_video for brightness control
acpi_video_load="YES"
More info here

This is optional. The Laptop don’t have BlueTooth. I have removed the BlueTooth support from /etc/rc.conf
Code:
hcsecd_enable="NO"
sdpd_enable="NO"

Last edited by emmex; 11-10-2012 at 02:13 PM.
Reply With Quote
  #2  
Old 04-23-2012, 01:12 PM
emmex emmex is offline
Junior Member
 
Join Date: Mar 2012
Posts: 22
Thanks: 1
Thanked 2 Times in 2 Posts
Default
In this post I explain how I have set up “fn” keys on keyboards, eg. fn+F1, fn+F2, etc. I don’t like very much this solution so if someone has a better idea please let me know.
In my home directory I have the ~/.Xmodmap file where the keys are defined.
Code:
keycode 178=XF86WWW
keycode 140=XF86AudioMute
keycode 138=XF86ModeLock
keycode 177=osfHelp
As desktop environment I am using Gnome and with the Gnome Keyboard Shortcut application I have assigned the above keys to the corresponding functions: the Action “Sound - Volume Mute” to the “XF86AudioMute” shortcut, the Action “Desktop - Launch help browser” the the “osfHelp” shortcut, the Action “Desktop - Launch web browser” the the “XF86WWW” shortcut and, finally, the Action “ Desktop - Lock Screen” to the “XF86ModeLock” shortcut.

With this solution I do not like that is not a global solution: it is only valid with Gnome, every application shortcuts must be configured. Is there a better solution ?

Thanks.

Last edited by emmex; 07-12-2012 at 08:13 PM.
Reply With Quote
  #3  
Old 05-08-2012, 08:42 AM
milesroces milesroces is offline
Junior Member
 
Join Date: May 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default
I always wanted an alternative OS for my projects. Kinda not comfortable for windows on some system requirements that takes a lot of data to process on some older laptops. Hope this one works.
______________________
Chicago Laptop Repair

Last edited by milesroces; 05-08-2012 at 10:14 AM.
Reply With Quote
  #4  
Old 11-10-2012, 01:22 PM
emmex emmex is offline
Junior Member
 
Join Date: Mar 2012
Posts: 22
Thanks: 1
Thanked 2 Times in 2 Posts
Default Blinking wireless activity led
The led near the power button can blink in response to wireless activity.
In /etc/sysctl.conf add the lines:

Code:
#  wireless activity led
dev.ath.0.ledpin=1
dev.ath.0.softled=1
# normally blue
dev.ath.0.ledon=1
Reply With Quote
The Following User Says Thank You to emmex For This Useful Post:
Cousk1982 (09-30-2013)
  #5  
Old 11-10-2012, 01:23 PM
emmex emmex is offline
Junior Member
 
Join Date: Mar 2012
Posts: 22
Thanks: 1
Thanked 2 Times in 2 Posts
Default Webcam
It works out of the box, you can test it with the command
Code:
	 	 	
pwcview
I don’t use the webcan, so this is my only test.
Reply With Quote
  #6  
Old 11-10-2012, 01:24 PM
emmex emmex is offline
Junior Member
 
Join Date: Mar 2012
Posts: 22
Thanks: 1
Thanked 2 Times in 2 Posts
Default Synaptics touchpad
I have started a new thread for Synaptics touchpad because an usable touchpad with scroll is essential for laptop usage and I have found a solution that, hopefully, can be applied to others laptop models.

This is my /etc/X11/xorg.conf. You can download it at pastebin
Code:
# Xorg.conf for Compaq Presario CQ61-408SL on PC-BSD 9.0

Section "ServerLayout"
    Identifier     "XFree86 Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Synaptics_Touchpad" "AlwaysCore"
#    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option	   "Clone" "off"
    Option	   "AIGLX" "true"
EndSection

Section "ServerFlags"
	Option         "AutoAddDevices" "Off"
EndSection

Section "Files"
    ModulePath      "/usr/local/lib/xorg/modules"
    FontPath     "/usr/local/lib/X11/fonts/cyrillic/"
    FontPath     "/usr/local/lib/X11/fonts/TrueType/"
    FontPath     "/usr/local/lib/X11/fonts/illinoy/"
    FontPath     "/usr/local/lib/X11/fonts/webfonts/"
    FontPath     "/usr/local/lib/X11/fonts/misc/"
    FontPath     "/usr/local/lib/X11/fonts/OTF/"
    FontPath     "/usr/local/lib/X11/fonts/TTF/"
    FontPath     "/usr/local/lib/X11/fonts/Speedo/"
    FontPath     "/usr/local/lib/X11/fonts/Type1/"
    FontPath     "/usr/local/lib/X11/fonts/CID/"
    FontPath     "/usr/local/lib/X11/fonts/75dpi/"
    FontPath     "/usr/local/lib/X11/fonts/100dpi/"
    FontPath     "/usr/local/lib/X11/fonts/dejavu/"
    FontPath     "/usr/local/lib/X11/fonts/bitstream-vera/"
    FontPath     "/usr/local/lib/X11/fonts/cyrillic/"
    FontPath     "/usr/local/lib/X11/fonts/hebrew/"
    FontPath     "/usr/local/lib/X11/fonts/vietnamese/"
    FontPath     "/usr/local/lib/X11/fonts/indic/"
    FontPath     "/usr/local/lib/X11/fonts/fonts-indic/"
    FontPath     "/usr/local/lib/X11/fonts/ae_fonts1/AAHS"
    FontPath     "/usr/local/lib/X11/fonts/ae_fonts1/AGA"
    FontPath     "/usr/local/lib/X11/fonts/ae_fonts1/FS"
    FontPath     "/usr/local/lib/X11/fonts/ae_fonts1/Kasr"
    FontPath     "/usr/local/lib/X11/fonts/ae_fonts1/MCS"
    FontPath     "/usr/local/lib/X11/fonts/ae_fonts1/Shmookh"
    FontPath     "/usr/local/lib/X11/fonts/local/"
    FontPath     "/usr/local/lib/X11/fonts/util/"
EndSection

Section "Module"
    Load           "ddc"
    Load           "dbe"
    Load	   "dri"
    Load	   "dri2"
    Load           "extmod"
    Load	   "glx"
    Load	   "synaptics"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "keyboard"
    Option         "XkbModel" "presario"
    Option         "XkbLayout" "it"
    Option         "XkbVariant" ""
EndSection

Section "InputDevice"
	Identifier "Synaptics_Touchpad"
	Driver "Synaptics"
	Option "TapButton1" "1"
	Option "UseShm" "true"
	Option "SHMConfig" "on"
	Option "Protocol" "psm"
	Option "Device" "/dev/psm0"
	Option "SendCoreEvents" "true"
	Option "ZAxisMapping" "4 5 6 7"
#	Option "TapButton2" "2"
#	Option "TapButton3" "3"
#	Option "FingerLow" "26"
#	Option "FingerHigh" "51"
#	Option "FingerPress" "254"
#	Option "HorizEdgeScroll" "1"
	Option "MinSpeed" "0.5"
	Option "MaxSpeed" "1"
#	Option "RTCornerButton" "2"
#	Option "RBCornerButton" "3"
	Option "RightEdge" "5300"
	Option "AccelFactor" "0.03"
EndSection

Section "DRI"
    Mode 0666
EndSection

Section "Extensions" 
    Option	"Composite" "Enable"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
EndSection


Section "Device"
    Identifier      "Card0"
    Screen           0
    Driver         "radeon"
    VendorName     "ATI Video Driver"
#    Option         "CPPIOMode" "yes"
#    Option	   "XAANoOffscreenPixmaps" "true"
#    Option	   "AccelMethod" "EXA"
#    Option	   "DynamicPM"	"on"
    BusID      "PCI:1:5:0"
EndSection


Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth   24
    SubSection     "Display"
        Depth      24 
        Modes      "1366x768"
    EndSubSection
EndSection

Last edited by emmex; 11-10-2012 at 01:29 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:03 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.