Gentoo in my NEC Versa M300 (update V, 06-2009)



Xfce4 hidden panels
screenshot



The notebook's back has a many things.
Ac plug, S-Video, 3 usb, serial, video card, parallel port, modem and Ethernet card.
It also has: floppy, 2 pcmcia slots. Cd RW/DVD reader, battery and iEEE1394.


You can see this howto in http://tuxmobil.org/nec.html   http://repair4laptop.org
And a video where you can see how it really looks.




About compiling Gentoo
dmesg
lspci
lsmod
uname
xorg.conf
ipw2200 BG problems
make.conf

General information:

CPU

processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Mobile Intel(R) Celeron(R) CPU 1.60GHz
stepping : 7
cpu MHz : 1600.000
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid
bogomips : 3190.53
clflush size : 64
power management:


BIOS

Phoenix bios.
Heating problems because I cannot control the fan from the kernel, the fan starts to work at 60 degrees.I made an script that controls the cpu frequency depending of the temperature.
You can get some bios updates, creating a floppy image but in windows only(.exe).
But the bios updates do not let you change nothing about the fan o wireless settings.
I tried to write the thermal trip points but it does not work.

cat /proc/acpi/thermal_zone/THRM/trip_points
critical (S5): 100 C
passive: 85 C: tc1=4 tc2=3 tsp=100 devices=0xd3f6ef20
active[0]: 60 C: devices=0xd3f6ed00

You can change the trip points but it will not change really, the fan will always start at 60 degrees

Battery

I try always to plug the pc in the house electricity, and I unplug the battery, because it only works for 1 hour, sometimes less.

Touchpad/Mousepad

Touchpad uses synaptic driver in xorg, works perfect. I have all 4 buttons working
External usb mouse works too with usb HID driver (ps2).
Serial mouse works well with serial.

Keyboard

Gb --> look xorg.conf

Everything works well , even FnF8 and FnF9 for the brightness of the monitor. FnF6 for internal speaker on/off.
FnF3 works well to change between monitors/tv, but you must start the system with the monitor plugged, you can use atitvout too.

Key "#~" does not work by default.
I just solved the problem with  that key and multimedia keys thanks to xkeycaps, xev and xbindkeys:

just create a file called "~/.xmodmap" with this text inside and run "xmodmap ~/.xmodmap-1":

keycode 0x4E = numbersign asciitilde

and crate a file called "~/.xbindkeysrc" with this text inside to use multimedia keys and run "xbindkeys"

#my multimedia keys:

"firefox"
 m:0x0 + c:178
#this is the internet key

"thunderbird"
 m:0x0 + c:236
#this is mail key

"gmplayer"
 m:0x0 + c:162
#this is play key

"audacious"
m:0x0 + c:153
#this is forward key

"Eterm --buttonbar 0 -x --borderless --scrollbar 0"
m:0x0 + c:164
#this is stop key

"gaim"
m:0x0 + c:144
#this is rewind key


Modem

ALi Corporation M5457 AC'97 Modem Controller
I never used it, but some linux live cds showed me that it is working.

Sound

Ali sound card working perfectly with ALSA, but not with OSS, with oss works but every 5 seconds makes an ugly noise. Jack works well too, less than 10ms of delay, normally 4-6ms.

ALSA:
M5451 PCI AC-Link Controller Audio Device

ALSA device list:
  #0: ALI 5451 at 0x8800, irq 11

IEEE1394

Perfect, tested with iee1394 external HD, and with a video camera and kino.

Pcmcia

Yenta module, 32 bits, routed to pci.
Works well.
Tested with atheros pcmcia wifi card. madwifi-ng modules and ath5k modules
Tested with broadcom wifi card, ndiswrapper and new module from kernels 2.6 for broadcom cards.

Video

Ati radeon IGP 340M
Free driver "radeon" from xorg, not proprietary. Ati has no drivers for this video card. Nec has only one driver for windows.
With glxgears and with the application driconf and activating  HyperZ I get around 1460 FPS!!!! REALLY! Xorg works everyday better!
Look at  xorg.conf

Works very good with vesa, but not 3D accel with vesa.
Framebuffer works well too. Actually working in the shells. X is working with "radeon" driver.
Tv out works with FnF3 or atitvout if the tv is plugged before the system starts.

Desktop

