FreeBSD on Fujitsu-Siemens AMILO Pro V2040:


Laptop Specifications:
  • Processor: Centrino 1.6GHz, FSB 400MHz, cache 2048KB
  • Display & video: XGA TFT, 15-inch, Intel Graphics Media Accelerator 900,
    1024 x 768 pixel, 128MB video mem
  • HDD & RAM: 60 GB 5400 rpm, S-ATA 150, 2x256MB DDR2 RAM, 2048MB Max RAM
  • Multimedia: DVD±RW±R DL, 3 in 1 Card Reader (SD, MMC si Memory Stick),
    sound codec chip ADI IC CODEC AD1986A, 2 built-in high-quality stereo speakers
  • Interfaces: 10/100 LAN, Wireless LAN 802.11b/g, Modem 56 K V.90,
    Ports: 1xIEEE 1394, 1xMicrophone in, 1xRJ-11, 1xRJ-45, 1xTV-out, 1xVGA, 4xUSB 2.0
  • Power supply: Lithium Ion, 6 cells battery, upto 5 hours battery life
  • Dimensions & Weight: 332 x 273 x 23/37, 2.9 kg
  • Others: comes with Nero & Fedora on DVD
Links to laptop:
- I bought it here
- Fujitsu-Siemens specs here

Problems (6.0-RELEASE-p1 -> 6.1-RELEASE-p10):
  • ACPI (trying to get help here)
    - resume doesn't work:
    If I power on after a sleep (acpiconf -s 3):

    ioapic_suspend: not_implemented!
    ioapic_suspend: not_implemented!
    [...]
    fwohci0: Phy 1394a available S400, 2 ports
    fwohci0: Link S400, max_rec 2048 bytes
    fwohci0: Initiate bus reset
    [ Freezes ]

    tried to disable apic in kernel config with a partial success: it boots but hdd doesn't resume
    fwohci0: fwohci_pci_suspend
    fwohci0: device physically ejected?
    fw0hci0: suspend request ignored (not ready yet)
    fwohci0: Phy 1394a available S400, 2 ports
    fwohci0: Link S400, max_rec 2048 bytes
    fwohci0: Initiate bus reset
    fwohci0: Bus reset
    fwohci0: node_id=0xc800ffc0 gen=0 CYCLEMASTER MODE
    firewire0: 1 nodes maxhop <=0, cable IRM=0 (me)
    firewire0: bus manager 0 (me)
    fwohci0: phy int
    ad4 detached
    g_vfs_done() ad4s1a [READ(offset=53...,length=2048)] error=6
    g_vfs_done()...
    vnode_pager_getpages: I/O read error
    g_vfs_done...
    [ seems I can run bash builtin commands => memory was restored ok ]
    [ still ad4 remains detached ]

    cd /bin
    ./ls
    g_vfs_done() ...
    vnode_pager_getpages: I/O read error
    ./ls: Input/Output error

  • APM (similar problem here)
    1) Kernel config has: "device apm"
    2) Load kernel module at boot:
    apm_load="YES" to /boot/loader.conf
    3) Hint.apm.0.disabled="0" in /boot/device.hints
    4) Start apm automatically at boot:
    apm_enable="YES" in /etc/rc.conf
    5) Enable APM daemon:
    apmd_enable="YES" to /etc/rc.conf

    and I get the following error when starting apm:

    apm: can't open /dev/apm: no such file or directory
    /etc/rc: WARNING: /dev/apmctl not found; kernel is missing apm (4)


    (kldstat shows no acpi loaded, I also tried using apm and pmtimer in
    my kernel config file)
  • SOUND
    FIX: Install OSS from http://www.opensound.com/
    Also take a look at this link: FreeBSD status report

    Another solution would be for someone to port azalia from netbsd

  • Boot manager beeps loudly
    FIX:
    =========== /usr/src/sys/boot/i386/boot0/boot0.S =========
    --- boot0.S.old Tue Dec 27 03:07:35 2005
    +++ boot0.S Tue Dec 27 03:08:33 2005
    @@ -201,9 +201,7 @@
    /*
    * Start of input loop. Beep and take note of time
    */
    -main.10: movb $ASCII_BEL,%al # Signal
    - callw putchr # beep!
    - xorb %ah,%ah # BIOS: Get
    +main.10: xorb %ah,%ah # BIOS: Get
    int $0x1a # system time
    movw %dx,%di # Ticks when
    addw _TICKS(%bp),%di # timeout
    ===========================================================

    /usr/src/sys/boot/i386/boot0 # make && make install && boot0cfg -B /dev/adX
  • Wireless card
    Add if_iwi_load="YES" to /boot/loader.conf and install net/iwi-firmware-2.4_7 
    Example of commands used to connect to a public wireless service:
    1. ifconfig iwi0 up scan
    2. ifconfig iwi0 list scan
    4. ifconfig iwi0 authmode open bssid xx:xx:...:xx ssid ssid_name channel chan_no
    wepmode off up
    5. route add default gw ip

    Other links: http://damien.bergamini.free.fr/ipw/ http://aizatto.com/blog/?cat=24
  • CD/DVD burning
    acd0: DVDR  at ata0-master UDMA33

    DVD:
    - "device atapicam" in kernel
    - add hw.ata.atapi_dma="1" in /boot/loader.conf
    - dvd+rw-mediainfo /dev/cd0
    - growisofs -dvd-compat -Z /dev/cd0 -J -R /tmp/myfiles
    or
    - growisofs -dvd-compat -Z /dev/cd0=myfile.iso

    CD:
    - mkisofs -o cd.iso mydir/
    or (in case we want long filenames on windows)
    - mkisofs -max-iso9660-filenames -J -R -o cd.iso mydir/
    - camcontrol devlist
    <_NEC DVD+-RW ND-6650A 1.42> at scbus1 target 0 lun 0 (pass0,cd0)
    - burncd -f /dev/acd0 data cd.iso fixate

  • 3rd mouse button emulation
    Since xorg 
    so in order to emulate the 3rd mouse button:

    # echo mouse >> /usr/X11R6/lib/X11/getconfig/xorg.cfg
    # echo "Option \"Emulate3Buttons\"" >> /usr/X11R6/lib/X11/getconfig/xorg.cfg

  • TV-out
    Here are the X.Org config files for: xorg.conf_multiple_screens.txt and clone screen.
    Also some links for: dual monitors, the i810 driver and Intel Graphics Media Accelerator.
  • Card Reader
    I tried it with my Digital Camera and it worked fine. It was detected by Ubuntu.
  • Others:
    - I didn't try the modem
    - the keyboard seems fragile and prone to fail
    - after 6 months I had some HDD/controller problems but they disappeared
    - after 2 years the laptop is working fine and the battery still holds 2 hours and a half (watching movies)

    ad4: TIMEOUT - READ_DMA retrying (0 retries left)
    ad4: FAILURE - READ_DMA timed out LBA=...
    WARNING: R/W mount of / denied. Filesystem is not clean - run fsck

    A solution proposed on some mailling list (not tested) is to turn preemption
    off in the kernel.
I also included the kernel config file here, the X.Org conf here the dmesg output here.

PS: If you want to see other supported Unices on laptops/notebooks/PDAs or mobile phones go to TuxMobil
PS: I tried Ubuntu 7.04 on my laptop and it works flawlessly. Please check my blog for more details.
Lost? You can also go there for my main site!