# lspci
0000:00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
0000:00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03)
0000:00:1b.0 0403: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
0000:00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
0000:00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
0000:00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
0000:00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
0000:00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
0000:00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
0000:00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
0000:00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03)
0000:00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
0000:01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0168 (rev a1)
0000:06:05.0 CardBus bridge: Texas Instruments PCI7420 CardBus Controller
0000:06:05.2 FireWire (IEEE 1394): Texas Instruments PCI7x20 1394a-2000 OHCI Two-Port PHY/Link-Layer Controller
0000:06:05.3 Mass storage controller: Texas Instruments PCI7420/PCI7620 Dual Socket CardBus and Smart Card Cont. w/ 1394a-2000 OHCI Two-Port PHY/Link-Layer Cont. an
0000:06:08.0 Ethernet controller: Intel Corporation 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller Mobile (rev 03)
0000:06:0b.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)
Processor | OK | Also frequency scaling and ACPI |
Disk | Almost | DMA does not work on the hard disk |
X configuration | OK | Better with NVIDIA drivers |
Networking | OK | both wired and wireless |
Sound | OK | |
PCMCIA | OK | Needs some adjustments to make it work |
DVDRW | OK | |
Modem | OK | now supported by Linuxant drivers |
USB | OK | |
Firewire | Not tested | |
Bluetooth | OK |
cd /usr/src/linux-2.6.14.2and then you can configure the kernel. Here you can find my kernel configuration (you should rename it as .config of course); please keep in mind that this configuration assumes that the suspend partition is /dev/sda7, but you should change to conform to your actual partitioning.
../suspend2-2.2-rc11-for-2.6.14/apply
sysfs /sys sysfs defaults 0 0Then the frequency will be automatically adjusted by powernowd (if it is launched). You can take a look at the current frequency by viewing the file /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq.
/etc/hibernate/hibernate.confyou can then try to hibernate the system with the command hibernate.
sh NVIDIA-Linux-x86-1.0-7676-pkg1.runand follow the instructions. Remember that you must have recompiled the kernel.
$ nvclock -S 70I also inserted the sony character device support in the kernel, installed the spicctrl package (http://popies.net/sonypi), inserted the sonypi module in /etc/modules, and added the file /etc/modprobe.d/sonypi with the contents:
Changing Smartdimmer level from 50% to 70%
alias char-major-10-250 sonypibut I cannot seem to make the Fn keys work nor adjust the brightness with spicctrl. These problems with the sonypi kernel module are also reported in http://bruno.infopa.net/linux/s3xp_linux.html. Thus, for the moment, I'm using smartdimmer to reduce the brightness.
options sonypi minor=250
include port 0x100-0x4ffI must admit I don't know why :-) I was lucky I remembered this trick I used to install Linux on a Dell Inspiron few years ago! I found this trick on a page from http://www.linux-laptop.net, but I cannot find it anymore...
#include port 0x800-0x8ff
include port 0xc00-0xcff
include memory 0xc0000-0xfffff
include memory 0xa0000000-0xa0ffffff
# install -m770 /usr/share/doc/ifupdown/examples/get-mac-address.sh /usr/local/sbin/
Then
add a stanza like the following to /etc/network/interfaces
:
mapping eth0Of course you must know the MAC address of the two network adapters.
script /usr/local/sbin/get-mac-address.sh
map 02:23:45:3C:45:3C net1
map 00:A3:03:63:26:93 net2
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0 eth1
#mapping hotplug
# script echo
# Determine whether interface is wired or Wi-Fi
mapping eth?
script /usr/local/sbin/get-mac-address.sh
map <ethernet mac address> wired
map <wireless mac address> wifi
mapping wired
# Too bad there's no way to pass commandline options to script
# script /usr/sbin/guessnet -i
script /usr/sbin/guessnet-ifupdown
# List of stanzas guessnet should scan for
# If none is specified, scans for all stanzas
map work dhcp disconnected
# Profile to select when all tests fail
map default: dhcp
# If no test succeed after this amount of seconds,
# then guessnet selects the default profile.
# Default is 5, but some network drivers need more.
#map timeout: 10
# Uncomment if something goes wrong:
map verbose: true
map debug: true
iface work inet static
<static IP address data>
iface disconnected inet static
address 192.168.0.2
netmask 255.255.255.0
test missing-cable
iface dhcp inet dhcp
iface wifi inet dhcp
wireless-essid default
wireless-key <your key>
Though not displayed, an embedded soft modem may reside in this Audio card:The following command shows:
0000:00:1b.0 0403: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
Support is in an active developement stage. There is always an audio codec(s)
+ (optionally) modem. ALSA HDA setup is likely automatic, but can be maually done with:
su - root
modprobe snd-hda-intel
Information on the chips should map into /proc/asound/ folders.
cat /proc/asound/card0/codec#1
Codec: Generic 14f1 ID 2bfa
Address: 1
Vendor Id: 0x14f12bfa
Subsystem Id: 0x0
Revision Id: 0x90000
ll /etc/hsfmodem/nvm/dynamic/The modem was working (but limited in speed) and so I proceeded in buying the license (see the instruction in the linuxant site), but when I applied the license it reported an error saying that it couldn't change the license status (it was complaining about some modules that could not be unloaded). I tried to reboot but the problem was still there so I modified the file /etc/modules.conf, and removed (commented) the following lines:
total 0
lrwxrwxrwx 1 root root 9 Apr 10 14:13 0-HDA-14f12bfa:20030003-1 -> ../hsfhda
### update-modules: start processing /etc/modutils/hsfI then rebooted and successfully applied the license. After this I added the above lines to /etc/modules.conf again.
alias /dev/ttySHSF[0-9]* /dev/ttySHSF
alias /dev/modem /dev/ttySHSF
alias char-major-241 /dev/ttySHSF
alias /dev/cuaHSF[0-9]* /dev/ttySHSF
alias char-major-244 /dev/ttySHSF
options hsfserial serialmajor=241 calloutmajor=244
alias char-major-245 hsfosspec
alias /dev/hsfdiag hsfosspec
alias /dev/hsfdiag* /dev/hsfdiag
alias char-major-246 /dev/hsfdiag
options hsfosspec dcpmajor=245 diagmajor=246
probeall /dev/ttySHSF hsfpcibasic2 hsfmc97ich hsfmc97via hsfmc97ali hsfmc97ati h
sfmc97sis hsfusbcd2 snd_hda_intel
### update-modules: end processing /etc/modutils/hsf
apt-get install bluez-utils libbluetooth1 bluez-hcidump bluez-pin
Some more
details can be found on this post in my blog: http://tronprog.blogspot.com/2006/12/bluetooth-under-linux-on-sony-vaio-vgn.html.
Accesses
to this page
|