Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on Toshiba Satellite L20 L30 HOWTO
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
brfsa
Tux's lil' helper
Tux's lil' helper


Joined: 01 Aug 2005
Posts: 121
Location: Brazil

PostPosted: Fri Aug 18, 2006 1:24 pm    Post subject: Gentoo on Toshiba Satellite L20 L30 HOWTO Reply with quote

How to setup Gentoo on Toshiba Satellite L20 L30 HOWTO (Except Sound)


There is no sound comming out from Speakers, even thou the card is detect by alsa and the audio players can play without errors.

This Howto is based primarly on the Toshiba Satellite L30, but also works on the L20 and maybe others, and gentoo 2006.0, kernel 2.6.17-r4

The Toshiba L30 is a very cheap laptop with almost full functionality and very linux friendly.
I bought is for 600 Dolars in Thailand. (including the 768MB ram upgrade)

The specifications are as follow:


CPU: Intel Celeron 1.6 GHz, 1 MB L2
Ram: 256+512 MB DDR2-533
Sata controller: Silicon Image SATA
HD: 40GB Sata (sda) FUJITSU MHV2040B, (40008 MB)
ATI x200 mobile
VGA: ATI Chipset
Sound ATI 437b (intel hda)
NIC: RealTek RTL8139
WIFI: Atheros
Synaptics Touchpad.
2xUSB2 ports

lscpi -v output

Code:

00:00.0 Host bridge: ATI Technologies Inc Unknown device 5a31 (rev 01)
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, 66MHz, medium devsel, latency 64
   Memory at <ignored> (64-bit, non-prefetchable)

00:01.0 PCI bridge: ATI Technologies Inc Unknown device 5a3f (prog-if 00 [Normal decode])
   Flags: bus master, 66MHz, medium devsel, latency 64
   Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
   I/O behind bridge: 00009000-00009fff
   Memory behind bridge: d0100000-d01fffff
   Prefetchable memory behind bridge: d4000000-d7ffffff
   Capabilities: [b0] #0d [0000]

00:12.0 IDE interface: ATI Technologies Inc ATI 4379 Serial ATA Controller (rev 80) (prog-if 8f [Master SecP SecO PriP PriO])
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
   I/O ports at 8440 [size=8]
   I/O ports at 8430 [size=4]
   I/O ports at 8420 [size=8]
   I/O ports at 8410 [size=4]
   I/O ports at 8400 [size=16]
   Memory at d0004000 (32-bit, non-prefetchable) [size=512]
   [virtual] Expansion ROM at 32000000 [disabled] [size=512K]
   Capabilities: [60] Power Management version 2
   Capabilities: [50] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80) (prog-if 10 [OHCI])
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 20
   Memory at d0005000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [d0] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80) (prog-if 10 [OHCI])
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 20
   Memory at d0006000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [d0] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80) (prog-if 20 [EHCI])
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 20
   Memory at d0007000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [dc] Power Management version 2
   Capabilities: [d0] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 81)
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: 66MHz, medium devsel
   I/O ports at 8040 [size=16]
   Memory at d0004400 (32-bit, non-prefetchable) [size=1K]

00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller ATI (rev 80) (prog-if 88 [Master SecP])
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 18
   I/O ports at <ignored>
   I/O ports at <ignored>
   I/O ports at <ignored>
   I/O ports at <ignored>
   I/O ports at 8460 [size=16]
   Capabilities: [70] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

00:14.2 Audio device: ATI Technologies Inc Unknown device 437b (rev 01)
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, slow devsel, latency 64, IRQ 11
   Memory at d0000000 (64-bit, non-prefetchable) [size=16K]
   Capabilities: [50] Power Management version 2
   Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-

00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80)
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, 66MHz, medium devsel, latency 0

00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80) (prog-if 01 [Subtractive decode])
   Flags: bus master, 66MHz, medium devsel, latency 64
   Bus: primary=00, secondary=09, subordinate=0e, sec-latency=64
   I/O behind bridge: 0000a000-0000afff
   Memory behind bridge: d0200000-d02fffff
   Prefetchable memory behind bridge: 30000000-31ffffff

01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M] (prog-if 00 [VGA])
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, 66MHz, medium devsel, latency 255, IRQ 21
   Memory at d4000000 (32-bit, prefetchable) [size=64M]
   I/O ports at 9000 [size=256]
   Memory at d0100000 (32-bit, non-prefetchable) [size=64K]
   [virtual] Expansion ROM at d0120000 [disabled] [size=128K]
   Capabilities: [50] Power Management version 2
   Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

09:01.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, medium devsel, latency 168, IRQ 16
   Memory at d0211000 (32-bit, non-prefetchable) [size=4K]
   Bus: primary=09, secondary=0a, subordinate=0d, sec-latency=176
   Memory window 0: 30000000-31fff000 (prefetchable)
   Memory window 1: 34000000-35fff000
   I/O window 0: 0000a400-0000a4ff
   I/O window 1: 0000a800-0000a8ff
   16-bit legacy interface ports at 0001

09:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, medium devsel, latency 64, IRQ 17
   I/O ports at a000 [size=256]
   Memory at d0210000 (32-bit, non-prefetchable) [size=256]
   Capabilities: [50] Power Management version 2

09:04.0 Ethernet controller: Atheros Communications, Inc. AR5005G 802.11abg NIC (rev 01)
   Subsystem: Askey Computer Corp. Unknown device 7094
   Flags: bus master, medium devsel, latency 168, IRQ 19
   Memory at d0200000 (32-bit, non-prefetchable) [size=64K]
   Capabilities: [44] Power Management version 2




cat /proc/cpuinfo

Code:

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : Intel(R) Celeron(R) M processor         1.60GHz
stepping        : 8
cpu MHz         : 1600.056
cache size      : 1024 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 clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up
bogomips        : 3204.36



kernel Configuration: (2.6.18-r3 )

CPU Scalling Driver: Intel Pentium 4 clock modulation
Sound: intel hda
Lan Card: Realtek 8139 PCI
SCSI Serial ata controller: Silicon SATA
IEEE802.11 Static in kernel
PCMCIA Yenta
ohci_hcd
ehci_hcd

**** VERY IMPORTANT ****
**** UPDATED ****
kernel parameters: (2.6.18-r3 )
"pci=noacpi" This will fix all the problems with the realtek card dying and the Sata controller loosing the connection... All because of pci irq conflicts from the buggy ACPI.

Packages to emerge:
Code:

synaptics
x11-apps/ati-drivers-extra-8.30.3
x11-drivers/ati-drivers-8.30.3-r1
acpid
net-wireless/madwifi-ng-0.9.2 (0.9.2.1 version makes my system hang while browsing internet in X/Gnome/Firefox)
net-wireless/madwifi-ng-tools-0.9.2


package.keywords:
Code:

x11-apps/ati-drivers-extra ~x86
x11-drivers/ati-drivers ~x86


make.conf:
Code:

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -mtune=pentium-m -pipe -O2"
CXXFLAGS="${CFLAGS}"
###these are only the basic USE flags.
USE="sse sse2 mmx nptl nptlonly"


xorg.conf:
Code:

Section "Module"
    Load        "dbe"     # Double buffer extension
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
# This loads the font modules
#    Load        "type1"
#    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"
# This loads the GLX module
    Load       "glx"
# This loads the DRI module
    Load       "dri"
# This loads synaptics touchpad driver
    Load   "synaptics"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"
    FontPath   "/usr/share/fonts/misc"
    FontPath   "/usr/share/fonts/75dpi"
    FontPath   "/usr/share/fonts/100dpi"
#    FontPath   "/usr/share/fonts/TTF"
    FontPath   "/usr/share/fonts/Type1"
#    FontPath   "/usr/lib/X11/fonts/local/"
#    FontPath   "/usr/lib/X11/fonts/misc/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/lib/X11/fonts/Type1/"
#    FontPath   "/usr/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/lib/X11/fonts/freefont/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/"
#    FontPath   "/usr/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.

    ModulePath "/usr/lib/xorg/modules"
    ModulePath "/usr/lib/modules"
    ModulePath "/usr/X11R6/lib/modules"
      
EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier   "Keyboard1"
    Driver   "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc104"
    Option "XkbLayout"   "us"
EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier   "Mouse1"
    Driver   "mouse"
    Option "Protocol"    "IMPS/2"   # IntelliMouse PS/2
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping"   "4 5 6 7"
EndSection

Section "InputDevice"
    Identifier   "Touchpad"
    Driver   "synaptics"
    Option   "Device"   "/dev/input/event1"
    Option   "Protocol"   "auto-dev"
    Option      "LeftEdge"      "1700"
    Option      "RightEdge"     "5300"
    Option      "TopEdge"       "1700"
    Option      "BottomEdge"    "4200"
    Option      "FingerLow"     "25"
    Option      "FingerHigh"    "30"
    Option      "MaxTapTime"    "180"
    Option      "MaxTapMove"    "220"
    Option      "VertScrollDelta" "100"
    Option      "MinSpeed"      "0.10"
    Option      "MaxSpeed"      "0.24"
    Option      "AccelFactor"   "0.0025"
    Option      "SHMConfig"     "on"
          
EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
    Identifier  "My Monitor"
    HorizSync   30-70
    VertRefresh 50-100
    Modeline "1280x800"   68.94  1280 1296 1312 1408  800 804 808 816
    Modeline "640x350"    68.94  640  1296 1312 1408  350 804 808 816
    Modeline "640x400"    68.94  640  1296 1312 1408  400 804 808 816
    Modeline "720x400"    68.94  720  1296 1312 1408  400 804 808 816
    Modeline "640x480"    68.94  640  1296 1312 1408  480 804 808 816
    Modeline "800x600"    68.94  800  1296 1312 1408  600 804 808 816
    Modeline "1024x768"   68.94  1024 1296 1312 1408  768 804 808 816
    Modeline "832x624"    68.94  832  1296 1312 1408  624 804 808 816
    Modeline "1152x768"   68.94  1152 1296 1312 1408  768 804 808 816
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
    Identifier   "Standard VGA"
    VendorName   "Unknown"
    BoardName   "Unknown"
    Driver     "vga"
EndSection

# === ATI device section ===

Section "Device"
    Identifier                          "ATI Radeon"
    Driver                              "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor  ===
    #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
# === misc DRI settings ===
    Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
    Option "DesktopSetup"               "0x00000000"
    Option "MonitorLayout"              "AUTO, AUTO"
    #Option "IgnoreEDID"                 "off"
    Option "HSync2"                     "unspecified"
    Option "VRefresh2"                  "unspecified"
    Option "ScreenOverlap"              "0"
# === TV-out Management ===
    #Option "NoTV"                       "yes"
    Option "TVStandard"                 "NTSC-M"
    Option "TVHSizeAdj"                 "0"
    Option "TVVSizeAdj"                 "0"
    Option "TVHPosAdj"                  "0"
    Option "TVVPosAdj"                  "0"
    Option "TVHStartAdj"                "0"
    Option "TVColorAdj"                 "0"
    Option "GammaCorrectionI"           "0x06419064"
    Option "GammaCorrectionII"          "0x00000000"
# === OpenGL specific profiles/settings ===
    Option "Capabilities"               "0x00000000"
# === Video Overlay for the Xv extension ===
    Option "VideoOverlay"               "off"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#       will be disabled automatically
    Option "OpenGLOverlay"              "on"
# === Center Mode (Laptops only) ===
    Option "CenterMode"                 "off"
# === Pseudo Color Visuals (8-bit visuals) ===
    Option "PseudoColorVisuals"         "off"
# === QBS Management ===
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
# === FSAA Management ===
    Option "FSAAEnable"                 "yes"
    Option "FSAAScale"                  "2"
    Option "FSAADisableGamma"           "no"
    Option "FSAACustomizeMSPos"         "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
# === Misc Options ===
    Option "UseFastTLS"                 "1"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "no"
    Option "ForceGenericCPU"            "no"
#    BusID "PCI:1:0:1"    # vendor=1002, device=496e
    Screen 0
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
    Identifier  "Screen 1"
    Device      "Ati Radeon"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x800" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
   
    Subsection "Display"
        Depth       16
        Modes       "1280x800" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
   
    Subsection "Display"
        Depth       24
        Modes       "1280x800" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Touchpad" "AlwaysCore"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "DRI"
    Mode 0666
EndSection


grub.conf:

Code:

timeout 4
default 0
fallback 1
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

title Gentoo, 2.6.18-gentoo-r3
root (hd0,1)
kernel (hd0,1)/boot/vmlinuz-2.6.18-gentoo-r3 ro root=/dev/sda2 vga=790 pci=noacpi

# For booting Windows NT or Windows95 (sda3)
title Windows NT/2000/XP/2003
rootnoverify (hd0,2)
chainloader  +1



PROS about this laptop:

The function keys for bright works great
The Touchpad enable/disable work by default. It seems to be hardware controlled.
The wifi card is very well supported.
CPU Scalling works great. (Intel Pentium 4 clock modulation)
ACPI works good (but remember to add pci=noacpi to the kernel)
DRI Opengl is supported with proper ATI drivers.
Nice Widescreen Resolution, 1280x800
SATA hard-disk. cheap and easy to upgrade the HD in the future.
Very Cheap Laptop.


CONS:

The touchpad should be disabled when you use a USB mouse, do it by pressing fn+F9. The USB mouse will stop working if you move the usb mouse and touch the touchpad at the same time.
Sound card doesn't work with alsa, even that alsaconfig detects the card and configure "modules.alsa".


This is just a rough HOWTO, I plan to improve it, and make it more complex as I get feedback.
Any recomendations are welcome
:D


*****LAST UPDATE: Tue Dec 12 18:57:41 ICT 2006 *****


Last edited by brfsa on Tue Dec 12, 2006 11:58 am; edited 1 time in total
Back to top
View user's profile Send private message
Alexandr
n00b
n00b


Joined: 06 Sep 2005
Posts: 11
Location: Ukraine

PostPosted: Mon Dec 11, 2006 7:38 pm    Post subject: Reply with quote

On my Toshiba Equium L20 sound works fine.
Just compiled it into kernel:

ALSA + ATI IXP AC97 Controller

and it's works fine :)

P.S. 2.6.18-gentoo-r3 (from 2006.1)
Back to top
View user's profile Send private message
brfsa
Tux's lil' helper
Tux's lil' helper


Joined: 01 Aug 2005
Posts: 121
Location: Brazil

PostPosted: Tue Dec 12, 2006 12:00 pm    Post subject: Reply with quote

Alexandr, please provide more information.
lspci -v
lspci -vnnn

is Equium the same as Satellite?
Back to top
View user's profile Send private message
step
Apprentice
Apprentice


Joined: 16 May 2002
Posts: 198

PostPosted: Tue Dec 12, 2006 12:21 pm    Post subject: Reply with quote

emerge alsamixer
and then unmute what ever is needed.

For more information, see http://www.gentoo.org/doc/en/alsa-guide.xml
Back to top
View user's profile Send private message
Alexandr
n00b
n00b


Joined: 06 Sep 2005
Posts: 11
Location: Ukraine

PostPosted: Tue Dec 12, 2006 3:33 pm    Post subject: Reply with quote

is Equium the same as Satellite?

not sure, but i think yes... anyway, others told me that it's the same...

lspci -v
Code:
00:00.0 Host bridge: ATI Technologies Inc Unknown device 5a31 (rev 01)
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, 66MHz, medium devsel, latency 64

00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge (prog-if 00 [Normal decode])
   Flags: bus master, 66MHz, medium devsel, latency 64
   Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
   I/O behind bridge: 00009000-00009fff
   Memory behind bridge: d0100000-d01fffff
   Prefetchable memory behind bridge: d8000000-dfffffff
   Capabilities: [b0] #0d [0000]

00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (prog-if 10 [OHCI])
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
   Memory at d0000000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [d0] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (prog-if 10 [OHCI])
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
   Memory at d0001000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [d0] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (prog-if 20 [EHCI])
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
   Memory at d0002000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [dc] Power Management version 2
   Capabilities: [d0] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 11)
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: 66MHz, medium devsel
   I/O ports at 8040 [size=16]
   Memory at d0003000 (32-bit, non-prefetchable) [size=1K]

00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller ATI (prog-if 8a [Master SecP PriP])
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 18
   I/O ports at <ignored>
   I/O ports at <ignored>
   I/O ports at <ignored>
   I/O ports at <ignored>
   I/O ports at 8410 [size=16]
   Capabilities: [70] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, 66MHz, medium devsel, latency 0

00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (prog-if 01 [Subtractive decode])
   Flags: bus master, 66MHz, medium devsel, latency 64
   Bus: primary=00, secondary=09, subordinate=0e, sec-latency=64
   I/O behind bridge: 0000a000-0000afff
   Memory behind bridge: d0200000-d02fffff
   Prefetchable memory behind bridge: 20000000-21ffffff

00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC'97 Audio Controller (rev 02)
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, 66MHz, slow devsel, latency 64, IRQ 20
   Memory at d0003400 (32-bit, non-prefetchable) [size=256]
   Capabilities: [40] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

00:14.6 Modem: ATI Technologies Inc ATI SB400 - AC'97 Modem Controller (rev 02) (prog-if 00 [Generic])
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, 66MHz, slow devsel, latency 64, IRQ 11
   Memory at d0003800 (32-bit, non-prefetchable) [size=256]
   Capabilities: [40] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M] (prog-if 00 [VGA])
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, 66MHz, medium devsel, latency 255, IRQ 20
   Memory at d8000000 (32-bit, prefetchable) [size=128M]
   I/O ports at 9000 [size=256]
   Memory at d0100000 (32-bit, non-prefetchable) [size=64K]
   [virtual] Expansion ROM at d0120000 [disabled] [size=128K]
   Capabilities: [50] Power Management version 2
   Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

09:01.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, medium devsel, latency 168, IRQ 16
   Memory at d0211000 (32-bit, non-prefetchable) [size=4K]
   Bus: primary=09, secondary=0a, subordinate=0d, sec-latency=176
   Memory window 0: 20000000-21fff000 (prefetchable)
   Memory window 1: 22000000-23fff000
   I/O window 0: 0000a400-0000a4ff
   I/O window 1: 0000a800-0000a8ff
   16-bit legacy interface ports at 0001

09:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
   Subsystem: Toshiba America Info Systems Unknown device ff31
   Flags: bus master, medium devsel, latency 64, IRQ 17
   I/O ports at a000 [size=256]
   Memory at d0210000 (32-bit, non-prefetchable) [size=256]
   Capabilities: [50] Power Management version 2

09:04.0 Ethernet controller: Atheros Communications, Inc. AR5005G 802.11abg NIC (rev 01)
   Subsystem: Askey Computer Corp. Unknown device 7094
   Flags: bus master, medium devsel, latency 80, IRQ 11
   Memory at d0200000 (32-bit, non-prefetchable) [size=64K]
   Capabilities: [44] Power Management version 2



lspci -vnnn
Code:
00:00.0 0600: 1002:5a31 (rev 01)
   Subsystem: 1179:ff31
   Flags: bus master, 66MHz, medium devsel, latency 64

00:01.0 0604: 1002:5a3f
   Flags: bus master, 66MHz, medium devsel, latency 64
   Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
   I/O behind bridge: 00009000-00009fff
   Memory behind bridge: d0100000-d01fffff
   Prefetchable memory behind bridge: d8000000-dfffffff
   Capabilities: [b0] #0d [0000]

00:13.0 0c03: 1002:4374 (prog-if 10)
   Subsystem: 1179:ff31
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
   Memory at d0000000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [d0] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

00:13.1 0c03: 1002:4375 (prog-if 10)
   Subsystem: 1179:ff31
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
   Memory at d0001000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [d0] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

00:13.2 0c03: 1002:4373 (prog-if 20)
   Subsystem: 1179:ff31
   Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
   Memory at d0002000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [dc] Power Management version 2
   Capabilities: [d0] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

00:14.0 0c05: 1002:4372 (rev 11)
   Subsystem: 1179:ff31
   Flags: 66MHz, medium devsel
   I/O ports at 8040 [size=16]
   Memory at d0003000 (32-bit, non-prefetchable) [size=1K]

00:14.1 0101: 1002:4376 (prog-if 8a)
   Subsystem: 1179:ff31
   Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 18
   I/O ports at <ignored>
   I/O ports at <ignored>
   I/O ports at <ignored>
   I/O ports at <ignored>
   I/O ports at 8410 [size=16]
   Capabilities: [70] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

00:14.3 0601: 1002:4377
   Subsystem: 1179:ff31
   Flags: bus master, 66MHz, medium devsel, latency 0

00:14.4 0604: 1002:4371 (prog-if 01)
   Flags: bus master, 66MHz, medium devsel, latency 64
   Bus: primary=00, secondary=09, subordinate=0e, sec-latency=64
   I/O behind bridge: 0000a000-0000afff
   Memory behind bridge: d0200000-d02fffff
   Prefetchable memory behind bridge: 20000000-21ffffff

00:14.5 0401: 1002:4370 (rev 02)
   Subsystem: 1179:ff31
   Flags: bus master, 66MHz, slow devsel, latency 64, IRQ 20
   Memory at d0003400 (32-bit, non-prefetchable) [size=256]
   Capabilities: [40] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

00:14.6 0703: 1002:4378 (rev 02)
   Subsystem: 1179:ff31
   Flags: bus master, 66MHz, slow devsel, latency 64, IRQ 11
   Memory at d0003800 (32-bit, non-prefetchable) [size=256]
   Capabilities: [40] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

01:05.0 0300: 1002:5a62
   Subsystem: 1179:ff31
   Flags: bus master, 66MHz, medium devsel, latency 255, IRQ 20
   Memory at d8000000 (32-bit, prefetchable) [size=128M]
   I/O ports at 9000 [size=256]
   Memory at d0100000 (32-bit, non-prefetchable) [size=64K]
   [virtual] Expansion ROM at d0120000 [disabled] [size=128K]
   Capabilities: [50] Power Management version 2
   Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

09:01.0 0607: 104c:ac56
   Subsystem: 1179:ff31
   Flags: bus master, medium devsel, latency 168, IRQ 16
   Memory at d0211000 (32-bit, non-prefetchable) [size=4K]
   Bus: primary=09, secondary=0a, subordinate=0d, sec-latency=176
   Memory window 0: 20000000-21fff000 (prefetchable)
   Memory window 1: 22000000-23fff000
   I/O window 0: 0000a400-0000a4ff
   I/O window 1: 0000a800-0000a8ff
   16-bit legacy interface ports at 0001

09:02.0 0200: 10ec:8139 (rev 10)
   Subsystem: 1179:ff31
   Flags: bus master, medium devsel, latency 64, IRQ 17
   I/O ports at a000 [size=256]
   Memory at d0210000 (32-bit, non-prefetchable) [size=256]
   Capabilities: [50] Power Management version 2

09:04.0 0200: 168c:001a (rev 01)
   Subsystem: 144f:7094
   Flags: bus master, medium devsel, latency 80, IRQ 11
   Memory at d0200000 (32-bit, non-prefetchable) [size=64K]
   Capabilities: [44] Power Management version 2
Back to top
View user's profile Send private message
brfsa
Tux's lil' helper
Tux's lil' helper


Joined: 01 Aug 2005
Posts: 121
Location: Brazil

PostPosted: Tue Dec 12, 2006 4:31 pm    Post subject: Reply with quote

it is not the same...
the Chipset revision is different, but most of it is same...
you probably have the white/silver one
I got the Black color one.

believe it or not, you can get this laptop for 420 Dollars here in Thailand...
with the spec (256DDR2, 40gb, 1.6CeLeRon)
Back to top
View user's profile Send private message
chidorex
n00b
n00b


Joined: 27 Nov 2006
Posts: 36
Location: Mexico City

PostPosted: Sat Dec 16, 2006 4:17 pm    Post subject: Reply with quote

I have question regarding the CPU type I should use for the -march flag under CFLAGS (make.conf).

I have a Toshiba Satellite A45-S120 with a Celeron 2.6GHz. It is faster than a Pentium3 but not quite a Pentium4. AFAIK, this Celeron family has a FPU and MMX, but is lacking something to put it in the P4 category.
The make.conf.example file lists "pentium2" as the flag to use for a Celeron machine, but I think pentium2 is way too old.
Should I use a "pentium4" flag? To be on the safe side I currently use "i686".

EDIT: I found this article in the forums. Comments are welcomed:
https://forums.gentoo.org/viewtopic-t-508010-highlight-march+celeron.html


Another question. On the gcc website, it mentions both -mcpu and -march are deprecated and moving towards using -mtune. Any news for us gentoo users?

Thanks.
_________________
All things are subject to interpretation. Whichever interpretation prevails at a given time is a function of power and not truth.
Friedrich Nietzsche
Back to top
View user's profile Send private message
brfsa
Tux's lil' helper
Tux's lil' helper


Joined: 01 Aug 2005
Posts: 121
Location: Brazil

PostPosted: Sun Dec 17, 2006 4:09 pm    Post subject: Reply with quote

mcpu is outdated...
march not sure...
use mtune as I put in my make.conf example above.

for sure you can use Pentium4 in your make.conf.
the Celeron you have is a cheaper version of P4, just smaller L1 and L2 Cache as I know....
Back to top
View user's profile Send private message
chidorex
n00b
n00b


Joined: 27 Nov 2006
Posts: 36
Location: Mexico City

PostPosted: Sun Dec 17, 2006 6:27 pm    Post subject: Reply with quote

brfsa wrote:
mcpu is outdated...
march not sure...
use mtune as I put in my make.conf example above.

Great. I'll do just that.
Quote:
for sure you can use Pentium4 in your make.conf.
the Celeron you have is a cheaper version of P4, just smaller L1 and L2 Cache as I know....

That's cool. Maybe I'll get some speed improvements (??). Smaller apps?

Thanks brfsa.
_________________
All things are subject to interpretation. Whichever interpretation prevails at a given time is a function of power and not truth.
Friedrich Nietzsche
Back to top
View user's profile Send private message
klightspeed
n00b
n00b


Joined: 26 Feb 2007
Posts: 6
Location: Tropical Bowen

PostPosted: Mon Feb 26, 2007 5:20 pm    Post subject: Reply with quote

The Toshiba Satellite L30 notebook routes its sound in an unusual way.

/proc/asound/card0/codec#0
Code:

Codec: Realtek ALC861
Address: 0
Vendor Id: 0x10ec0861
Subsystem Id: 0x1179820d
Revision Id: 0x100300
Default PCM:
    rates [0x140]: 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Amp-Out caps: N/A
  Amp-Out vals:  [0x00 0x00]
  Power: 0x0
Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Amp-Out caps: N/A
  Amp-Out vals:  [0x00 0x00]
  Power: 0x0
Node 0x05 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Amp-Out caps: N/A
  Amp-Out vals:  [0x00 0x00]
  Power: 0x0
Node 0x06 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Amp-Out caps: N/A
  Amp-Out vals:  [0x00 0x00]
  Power: 0x0
Node 0x07 [Audio Output] wcaps 0x605: Stereo Digital Amp-Out
  Amp-Out caps: N/A
  Amp-Out vals:  [0x00 0x00]
  Power: 0x0
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x02, nsteps=0x0d, stepsize=0x0b, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  PCM:
    rates [0x140]: 48000 96000
    bits [0x2]: 16
    formats [0x1]: PCM
  Power: 0x0
  Connection: 6
     0x0d* 0x0c 0x0f 0x10 0x11 0x15
Node 0x09 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x081f: OUT HP Detect
  Pin Default 0x99030110: [Fixed] Line Out at Int ATAPI
    Conn = ATAPI, Color = Unknown
  Pin-ctls: 0x40: OUT
  Power: 0x0
  Connection: 1
     0x16
Node 0x0c [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x0837: IN OUT Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x40: OUT
  Power: 0x0
  Connection: 1
     0x19
Node 0x0d [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x08337: IN OUT Detect
  Pin Default 0x01a11820: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x40: OUT
  Power: 0x0
  Connection: 1
     0x18
Node 0x0e [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x0817: OUT Detect
  Pin Default 0x0121101f: [Jack] HP Out at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x00:
  Power: 0x0
  Connection: 1
     0x19
Node 0x0f [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x0833f: IN OUT HP Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0xc0: OUT HP
  Power: 0x0
  Connection: 1
     0x1a
Node 0x10 [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x0833f: IN OUT HP Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x24: IN
  Power: 0x0
  Connection: 1
     0x1b
Node 0x11 [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x0863: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x00:
Node 0x12 [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x0810: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x07
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x0d 0x10
Node 0x15 [Audio Mixer] wcaps 0x20050f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x0c, nsteps=0x17, stepsize=0x0b, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x0c, nsteps=0x0c, stepsize=0x0b, mute=1
  Amp-Out vals:  [0x80 0x80]
  Power: 0x0
  Connection: 3
     0x11 0x14 0x1c
Node 0x16 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x03 0x15
Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x04 0x15
Node 0x18 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x05 0x15
Node 0x19 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x06 0x15
Node 0x1a [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x00 0x00]
  Connection: 4
     0x04 0x06 0x15 0x03
Node 0x1b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 4
     0x04 0x06 0x15 0x03
Node 0x1c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x0c 0x0f
Node 0x1d [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1f [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x0817: OUT Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x00:
  Power: 0x0
  Connection: 1
     0x18
Node 0x20 [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x0817: OUT Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x00:
  Power: 0x0
  Connection: 1
     0x17
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x23 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1
  Amp-Out vals:  [0x8f]


I discovered that the sixth channel goes to the microphone left channel:
Code:

modprobe snd-hda-intel model=3stack
amixer sset "Channel Mode" 6ch
aplay -Dsurround51 -traw -r48000 -c6 -fS16 -d10 /dev/urandom


It appears that the front speakers are connected to the front DAC, the microphone is connected to the centre/LFE DAC, and the headphones are connected to the surround DAC.

It would be good if there were an interface to tell the driver how to configure the sound.

I wonder whether there is a way to dump the low-level HD-Audio configuration under windows?
Back to top
View user's profile Send private message
brfsa
Tux's lil' helper
Tux's lil' helper


Joined: 01 Aug 2005
Posts: 121
Location: Brazil

PostPosted: Mon Feb 26, 2007 6:33 pm    Post subject: Reply with quote

hey klightspeed, did you get the sound working?
i don't have sound since a bought it, (6 months)

i will try your settings, if it works...
Back to top
View user's profile Send private message
klightspeed
n00b
n00b


Joined: 26 Feb 2007
Posts: 6
Location: Tropical Bowen

PostPosted: Tue Feb 27, 2007 3:46 am    Post subject: Reply with quote

brfsa wrote:
hey klightspeed, did you get the sound working?
i don't have sound since a bought it, (6 months)

i will try your settings, if it works...


I'm able to get sound out of the left channel of the microphone if I feed 6 channels of sound to it when snd-hda-intel is fed the model=3stack option, and the mixer is put into 6 channel mode.

To get more, we'd need to hack the patch_realtek part of the snd-hda-codec driver.
I think that it would need to be set it up so that either (1) the same stream goes to DACs 1 and 4, or (2) DACs 1 and 4 act as separate PCMs.
I also think that the speaker amplifier may use one of the voltage references as an enable / disable signal.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum