2014年10月19日日曜日

[FreeBSD]ThinkPad X31 with New xorg(NG)

I use IBM ThinkPad X31 with FreeBSD-11/i386.
This NOTE-PC has Radeon video chip.

Currently X New org server for radion does not suppprt suspend/resume.

So I can not suspend/resume with new x server. I use old server with vt console driver.

2014年10月14日火曜日

[FreeBSD] Lenovo ThinkPad T400s(updated about Wi-Fi)

I use Lenovo ThinkPad T400s with FreeBSD-11/amd64.
- X server [ok]
- suspend/resume[ok](USB was not tested)
- sound[ok]
- 1000BASE [ok]
- wi-fi[ok 2014/Nov/7]
I can use below configuration. I can suspend/resume with X server.
(currently I did not use USB devices. I could not know whether I can use USB device after resume).

X server: XNEWORG server(xorg-server-1.12.4_9,1)
my /boot/loader.conf
acpi_load="YES"
cpufreq_load="YES"
acpi_ibm_load="YES"
#
drm2_load="YES"
# Boot-time kernel tuning for chromium
kern.ipc.shmseg=1024
kern.ipc.shmmni=1024
kern.maxproc=10000
# Internal Wi-Fi
iwn5150fw_load="YES"
# for VirtualBox
if_bridge_load="YES"             # if_bridge(4) devices
if_tap_load="YES"                # Ethernet tunnel software network interface
vboxdrv_load="YES"
my kernel configuration(I use new vt and nooptions VESA)
include GENERIC

ident           LAVENDER
#

nooptions         DDB                     # Support DDB.
nooptions         GDB                     # Support remote GDB.
nooptions         DEADLKRES               # Enable the deadlock resolver
nooptions       INVARIANTS              # Enable calls of extra sanity checking
nooptions       INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
nooptions       WITNESS                 # Enable checks to detect deadlocks and cycles
nooptions       WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed

nooptions         MALLOC_DEBUG_MAXZONES # Separate malloc(9) zones
#nooptions      INET6                   # IPv6 communications protocols
#options        SCHED_4BSD
#nooptions      SCHED_ULE

nodevice        sc
nodevice        vga

device          vt
device          vt_vga
#nooptions      VESA
/etc/rc.conf
powerd_enable="YES"
apm_enable="YES"
apmd_enable="YES"
#
wlans_iwn0="wlan0"
ifconfig_wlan0="WPA DHCP"
#
# for X Window
dbus_enable="YES"
hald_enable="YES"
/etc/sysctl.conf
hw.acpi.lid_switch_state=S3
kern.ipc.shm_allow_removed=1