Monthly Archives: November 2002

Rimborso licenza di Windows XP

La mia esperienza nel vano tentativo di ottenere il rimborso per la licenza di WindowsXP

Nel novembre 2002 acquisto un Acer Aspire 1300XV. Mi viene fornito con M$ Windows XP preinstallato. Appena acceso, mi viene presentato il classico contratto di licenza EULA. Dopo attenta lettura decido di rifiutare e di non usufruire del software preinstallato. Riavvio quindi da CD-ROM e installo Debian GNU/Linux, che funziona a meraviglia al primo colpo.
Facendo riferimento all’articolo pubblicato da Paolo Attivissimo su apogeonline, decido di chiedere il rimborso per la licenza del sistema operativo preinstallato. In base a una norma della comunita’ europea infatti, deve essere possibile acquistare un componente hardware senza essere obbligati ad acquistare anche il relativo componente software o perlomeno ad avere a disposizione una o più scelte. Tanto per fare un esempio sarebbe come se acquistando un rasoio fossi obbligato ad acquistare anche una particolare schiuma da barba.

Nell’EULA che mi si era presentato alla prima accensione del computer stava scritto:

Qualora l’utente non accetti le condizioni del presente contratto non potrà utilizzare o duplicare il software e dovrà contattare prontamente il Produttore per ottenere informazioni sulla restituzione del prodotto o dei prodotti non utilizzati in base alle disposizioni stabilite dal Produttore stesso.

Telefono dunque alla Acer. Spiego all’operatore che ho installato un altro sistema operativo sul mio portatile, che tutto funziona perfettamente e che non ho bisogno della licenza di WindowsXP fornita assieme al notebook. Chiedo pertanto il rimborso della stessa (poco meno di 90euro). La conversazione si svolge più o meno così:

– Ma lei non può usare un altro sistema operativo su quella macchina
– Invece lo sto facendo e funziona egregiamente bene
– Ma come mai lo sta facendo? Se non era soddisfatto del prodotto avrebbe potuto restituirlo
– Il prodotto mi soddisfa pienamente, è solo che per motivi di studio preferisco usare questo sistema operativo anzichè l’altro
– Se è soddisfatto perchè ci ha chiamati?
– Perchè come le ho detto non mi serve la licenza di WindowsXP e la vorrei restituire per ottenerne il rimborso.
– Deve parlare con il negoziante che le ha venduto la macchina.
– Veramente nel contratto che mi è stato proposto all’accensione della macchina stava scritto che avrei dovuto contattare il produttore per definire le modalità della restituzione del prodotto.
– Il produttore è Microsoft.
– No, poco più in basso nel contratto sta anche scritto che per produttore si deve intendere chi ha costruito la macchina e non la casa produttrice del software.
– Insomma qual è la sua richiesta?
– (???) Vorrei che mi rimborsaste i soldi della licenza di WindowsXP che ho trovato preinstallato su questa macchina.
Mai successa una cosa così. Mai ricevuto una chiamata così strana.
– Veramente nel 1999 il signor Paolo Attivissimo ha ottenuto proprio dalla Acer Italia un rimborso di 108000Lire per una licenza di Windows98 fornita in bundle con uno dei vostri portatili.
– Sicuramente si è trattato di un caso eccezionale.
– E quindi io non sono un vostro cliente al pari di Paolo Attivissimo?
– Non volevo dire questo, mi scusi. E’ solo che non è mai successa una cosa così. Aspetti che mi informo, attenda in linea.
– Attendo…
(Torna dopo alcuni minuti…)
–  il software che le è stato fornito assieme alla macchina è in versione OEM. Lei deve capire che il software è come il sangue e il computer il corpo. Può il corpo vivere senza il sangue? Ovviamente no. Proprio per questo motivo lei non può separare il software dal computer. Se lei toglie il sistema operativo il computer muore. Mi dispiace ma non può restituire la licenza di WindowsXP. Tutto quello che può fare, se proprio non vuole pagare inutilmente una licenza di WindowsXP è tornare dal negoziante presso cui ha acquistato la macchina, restituire macchina e software e ottenere un buono per acquistare una nuova macchina con il sistema operativo che piace a lei.
– (laconico) Ok, grazie per l’attenzione, buona giornata <click>

Deluso, ma sempre più incuriosito dall’evolversi della vicenda decido di chiamare anche l’helpdesk Microsoft per sapere cosa ne pensano…
Questa volta però baro :) Parlare di Linux con l’helpdesk di M$ è un’arma a doppio taglio.
Dico di aver preferito installare il più collaudato Windows2000 di cui posseggo regolare licenza e di aver disinstallato WindowsXP.

– Sì, capisco benissimo le sue necessità. Non siamo noi però a doverle rimborsare la licenza bensì la Acer.
– In effetti sarebbe logico così… ma la Acer si rifiuta di farlo. Eppure c’è una norma della CE che obbliga a vendere l’hardware senza legarlo indissolubilmente al software!
– E’ normale che la Acer si rifiuti: la licenza che le è stata fornita assieme alla macchina è d tipo OEM, non può essere separata dalla macchina. Tuttavia lei può restituire la macchina e farsela sostituire dalla Acer con una senza sistema operativo.
– Ma la Acer non vende questa macchina senza sistema operativo!
– Eh eh… già già… sa… a volte i produttori rimangono sprovvisti nei magazzini di certi prodotti. E’ probabile che abbiano esaurito gli stock di quella particolare macchina senza il sistema operativo abbinato.
– Capisco (sì, capisco che state giocando sporco e che state giocando allo scarica barile). Grazie per l’attenzione, buona giornata.

Conclusioni:

Divertente il paragone con il sangue… veramente esilarante. Come vedete la Acer non ne ha voluto sapere di rimborsare i soldi. Ha  accampato le scuse più inverosimili. La M$ dal canto suo non ha colpe se non quella di approfittarsi dell’incapacità dei produttori di hardware.

Quello che mi stupisce non è che la Acer non rimborsi le licenze tanto facilmente quanto il fatto che per lei sia insolito che un cliente chieda il rimborso della licenza.
Quello che vi chiedo è pertanto di provare, provare, provare. Anche se sapete che non c’è speranza, fate un tentativo: provate a chiamare l’helpdesk e chiedete perchè viene negato questo diritto al cliente. Il vero motivo per cui si possono permettere di fare gli gnorri riguardo alla norma della comunità europea che impedisce di vendere obbligatoriamente il software con l’hardware è che i clienti ai quali non sta bene questa cosa sono una minoranza. Facciamo crescere questa minoranza. Un giorno, chissà, troveremo nei listini la stessa macchina con e senza sistema operativo.

NERvOus (nervous at nervous.it)

Share

Bluetooth USB dongle on Linux

Digicom Palladio USB Bluetooth Dongle (CSR chipset based)
Unofficial Linux Support Page

 

by NERvOus

NERvOus using WindowMake on Acer Aspire 1300XV

TuxMobil - Linux on Laptops, Notebooks, PDAs and Mobile Phones



Disclaimer

This is an unofficial support page for the Digicom Palladio USB bluetooth dongle.  I do not assume any responsibility for errors
or omissions, or for damages resulting from the use of the information contained herein.

No liability for the contents of this documents can be accepted. Use the concepts, examples and other content at your own risk.

All copyrights are held by their by their respective owners, unless specifically noted otherwise. Use of a term in this document should not be regarded
as affecting the validity of any trademark or service mark. Naming of particular products or brands should not be seen as endorsements.



Scenario

The goal of this document is to explain how to connect to Internet through GPRS using a Bluetooth compatible mobile phone.

I tested the Palladio USB Dongle with the following setup:

Notebook: Acer Aspire 1300XV
Mobile Phone: Ericsson T39m / Ericsson T68
Bluetooth device: Palladio USB Dongle (CSR Chipset)

The notebook communicate with the Palladio dongle through the USB port. The dongle connect to the mobile phone using the Bluetooth wireless protocol. The mobile phone opens a PPP connection to Internet using GPRS.

The Palladio USB Dongle is based on the CSR Chipset. Thus  any information  available in this page should apply to any other CSR based bluetooth device.



The installation process

This document is not for beginners. I assume you are already familiar with the Linux Operating System.

Download the very latest kernel from http://www.kernel.org.

Compile it with everything you usually need plus the following items:
Bluetooth support:
Bluetooth subsystem support
L2CAP protocol support
SCO links support
RFCOMM protocol
RFCOMM tty support
BNEP protocol support
Bluetooth device drivers:
HCI USB driver
HCI VHCI (Virtual HCI device) driver

WARNING: do NOT compile the USB Bluetooth support in the USB support section. If you do, it will prevent the BlueZ support from working. Be careful about this. Do not compile the USB Bluetooth support! Use the HCI USB driver instead!!! You have been warned!

After installing the new kernel you should have the following modules:

in /lib/modules/2.*/kernel/net/bluetooth/
bluez.ko  bnep l2cap.ko  sco.ko rfcomm
in /lib/modules/2.*/kernel/net/bluetooth/bnep/
bnep.ko
in /lib/modules/2.4.20-mh5/kernel/net/bluetooth/rfcomm/
rfcomm.ko
in lib/modules/2.4.20-mh5/kernel/drivers/bluetooth/
hci_usb.ko  hci_vhci.ko

Get the following programs from http://bluez.sf.net:

bluez-hcidump
bluez-sdp
bluez-utils
bluez-lib

and compile them: usually it’s just a matter of ./configure && make && make install.

Now you are ready to load the following modules using modprobe:

bluez
hci_usb
l2cap
rfcomm

You should see something like this in your kernel logs:

BlueZ Core ver 2.2 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
BlueZ HCI USB driver ver 2.1 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
usb.c: registered new driver hci_usb
BlueZ L2CAP ver 2.1 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
hub.c: new USB device 00:11.2-2, assigned address 2

Check if the Bluetooth dongle is active using:

hciconfig

hciconfig is the equivalent of ifconfig for Bluetooth devices. This is the output of hciconfig on my laptop:

hci0:   Type: USB
BD Address: 00:E0:98:85:2C:70 ACL MTU: 192:8  SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:99 acl:0 sco:0 events:13 errors:0
TX bytes:296 acl:0 sco:0 commands:12 errors:0

Pay attention to the “UP” and “ISCAN” keywords. If there is no hci0 up, then run:

hciconfig hci0 up

Place your mobile phone near the Bluetooth dongle and put it in listening mode. On my Ericsson T39m I have to open the Extras/Bluetooth menu and then choose the Discoverable option.
The words “Discoverable for 3 minutes” should appear on the display. You’ll see the Bluetooth logo on the bottom right of the main display for the next 3 minutes at least.

Now it’s time to discover your mobile phone’s bluetooth hardware address. Run:

hcitool scan

This is the output of hcitool scan when my Ericsson T39m is near my laptop:

Scanning …
00:80:37:FE:5F:72       NERvOus T39 Mobile Phone

Write down this hardware address for later use. Check the Bluetooth connection by issuing:

l2ping 00:80:37:FE:5F:72

Here is the possible output of this command:

l2ping 00:80:37:FE:5F:72
Ping: 00:80:37:FE:5F:72 from 00:E0:98:85:2C:70 (data size 20) …
0 bytes from 00:80:37:FE:5F:72 id 200 time 43.61ms
0 bytes from 00:80:37:FE:5F:72 id 201 time 43.84ms
0 bytes from 00:80:37:FE:5F:72 id 202 time 38.49ms
0 bytes from 00:80:37:FE:5F:72 id 203 time 47.52ms
CTRL+C
4 sent, 4 received, 0% loss

Create a /dev/rfcomm0 character device with major number 216 and minor number 0:

mknod /dev/rfcomm0 c 216 0

In order to make your laptop and mobile phone communicate you have to choose a unique number sequence. This “password” is supposed to provide some degree of security to the communication.
In your mobile phone go to the Extras/Bluetooth menu and choose:
Discover

You’ll see “Searching…” for a while and then the Palladio USB Dongle should appear in the list. Press “YES” and then choose:
Add to paired

Enter a Passkey (only numbers are allowed, e.g. 4398534). Write the very same Passkey inside the /etc/bluetooth/pin file. Check that you have the following line in /etc/bluetooth/hcid.conf:

pin_helper /etc/bluetooth/pin-helper;

Restart hcid if you modify hcid.conf.
If you try and run /etc/bluetooth/pin-helper it should print the following string:

PIN:4398534

If it does not, check its permissions. Here is an example pin-helper script:

#!/bin/sh
PINFILE=/etc/bluetooth/pin
echo -n PIN:
cat $PINFILE

When you hit Discover, your mobile phone will show “Pairing” for a while. If you entered the correct Passkey you’ll be able to edit
the Name tag associated to the Palladio USB Dongle and the device will appear in the paired devices list.
Hit “YES” and you’ll see “Added to paired devices”.

Now open a channel to the mobile phone:

rfcomm bind 0 00:80:37:FE:5F:72 1

where 00:80:37:FE:5F:72 is the hardware address we mentioned before and the final 1 identifies the serial channel.

From now on, you can access your mobile phone through the /dev/rfcomm0 character file.

WARNING: you can’t use it like a modem. If you do, you won’t take advantage of the GPRS connection. You’ll be using a classical 9600bps GSM expensive connection.

Before continuing, you need to configure a GPRS connection on your mobile phone. You can get all the GPRS parameters by calling your telco operator. This is what I did to setup a GPRS connection on my Ericsson T39m with Wind S.p.A.

Settings/Data comm./Data accounts/Add account/GPRS Data:
Name: Wind GPRS
APN: internet.wind
UserID: empty
Password: empty

Save, then choose “Wind GPRS” and Edit:
Password request: Off
Allow calls: Automatic
IP address: empty
DNS address: 212.245.255.2
Adv. settings:
Authentication: Normal
Data compr.: on
Header compr: on
Quality of service: default values

In order to make your mobile phone connect to Internet through GPRS you have to send it the following command through a chat script (exactly like talking to a serial modem except for you are using /dev/rfcomm0 instead of /dev/ttyS0):

AT+CGDATA=”PPP”,X

where X is the number indicating the GPRS profile to be used. Be careful about this setting! To discover what is the correct value for X take your mobile phone and go to the Settings/Data comm./Data accounts menu. Choose the GPRS connection you previously setup and scroll till you find a line beginning with CID=. That’s the identification number of your GPRS connection. E.g. if you find a line like:
CID=3

then you have to use:

AT+CGDATA=”PPP”,3

as the dialing string.

Now you can setup a standard PPP dialup connection and use it as usual. However there are some things you have to take care of:

You have to disable hardware flow control and carrier detection. Add the following lines to /etc/ppp/options.rfcomm0 (or /etc/ppp/options to make them global)

-crtscts
local

Even if there is no password authentication needed to connect to Internet you can’t simply disable authentication at all.
Enable CHAP authentication and set the login and password to whatever you want.

You won’t receive lcp echo reply from your GPRS connection. Therefore you’ll have to disable lcp requests: if you don’t, your connection will always go down within a few minutes.

Find the following lines in your /etc/ppp/options file:

#lcp-echo-interval XX
#lcp-echo-failure XX

and remove them (put a # in front of them).

You can view my connection scripts and configuration files here:

/etc/ppp/options
/etc/ppp/options.rfcomm0
/etc/ppp/options.ttyS0
/etc/ppp/chap-secrets
/etc/ppp/peers/gprs
/etc/chatscripts/gprs-chat

In order to connect, I simply use

pppd call gprs



Hints for Debian/GNU Linux users

TBD



Links


Credits

Author:  Luca ‘NERvOus‘ Gibelli  (nervous -at- nervous -dot- it)

Thanks to: ???


Creative Commons License
This document is distributed under Creative Commons Licence.


First release: 20 november 2002
Last update: 11 January 2006

Share

Linux on Acer Aspire 1300

Debian GNU/Linux on Acer Aspire 1300 series
Unofficial Support Page
by NERvOus

NERvOus using WindowMake on Acer Aspire 1300XV

TuxMobil - Linux on Laptops, Notebooks, PDAs and Mobile Phones



Disclaimer

This is an unofficial support page for the Acer Aspire 1300 series notebooks.  I do not assume any responsibility for errors or omissions, or for damages
resulting from the use of the information contained herein.

No liability for the contents of this documents can be accepted. Use the concepts, examples and fother content at your own risk.

All copyrights are held by their by their respective owners, unless specifically noted otherwise. Use of a term in this document should not be regarded
as affecting the validity of any trademark or service mark. Naming of particular products or brands should not be seen as endorsements.



Supported Hardware Summary

Hardware Status URL
ACPI OK http://sourceforge.net/projects/acpid/
Athlon PowerNow! OK (PST table?) http://www.brodo.de/cpufreq_old/ http://www.codemonkey.org.uk/projects/cpufreq/ (kernel 2.4.x and 2.5.x) and
http://kabru.eecs.umich.edu/rtos/energyaware.html (kernel 2.2.x, 2.4.x, 2.5.x)
Graphic Adapter OK (experimental) http://www.probo.com/timr/savage40.html
http://www.probo.com/pipermail/savage40/2003-July/000038.html
Sound Card OK (midi?)  
Network Adapter OK  
Modem OK (pay?) http://www.linuxant.com (full working drivers for 15$, 14400bps limited drivers for free)
Old beta driver (free of charge): http://www.olitec.com/pci56kv2.html
UltraATA/100 OK  
Touchpad OK (kernel 2.6.x only) http://w1.894.telia.com/~u89404340/touchpad/ (requires kernel 2.6.x+patch)
USB Controller OK http://www.linux-usb.org
Hard Disk OK  
CD/DVD ROM OK  
CDRW/DVD OK http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html
Keyboard HotKeys OK http://ypwong.org/hotkeys/

Although this site if focused upon the 1300XV model, same hints should apply also to the 1302XV model. Please let me know of any hardware differences you may find. The information contained hereby should be valid also for the 1300XC, 1302XC and 1304LC models.
There are very little differences between them. Here is a summary table taken from http://www.acer.it

Model Setup
Aspire 1300XV Mobile AMD Athlon XP processor 1400+, 14.1″ XGA TFT Display, 256MB SDRAM, 20GB HDD, DVD 8x, Ethernet 10/100, 56Kbps modem, Li-Ion Battery, Microsoft Windows XP Home
Aspire 1302XV Mobile AMD Athlon XP processor 1600+, 14.1″ XGA TFT Display, 256MB SDRAM, 20GB HDD,DVD 8x, Ethernet 10/100, 56Kbps modem, Li-Ion Battery, Microsoft Windows XP Home
Aspire 1300XC Mobile AMD Athlon XP processor 1400+, 14.1″ XGA TFT Display, 256MB SDRAM, 20GB HDD, DVD- CDRW, Ethernet 10/100, 56Kbps modem, Li-Ion Battery, Microsoft Windows XP Home
Aspire 1302XC Mobile AMD Athlon XP processor 1600+, 14.1″ XGA TFT Display, 256MB SDRAM, 20GB HDD, DVD- CDRW, Ethernet 10/100, 56Kbps modem, Li-Ion Battery, Microsoft Windows XP Home
Aspire 1304LC Mobile AMD Athlon XP processor 1800+, 15.0″ XGA TFT Display, 256MB SDRAM, 20GB HDD, DVD- CDRW, Ethernet 10/100, 56Kbps modem, Li-Ion Battery, Microsoft Windows XP Home

As you can see, the *C series differ only for the presence of a CDRW drive.


Installation

I don’t use M$ Windows, so I completely removed the M$ WindowsXP that comes in bundle with the laptop and formatted the hard drive. Now Linux is the only Operating System installed. I asked for a refund of the WinXP license (about 80€) but no luck till now (you can read more about my eXPerience hereonly in italian).

However, you may want to keep WindowsXP installed and run a dual booting system. You can do that by reducing the size of the WindowsXP partition and creating a new one where you can install your favourite Linux distribution.

  • Dual booting WinXP and Linux
    Francesco Poli (frx at firenze.linux.it) wrote a step by step guide:

    – Backup all the personal data that may be present on your Windows XP installation

    Warning: ALL DATA WILL BE LOST. Without a Backup you won’t be able to recover it.

    – Boot from a CD-ROM or floppy disk (press ESC after system power up to choose the bootable device) that provides a *fdisk command (I used Debian Woody CD1 and cfdisk) and repartition the hard disk: delete the existing partition, create one or more partitions for WinXP (type: Win95 FAT32 LBA; first one, that is C:, must be at least 2.6 Gbyte long), then create the partitions you plan to use for GNU/Linux.
    I reserved about 10 Gbyte (10 Gbyte – 7.75 Mbyte = 9.99225 Gbyte) for WinXP. They are divided into a 5 Gbyte partition for the system and an additional 4.99 Gbyte partition for storing data (I had to format it manually from Windows: the recovery process ignored it).

    Warning: this notebook ships with one big partition and a little (7.75 Mbyte) unassigned free space at the end of the disk. Each time you recover Windows XP from Recovery CDs, mysterious data will be written to this final disk segment'. Hence you should leave thissegment’ unassigned, to make sure no used partitions are messed up by a future Windows recovery operation.

    Warning: you should activate only the boot flag for /dev/hda1 (that is C:) otherwise the BIOS will refuse to boot from HD, complaining with a “Hard disk boot sector invalid” error message.

    – Reboot from Recovery CD Disk 1 and follow the steps explained in the “Recovery CD Instruction Sheet” (without altering the partition layout!)

    – Wait till WindowsXP and the other software are recovered (many reboots will be performed!)

    – After WindowsXP has been successfully installed, you can install Linux (skipping the partition creation step, leaving the Windows partitions  untouched). When it comes to the LILO installation step you should choose to put LILO in the MBR.

  • Linux
    My favourite Linux distribution is Debian GNU/Linux. Of course, many other Linux distribution should run just fine on this laptop, but I don’t like them :-) No flames please.
    The instructions contained in this web page can be applied to almost any other Linux distribution: just ignore the blue paragraphs..

    You can download the 7 CDs of Debian GNU/Linux 3.0r0 for free from http://cdimage.debian.org (try using jidgo).Only the first CD is actually needed to complete the installation. Then you can download only the packages you need automagically by using the apt tool. Do man apt-get for more info.

    WARNING: Please always use the latest kernel available. Debian GNU/Linux 3.0r0 comes with kernel 2.4.18. I really encourage you to upgrade at least to 2.4.20-rc1. There are many important bug fixes which afflicts the Acer Aspire 1300 hardware!!! You can get the latest kernel from
    http://www.kernel.org

    Debian Specific: I suggest to install the following packages with apt-get install packagename:
    acpid, powermgmt-base, wmacpi, noflushd, hotkeys, anacron, hotplug, gpm, timidity, timidity-patches s3switch cpufreqd.

    My kernel .config file is available here: config-2.4.20
    Use it at your own risk. Download kernel sources, decompress them (e.g. /usr/src/linux-2.4.20), copy config-2.4.20 to
    /usr/src/linux-2.4.20/.config:
    cp config-2.4.20 /usr/src/linux-2.4.20/.config
    then run:
    make menuconfig
    then exit and SAVE IT, even if you didn’t modify anything. Do save it. I really mean it :-)

  • *BSD
    Finally I managed to install FreeBSD on the Acer Aspire 1300XV!!! I chose the 5.0 release and did a MINIMAL installation. Everything went just fine, network card and mouse work. Unfortunately, it hangs when trying to open files >16MB. With FreeBSD 5.1 the problem remains.
    No luck with the 4.x series: the CDROM doesn’t boot and even when booting with floppies, installation hangs after a while.

    nizZy (dirtynizze at orebro.bonet.se) reported that OpenBSD works perfectly on this laptop, except for X. He also found a patch for XFree which could make it work under OpenBSD. You can find it here: http://jneitzel.freeshell.org/xf86PciInfo.h.patch
    I’ll add more information during the next week…

    ziabice (ziabice at oltrelinux.com) reported that NetBSD could recognize most of this laptop’s hardware.


Hardware Configuration Hints

  • ACPI support
    Enable the following items in the kernel configuration menu:
    General/Setup:
    Power Management
    ACPI Support
    ACPI Bus Manager
    System
    Processor
    Button
    AC Adapter
    Embedded Controller
    Control Method Battery
    Thermal

    Install acpid.
    You can use wmacpi to view your battery charge status while running window maker.
    You can access acpi information manually by entering the /proc/acpi directory.
    Many ACPI implementations are buggy: often when you unplug the ac adapter and then plug it again, the temperature goes up.
    Running the following command seems to help:

    # /sbin/setpci -v -H1 -s 0:0.0 52=$(printf %x $((0x$(setpci -H1 -s 0:0.0 52) | 0x80)))

    TBD: handling ac power/battery different behaviour

    Debian Specific: I suggest to install the following packages: apt-get install acpid wmacpi powermgmt-base
    The latter is very useful if you want to detect wheter you are on battery power or not from your scripts. It will install a script called on_ac_power in /usr/bin. Basically this is what it does:
    grep on-line /proc/acpi/ac_adapter/0/status >/dev/null 2>&1 && exit 0
    grep off-line /proc/acpi/ac_adapter/0/status >/dev/null 2>&1 && exit 1
    exit 255
    Which means: if we are on AC power exit with 0, if we are on battery power exit with 1, otherwise exit with 255.

    on_ac_power was written by Rik Faith and Avery Pennarun <apenwarr at debian.org> and modified by Thomas Hood <jdthood at yahoo.co.uk>

  • Athlon PowerNow! support
    Model: AMD mobile AMD Athlon(tm) XP 1400+
    PowerNow! support is available for kernel 2.2.x, 2.4.x and 2.5.x.

    Status of development:

    • Kernel 2.2.x
      Download RTDVS (Real Time Dynamic Voltage Scaling) for Linux from http://kabru.eecs.umich.edu/rtos/energyaware.html . It has been developed under RedHat 6.1 but should work with any 2.2 kernel based distribution.
      It can run also on 2.4.x and 2.5.x kernels if you apply a patch. More detailed instructions can be found here:
      http://www.nervous.it/hw/powernow_rtdvs.html
    • Kernel 2.4.x and <2.5.62
      Download the latest cpufreq patch of the Advanced Series: http://www.codemonkey.org.uk/cpufreq/.
      CPUfreq supports a variety of powersaving technologies.
    • Kernel >= 2.6.0
      cpufreq is already shipped with these kernel, you don’t need any patch.

      I tested it with kernel 2.4.21 it’s pretty stable and allows adjustment of CPU speed from 500mhz to 1200mhz on my laptop.

      Here is a step-by-step guide to install it:

      1) download kernel 2.4.21 source from http://www.kernel.org or one of its mirrors and decompress it say in /usr/src/linux-2.4.21
      2) apply the CPUfreq patch:
      # cd /usr/src/linux-2.4.21
      # gzip -d cpufreq-2.4.21-2.gz
      # patch -p1 <cpufreq-2.4.21-2
      3) run make menuconfig and enable the following items:
      Processor type and features/CPU frequency scaling:
      CPU frequency scaling
      CPU frequence table helpers
      “userspace” for userspace frequency scaling
      AMD Mobile Athlon/Duron K7 PowerNow! (I suggest to add it as a module)
      4) recompile the kernel (e.g. make dep  && make clean && make bzImage && make modules && make modules_install)
      5) reboot with the new kernel
      6) load the powernow-k7 module:
      # modprobe powernow-k7
      If you want to load it automatically on every reboot add a line containing only “powernow-k7” to  /etc/modules

    Now you can set the CPU frequency using one of the following commands:

    # echo -n “500000:1200000:powersave” > /proc/cpufreq
    # echo -n “500000:1200000:performance” > /proc/cpufreq

    The first command will set the frequency to 500Mhz, the latter to 1,2Ghz.
    Of course, you can specify other frequencies too.
    The powersave keyword specifies that the min. speed (500000) should be used. The performance keyword specifies that the max. speed (1200000) should be used.
    You can automatically change the CPU frequency when the system load raises or when the battery is low/high. There are many programs which allow you to do it. Here is a short list:

    cpudyn: http://mnm.uib.es/~gallir/cpudyn/
    cpufreqd: http://cpufreqd.sourceforge.net/
    cpuondemand: http://www.nervous.it/hw/cpuondemand/ (I wrote it before the other two came out, it’s a quick hack not mantained any more)

    Debian Specific: just run
    apt-get install cpudyn
    or
    apt-get install cpufreqd

    WARNING: the frequencies supported by your AMD processor are listed in the BIOS PST Table, however many laptops have a broken table, thus you may get wrong frequency/voltage pairs. For now there are only two solutions to this problem:
    you can either try to flash your BIOS with a firmware containing the correct PST table, or have cpufreq ignore the PST table of your BIOS and set the frequency/voltage pairs manually.

    The latter solution requires a patch from Luigi Belli’s (lbelli at crema dot unimi dot it) against kernel 2.4.22-ac*: patch-cpufreq-PST.gz

    Before applying the patch, change the create_fake_pst function to meet your hardware requirements.
    ONLY USE THIS METHOD IF YOU KNOW WHAT YOU ARE DOING!!!

    After receiving many requests, I decided to make a precompiled kernel image for debian available for download from my website:
    http://www.nervous.it/hw/kernel/

    You can install it with:

    # dpkg -i ./kernel-image-2.4.2*.Custom_i386.deb

    You may want to test it on a floppy instead of putting it immediately on your hard disk.

    People using other distributions may want to try out the sources of the kernel used to produce the package:
    they are available at
    http://www.nervous.it/hw/kernel/.

    This kernel works for me but it doesn’t mean it has to work for you: so… USE IT AT YOUR OWN RISK!

  • Graphic Adapter
    Model: S3 Inc. ProSavage KN133 [Twister K] (PCI ID: 5333:8d02)
    Enable the following items in the kernel configuration menu:
    Character devices:
    /dev/agpgart (AGP support)
    VIA Chipset Support

    If you also want FrameBuffer support enable the following items too:
    Console drivers/Frame-buffer support:
    Support for frame buffer devices
    VESA VGA graphics console
    Then pass the following argument to the kernel:
    vga=0x305
    If you want framebuffer active by default, you can put the above line in the append option in your lilo.conf: i.e. edit /etc/lilo.conf and add the line append=”vga=0x305″ to it.

    The Savage TwisterK Graphic Adapter is supported by XFree 4.x. When configuring XFree, choose the “savage” driver.
    WARNING: the Savage driver <1.xx which comes with XFree4.1 is buggy (xine crashes, OpenOffice freezes). It should be replaced with
    the latest driver available at http://www.probo.com/timr/xf42sav.tgz
    In order to use OpenGL hardware acceleration you will need XFree4.2.x plus the driver recently released from VIA/S3. There is no support for XFree4.3.x and XFree4.1.x for now. Hopefully it will be natively supported by future releases of XFree.

    Debian Specific: I managed to get 3D hardware acceleration working on Debian GNU/Linux 3.1 (sarge not woody). I was quite disappointed with the performance of the graphic adapter: glTron runs slowly at 800×600 and almost stops at 1024×768. For those who want to try it out anyway, here is what I did:

    First upgrade your kernel at least to 2.4.22-rc2-ac3 (i.e. you need Alan Cox patchset). Enable the following items in the kernel configuration menu as modules:

    Character devices:
    /dev/agpgart (AGP support)
    VIA Chipset Support
    Direct Rendering Manager (XFree DRI Support)
    S3 Savage

    Create a file called /etc/modutils/agp with the following line:

    options agpgart agp_try_unsupported=1

    Then run update-modules and add the following lines to /etc/modules:

    agpgart
    savage

    Finally you have to download the following files and copy them in their respective locations:

    libsavageXvMC.so.1.0 in /usr/X11R6/lib
    savage_drv.o in /usr/X11R6/lib/modules/drivers
    savage_dri.so in /usr/X11R6/lib/modules/dri

    Modify the “Module” section in /etc/X11/XF86Config-4 as follows:

    Section “Module”
    Load    “GLcore”
    Load    “bitmap”
    Load    “dbe”
    Load    “ddc”
    Load    “dri”
    Load    “extmod”
    Load    “freetype”
    Load    “glx”
    Load    “int10”
    Load    “record”
    Load    “speedo”
    Load    “type1”
    Load    “vbe”
    EndSection

    and add a “DRI” section like this:

    Section “DRI”
    Mode    0666
    EndSection

    Then restart XFree and run glxinfo, you should get the following output:

    Using AGP dma
    DBflag:0
    name of display: :0.0
    display: :0  screen: 0
    direct rendering: Yes

    If you want to be kept updated with the latest news about the savage xfree driver you can subscribe the savage40@probo.com mailing-list at  http://www.probo.com/mailman/listinfo/savage40/ . Visit http://www.probo.com/timr/savage40.html for more information

    WARNING!!!
    A note from Carl Waite says… “XiG allowed me to run GL screensavers, but hung when running Tux Racer or Quake 3 after 10 to 20 seconds. I have mailed the support at  XiG with the information. I am back to XFree86 now.
    You can find more info about running XiG on Acer Aspire 1300 at:
    http://members01.chello.se/waite/Mandrake_XiG_and_Acer_Aspire_1302X.html

    Debian Specific: Debian GNU/Linux 3.0 (woody) ships with XFree4.1. The Savage driver <1.xx is buggy (xine crashes, OpenOffice freezes). It should be replaced with the latest driver available at http://… . Unfortunately it has been compiled for XFree4.2. You have two choices: you can either compile it on your own or you can instruct XFree4.1 to ignore version differences. The second choice is the easiest. All you have to do is add -ignoreABI at the end of /etc/X11/xinit/xserverrc, like this:

    exec /usr/bin/X11/X -dpi 100 -nolisten tcp -ignoreABI

    If you are using a x-display-manager like xdm then you have to modify another file too: /etc/X11/xdm/Xservers should look like this

    :0 local /usr/bin/X11/X -ignoreABI

    If you are using kdm you need to modify /etc/kde3/kdm/Xservers (thanks to danalien <danalien at datormaffian.com>)
    For wdm the file is /etc/X11/wdm/Xservers.

    Example configuration file for XFree4.1 is available here: XF86Config-4

    There is a tool which allows switching from LCD to an external (maybe-CRT) monitor from the command line. It’s called s3switch.
    Syntax is:
    To turn on LCD monitor: s3switch lcd
    To turn on an external monitor: s3switch crt

    Debian Specific: you can install it with: apt-get install s3switch

  • Sound Card
    Model: Via 686a AC97 Audio Controller (PCI ID: 1106:3058)
    Enable the following items in the kernel configuration menu:
    Sound/Sound Card Support
    VIA82C686 Audio Codec (via82cxxx_audio.o).
    OSS Sound Modules?
    Loopback Midi Device support?
    MPU-401 Support?

    I don’t know for sure whether this sound card has got a MIDI sequencer or not. Meanwhile, I suggest to use a software-only MIDI sequencer.
    timidity (available at http://…) is one of the best.

    Debian Specific: Add the following line:
    via82cxxx_audio
    to your /etc/modules file
    Remember to also add all unprivileged users who want to play audio files to the audio group. E.g. “adduser foo audio”
    In order to play MIDI files you’ll need to install the following packages: apt-get install timidity timidity-patches
  • Network Adapter
    Model: VIA VT6102 Rhine-II (PCI ID:  1106:3065)
    Enable the following items in the kernel configuration menu:
    Network device support/Ethernet (10 or 100Mbit)/EISA,VLB,PCI support:
    VIA Rhine support
    Use MMIO instead of PIO (Experimental)
    The via-rhine driver included in kernel <=2.4.19 is buggy. If you experience network hangs and error messages like: kernel: eth0: reset did not complete in 10ms
    kernel: NETDEV WATCHDOG: eth0: transmit timed out
    kernel: eth0: TRansmit timed out, status 0000, PHY status 782d, resetting…
    please upgrade.
    Looking at the beginning of /usr/src/linux/drivers/net/via-rhine.c you should see the following lines:

    #define DRV_NAME        “via-rhine”
    #define DRV_VERSION     “1.1.1X”
    #define DRV_RELDATE     “XXX-XX-2002”

    If you have a version prior to 1.1.15 then you have to upgrade (thanks to Der Ondre):
    Download via-rhine.c version 1.1.15.
    Overwrite your old /usr/src/linux/drivers/net/via-rhine.c with the new one.
    Recompile your kernel.

    Debian Specific: woody (3.0r0) doesn’t provide a kernel source package >2.4.19 so you’ll have to download it from ftp.kernel.org or one of its mirrors.

  • Modem
    Model: VIA MC97 based on Conexant chip (PCI ID: 1106:3068)
    Use the Conexant HSF Driver. Download it from: http://www.linuxant.com/ .
    They are no longer free. You can download a free version limited to 14400bps speed, the full version costs 15$. Thanks Conexant, we really appreciate your support to the open source community <g>
    Installation instructions for the old beta drivers (still available at http://www.olitec.com/pci56kv2.html):
    Before starting, please check that /lib/modules/uname -r/build is a symlink to your kernel source directory (e.g. /usr/src/kernel-source-2.4.20) or to your kernel header directory (e.g. /usr/src/kernel-headers-2.4.20).
    then do:
    tar xvzf hsflinmodem-*.tar.gz
    cd hsflinmodem*
    make install
    hsfconfig
    hsfconfig –country

    Your modem device will be /dev/ttySHSF0.

    WARNING: by default the /dev/ttySHSF0 device is world writable!!! Any user on your system will be able to dial any number using your modem. While many people wouldn’t really consider it a security problem, if you are too paranoid just like me, you may want to restrict access to the device by issueing the command: chmod 660 /dev/ttySHSF0 /dev/cuaHSF0 .

    Debian Specific: the correct way to manage modem device under Debian is to make them group writable and then add all the users that should be able to use the modem to that group. E.g.:
    chmod 660 /dev/ttySHSF0 /dev/cuaHSF0
    chown root.dialout /dev/ttySHSF0 /dev/cuaHSF0
    adduser foo dialout

    If you get a NO DIALTONE error after composing any phone number, try adding ATX3 to your initialization string.

  • UltraATA/100 Support
    Model: VIA vt8231 (rev 10) IDE UDMA100 controller (PCI ID: 1106:0571)
    Enable the following items in the kernel configuration menu:
    ATA/IDE/MFM/RLL Support
    IDE, ATA and ATAPI Block devices:
    Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
    Include IDE/ATA-2 DISK support
    Use multi-mode by default
    Include IDE/ATAPI CDROM support
    Generic PCI IDE chipset support
    Use PCI DMA by default when available
    VIA82CXXX chipset support

    You can verify that your drives are DMA enabled by using:
    hdparm -d /dev/hda
    hdparm -d /dev/hdc

  • Touchpad
    Model: generic 3-button ps/2 mouse
    Enable the following items in the kernel configuration menu:
    Character device/Mice/Mouse support
    PS/2 mouse (aka “auxiliary device) support

    In order to use the touchpad from the console, tell gpm to use the autops2 driver. Here is my /etc/gpm.conf:
    device=/dev/psaux
    responsiveness=
    repeat_type=
    type=autops2
    append=””
    sample_rate=

    Then do /etc/init.d/gpm restart

    If you want to use the wheel/touchpad scrolling, you’ll need a 2.6.x kernel. See the Kernel 2.6 section at the end of the page for more info! Note: it will work only under X

  • USB Controller
    Model: Universal Host Controller Interface (PCI ID 1106:3038)
    Enable the following items in the kernel configuration menu:
    USB Support/Support for USB
    UHCI (Intel PIIX4, VIA, …) support

    Devices tested: Digicom Palladio USB Bluetooth Dongle (CSR based), Logitech Optical Wheel Mouse

    – Logitech Optical Wheen Mouse:
    Enable the following items in the kernel configuration menu:
    USB support/Support for USB:
    USB Human Interface Device (full HID) support
    HID input layer support
    Input core support:
    Input core support
    Mouse support

    You need to load the following modules in order to use a USB mouse:
    input
    mousedev
    hid

    In order to use your USB mouse from the console, change your /etc/gpm.conf so that it looks like this:
    device=/dev/input/mice
    responsiveness=
    repeat_type=
    type=imps2
    append=””
    sample_rate=
    Then restart gpm
    /etc/init.d/gpm restart

    In order to use both your USB mouse and TouchPad on XFree86 add the following sections in your /etc/X11/XF86Config-4
    Section “InputDevice”
            Identifier      “USB Mouse”
    Driver          “mouse”
    Option          “SendCoreEvents”        “true”
    Option          “Device”                “/dev/input/mice”
    Option          “Protocol”              “ImPS/2”
    Option          “Emulate3Buttons”       “true”
    Option          “ZAxisMapping”          “4 5”
    EndSection
    Section “InputDevice”
            Identifier      “TouchPad Mouse”
    Driver          “mouse”
    Option          “CorePointer”
    Option          “Device”                “/dev/psaux”
    Option          “Protocol”              “PS/2”
    Option          “Emulate3Buttons”       “true”
    EndSection

    Then check that your Server Layout section looks like this:

    Section “ServerLayout”
    Identifier      “Default Layout”
    Screen          “Default Screen”
    InputDevice     “Generic Keyboard”
            InputDevice     “USB Mouse”
            InputDevice     “TouchPad Mouse” CorePointer
    EndSection

    Example configuration file for XFree4.1 is available here: XF86Config-4.

    – USB Bluetooth Dongle (CSR based)
    See the dedicated page at http://www.nervous.it/hw/PalladioUSB_dongle.html.

  • Hard Disk
    Model: TOSHIBA MK2018GAP UDMA(100)
    You can save a lot of battery power by using noflushd (http://noflushd.sourceforge.net). Here is the package description:
    Noflushd is a daemon that spins down disks that have not been read from after a certain amount of time, and then prevents disk writes from
    spinning them back up. It’s targeted for laptops but can be used on any computer with IDE disks. The effect is that the hard disk actually spins
    down, saving you battery power, and shutting off the loudest component of most computers.

    noflushd is not useful if you are using a journaled filesystem!

    Debian Specific: people using Debian should install the following packages to get the best out of this hard disk: hdparm ide-smart noflushd powermgmt-base .
    I modified the default noflushd init.d script so that it doesn’t start if the laptop is on AC power. You can download it from
    http://www.nervous.it/hw/noflushd.sh . Simply overwrite the default /etc/init.d/noflushd with it and you are done.

    TBD: Security mode feature set hdparm -I /dev/hda

  • CD/DVD ROM
    Model: MATSHITADVD-ROM SR-8177 UDMA(33) ATAPI CD/DVD-ROM drive
    The device name for he CD/DVD ROM is /dev/hdc.
    If you never ran a DVD Video Player on your notebook before, you have to set the DVD region code first. Follow there instructions:
    download
    compile
    run
    choose
  • CDRW/DVD
    Model: QSI DVD/CDRW SBW-161 SX02 Removable CD-ROM
    Add
    append=”hdc=ide-scsi”
    to your lilo.conf either in the global section or in a specific kernel section.

    Then add the following lines to your /etc/modules.conf:
    options ide-cd ignore=hdc
    alias scd0 sr_mod
    pre-install sg     modprobe ide-scsi # load ide-scsi before sg
    pre-install sr_mod modprobe ide-scsi # load ide-scsi before sr_mod
    pre-install ide-scsi modprobe ide-cd # load ide-cd   before ide-scsi

    From the next reboot on, access to the CDRW/DVD is provided by the /dev/scd0 device and NOT by the /dev/hdc.
    In order to burn your CDs, you have to install cdrecord. If you don’t like using it from the console, you can install any GUI you may find: there will be no problems of compatibility. In fact, most of graphical programs for burning CDs are just Graphical User Interfaces for cdrecord, so programs like xcdroast, gcombust etc. should work on your laptop with no problems at all.

    Debian Specific: people using Debian should create a file called e.g. /etc/modutils/ideburner containing the above lines and after that run update-modules as root. Debian GNU/Linux doesn’t allow the /etc/modules.conf to be changed. Whenever you want to add something to it, you have to create a new file in /etc/modutils/ and then execute update-modules.
    Next thing to do is to install the package cdrecord. If you want to use a GUI for burning CDs, try one of the following packages: xcdroast, gcombust, cdrtoaster, gtoaster, cdbakeoven, eroaster.

    If everything is ok, the output of cdrecord -scanbus should be something like this:

    Cdrecord 1.11a39 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
    Linux sg driver version: 3.1.24
    Using libscg version ‘schily-0.7’
    scsibus0:
    0,0,0     0) ‘QSI     ‘ ‘DVD/CDRW SBW-161’ ‘SX02’ Removable CD-ROM
    0,1,0     1) *
    0,2,0     2) *
    0,3,0     3) *
    0,4,0     4) *
    0,5,0     5) *
    0,6,0     6) *
    0,7,0     7) *

    Note: Antonio Casini (acasini at tcl.it) reports problem when blanking CD-RW. Using cdrdao instead of cdrecord seems to solve the problem
    Adrian Knoth says that you must use the -immed flag with cdrecord, in order to blank CD-RWs.

  • Keyboard HotKeys
    The Mail, Browser, P1 and P2 button are supported through the hotkeys program. You can get it from http://ypwong.org/hotkeys/ .
    In order to use the P1 and P2 buttons with kernel 2.6.x, add the following commands to your boot up scripts:

    setkeycodes e074 148

    setkeycodes e073 158

    You will need a suitable keycode configuration file. I wrote this one: aspire1300.def
    Put it in /usr/local/share/hotkeys or /usr/share/hotkeys depending on your installation, then open an xterm from inside Xwindows and run

    hotkeys -t aspire1300 -b

    Debian Specific: first
    apt-get install hotkeys
    then copy aspire1300.def to /usr/share/hotkeys
    Finally edit /etc/hotkeys.conf and change the following lines:
    Kbd=aspire1300
    WebBrowser=opera
    Email=mozilla -mail
    In this example you associate the Email  button to mozilla mail and the Browser button to Opera file and then you won’t have to run it manually anymore.

  • PCMCIA WiFi Card
    Mathieu Peresse <peressem at ses.curtin.edu.au> tested the Cisco Aironet & Avaya Wireless (Orinoco based) PCMCIA Wireless Cards on Acer Aspire 1300 with kernels 2.4.20 and 2.4.21. Here comes his instructions on how to set them up:

    • Disable the kernel PCMCIA support. In the config menu:

      General Setup -> PCMCIA/CardBus Support, uncheck the PCMCIA/CardBus Support option
      Network Device Support -> WirelessLAN(non-hamradio), check the WirelessLAN Support (to be able to use the wireless extensions, i.e. iwconfig…)

    • Install the pcmcia-cs package (ver 3.2.4) from http://pcmcia-cs.sourceforge.net
      This package come with some pcmcia tools and driver modules for  a lot of PCMCIA devices (not only WLAN devices)
    • Modify the /etc/pcmcia/config.opts file: here is an example config.opts
    • Make sure that the variable PCIC  is set to “i82365” in the /etc/init.d/pcmcia
    • Install the wireless tools: http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html

      Debian specific: run
      # apt-get install wireless-tools

      The “iwconfig” tool is used to set the 802.11 parameters (ssid, channel, mode, bitrate…)

    • Bring the interface up:
      # ifconfig eth1 up
      # iwconfig eth1


Kernel 2.6 Hints

  Mathieu Peresse and Gregory foulademer Colpart) reported that kernel 2.6.x works perfectly on this laptop.

Here you can find a config file for that kernel: config-2.6.0

For 2.6 kernels you have to get module-init-tools, which handles modules. For other potential requirements see Documentation/Changes in the linux kernel source directory.

Debian specific:
# apt-get install module-init-tools powernowd
I also made available a precompiled 2.6.0 kernel-image for Debian sarge. It already contains the alps.patch which makes the scrolling wheel work.

Advantages of using kernel 2.6.x:

  • cpu frequency scaling works well. You have to get a /sys sysfs entry in your unix tree:

    # mount -t sysfs none /sys

    or add the following line in /etc/fstab:

    none           /sys            sysfs    defaults  0 0

    /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed is the file where you can set the speed of you’re processor.

    # echo frequency_in_hz > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed

    In order to automatically change the cpu frequency you have to install powernowd (nevermind the name, it works with any processor supported by cpufreq). cpufreqd or cpudyn won’t do.

  • Suspend to Disk works smoothly: it allows you to save the current RAM content to your swap partition, turn completely off your computer and then resume your session in a few seconds (ranging from 5 to 10 secs) without rebooting. The only problem for me is the system date not being updated when I resume. In order to suspend your laptop you have to:

    Add the option resume=/dev/hdaX to your lilo.conf (use the append= parameter) where hdaX is your swap partition. Update your boot sector by running “lilo -v” and then type:

    # echo 4 >/proc/acpi/sleep

    WARNING: if you suspend to disk and forget to resume your session at the following power on, you’ll be in trouble! You’ll have to reinitialize your swap partition and fsck all the other partitions! Be careful about it! You have been warned!

  • wheel (that’s to say the button in the middle, below the touchpad) finally works!
    scrolling on the touchpad works too!

    Here are the instructions:

    • First, download the synaptics driver and the alps.patch from
      http://w1.894.telia.com/~u89404340/touchpad/
    • Apply the alps.patch to your kernel 2.6.0 source tree (the debian kernel image mentioned above already includes it):
      # cd /usr/src/linux-2.6.0
      # patch -p1 < /path/alps.patch
    • Recompile your kernel with CONFIG_INPUT_EVDEV=m and reboot
    • Compile the synaptics driver:
      # tar xvjf synaptics-x.x.x.tar.bz2
      # make
      # make install
    • Add the following section to your /etc/X11/XF86Config* file
      Section “InputDevice”
        Driver        “synaptics”
        Identifier    “Configured Mouse”
        Option        “Device”                “/dev/input/event0”
        Option        “Protocol”              “event”
        Option        “LeftEdge”              “60”
        Option        “RightEdge”             “830”
        Option        “TopEdge”               “70”
        Option        “BottomEdge”            “650”
        Option        “FingerLow”             “25”
        Option        “FingerHigh”            “30”
        Option        “MaxTapTime”            “180”
        Option        “MaxTapMove”            “110”
        Option        “EmulateMidButtonTime”  “75”
        Option        “VertScrollDelta”       “50”
        Option        “HorizScrollDelta”      “50”
        Option        “MinSpeed”              “0.5”
        Option        “MaxSpeed”              “0.6”
        Option        “AccelFactor”           “0.01”
        Option        “EdgeMotionSpeed”       “40”
        Option        “UpDownScrolling”       “1”
        Option        “TouchpadOff”           “0”
      EndSection

      Debian specific:
      people running sid/unstable (in a near future sarge users too) can install the driver with a simple:
      # apt-get install xfree86-driver-synaptic

      You’ll find the alps.patch in /usr/share/doc/xfree86-driver-synaptic/alps.patch.gz

    • Load the “evdev” module (modprobe evdev) and restart XFree. Now you should be able to scroll by passing your finger on the edge of your touchpad or by pressing the middle button (up&down). Horizontal scrolling should work too (just use the bottom edge)


Links


Credits

Author:  Luca ‘NERvOus‘ Gibelli  (nervous at nervous.it)

Thanks to:
Michael (e9725694 at student.tuwien.ac.at) – started the documentation project
Luca Gambetta (ziabice at oltrelinux.com) – gave me information for the CDRW/DVD drive and NetBSD
nizZy (dirtynizze at orebro.bonet.se) – tested OpenBSD on this laptop
Francesco Poli (frx at firenze.linux.it) – step by step guide on dual booting Linux and WinXP
Der Ondre (ICQ) – tested the new via-rhine driver
Danalien (danalien at datormaffian.com) – info about kdm and cpufreq on kernel 2.5.62
Mathieu Peresse (peressem at ses.curtin.edu.au) – tested PCMCIA wifi card and Kernel 2.6
Luigi Belli (lbelli at cream dot unimi dot it) – patch for broken PST tables
Antonio Casini (acasini at tcl.it) – reported problem when blanking cdrw with cdrecord
Jonas Meier (jonas.meier at swissonline.ch) – suggests using cpudyn
Gregory Colpart (ICQ: foulademer) – suggestions on using kernel 2.6
Simon Rutishauser (simon.rutishauser at mx.ch) – synaptics updates
Adrian Knoth (adi at drcomp.erfurt.thur.de) – blanking CD-RWs using cdrecord
Alessandro Cerè (alessandro.cere at unicam.it) – using hotkeys on kernel 2.6
Johannes Werner (johannes-dot-werner at physik.tu-darmstadt-dot-de) – using P1 and P2 buttons on kernel 2.6


Creative Commons License
This document is distributed under Creative Commons Licence.


First release: 2 November 2002
Last update: 21 June 2005

Share