PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : kurzanleitung für das notebook cebop atl



msi
29.10.03, 12:13
Hallo,

hier eine kurzanleitung in stichpunkten:
gute Seite: http://www.rolandstigge.de/computer/cebop/

kernel:
kernelpatches:
low latency: http://www.zip.com.au/~akpm/linux/schedlat.html#downloads
acpi: http://acpi.sourceforge.net/download.html
openmosix (braucht ihr nicht unbedingt): http://openmosix.sourceforge.net/#LatestRelease
meine kernel config (2.4.22 mit diesen 3 patches) habe ich angehängt. einfach auf .config kopieren und make oldconfig ausführen (funktioniret auch, wenn ihr openmosix nicht habt)

sound
diesen trick habe ich von der oben genannten seite:
von http://www.opensound.com/download.cgi die oss-commercial treiber runterladen. und installieren (kernel sources müssen nach /usr/src/linux gelinkt sein und akutelle soundtreiber (soundcore und i810_audio) dürfen nicht geladen sein. ich habe die treiber nach /usr/local/lib/oss installiert.
um die soundkarte zum laufen zu bekommen einfach /usr/local/lib/oss/soundon dann /usr/local/lib/oss/soundoff und dann die kernel module laden. Das PRoblem bei den kernel treibern oder alsa ist, dass sie die karte nicht richtig initalisieren, aber sonst funktionieren sie.

grafiktreiber
hier die Seite zu den Treibern: http://www.winischhofer.net/linuxsis630.shtml
um diese zu installieren die /etc/apt/sources.list mit diesen einträgen erweitern:
deb http://www.winischhofer.net/sis/debian/stable ./
und apt-get update && apt-get install sisxdriver ausführen. Die Treiber sollten nun installiert werden.
von hier: http://www.winischhofer.net/linuxsis630.shtml#download
den SiS Display Control Panel herunterladen: http://www.winischhofer.net/sis/sisctrl_i386-0.0.20031026-1.tar.gz und entpacken. die binary läuft hervorrangend. meine XF86Concifg-4's kommen im nächsten post.

booten schneller machen
um das booten schneller zu machen hab ich einen einfachen trick angewendet, nämlich alle prozesse in den init scripts mit & in den hintergrund geschickt. probleme gabs bei mir deswegen nicht.


root@uranus:/etc/rc5.d# ls -l
total 12
lrwxrwxrwx 1 root root 18 Oct 23 19:43 S10sysklogd -> ../init.d/sysklogd
lrwxrwxrwx 1 root root 15 Oct 23 19:43 S11klogd -> ../init.d/klogd
lrwxrwxrwx 1 root root 17 Oct 23 19:43 S12kerneld -> ../init.d/kerneld
lrwxrwxrwx 1 root root 16 Oct 23 19:43 S15pcmcia -> ../init.d/pcmcia
lrwxrwxrwx 1 root root 15 Oct 23 19:43 S20inetd -> ../init.d/inetd
lrwxrwxrwx 1 root root 17 Oct 23 19:43 S20logoutd -> ../init.d/logoutd
lrwxrwxrwx 1 root root 17 Oct 23 19:43 S20makedev -> ../init.d/makedev
lrwxrwxrwx 1 root root 19 Oct 28 15:48 S20openmosix -> ../init.d/openmosix
lrwxrwxrwx 1 root root 15 Oct 23 19:43 S20samba -> ../init.d/samba
lrwxrwxrwx 1 root root 15 Oct 23 19:43 S20smail -> ../init.d/smail
lrwxrwxrwx 1 root root 13 Oct 23 19:43 S20ssh -> ../init.d/ssh
lrwxrwxrwx 1 root root 17 Oct 23 19:43 S40hotplug -> ../init.d/hotplug
lrwxrwxrwx 1 root root 13 Oct 23 19:43 S89atd -> ../init.d/atd
lrwxrwxrwx 1 root root 14 Oct 23 19:43 S89cron -> ../init.d/cron
-rwxr-xr-x 1 root root 34 Oct 27 20:42 S99kdm
lrwxrwxrwx 1 root root 19 Oct 23 19:43 S99rmnologin -> ../init.d/rmnologin
root@uranus:/etc/rc5.d# cat S99kdm
#!/bin/sh
/usr/local/bin/tty1/t1
root@uranus:/etc/rc5.d#


das t1 programm ist im 2. post.

Kernelmodule
das /etc/init.d/modutils script habe ich so abgeändert:


root@uranus:/etc/init.d# cat modutils
#! /bin/sh
# /etc/init.d/modutils: loads the appropriate modules in `boot'.


PATH="/sbin:/bin:/usr/sbin:/usr/bin"

[ -f /proc/ksyms ] || exit 0
[ -e /sbin/depmod ] || exit 0

if [ -w /lib/modules/ ]; then
echo -n "Calculating module dependencies... "
depmod -a -q
echo "done."
fi


echo -e "\033[1;33m => Loading oss commercial soundsystem to initalize soundcard \033[0m "
/usr/local/lib/oss/soundon
echo -e "\033[1;33m => Unloading oss commercial soundsystem \033[0m "
/usr/local/lib/oss/soundoff


# Loop over every line in /etc/modules.
echo -n 'Loading modules: '
(cat /etc/modules; echo) | # make sure there is a LF at the end
while read module args
do
case "$module" in
\#*|"") continue ;;
esac
echo -n "$module "
modprobe $module $args
done
echo


#
# Just in case a sysadmin prefers generic symbolic links in
# /lib/modules/boot for boot time modules we will load these modules
#
if [ -n "`modprobe -l -t boot`" ]
then
modprobe -a -t boot \*
fi

exit 0

root@uranus:/etc/init.d#

damit das mit dem sound funktioniert. hier meine /etc/modules:


root@uranus:/etc/init.d# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
rtc
yenta_socket
ds
serial

#input
input
mousedev
keybdev

#network
sis900

#sound oss commercial first please
soundcore
i810_audio


agpgart
nls_iso8859-1
nls_cp437
af_packet

#fs
autofs4
ntfs
msdos
shfs

#acpi
ac
battery
fan
processor
thermal
button

#usb
usbcore
usb-ohci
hid
root@uranus:/etc/init.d#

msi
29.10.03, 12:15
hier ist meine kernel configuration einfach auf .config im kernel dir kopieren und make oldconfig ausführen.

msi
29.10.03, 12:17
sind noch nicht perfekt, aber benutzbar.

msi
29.10.03, 12:21
hier das script für kde.
mit gcc -o /usr/local/bin/tty1/t1 t1.c -lncurses
kompilieren.

msi
29.10.03, 12:24
um die Spezialtasten, also vorne am laptop oder die um Sound lauter/leiser zu machen zu benutzen braucht man einen speziellen kernel patch: funkey.
hier die seite dazu: http://rick.vanrein.org/linux/funkey/

ich selber habe das noch nicht probiert, würde mich aber über berichte darüber freuen.