FSC Laptop : Amilo A (CY26) on GNU/Linux AmiloAx6xx BIOS

[[Action]] [[ToDo]]

[[Hardware]] COMPONENTS

SN:3576260124

SPECS

#[[RzR]]@[[AmiloA]]:[[Debian]]# lspci
00:00.0 Host bridge: [[ATI]] Technologies Inc AGP Bridge [[IGP 320M]] (rev 13)
00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [[IGP 320M]] (rev 01)
00:02.0 [[USB]] Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:03.0 [[Modem]]: ALi Corporation Intel 537 [[M5457 AC-Link Modem]]
00:04.0 IDE interface: ALi Corporation [[M5229]] [[IDE]] (rev c4)
00:06.0 Bridge: ALi Corporation [[M7101]] PMU
00:07.0 ISA bridge: ALi Corporation [[M1533]] PCI to ISA Bridge [[Aladdin IV]]
00:08.0 [[Multimedia audio controller]]: ALi Corporation [[M5451]] PCI AC-Link Controller Audio Device (rev 02)
00:09.0 [[Ethernet]] controller: [[Realtek]] Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0a.0 [[FireWire]] (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46)
00:0b.0 CardBus bridge: ENE Technology Inc CB1420 Cardbus Controller (rev 01)
00:0b.1 CardBus bridge: ENE Technology Inc CB1420 Cardbus Controller (rev 01)
00:0f.0 [[USB]] Controller: ALi Corporation USB 1.1 Controller (rev 03)
01:05.0 VGA compatible controller: ATI Technologies Inc [[Radeon]] Mobility U1
#rzr@nrv:rzr/$ lspci -n
0000:00:00.0 Class 0600: 1002:cab0 (rev 13)
0000:00:01.0 Class 0604: 1002:700f (rev 01)
0000:00:02.0 Class 0c03: 10b9:5237 (rev 03)
0000:00:03.0 Class 0703: 10b9:5457
0000:00:04.0 Class 0101: 10b9:5229 (rev c4)
0000:00:06.0 Class 0680: 10b9:7101
0000:00:07.0 Class 0601: 10b9:1533
0000:00:08.0 Class 0401: 10b9:5451 (rev 02)
0000:00:09.0 Class 0200: 10ec:8139 (rev 10)
0000:00:0a.0 Class 0c00: 1106:3044 (rev 46)
0000:00:0b.0 Class 0607: 1524:1420 (rev 01)
0000:00:0b.1 Class 0607: 1524:1420 (rev 01)
0000:00:0f.0 Class 0c03: 10b9:5237 (rev 03)
0000:01:05.0 Class 0300: 1002:4336

STATUS on AmiloA: Current Bugs

Latest kernel :

http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.11.6.tar.bz2

Latest Debian packages @ http://rzr.online.fr/contrib.htm

apt-get update ; apt-get install linux-2.6.10-k7-amiloa

Current Topic : Mouse/Touchpad regression since 2.6.11, Patch are out @ http://rzr.online.fr/q/Mouse

  • OK / Fixed :
  • * USB : USB mice not working since kernel 2.6.6 onwards…
  • * Radeon & 3D needs some tuning on XWindow
  • * Modem dont works unless it has been intialized under Windows
  • * 3D : working on patched Kernel 2.4 and 2.6 with xorg
  • * Linux Kernel : 2.4 & 2.6 : ok

[[Linux]] [[Kernel]] optimized for AmiloA : "-k7-amiloa"

Linux nrv 2.6.9-amiloa #4 Wed Oct 20 21:06:32 CEST 2004 i686 GNU/Linux

It would be good to have a “AmiloA” optimized config files, isn't it ?

Fell free to improove mine : @ http://rzr.online.fr/docs/comp/#config-2_6_9-amiloa.txt

Put your versions online or at : @ http://groups.yahoo.com/group/amilo/files

I just compiled it for Debian (see after):

Tell me if 3D works w/ http://x.org or http://dri.sf.net ?

Linux / Debian / KERNEL / optimised for AmiloA

Just cut and paste this i will install lastest kernel

