############## IRDA ##################### #how to configure irda #compile and install latest irda-utils (http://www.cs.uit.no/linux-irda/) #On may the 1st this was the irda-utils-0.9.3-pre3 #On may the 2nd it was pre4, so they are very busy. #The 0.9.3-pre3 was the first that was stable. The previus versions hung up #my system. #edit /etc/irda/drivers #make irattach /dev/ttyS1 the active line (remove # and add it to another line) case "${action:?}" in 'start') irattach /dev/ttyS1 # The third serial port is an IrDA port # irattach /dev/ttyS0 -d esi # Attach a ESI dongle to the first serial port #irattach /dev/ttyS0 -d tekram # insmod pc87108 # If your machine as a pc87108 FIR chipset # modprobe uircc # Sharp UIRCC chipset #configure /etc/conf.modules alias tty-ldisc-8 irtty # for irda alias tty-ldisc-11 irtty # for irda alias char-major-60 ircomm_tty # if you want IrCOMM support execute: modprobe -k irtty irmanager -s 1 -d 1 modprobe irlan #now you have a new device called irlan0 #to configure it do: ifconfig irlan0 10.1.1.1 netmask 255.255.255.0 broadcast 10.1.1.255 up route add -net 10.1.1.1 netmask 255.255.255.0 irlan0 #If you want to use the ircomm support (handy to connect w$95/8) you have #to add a new device /dev/irnine etc, this all is explained in the howto. ############# Small Dutch shell file to execute IRDA ############ modprobe -k irtty irmanager -s 1 -d 1 exit # Zo moet het: - voeg in /etc/conf.modules de volgende regel toe: alias tty-ldisc-8 irtty # for irda alias tty-ldisc-11 irtty # for irda (de eerste is volgens de doc, de tweede werkt echt..) - depmod -a - irmanager -s 1 -d 1 -s 1 = sounds, -d 1 = discovery on - modprobe irlpt_server # be a (irda) printserver - modprobe irlpt_client # be able to print - ~ ################################################################### ###################### PCMCIA MODEM ############################### #Since the modem doesn't work standard in pcmcia-Linux, I had to #exclude an address for it: #Edit /etc/pcmcia/config.opts # Excluded for IBM 14k4 modem - would not work on 0x3e8 exclude port 0x3e8-0x3ef #Since the pcmcia stack uses another dhcp client (dhcpcd) I had to build #and install it: #You can get it at: dhcpcd-1.3 primary web site is http://www.phystech.com/download/ ftp://ftp.phystech.com/pub/ #If this is not installed, only bootp will work. ################################################################## ############################# SOUND ################################## To enable sound for the notebook: #Two ways, one is manual load it with: /sbin/modprobe sound /sbin/insmod uart401 /sbin/insmod sb io=0x220 irq=5 dma=1 dma16=5 /sbin/insmod mpu401 io=0x330 /sbin/insmod opl3 io=0x388 /sbin/insmod v_midi #And the seccond one is to autoload it when needed: #edit /etc/conf.modules options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330 alias char-major-14 sb alias sound-slot-0 sb # Driver for first sound device alias sound-service-0-0 sb # Driver for first mixer (14,0) alias sound-service-0-1 sb # Driver for first sequencer (14,1) alias sound-service-0-2 sb # Driver for first midi (14,2) alias sound-service-0-3 sb # Driver for first dsp (14,3) and first audio (14,4) ?? alias sound-service-0-6 off # Driver for sound stat (14,6) alias sound-service-0-8 off # Driver for second sequencer (14,8) #alias sound-service-0-0 sb # ??? used by x11amp #Of course, sound is build as a module in the kernel. ~ ################################################################## ################################ USB ############################# #How to install a USB mouse in Linux and X with kernel 2.2.7 #Since they have hidden the USB features in the kernel, you have to #manual enable them ifeq ($(CONFIG_USB),y) DRIVERS := $(DRIVERS) drivers/usb/usb.a endif #Then you need a few USB devices: mknod /dev/hidbp-kbd-0 c 10 16 mknod /dev/hidbp-kbd-1 c 10 17 mknod /dev/hidbp-kbd-2 c 10 18 mknod /dev/hidbp-kbd-3 c 10 19 mknod /dev/hidbp-kbd-4 c 10 20 mknod /dev/hidbp-kbd-5 c 10 21 mknod /dev/hidbp-kbd-6 c 10 22 mknod /dev/hidbp-kbd-7 c 10 23 mknod /dev/hidbp-kbd-8 c 10 24 mknod /dev/hidbp-kbd-9 c 10 25 mknod /dev/hidbp-kbd-10 c 10 26 mknod /dev/hidbp-kbd-11 c 10 27 mknod /dev/hidbp-kbd-12 c 10 28 mknod /dev/hidbp-kbd-13 c 10 29 mknod /dev/hidbp-kbd-14 c 10 30 mknod /dev/hidbp-kbd-15 c 10 31 mknod /dev/hidbp-mse-0 c 10 32 mknod /dev/hidbp-mse-1 c 10 33 mknod /dev/hidbp-mse-2 c 10 34 mknod /dev/hidbp-mse-3 c 10 35 mknod /dev/hidbp-mse-4 c 10 36 mknod /dev/hidbp-mse-5 c 10 37 mknod /dev/hidbp-mse-6 c 10 38 mknod /dev/hidbp-mse-7 c 10 39 mknod /dev/hidbp-mse-8 c 10 40 mknod /dev/hidbp-mse-9 c 10 41 mknod /dev/hidbp-mse-10 c 10 42 mknod /dev/hidbp-mse-11 c 10 43 mknod /dev/hidbp-mse-12 c 10 44 mknod /dev/hidbp-mse-13 c 10 45 mknod /dev/hidbp-mse-14 c 10 46 mknod /dev/hidbp-mse-15 c 10 47 #new gpm line in /etc/rc.config #you now have 2 devices, one is the USB mouse, deteced when the notebook #started, and the second one is the original touchpad GPM_PARAM=" -R -m /dev/hidbp-mse-0 -t ps2 -M -m /dev/mouse -t ps/2" #Now it works with the full screen Linux, and now for X: #edit /etc/XF86Setup Section "Pointer" #Protocol "PS/2" #Device "/dev/mouse" Protocol "MouseSystems" Device "/dev/gpmdata" EndSection #I thought this was about it, to bad I haven't got a seccond notebook #for test purposes. #################################################################### ######################## Powermanagement ########################### Hmmmm, Ich hatte auch noch versucht zu documentieren wie mein notebook ausschalted, aber, leider ist das DOcument noch ganz in Hollaendisch und fast unnutzbar. Naturlich kan ich wohl die website geben, wo ich das runtergezogen hab http://www.germany.net/teilnehmer/101,206067/Notebook/Notebook.html So, das muss reichen. MfG Ge' Janssen