The desktop you can see in the screenshots is gdm as login manager, xfce4 as window manager and desktop manager (xfdesktop). Xfce4 with composite, compiz works well too. I do not let thunar to start because I do not need desktop icons. As file manager I use ROX-Filler or mc.



About compiling Gentoo

This pc gets hot very easy. The external fan (USB DIY fan) will give some time of life to my little notebook, but in the price of a lot current (electricity).



make.conf

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/
CFLAGS="-O2 -march=pentium4"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="custom-cxxflags caps bash-completion gpg wavpack real firefox stream skins win32codecs \
sdl-image aspell encode lame nsplugin mpeg encode xprint custom-optimization \
laptop xv glitz trayicon dbus xhtml mikmod mp3 mp4 cairo X amr \
jpeg2k spell pdf svg dvdr dvd libburn cdr ogg sdl v4l vorbis alsa \
opengl visual jpeg tiff hal xcomposite mp2 rtc libnotify gtk \
truetype png gimp pcap udev bluetooth pda musepack acpi nls theora \
devil mad x264 extras xscreensaver threadsafe a52 perl xml \
7zip ares xosd fasttrack openft imagemagick gnutella aac aalib \
aiglx asf audacious audiofile avi battery hddtemp vim-syntax \
blender-game bzip2 clamav compress cpufreq divx dssi escreen \
fat ffmpeg flac fuse gdm geoip gmail gtk2 ieee1394 injection \
jack jack-tmpfs john xine ladspa lame madwifi math matroska \
mjpeg mmap mmx mozilla mp4live mpeg2 mysql openal openexr \
pcmcia php player pop rar realmedia realtime-lsm reiserfs slang \
sndfile soundtouch sox sse sse2 submenu subtitles threads \
timidity tivo usb vcd videos vidix vim-pager vst wifi wlan \
x11vnc xfce4 xfs xvid thumbnailing xulrunner -arts -kde -kerberos \
-ldap -esd apache2 -apache -nautilus -qt4 -qt3 -qt3support -accessibility"

LINGUAS="es es_ES"
INPUT_DEVICES="keyboard kbd mouse evdev synaptics"
VIDEO_CARDS="radeon vesa fbdev"
GENTOO_MIRRORS=" http://gentoo.tiscali.nl/ http://trumpetti.atm.tut.fi/gentoo/ http://mirror.ing.unibo.it/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
PORTDIR_OVERLAY="/usr/local/portage"
source /usr/portage/local/layman/make.conf




xorg.conf

Section "Extensions"
Option "Composite" "Enable"
# Option "RENDER" "true"
# Option "DAMAGE" "true"
# Option "NoAccel" "false"
EndSection

Section "ServerLayout"
# InputDevice "Serial Mouse"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Touchpad"
Option "AIGLX" "true"
EndSection

Section "Files"
# local font server
# if the local font server has problems, we can fall back on these
# paths to defoma fonts
FontPath "unix/:7100"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/encodings"
FontPath "/usr/share/fonts/freefont-ttf"
FontPath "/usr/share/fonts/mikachan-font-ttf"
FontPath "/usr/share/fonts/texcm-ttf"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/75dpi"
EndSection

Section "Module"
Load "synaptics"
# Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
# Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "evdev"
Option "CoreKeyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb,es"
Option "XkbOptions" "grp:alt_shift_toggle"
Option "Device" "/dev/input/event4"
EndSection

Section "InputDevice"
Identifier "Touchpad"
Driver "synaptics"
# Option "SendCoreEvents" "true"
Option "Device" "/dev/input/event7"
Option "Protocol" "auto-dev"
Option "Protocol" "alps"
Option "SHMConfig" "true"
Option "LeftEdge" "120"
Option "RightEdge" "830"
Option "TopEdge" "120"
Option "BottomEdge" "650"
Option "FingerLow" "14"
Option "FingerHigh" "15"
Option "MaxTapTime" "180"
Option "MaxTapMove" "110"
Option "ClickTime" "0"
Option "EmulateMidButtonTime" "75"
Option "VertScrollDelta" "10"
Option "HorizScrollDelta" "0"
Option "MinSpeed" "0.45"
Option "MaxSpeed" "0.75"
Option "AccelFactor" "0.020"
Option "EdgeMotionMinSpeed" "200"
Option "EdgeMotionMaxSpeed" "200"
Option "UpDownScrolling" "1"
Option "CircularScrolling" "0"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "2"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "evdev"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

#Section "InputDevice"
# Identifier "Serial Mouse"
## Driver "mouse"
# Option "Protocol" "Microsoft"
# Option "Device" "/dev/ttyS0"
# Option "Emulate3Buttons" "true"
# Option "Emulate3Timeout" "70"
# Option "SendCoreEvents" "true"
#EndSection

Section "Monitor"
Identifier "Monitor genérico"
HorizSync 28.0 - 96.0
VertRefresh 50.0 - 75.0
Option "DPMS" "true"
Modeline "1024x768" 81.54 1024 1064 1168 1352 768 768 770 804
# Modeline "1024x768" 78.26 1024 1040 1176 1344 768 771 777 806
# Modeline "1024x768" 87.01 1024 1040 1176 1344 768 771 777 806
EndSection

Section "Device"
Identifier "Tarjeta de vídeo genérica"
Driver "radeon"
Option "AGPMode" "4"
# Option "UseFBDev"
Option "AGPFastWrite" "on"
Option "EnablePageFlip" "on"
Option "DPMS"
Option "XAANoOffscreenPixmaps" "true"
BusID "PCI:1:5:0"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Tarjeta de vídeo genérica"
Monitor "Monitor genérico"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection


lsmod

Module Size Used by
ipv6 242708 10
cpufreq_ondemand 6512 0
cpufreq_userspace 2496 0
cpufreq_powersave 1276 1
aes_i586 8124 3
cryptomgr 85744 0
aead 6652 1 cryptomgr
pcompress 2140 1 cryptomgr
crypto_blkcipher 11808 1 cryptomgr crypto_hash 10172 1 cryptomgr
aes_generic 27356 1 aes_i586
crypto_algapi 16928 7 aes_i586,cryptomgr,aead,pcompress,crypto_blkcipher,crypto_hash,aes_generic
lib80211_crypt_ccmp 4924 3
af_packet 16572 2
snd_pcm_oss 33504 0
snd_mixer_oss 13884 1 snd_pcm_oss
snd_seq_dummy 2400 0
snd_seq_oss 25312 0
snd_seq_midi_event 6588 1 snd_seq_oss
snd_seq 44240 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6472 3 snd_seq_dummy,snd_seq_oss,snd_seq
ufs 70820 1
pcmcia 33484 0
firewire_ohci 22144 0
yenta_socket 22952 2
rsrc_nonstatic 10300 1 yenta_socket
pcmcia_core 33452 3 pcmcia,yenta_socket,rsrc_nonstatic
firewire_core 40824 1 firewire_ohci
ipw2200 132948 0
libipw 28192 1 ipw2200
crc_itu_t 1788 1 firewire_core
i2c_ali1535 5504 0
8250_pci 29724 0
i2c_ali15x3 6080 0
8250_pnp 14204 0
lib80211 6204 3 lib80211_crypt_ccmp,ipw2200,libipw
parport_pc 21540 0
floppy 50500 0
8250 20324 2 8250_pci,8250_pnp
parport 22464 1 parport_pc
serial_core 18428 1 8250
rtc_cmos 10028 0
rtc_core 15252 1 rtc_cmos
rtc_lib 2748 1 rtc_core
shpchp 30288 0
pci_hotplug 13732 1 shpchp


uname -a

Linux pc 2.6.30-gentoo-r1 #1 PREEMPT Fri Jun 12 14:51:01 CEST 2009 i686 Mobile Intel(R) Celeron(R) CPU 1.60GHz GenuineIntel GNU/Linux


lspci

00:00.0 Host bridge: ATI Technologies Inc RS200/RS200M AGP Bridge [IGP 340M] (rev 02)
00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 340M]
00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:03.0 Modem: ALi Corporation M5457 AC'97 Modem Controller
00:04.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
00:06.0 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
00:07.0 ISA bridge: ALi Corporation M1533/M1535/M1543 PCI to ISA Bridge [Aladdin IV/V/V+]
00:09.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
00:0a.0 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01)
00:0a.1 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01)
00:0b.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:0c.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
00:0f.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
00:12.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon IGP 330M/340M/350M



dmesg

ACPI: PCI Interrupt Link [LNK5] (IRQs 3 4 6 7 *11 12)
ACPI: PCI Interrupt Link [LNK6] (IRQs 3 4 6 7 *11 12)
ACPI: PCI Interrupt Link [LNK7] (IRQs 3 4 6 7 *11 12)
ACPI: PCI Interrupt Link [LNK8] (IRQs 3 4 6 7 *11 12)
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 12 devices
ACPI: ACPI bus type pnp unregistered
system 00:07: ioport range 0x40b-0x40b has been reserved
system 00:07: ioport range 0x480-0x48f has been reserved
system 00:07: ioport range 0x4d0-0x4d1 has been reserved
system 00:07: ioport range 0x4d6-0x4d6 has been reserved
system 00:07: ioport range 0x8000-0x807f could not be reserved
system 00:07: ioport range 0xfe00-0xfefe has been reserved
system 00:07: ioport range 0x200-0x207 has been reserved
system 00:08: iomem range 0x0-0x9ffff could not be reserved
system 00:08: iomem range 0xdc000-0xdffff could not be reserved
system 00:08: iomem range 0xe0000-0xfffff could not be reserved
system 00:08: iomem range 0x100000-0x2bffffff could not be reserved
system 00:08: iomem range 0xfff80000-0xffffffff has been reserved
system 00:08: iomem range 0xe8800000-0xe8800fff has been reserved
pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
pci 0000:00:01.0: IO window: 0xa000-0xafff
pci 0000:00:01.0: MEM window: 0xe8500000-0xe85fffff
pci 0000:00:01.0: PREFETCH window: 0x000000f0000000-0x000000f7ffffff
pci 0000:00:0a.0: CardBus bridge, secondary bus 0000:02
pci 0000:00:0a.0: IO window: 0x001000-0x0010ff
pci 0000:00:0a.0: IO window: 0x001400-0x0014ff
pci 0000:00:0a.0: PREFETCH window: 0x40000000-0x43ffffff
pci 0000:00:0a.0: MEM window: 0x44000000-0x47ffffff
pci 0000:00:0a.1: CardBus bridge, secondary bus 0000:06
pci 0000:00:0a.1: IO window: 0x001800-0x0018ff
pci 0000:00:0a.1: IO window: 0x001c00-0x001cff
pci 0000:00:0a.1: PREFETCH window: 0x48000000-0x4bffffff
pci 0000:00:0a.1: MEM window: 0x4c000000-0x4fffffff
ACPI: PCI Interrupt Link [LNK5] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
pci 0000:00:0a.0: PCI INT A -> Link[LNK5] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNK4] enabled at IRQ 11
pci 0000:00:0a.1: PCI INT B -> Link[LNK4] -> GSI 11 (level, low) -> IRQ 11
pci_bus 0000:00: resource 0 io: [0x00-0xffff]
pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff]
pci_bus 0000:01: resource 0 io: [0xa000-0xafff]
pci_bus 0000:01: resource 1 mem: [0xe8500000-0xe85fffff]
pci_bus 0000:01: resource 2 pref mem [0xf0000000-0xf7ffffff]
pci_bus 0000:02: resource 0 io: [0x1000-0x10ff]
pci_bus 0000:02: resource 1 io: [0x1400-0x14ff]
pci_bus 0000:02: resource 2 pref mem [0x40000000-0x43ffffff]
pci_bus 0000:02: resource 3 mem: [0x44000000-0x47ffffff]
pci_bus 0000:06: resource 0 io: [0x1800-0x18ff]
pci_bus 0000:06: resource 1 io: [0x1c00-0x1cff]
pci_bus 0000:06: resource 2 pref mem [0x48000000-0x4bffffff]
pci_bus 0000:06: resource 3 mem: [0x4c000000-0x4fffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
NET: Registered protocol family 1
Simple Boot Flag at 0x35 set to 0x1
Machine check exception polling timer started.
Scanning for low memory corruption every 60 seconds
audit: initializing netlink socket (disabled)
type=2000 audit(1245144822.277:1): initialized
fuse init (API version 7.11)
msgmni has been set to 1384
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci 0000:00:07.0: Activating ISA DMA hang workarounds
pci 0000:01:05.0: Boot video device
Non-volatile memory driver v1.3
Linux agpgart interface v0.103
agpgart-ati 0000:00:00.0: Ati IGP330/340/345/350/M chipset
agpgart-ati 0000:00:00.0: AGP aperture is 64M @ 0xec000000
Hangcheck: starting hangcheck timer 0.9.0 (tick is 180 seconds, margin is 60 seconds).
Hangcheck: Using get_cycles().
ACPI: PCI Interrupt Link [LNK0] enabled at IRQ 11
radeonfb 0000:01:05.0: PCI INT A -> Link[LNK0] -> GSI 11 (level, low) -> IRQ 11
radeonfb: Retrieved PLL infos from BIOS
radeonfb: Reference=14.32 MHz (RefDiv=31) Memory=183.00 Mhz, System=133.00 MHz
radeonfb: PLL min 12000 max 35000
i2c-adapter i2c-1: unable to read EDID block.
i2c-adapter i2c-1: unable to read EDID block.
Switched to high resolution mode on CPU 0
i2c-adapter i2c-1: unable to read EDID block.
i2c-adapter i2c-3: unable to read EDID block.
i2c-adapter i2c-3: unable to read EDID block.
i2c-adapter i2c-3: unable to read EDID block.
Non-DDC laptop panel detected
i2c-adapter i2c-2: unable to read EDID block.
i2c-adapter i2c-2: unable to read EDID block.
i2c-adapter i2c-2: unable to read EDID block.
i2c-adapter i2c-3: unable to read EDID block.
i2c-adapter i2c-3: unable to read EDID block.
i2c-adapter i2c-3: unable to read EDID block.
radeonfb: Monitor 1 type LCD found
radeonfb: Monitor 2 type no found
radeonfb: panel ID string: QDS
radeonfb: detected LVDS panel size from BIOS: 1024x768
radeondb: BIOS provided dividers will be used
radeonfb: Dynamic Clock Power Management enabled
Console: switching to colour frame buffer device 128x48
radeonfb (0000:01:05.0): ATI Radeon 4337 "C7"
power_supply ACAD: uevent
power_supply ACAD: No power supply yet
power_supply ACAD: power_supply_changed
ACPI: AC Adapter [ACAD] (off-line)
power_supply ACAD: power_supply_changed_work
power_supply ACAD: power_supply_update_gen_leds 0
power_supply ACAD: uevent
power_supply ACAD: POWER_SUPPLY_NAME=ACAD
power_supply ACAD: Static prop TYPE=Mains
power_supply ACAD: 1 dynamic props
power_supply ACAD: prop ONLINE=0
input: Power Button as /class/input/input0
ACPI: Power Button [PWRF]
input: Power Button as /class/input/input1
ACPI: Power Button [PWRB]
input: Lid Switch as /class/input/input2
ACPI: Lid Switch [LID]
fan PNP0C0B:00: registered as cooling_device0
ACPI: Fan [FAN] (off)
Marking TSC unstable due to TSC halts in idle
ACPI: CPU0 (power states: C1[C1] C2[C2])
processor ACPI_CPU:00: registered as cooling_device1
ACPI: Processor [CPU0] (supports 8 throttling states)
thermal LNXTHERM:01: registered as thermal_zone0
ACPI: Thermal Zone [THRM] (29 C)
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized radeon 1.30.0 20080528 for 0000:01:05.0 on minor 0
Uniform Multi-Platform E-IDE driver
alim15x3 0000:00:0f.0: IDE controller (0x10b9:0x5229 rev 0xc4)
ALI15x3_IDE 0000:00:0f.0: can't derive routing for PCI INT A
alim15x3 0000:00:0f.0: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x8080-0x8087
ide1: BM-DMA at 0x8088-0x808f
Probing IDE interface ide0...
ACPI: Battery Slot [BAT1] (battery absent)
hda: FUJITSU MHV2100AT, ATA DISK drive
hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/100 mode selected
Probing IDE interface ide1...
hdc: UJDA740 DVD/CDRW, ATAPI CD/DVD-ROM drive
hdc: host max PIO5 wanted PIO255(auto-tune) selected PIO4
hdc: UDMA/33 mode selected
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide-gd driver 1.18
hda: max request size: 128KiB
hda: 195371568 sectors (100030 MB) w/8192KiB Cache, CHS=65535/16/63
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4
ide-cd driver 5.00
ide-cd: hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
8139too Fast Ethernet driver 0.9.28
ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 11
8139too 0000:00:12.0: PCI INT A -> Link[LNK1] -> GSI 11 (level, low) -> IRQ 11
eth0: RealTek RTL8139 at 0x9c00, 00:0d:5e:58:f2:be, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ACPI: PCI Interrupt Link [LNK8] enabled at IRQ 11
ohci_hcd 0000:00:02.0: PCI INT A -> Link[LNK8] -> GSI 11 (level, low) -> IRQ 11
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:02.0: irq 11, io mem 0xe8004000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd 0000:00:0b.0: PCI INT A -> Link[LNK4] -> GSI 11 (level, low) -> IRQ 11
ohci_hcd 0000:00:0b.0: OHCI Host Controller
ohci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:0b.0: irq 11, io mem 0xe800a000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
PNP: PS/2 Controller [PNP0303:KBC0,PNP0f0e:MSE0] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: PC Speaker as /class/input/input3
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.20.
ACPI: PCI Interrupt Link [LNK7] enabled at IRQ 11
ALI 5451 0000:00:04.0: PCI INT A -> Link[LNK7] -> GSI 11 (level, low) -> IRQ 11
input: AT Translated Set 2 keyboard as /class/input/input4
usb 2-1: new low speed USB device using ohci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
input: Genius NetScroll+Mini Traveler as /class/input/input5
generic-usb 0003:0458:0036.0001: input,hidraw0: USB HID v1.10 Mouse [Genius NetScroll+Mini Traveler] on usb-0000:00:0b.0-1/input0
input: PS/2 Mouse as /class/input/input6
input: AlpsPS/2 ALPS GlidePoint as /class/input/input7
AC'97 1 does not respond - RESET
AC'97 1 access is not valid [0xffffffff], removing mixer.
ali mixer 1 creating error.
ALSA device list:
#0: ALI 5451 at 0x8800, irq 11
p4-clockmod: P4/Xeon(TM) CPU On-Demand Clock Modulation available
Using IPI Shortcut mode
REISERFS (device hda1): found reiserfs format "3.6" with standard journal
REISERFS (device hda1): using ordered data mode
REISERFS (device hda1): journal params: device hda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
REISERFS (device hda1): checking transaction log (hda1)
REISERFS (device hda1): Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly on device 3:1.
Freeing unused kernel memory: 276k freed
power_supply ACAD: uevent
power_supply ACAD: POWER_SUPPLY_NAME=ACAD
power_supply ACAD: Static prop TYPE=Mains
power_supply ACAD: 1 dynamic props
power_supply ACAD: prop ONLINE=0
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
parport_pc 00:0a: reported by Plug and Play ACPI
parport0: PC-style at 0x378, irq 7 [PCSPP(,...)]
Floppy drive(s): fd0 is 1.44M
rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one month, y3k, 242 bytes nvram
FDC 0 is a post-1991 82077
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ACPI: PCI Interrupt Link [LNK6] enabled at IRQ 11
serial 0000:00:03.0: PCI INT A -> Link[LNK6] -> GSI 11 (level, low) -> IRQ 11
serial 0000:00:03.0: PCI INT A disabled
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
ali15x3_smbus 0000:00:06.0: ALI15X3_smb region uninitialized - upgrade BIOS or use force_addr=0xaddr
ali15x3_smbus 0000:00:06.0: ALI15X3 not detected, module not inserted.
yenta_cardbus 0000:00:0a.0: CardBus bridge found [1033:81c4]
yenta_cardbus 0000:00:0a.0: Enabling burst memory read transactions
yenta_cardbus 0000:00:0a.0: Using CSCINT to route CSC interrupts to PCI
yenta_cardbus 0000:00:0a.0: Routing CardBus interrupts to PCI
yenta_cardbus 0000:00:0a.0: TI: mfunc 0x012c1222, devctl 0x66
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.2kmpr
ipw2200: Copyright(c) 2003-2006 Intel Corporation
yenta_cardbus 0000:00:0a.0: ISA IRQ mask 0x0438, PCI irq 11
yenta_cardbus 0000:00:0a.0: Socket status: 30000006
ACPI: PCI Interrupt Link [LNK2] enabled at IRQ 11
firewire_ohci 0000:00:0c.0: PCI INT A -> Link[LNK2] -> GSI 11 (level, low) -> IRQ 11
firewire_ohci: Added fw-ohci device 0000:00:0c.0, OHCI version 1.10
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 11
ipw2200 0000:00:09.0: PCI INT A -> Link[LNK3] -> GSI 11 (level, low) -> IRQ 11
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200 0000:00:09.0: firmware: requesting ipw2200-bss.fw
ipw2200: Detected geography ZZR (14 802.11bg channels, 0 802.11a channels)
yenta_cardbus 0000:00:0a.1: CardBus bridge found [1033:81c4]
yenta_cardbus 0000:00:0a.1: Using CSCINT to route CSC interrupts to PCI
yenta_cardbus 0000:00:0a.1: Routing CardBus interrupts to PCI
yenta_cardbus 0000:00:0a.1: TI: mfunc 0x012c1222, devctl 0x66
firewire_core: created device fw0: GUID 00004ce02458f2be, S400
yenta_cardbus 0000:00:0a.1: ISA IRQ mask 0x0438, PCI irq 11
yenta_cardbus 0000:00:0a.1: Socket status: 30000006
pcmcia_socket pcmcia_socket1: cs: IO port probe 0xc00-0xcff: clean.
pcmcia_socket pcmcia_socket1: cs: IO port probe 0x800-0x8ff: clean.
pcmcia_socket pcmcia_socket1: cs: IO port probe 0x100-0x4ff: excluding 0x220-0x22f 0x330-0x337 0x388-0x38f
pcmcia_socket pcmcia_socket1: cs: IO port probe 0xa00-0xaff: clean.
pcmcia_socket pcmcia_socket0: cs: IO port probe 0xc00-0xcff: clean.
pcmcia_socket pcmcia_socket0: cs: IO port probe 0x800-0x8ff: clean.
pcmcia_socket pcmcia_socket0: cs: IO port probe 0x100-0x4ff: excluding 0x220-0x22f 0x330-0x337 0x388-0x38f
pcmcia_socket pcmcia_socket0: cs: IO port probe 0xa00-0xaff: clean.
REISERFS (device hda2): found reiserfs format "3.6" with standard journal
REISERFS (device hda2): using ordered data mode
REISERFS (device hda2): journal params: device hda2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
REISERFS (device hda2): checking transaction log (hda2)
REISERFS (device hda2): Using r5 hash to sort names
Adding 506036k swap on /dev/hda4. Priority:-1 extents:1 across:506036k
eth0: link down
NET: Registered protocol family 17
lib80211_crypt: registered algorithm 'CCMP'
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ADDRCONF(NETDEV_UP): eth0: link is not ready
agpgart-ati 0000:00:00.0: AGP 2.0 bridge
agpgart-ati 0000:00:00.0: putting AGP V2 device into 4x mode
radeonfb 0000:01:05.0: putting AGP V2 device into 4x mode
[drm] Setting GART location based on new memory map
[drm] Loading R100 Microcode
[drm] writeback test succeeded in 1 usecs
eth1: no IPv6 routers present




ipw 2200 BG mini PCI card problems

1)Fixed  "ipw2200: Firmware error detected.  Restarting" :

When I copy big files with ssh trough ipw card I used to get that error. I read that is usual too with samba and nfs while sending big files.
Solution:  just load ipw2200 with hwcrypto=0.

$:> modprobe ipw2200 hwcrypto=0


2) Fixed hardware button ON/OFF:

I had a lot of trouble to make this card to work with this laptop, because there is no BIOS option for wireless radio switch on/off, and there isn't any button either in the keyboard. After writing to nec, rfswitch developers, and get no answer, and after  2 days  trying  to switch the radio on via software I discovered that is almost impossible for the moment, and reading around I knew that in some cards you can switch the radio on covering some pins of the card, they are normally pins 7 or 13, sometimes 11, in this case, and I think that is true too for any ipw2200 BG mini PCI card (I just tested with this card), I put some plastic over pins 11 and 13. Thanks to madwifi wiki I got the idea to try. MADwifi rulez! normally I use always atheros cards...

DO NOT FORGET TO SWITCH txpower on AFTER LOADING ipw2200 MODULE!! This will turn your card on:

$:> iwconfig eth1 txpower on
$:> ifconfig eth1 up



More info:
http://repair4laptop.org/disassembly_nec.html
http://repair4laptop.org

In the picture you can see how I did it: