Search:  
Gentoo Wiki

Dell_Inspiron_1521

Contents

Hardware Specifications

CPUAMD Turion(tm) 64 X2 Mobile Technology TL-56
Memory2048 MB DDR II
GraphicsATi Radeon Mobility RS690M, in the X1200 family
Harddrive160 GB
Optical-DriveTSSTcorp DVD±RW
SoundcardATi SB600 Azalia (SigmaTel STAC9205)
CardReaderSD/SDIO/MMC/MS/MSPro
NetworkBroadcom BCM4401-B0 100Base-TX
Wireless-LANBroadcom BCM4312 802.11a/b/g
USB6x - only 4 external
FireWireRicoh R5C832

Here are the outputs of lspci:

Code: Output of lspci
00:00.0 Host bridge: ATI Technologies Inc RS690 Host Bridge
00:01.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (Internal gfx)
00:05.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 1)
00:07.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 3)
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 14)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS690M [Radeon X1200 Series]
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
03:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
0b:00.0 Network controller: Broadcom Corporation BCM4312 802.11a/b/g (rev 01)

General questions

i386 or AMD64?

If in doubt, consult the article HOWTO_AMD64. Info stolen from Dell_Inspiron_1721, a very similar page to this one. I personally use i386 since some of the non-gentoo packages I use are still not 64-bit stable.

Setting make.conf and portage/package.keywords

I use Gentoo/x86 with the following config (using gcc 4.3.1-r1):

File: make.conf
CFLAGS="-O2 -march=i686 -mtune=athlon64 -pipe" 
#### "-frename_registers -funswitch_loops"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"

# Do 3 compiles at a time
MAKEOPTS="-j2"

# Set local USE flags
USE="a52 aac acpi alsa avahi cairo cdr crypt css cups curl curlwrappers cxx dbus dvd dvdr dvdread emacs encode examples firefox ftp gtk gnome gnome-keyring gnutls gstreamer hal ieee1394 imagemagick jbig java javascript jpeg jpeg2k -kde mng mozilla mp3 mpeg mplayer musepack mythtv nntp ogg pdf python -qt3 -qt4 raw readline recode samba sharedmem sockets source spell sse sse2 ssl startup-notification subversion theora threads v4l v4l2 vcd vorbis wavpack wifi win32codecs wmf X x264 xemacs xine xprint xscreensaver xv xvid zlib"
File: portage/package.use
# Brand Gnome for Gentoo
gnome-base/gnome-session  branding

# Enable Avahi
net-dns/avahi             mdnsresponder-compat

# Build Qt with MySQL and OpenGL support
x11-libs/qt               mysql opengl
x11-libs/qt-core          mysql opengl
x11-libs/qt-qt3support    mysql opengl
x11-libs/qt-assistant     mysql opengl
x11-libs/qt-xmlpatterns   mysql opengl
x11-libs/qt-opengl        mysql opengl
x11-libs/qt-test          mysql opengl
x11-libs/qt-svg           mysql opengl
x11-libs/qt-sql           mysql opengl
x11-libs/qt-gui           mysql opengl
x11-libs/qt-script        mysql opengl
x11-libs/qt-dbus          mysql opengl

# Build MythTV XvMC and HDhomerun
media-tv/mythtv           xvmc hdhomerun
File: portage/package.unmask
# permit using GCC 4.3.1
*sys-devel/gcc           ~x86
*sys-devel/gcc-config    ~x86
*sys-devel/kgcc64        ~x86
*sys-devel/binutils      ~x86
*sys-devel/crossdev      ~x86
*x11-sys/gccmakedep      ~x86
*sys-libs/lib-stdc++     ~x86

# enable 7-zip graphics interface
app-arch/q7z             ~x86
app-arch/p7zip           ~x86

# enable X11 support for all the ATI stuff
*x11-base/xorg-x11       ~x86
*x11-base/xorg-server    ~x86
*x11-base/xdirectfb      ~x86
*x11-base/kdrive         ~x86 video_cards_mach64 video_cards_r128 video_cards_radeon
*x11-libs/libdrm         ~x86 video_cards_mach64 video_cards_r128 video_cards_radeon
*x11-base/x11-drm        ~x86 video_cards_mach64 video_cards_r128 video_cards_radeon
*x11-drivers/ati-drivers ~x86 video_cards_mach64 video_cards_r128 video_cards_radeon
*x11-drivers/xf86-video-ati ~x86 video_cards_mach64 video_cards_r128 video_cards_radeon
*x11-drivers/xf86-video-mach64 ~x86 video_cards_mach64 video_cards_r128 video_cards_radeon
*x11-drivers/xf86-video-r128 ~x86 video_cards_mach64 video_cards_r128 video_cards_radeon
*x11-drivers/xf86-input-keyboard ~x86 video_cards_mach64 video_cards_r128 video_cards_radeon
*x11-libs/libXrender     ~x86
*x11-libs/xtrans         ~x86
*x11-proto/renderproto   ~x86
*x11-proto/xf86driproto  ~x86
*media-libs/mesa         ~x86

# Get Qt working on the config above
*x11-base/xorg-server             ~x86
=x11-base/xorg-server-1.4.99      ~x86
*x11-proto/dri2proto              ~x86
=x11-libs/libdrm-2.3.1*           ~x86
*x11-drivers/xf86-input-synaptics ~x86
*net-dns/avahi                    ~x86
*sys-apps/pkgcore                 ~x86
*dev-python/snakeoil              ~x86
*app-portage/maintainer-helper    ~x86
*dev-libs/elfutils                ~x86
*x11-libs/qt                      ~x86
*x11-libs/qt-core                 ~x86
*x11-libs/qt-qt3support           ~x86
*x11-libs/qt-assistant            ~x86
*x11-libs/qt-xmlpatterns          ~x86
*x11-libs/qt-opengl               ~x86
*x11-libs/qt-test                 ~x86
*x11-libs/qt-svg                  ~x86
*x11-libs/qt-sql                  ~x86
*x11-libs/qt-gui                  ~x86
*x11-libs/qt-script               ~x86
*x11-libs/qt-dbus                 ~x86

# enable Gnome stuff (trying to get ALSA and MythTV working)
*net-print/gnome-cups-manager     ~x86
*dev-python/PyQt4                 ~x86
*dev-python/sip                   ~x86
*media-sound/alsa-headers         ~x86
*media-sound/alsa-driver          ~x86
*media-sound/alsaplayer           ~x86
*media-tv/mythtv                  ~x86
*x11-themes/mythtv-themes         ~x86

Drivers

=== Generalhomer

Status ===

As of kernel 2.6.25 everything works except the wireless and sound (will expand on this later). Graphics support is not perfect and even a simple desktop requires a lot of ~x86 enabling. Sound still has a way to go.

Lightly tested:

Not tested:

Everything else is pretty evident, the hints will follow only for the things I needed googling for.

Wi-Fi

BCM4312

See the guide.

X.org

I am pretty new to setting up X and a window manager on my own (coming from Ubuntu), but the desktop on the LiveCD worked well and the Gnome desktop is working quite well. I have not tried KDE or any of the less common window managers, though.

Software

Window manager suggestions

The choice of the window manager is always a very personal issue. Still there are some hardware-dependent ideas that could be taken in account while making choice.

The Dell Inspiron 1521 laptop can have a lot of screen real estate (mine is 1920x1200), so tiling window managers (x11-wm/dwm, x11-wm/wmii, x11-wm/larswm, x11-wm/awesome or x11-wm/xmonad) may be quite useful, even though I do not use one.

Retrieved from "http://www.gentoo-wiki.info/Dell_Inspiron_1521"

Last modified: Mon, 01 Sep 2008 08:22:00 +0000 Hits: 642