\su root
wget -O- http://rzr.online.fr/docs/contribs/sources.list >> /etc/apt/sources.list
apt-get update ; apt-get install kernel-image-2.6.11.3-k7-amiloa
cat >> /etc/lilo.conf <<EOF # and add this :
image=/boot/vmlinuz-2.6.8.1-amiloa
label=26amiloa
append="hdc=ide-scsi apm=power-off nomce resume=/dev/hda7 lang=fr alsa mem=nopentium i8042.nomux"
# initrd=/boot/initrd.img-2.6.7-amiloa
read-only
# restricted
# alias=1
# http://rzr.online.fr/q/AmiloA

EOF

@ http://rzr.online.fr/linux.htm

ToDo : see CDROM , see cpufreq

QUESTIONS

  • Graphics : did build the perfect kernel X combination for 3d (DRI), Acpi, eth and dvd ?
  • Sound : midi ? it seems to be disabled for me ( /dev/sequencer )
  • Modem : how to make it work ? which driver to use ?
  • How comes that ext ps2 Mouse or keyboard lock X ?
  • Power Management : how to optimise this ? how to toggle screen on standby ? cpufreq , etc ?
  • What other os are working on it (including windows beside preinstalled fujitsu edition of win XP home)
  • Kernel : what is that MCE error ? and Serial Warning ?

OPTIMISATIONS

I suppose some modules are uneeded

#rzr@nrv:rzr/$ date ; uname -a ; lsmod
mar aoû 24 19:21:15 CEST 2004
Linux nrv 2.6.8.1-amiloa #1 Mon Aug 16 18:21:09 CEST 2004 i686 GNU/Linux
Module Size Used by
pppoe 10176 2
pppox 2824 1 pppoe
parport_pc 36032 1
lp 8900 0
parport 34376 2 parport_pc,lp
nfsd 90952 8
exportfs 4864 1 nfsd
lockd 59208 2 nfsd
sunrpc 130532 2 nfsd,lockd
ipx 24364 0
p8022 1792 1 ipx
psnap 2948 1 ipx
llc 5652 2 p8022,psnap
iptable_filter 2432 0
binfmt_misc 8712 1
autofs 12800 1
pcmcia_core 56644 0
af_packet 16392 14
ppp_generic 24084 6 pppoe,pppox
slhc 6784 1 ppp_generic
ipt_MASQUERADE 3072 1
iptable_nat 21292 2 ipt_MASQUERADE
ip_conntrack 28800 2 ipt_MASQUERADE,iptable_nat
ip_tables 15232 3 iptable_filter,ipt_MASQUERADE,iptable_nat
ipv6 225284 16
8139too 21504 0
mii 4224 1 8139too
crc32 4096 1 8139too
ohci_hcd 18308 0
usbcore 101092 3 ohci_hcd
nls_iso8859_1 3968 2
nls_cp437 5632 2
8250 27680 0
serial_core 18816 1 8250
cpufreq_userspace 5596 2
sr_mod 15012 0
cdrom 37280 1 sr_mod
cpufreq_powersave 1664 0
powernow_k7 8880 0
proc_intf 3072 0
freq_table 3460 1 powernow_k7
sg 29216 0
ide_scsi 14084 1
scsi_mod 68928 3 sr_mod,sg,ide_scsi
ac 3596 0
fan 3084 0
battery 7948 0
thermal 10512 0
processor 15280 2 powernow_k7,thermal
button 4888 0
radeon 125220 0
agpgart 28200 0
snd_ali5451 20680 2
snd_ac97_codec 65924 1 snd_ali5451
snd_pcm_oss 48808 0
snd_mixer_oss 17408 3 snd_pcm_oss
snd_pcm 82212 2 snd_ali5451,snd_pcm_oss
snd_page_alloc 9224 1 snd_pcm
snd_timer 20228 1 snd_pcm
snd 46564 6 snd_ali5451,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 7264 3 snd
ohci1394 31236 0
ieee1394 303672 1 ohci1394
rtc 9656 0

btw, I think KDE Desktop is not the best choice for saving RAM I suggest to use http://www.xfce.org/ it my best comprise beetween weight and accessibily

  • prelink
  • libc686
  • xfce4 is a decent Desktop env

http://julien.danjou.info/article-apt-build.html

GCC flags : -march=athlon-xp -mcpu=athlon-xp

http://linuxreviews.org/howtos/compiling/

HELP NEEDED

  • PLEASE* report successfull config of dri AND kernel 2.6

@ http://groups.yahoo.com/group/amilo/database @ http://who.is.free.fr/wiki/index.php?AmiloA (press Edit at bottom)

QUESTIONS & TODO @ http://rzr.online.fr/wiki.htm

Your contribution is welcome @ http://rzr.online.fr/wiki.htm

  • Video / xinerama , test X.org directfb.org
  • Bios / Do you have some remarks to do on BIOS UPDATES ?
  • Buses / unlock PS/2 external mouse
  • Sound / midi ? it seems to be disabled for me ( /dev/sequencer )
  • Kernel / what is that MCE error ? and Serial Warning ?
  • Power Management / cpufreqd, LID switch, how to optimise this ? how to toggle screen on standby ? cpufreq , etc ?
  • Modem / How to init w/out windows ?
  • What other os are working on it (including windows beside preinstalled fujitsu edition of win XP home)
  • USB Mouse not working with kernel series 2.6 since 2.6.6

COMMUNITY NEWS @ http://groups.yahoo.com/group/amilo/

  • Amilo RSS Feed

@ http://rss.groups.yahoo.com/group/amilo/rss

  • RzR's “RSS News” page (you can add RSS to my.yahoo.com too)

@ http://rzr.online.fr/news.htm

  • Amilo Group is recruting to filter new pending posts (kill spam only)

just ask me ops and check sometime @ http://groups.yahoo.com/mygroups

  • Add your specs (harware + software)

@ http://groups.yahoo.com/group/amilo/database

  • There is a Online meeting place : #laptop @ irc.freenode.net

first Sundays of every month 21h00 GMT use your favorite irc clients (like chatzilla or xchat, bitchx etc) @ irc://irc.freenode.net/laptop

  • It will be helpfull to answser the surveys at :

@ http://groups.yahoo.com/group/amilo/polls

  • Email delivery is set to “Special notice” only unless you change it :

@ http://groups.yahoo.com/group/amilo/join

LINKS

DSDT

[[AmiloA]] w/ 1.02 [[BIOS]] by [[RzR]] on [[Debian]]

http://rzr.online.fr/docs/comp/dsdt-amiloa-bios1_02-nrv-rzr-20041227.aml

iasl -d dsdt-$HOSTNAME.dat # Disassamble and create  dsdt.dsl
iasl -tc dsdt-$HOSTNAME.dsl # will create two files, dsdt.hex and DSDT.aml.
# Intel ACPI Component Architecture
# ASL Optimizing Compiler / AML Disassembler version 20041203 [[Dec 27 2004]]
# Copyright (C) 2000 - 2004 Intel Corporation
# Supports ACPI Specification Revision 2.0c
#
# dsdt-nrv.dsl    80:     Method (_WAK, 1, NotSerialized)
# Warning  2026 -                    ^ Reserved method must return a value (_WAK)
#
# dsdt-nrv.dsl   726:                         Return (Local0)
# Error    1013 - Method local variable is not initialized ^  (Local0)
#
# dsdt-nrv.dsl  1547:                     Field (ERAM, AnyAcc, Lock, Preserve)
# Error    1048 -                                   ^ Host Operation Region requires ByteAcc access
#
# dsdt-nrv.dsl  1662:                     Field (ECRM, AnyAcc, Lock, Preserve)
# Error    1048 -                                   ^ Host Operation Region requires ByteAcc access
#
# ASL Input:  dsdt-nrv.dsl - 2780 lines, 96778 bytes, 1329 keywords
# Compilation complete. 3 Errors, 1 Warnings, 0 Remarks, 393 Optimizations

Fixing errors

diff -u dsdt-nrv.dsl.orig dsdt-1_02-rzr.dsl
# --- dsdt-nrv.dsl.orig        2004-12-27 21:26:55.000000000 +0100
# +++ dsdt-1_02-rzr.dsl        2004-12-28 09:27:13.000000000 +0100
# @@ -84,6 +84,11 @@
#          {
#              \_SB.PCI0.LPCB.PHSS (0x98)
#          }
# +//{FIX @ http://rzr.online.fr/q/DSDT
# +//  # dsdt-nrv.dsl    80:     Method (_WAK, 1, NotSerialized)
# +// # Warning  2026 -                    ^ Reserved method must return a value (_WAK)
# +    Return(Package(0x02){0x00, 0x00}) //+
# +//}FIX @ http://rzr.online.fr/q/DSDT
#      }
#
#      Name (ECDY, 0x00)
# @@ -722,9 +727,18 @@
#                          })
#                          CreateWordField (RTLU, 0x01, IRQ8)
#                          Store (PIRU, Local1)
# -                        Store (DerefOf (Index (IXLT, Local1)), IRQ8)
# -                        Return (Local0)
# -                    }
# +
# +//{FIX _CRS @ http://rzr.online.fr/q/DSDT
# + // # dsdt-nrv.dsl   726:                         Return (Local0)
# + // # Error    1013 - Method local variable is not initialized ^  (Local0)
# + Store (DerefOf (Index (IXLT, Local1)), IRQ8) // = // the bug is not here
# + // Store (DerefOf (Index (IXLT, Local1, Local0)), IRQ8) // this sup err
# + // - // Return (Local0) // - // but the read error is here
# + Return (RTLU) // + // and is fixed here
# +//}FIX _CRS @ http://rzr.online.fr/q/DSDT
# +}
# +
# +
#
#                      Method (_SRS, 1, NotSerialized)
#                      {
# @@ -1028,6 +1042,7 @@
#                          EXFG ()
#                      }
#
# +
#                      Method (_PSC, 0, NotSerialized)
#                      {
#                          ENFG (0x00)
# @@ -1543,8 +1558,17 @@
#                          }
#                      }
#
# +
# +
#                      OperationRegion (ERAM, EmbeddedControl, 0x00, 0xFF)
# -                    Field (ERAM, AnyAcc, Lock, Preserve)
# + //{FIX  @ http://rzr.online.fr/q/DSDT
# + //  # dsdt-nrv.dsl  1547:                     Field (ERAM, AnyAcc, Lock, Preserve)
# + // # Error    1048 -                                   ^ Host Operation Region requires ByteAcc access
# +// Field (ERAM, AnyAcc, Lock, Preserve) // -
# + Field (ERAM, ByteAcc, Lock, Preserve) // +
# + //}FIX _CRS @ http://rzr.online.fr/q/DSDT
# +
# +
#                      {
#                          Offset (0x60),
#                          SMPR,   8,
# @@ -1649,6 +1673,7 @@
#                          GAU1,   8
#                      }
#
# +
#                      OperationRegion (CCLK, SystemIO, 0x8010, 0x04)
#                      Field (CCLK, DWordAcc, NoLock, Preserve)
#                      {
# @@ -1658,8 +1683,16 @@
#                          Offset (0x01)
#                      }
#
# +
#                      OperationRegion (ECRM, EmbeddedControl, 0x00, 0xFF)
# -                    Field (ECRM, AnyAcc, Lock, Preserve)
# + //{FIX @ http://rzr.online.fr/q/DSDT
# + // # dsdt-nrv.dsl  1662:                     Field (ECRM, AnyAcc, Lock, Preserve)
# + // # Error    1048 -                                   ^ Host Operation Region requires ByteAcc access
# + //  Field (ECRM, AnyAcc, Lock, Preserve) // -
# + Field (ECRM, ByteAcc, Lock, Preserve) // +
# + //}FIX @ http://rzr.online.fr/q/DSDT
# +
# +
#                      {
#                          Offset (0xAE),
#                          THR0,   7,

Compile again

iasl -tc dsdt-1.02-rzr.dsl # will create two files, dsdt.hex and DSDT.aml

[[AmiloA]] w/ 1.05 [[BIOS]] by Sam on [[Kernel]] 2.6.8.1-10mdk by Sam

I don't have to patch my kernel for acpi nor dsdt override, because Mandrake already patched it (thanks

)

Getting and compiling dsdt

# cat /proc/acpi/dsdt > dsdt.aml
# ./iasl -d dsdt.aml
# ./iasl -tc dsdt.dsl
Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20041203 [[Dec 22 2004]]
Copyright (C) 2000 - 2004 Intel Corporation
Supports ACPI Specification Revision 2.0c
dsdt.dsl    81:     Method (_WAK, 1, NotSerialized)
Warning  2026 -                ^ Reserved method must return a value (_WAK)
dsdt.dsl   730:                         Return (Local0)
Error    1013 -                                      ^ Method local variable is not initialized (Local0)
dsdt.dsl  1551:                     Field (ERAM, AnyAcc, Lock, Preserve)
Error    1048 -                               ^ Host Operation Region requires ByteAcc access
dsdt.dsl  1666:                     Field (ECRM, AnyAcc, Lock, Preserve)
Error    1048 -                               ^ Host Operation Region requires ByteAcc access
ASL Input:  dsdt.dsl - 2784 lines, 96865 bytes, 1330 keywords
Compilation complete. 3 Errors, 1 Warnings, 0 Remarks, 393 Optimizations

NOW I'M SURE THE DSDT IS BUGGY.

Modifying the dsdt. I'll get thomas' modified dsdt table and see what differences there are with mine (hope he put some useful remarks inside the file).

Modified my dsdt, but only removed compilation errors (didn't move irqs yet)

USB

Boot on USB is supported if internal HDD is not found

[[AmiloA]] [[BIOS]] 1.09 : Solving compilation errors in the DSDT

I solved them as Thomas did, except for one, which I solved differently, AND IT IS IMPORTANT :

dsdt-original.dsl 730: Return (Local0)
Error 1013 - Method local variable is not initialized ^ (Local0)

Here is the faulty code :

Method (_CRS, 0, NotSerialized)
{
Name (RTLU, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared) {}
})
CreateWordField (RTLU, 0x01, IRQ8)
Store (PIRU, Local1)
Store (DerefOf (Index (IXLT, Local1)), IRQ8)
Return (Local0) //*** HERE IS THE ERROR ***
}

Thomas, following DSDT howtos, put :

Method (_CRS, 0, NotSerialized)
{
Name (RTLU, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared) {}
})
CreateWordField (RTLU, 0x01, IRQ8)
Store (PIRU, Local1)
// {FIX Thomas' fix is below, I believe (added Local0).
// -Store (DerefOf (Index (IXLT, Local1)), IRQ8) //-
Store (DerefOf (Index (IXLT, Local1, Local0)), IRQ8) //+
Return (Local0) //*** HERE IS THE ERROR ***
// }FIX
}

And, it solves the compilation problem.

But the bug is still there. Now, the real fix (I promise it solves a problem, I'll tell you which one) :

Method (_CRS, 0, NotSerialized)
{
Name (RTLU, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared) {}
})
CreateWordField (RTLU, 0x01, IRQ8)
Store (PIRU, Local1)
Store (DerefOf (Index (IXLT, Local1)), IRQ8)
Return (RTLU)
}
// Changed "Return(Local0)" to "Return(RTLU)". This solves a bug wich prevented
// the kernel to assign the good irq to USB0 (acpi got always irq #9 however).
// Here is the kernel (2.6.8.1) error message :
// ACPI: Unable to set IRQ for PCI Interrupt Link (LNKU) (likely buggy ACPI BIOS).
// ACPI-0201: *** Error: Return object type is incorrect
[[\_SB_.PCI0.LPCB.LNKU._CRS]] (Node c11fe5e0), AE_TYPE
// I found the good return value by comparing with the other _CRS functions, for LNKA, LNKB, etc...

That's it No more USB problems with the 2 inner ports ! (See my previous posts about it).

They now work perfectly, and are assigned IRQ #9 as they should be

But see : PCMCIA Conflict

Conclusions

With a custom DSDT and Kernel 2.6 (patched for use of custom DSDT), we can have DRI working without problems, and solve USB problems.

The USB “irq #9 : nobody cared” Message was a Bug in the DSDT

The DRI IRQ conflicts are solved if the PCMCIA at LNKA get the same IRQ as Radeon. It would be interesting to find out WHY…

MISC

OS : WINDOWS XP

MISC

# dmesg
ACPI-0216: *** Error: Return object type is incorrect [[\_SB_.PCI0.LPCB.LNKU._CRS]] (Node ddce7b60), AE_TYPE  # see [[DSDT]]
dmesg
svc: bad direction 268435456, dropping request
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=3439

MORE

amiloa.txt · Last modified: 2014/05/02 14:03 by rzr
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki