Installing Slackware Linux on a Fujitsu Lifebook B2569



This page contains notes about installing Linux on the Fujitsu-Siemens B2569 subnotebook.

The Linux distribution used is Slackware Linux 10.1 with kernel 2.4.29.

DISCLAIMER: This information is provided for your reference only. It was tested successfully with Slackware 10.1. Do not contact me by e-mail as I am not a Linux helpdesk. I will not answer any question related to configuration issues.

The latest BIOS for this laptop is version 1.24 but use at your own risk! Flashing your BIOS can destroy your laptop permanently!!! You should only flash the BIOS as a last resort. If your laptop works fine, then do not flash the BIOS.

The datasheet for this laptop is here.


Contents


Overview

ComponentStatus under LinuxNotes
Intel® Mobile PIII 700MHZ with SpeedStep technologyWorksSpeedStep not supported by kernel 2.4.29
256MB SDRAM (PC100)Works 
10.4" in TFT LCD screen with Touchscreen TechnologyWorksInstall 3rd party driver for touchscreen
ATI 3D Rage Mobility M Graphics Controller (8 Mb)WorksAdditional tweaking for OpenGL required
Intel® 82440MX AC'97 Audio ControllerWorksDetected as 2nd card by ALSA
Intel® 82440MX USB ControllerWorks 
Fujitsu MHN2200AT 20.0GB ATA Hard Disk (UDMA 33)Works 
Modular Floppy DriveWorks 
Integrated Realtek RTL8139/8139C/8139C+(rev10) Ethernet ControllerWorks 
Infrared PortWorksFIR mode has problems
Intel® 82440MX AC'97 Modem ControllerWorksDetected as 1st card by ALSA
Integrated Bluetooth moduleNot tested 
2x PCMCIA O2 Micro OZ6933 Cardbus ControllersWorks 
Li-Ion BatteryWorks 


Configure the graphics adapter

  1. Start with default configuration

  2. To setup a default X configuration, the Xorg distribution provides several tools: xorgcfg, xorgsetup or xorgconfig. These are available in the /usr/X11R6/bin directory and must be run as user 'root'.

    I have used xorgconfig to setup a default configuration. This program will write a new xorg.conf file in the directory /etc/X11/.

  3. Adding an optional USB mouse

  4. For the X environment I use an external USB mouse as well. This mouse will not always be connected and therefore, only must be detected by Xorg when attached. In order to use both the PS/2 mouse of the laptop itself, and also the USB mouse, the xorg.conf file needs to be adjusted.

    In xorg.conf add a section "InputDevice". The external USB mouse has a scrollbutton as well:
    Section		"InputDevice"
    	Identifier	"Usbmouse"
    	Driver		"mouse"
    	Option		"Protocol"		"IMPS/2"
    	Option		"Device"		"/dev/input/mice"
    	Option		"ZAxisMapping"		"4 5"
    	Option		"Buttons"		"5"
    EndSection
    

    At the section "ServerLayout" configure the optional mouse as "AlwaysCore":
    InputDevice		"Usbmouse"		"AlwaysCore"
    

    Now when X starts and the USB mouse is attached, I can use both the PS/2 mouse of the laptop and also the USB mouse. If the USB mouse is detached, X will start without any problems, and I can use the PS/2 mouse of the laptop.

    My xorg.conf file is here. The TouchScreen driver for X is explained later.

  5. Enabling OpenGL

  6. The standard ATI driver of Xorg does not support hardware acceleration. In order to get this working, the DRI Mesa package must be installed. This installation appears to be very smooth.

    First download the latest mach64-<date>-linux.i386.tar.bz2 package. This package is created for the Xorg X-server.

    Exit X, bunzip and untar the package, and as user 'root' start the script install.sh in the 'dripkg' directory. It will perform compilation and installation. Of course the GCC compiler must be available in your Linux installation.

    The install script *should* finish without errors. Now start X again, and run the tool glxinfo. The output of this tool should look like:
    peter@atmosphere:~$ glxinfo
    name of display: :0.0
    display: :0  screen: 0
    direct rendering: Yes
    server glx vendor string: SGI
    server glx version string: 1.2
    server glx extensions:
       GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
       GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
       GLX_SGIS_multisample, GLX_SGIX_fbconfig
    client glx vendor string: SGI
    client glx version string: 1.4
    client glx extensions:
       GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
       GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
       GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
       GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
       GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
       GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
       GLX extensions:
       GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
       GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control,
       GLX_MESA_swap_frame_usage, GLX_SGI_video_sync, GLX_SGIS_multisample
    OpenGL vendor string: Gareth Hughes, Leif Delgass, José Fonseca
    OpenGL renderer string: Mesa DRI Mach64 [Rage Pro] 20030502 x86/MMX/SSE
    OpenGL version string: 1.2 Mesa 6.3
    OpenGL extensions:
       GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_transpose_matrix,
       GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
       GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
       GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture,
       GL_EXT_draw_range_elements, GL_EXT_histogram, GL_EXT_packed_pixels,
       GL_EXT_polygon_offset, GL_EXT_rescale_normal,
       GL_EXT_separate_specular_color, GL_EXT_subtexture, GL_EXT_texture,
       GL_EXT_texture3D, GL_EXT_texture_edge_clamp, GL_EXT_texture_object,
       GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_IBM_rasterpos_clip,
       GL_MESA_ycbcr_texture, GL_MESA_window_pos, GL_NV_light_max_exponent,
       GL_NV_texgen_reflection, GL_OES_read_format, GL_SGI_color_matrix,
       GL_SGI_color_table, GL_SGIS_generate_mipmap, GL_SGIS_texture_edge_clamp,
       GL_SGIS_texture_lod
    glu version: 1.3
    glu extensions:
       GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
    
    visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
    id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
    ----------------------------------------------------------------------
    0x23 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
    0x24 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
    0x25 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
    0x26 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
    0x27 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
    0x28 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
    0x29 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
    0x2a 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
    0x2b 16 dc  0 16  0 r  .  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
    0x2c 16 dc  0 16  0 r  .  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
    0x2d 16 dc  0 16  0 r  .  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
    0x2e 16 dc  0 16  0 r  .  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
    0x2f 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
    0x30 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
    0x31 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
    0x32 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
    

    It is important that the line "direct rendering: Yes" shows up. To get hardware acceleration working for normal users, the following lines must be added to xorg.conf:
    Section "DRI"
    	Mode 0666
    EndSection
    
    The OpenGL testprogram 'glxgears' should reach a framerate per second (FPS) of at least 200.

  7. Enabling the Euro symbol

  8. Finally, I want to use the Euro currency symbol € as well. Adapt the keyboard section as follows:
    Section	"InputDevice"
    	Identifier	"Keyboard0"
    	Driver		"kbd"
    	Option		"XkbLayout" "us_intl"
    	Option		"RightAlt" "ModeShift"
    EndSection
    

    The last option will listen to an <ALT-gr>+<5> key combination and produce the Euro symbol € in your GTK based applications. With Mozilla, switch to Western (ISO8859-15) in the menu 'VIEW -> CHARACTER ENCODING'. To enable the Euro symbol for other applications, take a look at the Euro HOWTO.


Configure the touchscreen

  1. Get touchscreen driver (precompiled binary)

  2. The lifebook touchscreen driver was written by Kenan Esau. His website can be found here. The site provides a driver for 2.4 kernels and also a driver for 2.6 kernels. The downloadable binary drivers are compiled against XFree 4.2. However, since Slackware 10, XFree was replaced for Xorg.

    I have recompiled the unchanged sources of Kenan's driver against the Xorg sources using the default 2.4.29 kernel.

    Download binary touchscreen driver for Xorg 6.8.1: lifebook-xorg-6.8.1.tar.gz.

    Copy the file lbtouch_drv.o to the directory '/usr/X11R6/lib/modules/input/'.


  3. Change the Xorg configuration file

  4. Now change the file '/etc/X11/xorg.conf' for the driver to take effect. The changes are described in the file 'INSTALL' which is part of the driver package.

    For detailed options and explanations on finetuning please visit the website of Kenan.

    My xorg.conf file is here.


Configure sound with ALSA

  1. Setup default configuration

  2. After a default installation of Slackware 10, the sound will be enabled by the Advanced Linux Sound Architecture (ALSA).

    First run the tool alsaconf to detect and configure the integrated soundcard.

    When finished, perform the command cat /proc/asound/cards:
    0 [Modem          ]: ICH-MODEM - Intel 440MX Modem
                         Intel 440MX Modem at 0x1400, irq 9
    1 [I440MX         ]: ICH - Intel 440MX
                         Intel 440MX with STAC9721/23 at 0x1000, irq 9
    

  3. Adjust ALSA configfile manually

  4. So the soundcard is detected at position 1. Now, adjust the file '/etc/modules.conf' to the following:
    # --- BEGIN: Generated by ALSACONF, do not edit. ---
    # --- ALSACONF verion 1.0.8 ---
    alias char-major-116 snd
    alias char-major-14 soundcore
    alias sound-service-0-0 snd-mixer-oss
    alias sound-service-0-1 snd-seq-oss
    alias sound-service-0-3 snd-pcm-oss
    alias sound-service-0-8 snd-seq-oss
    alias sound-service-0-12 snd-pcm-oss
    alias snd-card-0 snd-intel8x0
    alias sound-slot-0 snd-intel8x0
    alias sound-service-1-0 snd-mixer-oss
    alias sound-service-1-3 snd-pcm-oss
    alias sound-service-1-12 snd-pcm-oss
    # --- END: Generated by ALSACONF, do not edit. ---
    
    This will put OSS emulation also to the sound device at position 1.

    You might need to relink your /dev/dsp and /dev/mixer, as user 'root' (of course), since these may be referred to by your Window Manager:
    cd /dev
    rm dsp
    ln -s dsp1 dsp
    rm mixer
    ln -s mixer1 mixer
    

    Instead, a configuration file /etc/asound.conf can be created to force the soundcard at position 0, ignoring the modem. Run vi /etc/asound.conf and fill in the following:
    pcm.!default {
    type hw
    card 1
    }
    
    ctl.!default {
    type hw
    card 0
    }
    
    After a reboot, the ALSA modules will detect the soundcard at position 0. Also the mixer will be put at position 0 now.

    EDIT: there is another way, by defining the indexnumber for each card. Enter the following to the file '/etc/modules.conf' and reload ALSA:
    options snd-intel8x0 index=0
    options snd-usb-audio index=1 (if you have USB boxes connected)
    

  5. Switch on the volume

  6. Now switch on the volume on the channels you need. Issue the command alsamixer -c 1.

    This will start a menu-based mixer for the device at position 1. If you created the /etc/asound.conf file, just run the command alsamixer. With the <M>-key each individual channel can be enabled. After enabling, put the volumes of each channel to your default initialization volume.

    Finally, store the volume settings with the command alsactl store.

  7. Mmap to ALSA device

  8. Some older applications and games perform an MMAP to the ALSA OSS emulation. Sometimes the sound may not be working. In order to get the application working with ALSA, perform the following command, assuming the game Quake:
    echo "glquake 0 0 direct" > /proc/asound/card1/pcm0p/oss
    
    So the name of the actual binary glquake will be put into the 'oss' file. You can make this permanent by adding this line to '/etc/rc.d/rc.local'.

    If you created the /etc/asound.conf file, echo to card0 instead of card1:
    echo "glquake 0 0 direct" > /proc/asound/card0/pcm0p/oss
    


Configure integrated modem

  1. Find device with ALSA

  2. After running the tool alsaconf the modem will be found at device 0:
    root@atmosphere:~# cat /proc/asound/cards
    0 [Modem          ]: ICH-MODEM - Intel 440MX Modem
                         Intel 440MX Modem at 0x1400, irq 9
    1 [I440MX         ]: ICH - Intel 440MX
                         Intel 440MX with STAC9721/23 at 0x1000, irq 9
    

  3. Download SMARTLINK driver

  4. Since the integrated modem is a so-called 'WinModem', a 3rd party program is needed to get it working. At the website of Smart Link a free Linux driver package can be obtained. Goto section DRIVER DOWNLOAD -> END USERS -> LINUX DRIVERS and download the package slmodem-<version>.tar.gz.

    UPDATE: the package cannot be downloaded anymore, get it here.

    Untar and goto the modem subdirectory in the package. There we only need to compile the 'slmodemd' binary. Start the compilation with
    make SUPPORT_ALSA=1
    
    Now the modem daemon will be compiled with ALSA driver support. This will only work when you did NOT create the /etc/asound.conf file, because in this file we tell ALSA to ignore the modem. So if this configuration file exists then the full modem driver must be compiled.

    My binary for Slackware 10.1 can be downloaded here. Please mind that this is a limited binary which *only* runs with ALSA. The full package must be obtained from Smart Link.

  5. Start SMARTLINK driver

  6. As user root, start the slmodemd binary as follows:
    root@atmosphere:./slmodemd --alsa modem:0
    SmartLink Soft Modem: version 2.9.10 Feb 20 2005 00:25:28
    symbolic link `/dev/ttySL0' -> `/dev/pts/2' created.
    modem `modem:0' created. TTY is `/dev/pts/2'
    Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
    

    The 'modem:0' argument refers to ALSA device 0, which is the modem. In fact, the modem daemon is using ALSA to operate the modem. A serial device is created as well.

    If you start minicom at another terminal, reconfigure the modem so it points to '/dev/ttySL0'. Now you can start dialing your ISP.

    Also with PPP refer to the '/dev/ttySL0' device. The modem can operate at 57600 kBps.


Configure infrared

  1. Enabling infrared in your BIOS

  2. First start the subnotebook, press <F2> to enter the BIOS and enable the infrared port at <Serial Devices>. I used the following settings:
    Infrared: enabled
    Mode: IrDA
    IO: 02E8-02EF
    IRQ: 3
    
    As you can see I do not use FIR (Fast InfraRed) for the Mode, since I will use the IrDA port to setup an analogue connection to my ISP.


  3. Loading the kernel modules

  4. Now the correct modules need to be loaded into the kernel. In Slackware, the file /etc/rc.d/rc.modules is used to load additional modules during boot time. I have added the following lines at the end of this file:
    /sbin/modprobe irtty
    /sbin/modprobe ircomm-tty
    
    This will create an irda0 device. Check the kernel messages with 'dmesg', they must show the following:
    IrCOMM protocol (Dag Brattli)
    ...
    IrDA: Registered device irda0
    

    If you run the command 'ifconfig' the infrared device must be listed:
    irda0		Link encap:IrLAP  HWaddr 92:6b:5b:39
    		UP RUNNING NOARP  MTU:2048  Metric:1
    		RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    		TX packets:6069 errors:0 dropped:0 overruns:0 carrier:0
    		collisions:0 txqueuelen:8
    		RX bytes:0 (0.0 b)  TX bytes:193341 (188.8 Kb)
    

    The irtty module is used by the Linux kernel to use it's default serial port driver for IrDA ports.

    The ircomm-tty module will also load ircomm and they are used for the actual communication with the modem in your mobile phone.


  5. Creating infrared devices

  6. The /dev directory does not contain any infrared devices yet. As user root, goto this directory and perform the following command:
    ./MAKEDEV ir*
    
    Now the infrared device files will be available. After the command 'ls -l /dev/ir*' you must see the following:
    crw-rw-rw-  1 root root 161,  0 2005-02-14 02:25 /dev/ircomm0
    crw-rw-rw-  1 root root 161,  1 2005-02-14 02:25 /dev/ircomm1
    crw-rw----  1 root root 161, 16 2005-02-14 02:25 /dev/irlpt0
    crw-rw----  1 root root 161, 17 2005-02-14 02:25 /dev/irlpt1
    
    I changed the permissions to the ircomm0 and ircomm1 files myself afterwards. Of course it's better to assign the users of your system to the correct GID, but decide for yourself what's best.

    The irlpt<x> files are used to communicate with infrared printers.


  7. Install IrDA Utils

  8. Now you need to install the IrDA Utils. These can be obtained from the Linux-IrDA website here. For the Fujitsu-Siemens B2569 subnotebook we only need the IrDA Utils, which reached version 0.9.16 at the time of writing these notes. The 'smcinit' package is not needed.

    Untar the IrDA package and compile. On Slackware 10.1 it *should* compile without any problems. When finished with your compilation perform a 'make install'. The binaries will be installed in the drectory /usr/sbin/.

    From this package we are actually going to use irattach and irdadump.


  9. Attach IrDA stack to serial port

  10. The IrDA stack has to be attached to the infrared serial port. If you perform a 'dmesg | grep tty' the following is shown:
    ttyS00 at 0x03f8 (irq = 4) is a 16550A
    ttyS03 at 0x02e8 (irq = 3) is a 16550A
    
    As you may remember from chapter 1, the BIOS has assigned the infrared port to 0x02e8. Therefore our serial port turns out to be ttyS03.

    So we have to attach the IrDA stack to ttyS03. To achieve this, perform the following command as user root:
    /usr/sbin/irattach /dev/ttyS3 -s
    
    The option '-s' will start discovery of remote IrDA devices. In order to make this permanent, add this line to /etc/rc.d/rc.local.


  11. Check availability of other infrared device

  12. Well, we are almost there! Maybe you must reboot once to have all kernel modules in place and have them initialized properly. If you feel confident with your current setup, enable the infrared functionality on your mobile phone and hold it close to the subnotebook.

    As user root, run the command 'irdadump'. The result should be something like:
    22:43:02.896025 xid:rsp 926b5b39 < 2c91d715 S=6 s=1 R320 IR modem hint=9124 [ PnP Modem IrCOMM IrOBEX ] (30)
    22:43:02.986031 xid:cmd 926b5b39 > ffffffff S=6 s=3 (14)
    22:43:03.076032 xid:cmd 926b5b39 > ffffffff S=6 s=4 (14)
    22:43:03.166031 xid:cmd 926b5b39 > ffffffff S=6 s=5 (14)
    22:43:03.256031 xid:cmd 926b5b39 > ffffffff S=6 s=* atmosphere hint=0400 [ Computer ] (26)
    22:43:05.716036 xid:cmd 926b5b39 > ffffffff S=6 s=0 (14)
    22:43:05.806031 xid:cmd 926b5b39 > ffffffff S=6 s=1 (14)
    22:43:05.896036 xid:cmd 926b5b39 > ffffffff S=6 s=2 (14)
    22:43:05.896025 xid:rsp 926b5b39 < 2c91d715 S=6 s=1 R320 IR modem hint=9124 [ PnP Modem IrCOMM IrOBEX ] (30)
    22:43:05.986035 xid:cmd 926b5b39 > ffffffff S=6 s=3 (14)
    22:43:06.076031 xid:cmd 926b5b39 > ffffffff S=6 s=4 (14)
    22:43:06.166032 xid:cmd 926b5b39 > ffffffff S=6 s=5 (14)
    22:43:06.256031 xid:cmd 926b5b39 > ffffffff S=6 s=* atmosphere hint=0400 [ Computer ] (26)
    
    And so on. The 'PnP Modem' on your handset was found! In OSI Layer terms, LAYER 1 has been realized.


  13. Configure PPP

  14. To establish a connection with your ISP, the PPP link needs to be configured. The PPP package will actually take care of the login process and retrieve an IP address for your subnotebook.

    First relink the modem symlink to the correct device. As user root, goto the /dev directory and perform the following commands:
    rm -f modem
    ln -s ircomm0 modem
    
    This will remove any existing modem links and create a new one, pointing to our infrared modem.

    Then start the actual PPP configuration with the command 'pppsetup'. For your modem device, choose 'modem'. Fill in the other details which you may need to retrieve from your ISP. My ISP uses PAP authentication.

    If you're done, hold your mobile phone close to the infrared port and start a PPP session with the command 'ppp-on'. The subnotebook will send modem commands to your mobile phone and start dialing your ISP.

    If the authentication was successfull, the connection is established and the world of internet is available!

    To stop the PPP session you can use the command 'ppp-off'.


  15. Additional notes and troubleshooting

  16. To use Fast Infra Red (FIR) return to your BIOS and enable. Then boot Linux and as user 'root' modprobe the kernel module smc-ircc. For some reason I need to do this twice in order to get it loaded; the first time it will emit warnings about unknown device.

    After the second modprobe you should see kernel messages about your SMC chipset.

    It is also possible to load the module with parameters, e.g.:
    modprobe smc-ircc ircc_irq=3 ircc_dma=3
    

    This will load the FIR driver at IRQ 3 and DMA 3.

    To troubleshoot the link you may use 'minicom' as well. This small program is able to setup a connection by itself. It has a simple interface and is a convenient tool to diagnose your physical link and ISP connection.

    Also the <PPP Howto> and <Infrared Howto> are very usefull sources of information.


Configure wireless (PCMCIA)

  1. Compile driver for Sweex Atheros Card LW051

  2. I managed to setup this wireless card containing the AR2413A chipset from Atheros. It is a PCMCIA card which saves a USB slot. First get the opensource driver from the MadWifi website. I used the r1871 snapshot.

    Check you have the kernelsources installed. If not, install these sources first. Then unpack the snapshot, go into the sourcetree and run 'make'. The compilation should finish without errors. After this, run 'make install' as user root.

  3. Load module

  4. As user 'root' modprobe the Atheros module:
    modprobe ath_pci
    

    Check with 'dmesg' if the kernel has loaded the module correctly. You should see something like this:
    ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
    wlan: 0.8.4.2 (svn r1871)
    ath_rate_sample: 1.2 (svn r1871)
    ath_pci: 0.9.4.5 (svn r1871)
    wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
    wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
    wifi0: H/W encryption support: WEP AES AES_CCM TKIP
    wifi0: mac 7.8 phy 4.5 radio 5.6
    wifi0: Use hw queue 1 for WME_AC_BE traffic
    wifi0: Use hw queue 0 for WME_AC_BK traffic
    wifi0: Use hw queue 2 for WME_AC_VI traffic
    wifi0: Use hw queue 3 for WME_AC_VO traffic
    wifi0: Use hw queue 8 for CAB traffic
    wifi0: Use hw queue 9 for beacons
    wifi0: Atheros 5212: mem=0x11000000, irq=9
    

  5. Configure connection

  6. When the module has loaded successfully, we can start configuring the connection. The compilation of the driver package also has installed the command 'wlanconfig'. First, the new interface must be cleared and setup as a station:
    /usr/local/bin/wlanconfig ath0 destroy
    /usr/local/bin/wlanconfig ath0 create wlandev wifi0 wlanmode sta
    

    It is assumed that the new interface is called 'ath0'. The 'sta' keyword means 'station'. Then, secondly, we must join an accesspoint. This can be achieved with the command 'iwconfig':
    /sbin/iwconfig ath0 essid "My LAN" channel 6 key 1234567890 open
    

    This will join the accesspoint named "My LAN" on channel 6, with WEP key '1234567890' (64 bit). The 'open' keyword puts the Authentication Type to 'open'.

    Thirdly, an IP address must be obtained.
    /sbin/dhcpcd -d -t 10 ath0
    

    This starts a DHCP client on the wireless interface. You should have retrieved an IP address by now! You can make this configuration permanent by putting these commands into the file '/etc/rc.d/rc.local'.


Various

  1. Output of lspci -v
  2. Subsystem: Fujitsu Limited.: Unknown device 107f
    	Flags: bus master, medium devsel, latency 64
    	00:00.1 Multimedia audio controller: Intel Corp. 82440MX AC'97 Audio Controller
    
    Subsystem: Fujitsu Limited. QSound_SigmaTel Stac97 PCI Audio
    	Flags: bus master, fast devsel, latency 0, IRQ 9
    	I/O ports at 1000 [size=256]
    	I/O ports at 1cc0 [size=64]
    
    00:00.2 Modem: Intel Corp. 82440MX AC'97 Modem Controller (prog-if 00 [Generic])
    	Subsystem: Fujitsu Limited.: Unknown device 10d1
    	Flags: bus master, fast devsel, latency 0, IRQ 9
    	I/O ports at 1400 [size=256]
    	I/O ports at 1c00 [size=128]
    
    00:07.0 Bridge: Intel Corp. 82440MX ISA Bridge (rev 01)
    	Flags: bus master, medium devsel, latency 0
    
    00:07.1 IDE interface: Intel Corp. 82440MX EIDE Controller (prog-if 80 [Master])
    	Flags: bus master, medium devsel, latency 64
    	I/O ports at 1c90 [size=16]
    
    00:07.2 USB Controller: Intel Corp. 82440MX USB Universal Host Controller (prog-if 00 [UHCI])
    	Flags: bus master, medium devsel, latency 64, IRQ 15
    	I/O ports at 1ca0 [size=32]
    
    00:07.3 Bridge: Intel Corp. 82440MX Power Management Controller
    	Flags: medium devsel
    
    00:12.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
    	Subsystem: Fujitsu Limited.: Unknown device 111c
    	Flags: bus master, medium devsel, latency 64, IRQ 9
    	I/O ports at 8000 [size=256]
    	Memory at fc001000 (32-bit, non-prefetchable) [size=256]
    	Capabilities: [50] Power Management version 2
    
    00:13.0 CardBus bridge: O2 Micro, Inc. OZ6933 Cardbus Controller (rev 02)
    	Subsystem: Fujitsu Limited.: Unknown device 10e6
    	Flags: bus master, stepping, slow devsel, latency 168, IRQ 9
    	Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
    	Bus: primary=00, secondary=01, subordinate=01, sec-latency=176
    	Memory window 0: 10400000-107ff000 (prefetchable)
    	Memory window 1: 10800000-10bff000
    	I/O window 0: 00004000-000040ff
    	I/O window 1: 00004400-000044ff
    	16-bit legacy interface ports at 0001
    
    00:13.1 CardBus bridge: O2 Micro, Inc. OZ6933 Cardbus Controller (rev 02)
    	Subsystem: Fujitsu Limited.: Unknown device 10e6
    	Flags: bus master, stepping, slow devsel, latency 168, IRQ 9
    	Memory at 10001000 (32-bit, non-prefetchable) [size=4K]
    	Bus: primary=00, secondary=02, subordinate=02, sec-latency=176
    	Memory window 0: 10c00000-10fff000 (prefetchable)
    	Memory window 1: 11000000-113ff000
    	I/O window 0: 00004800-000048ff
    	I/O window 1: 00004c00-00004cff
    	16-bit legacy interface ports at 0001
    
    00:14.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M (rev 64) (prog-if 00 [VGA])
    	Subsystem: Fujitsu Limited.: Unknown device 114f
    	Flags: bus master, stepping, medium devsel, latency 66, IRQ 9
    	Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
    	I/O ports at 1800 [size=256]
    	Memory at fc000000 (32-bit, non-prefetchable) [size=4K]
    	Expansion ROM at  [disabled] [size=128K]
    	Capabilities: [5c] Power Management version 1
    
    02:00.0 Ethernet controller: Atheros Communications, Inc.: Unknown device 001a (rev 01)
            Subsystem: Atheros Communications, Inc.: Unknown device 1052
            Flags: bus master, medium devsel, latency 168, IRQ 9
            Memory at 11000000 (32-bit, non-prefetchable) [size=64K]
            Capabilities: [44] Power Management version 2
    

  3. Output of /proc/cpuinfo
  4. processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 11
    model name      : Intel(R) Pentium(R) III Mobile CPU       700MHz
    stepping        : 1
    cpu MHz         : 696.596
    cache size      : 512 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 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
    bogomips        : 1389.36
    

  5. Output of /proc/interrupts
  6. 	 CPU0
    0:     346422          XT-PIC  timer
    1:      11247          XT-PIC  keyboard
    2:          0          XT-PIC  cascade
    3:      17433          XT-PIC  serial
    8:          1          XT-PIC  rtc
    9:     417549          XT-PIC  O2 Micro, Inc. OZ6933 Cardbus Controller, O2 Micro, Inc. OZ6933 Cardbus Controller (#2), eth0, Intel 440MX Modem, Intel 440MX, mach64@pci:0000:00:14.0
    12:     67830          XT-PIC  PS/2 Mouse
    14:      8931          XT-PIC  ide0
    15:       403          XT-PIC  usb-uhci
    NMI:        0
    ERR:     2651
    

  7. Output of lsmod
  8. Module                  Size  Used by    Not tainted
    ppp_generic            19364   0 (autoclean)
    slhc                    4592   0 (autoclean) [ppp_generic]
    input                   3200   0 (autoclean)
    mach64                 98760   1
    snd-pcm-oss            36704   0 (unused)
    snd-mixer-oss          12152   2 [snd-pcm-oss]
    parport_pc             15044   1 (autoclean)
    lp                      6404   0 (autoclean)
    parport                22824   1 (autoclean) [parport_pc lp]
    snd-intel8x0           18080   2
    snd-intel8x0m           8708   0
    snd-ac97-codec         52472   0 [snd-intel8x0 snd-intel8x0m]
    snd-pcm                54504   0 [snd-pcm-oss snd-intel8x0 snd-intel8x0m snd-ac97-codec]
    snd-timer              13412   0 [snd-pcm]
    snd                    31268   0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-intel8x0m snd-ac97-codec snd-pcm snd-timer]
    snd-page-alloc          4712   0 [snd-mixer-oss snd-intel8x0 snd-intel8x0m snd-pcm snd-timer snd]
    soundcore               3396   7 [snd]
    uhci                   24284   0 (unused)
    usbcore                58860   1 [uhci]
    8139too                13928   1
    mii                     2272   0 [8139too]
    crc32                   2880   0 [8139too]
    wlan_scan_sta           8992   1  (autoclean)
    ath_pci                71120   1
    ath_rate_sample         9224   0  [ath_pci]
    wlan                  149436   1  [wlan_wep wlan_scan_sta ath_pci ath_rate_sample]
    ath_hal               174864   1  [ath_pci ath_rate_sample]
    ds                      6548   2
    yenta_socket           10436   2
    pcmcia_core            39172   0 [ds yenta_socket]
    ircomm-tty             19968   0
    ircomm                  7404   0 [ircomm-tty]
    irtty                   5384   2
    irda                   80956   0 [ircomm-tty ircomm irtty]
    apm                     9452   2
    



Visit http://www.linux-on-laptops.com/ for more info.

Last update: january 6, 2007 - © Peter van Eerten.