Warning: this is a htmlized version!
The original is across this link. |
####### # # E-scripts on configuring hardware. # # Note 1: use the eev command (defined in eev.el) and the # ee alias (in my .zshrc) to execute parts of this file. # Executing this file as a whole makes no sense. # # Note 2: be VERY careful and make sure you understand what # you're doing. # # Note 3: If you use a shell other than zsh things like |& # and the for loops may not work. # # Note 4: I always run as root. # # Note 5: some parts are too old and don't work anymore. Some # never worked. # # Note 6: the definitions for the find-xxxfile commands are on my # .emacs. # # Note 7: if you see a strange command check my .zshrc -- it may # be defined there as a function or an alias. # # Note 8: the sections without dates are always older than the # sections with dates. # # This file is at <http://angg.twu.net/a/e/hardware.e> # or at <http://angg.twu.net/e/hardware.e.html>. # See also <http://angg.twu.net/emacs.html>, # <http://angg.twu.net/a/.emacs[.html]>, # <http://angg.twu.net/a/.zshrc[.html]>, # <http://angg.twu.net/escripts.html>, # and <http://angg.twu.net/>. # ####### ####### # # Monitores: # ####### Section "Monitor" Identifier "Philips 104s" VendorName "Philips" ModelName "104s" # HorizSync 31.5 - 48.5 HorizSync 31.5, 35.2, 35.5, 37.8, 48.1, 48.3 VertRefresh 50-100 ... endsection Section "Monitor" Identifier "Samsung SyncMaster 3" VendorName "Samsung" ModelName "SyncMaster 3" HorizSync 31.5, 35.15, 35.5 VertRefresh 50-90 Modeline "1024x768" 44.9 1024 1048 1208 1264 768 776 784 817 Interlace Modeline "640x480" 25.175 640 664 760 800 480 491 493 525 Modeline "800x600" 36 800 824 896 1024 600 601 603 625 EndSection Section "Monitor" Identifier "ProView 15in" VendorName "ProView" ModelName "PV-1564A" VertRefresh 50-90 HorizSync 30-64 # multisync ... EndSection ####### # # Trident 9680: # ####### (find-fline "~/xfaq.html" "Subject: Q.G10- Problems with TGUI <B>9680</B>") ####### # # Trident 9680 crashing with smame, 99jan30 # ####### Chega de Trident, vou tentar comprar outra placa. ATI Mach64? # (find-fline "/usr/doc/HOWTO/Hardware-HOWTO.gz" "Video cards") # (find-fline "/usr/doc/HOWTO/Hardware-HOWTO.gz") ####### # # X modelines # ####### # (find-esfile "general.e" "xdpyinfo") # (find-fline "/etc/X11/XF86Config") xdpyinfo -display :0.0 -ext XFree86-VidModeExtension | tail -n 40 Clock Hdsp Hbeg Hend Httl Vdsp Vbeg Vend Vttl Flags 31.50 640 656 720 840 480 481 484 500 -hsync -vsync 60.75 800 864 928 1088 600 616 621 657 -hsync -vsync 85.00 1024 1032 1152 1360 768 784 787 823 ####### # # svgalib-1.2.13 # ####### rm -Rv /usr/src/svgalib-1.2.13.orig rm -Rv /usr/src/svgalib-1.2.13 cd /usr/src/ tar -xvzf $DEBIAN/hamm/hamm/source/libs/svgalib_1.2.13.orig.tar.gz mv svgalib-1.2.13.orig svgalib-1.2.13 cd /usr/src/svgalib-1.2.13/ mv et4000.regs src/ find * -name '*.[ch]' > .files.ch ls src/*.regs >> .files.ch etags $(<.files.ch) # make SVGALIB_CONFIG_FILE=/etc/vga/libvga.config \ # DEFINES=-DDEBUG install |& tee omi # (find-svgalibfile "src/vga.c" "__svgalib_driverspecslist[c]->init(1, par1, par2);") make install |& tee omi make demoprogs # Inútil por enquanto: # (find-fline "/etc/vga/libvga.config") # (find-svgalibfile "libvga.config") # (find-fline "~/replace/libvga.config") [ -f /etc/vga/libvga.config.orig ] || mv -iv /etc/vga/libvga.config /etc/vga/libvga.config.orig cp -v ~/replace/libvga.config /etc/vga/libvga.config man svgalib man libvga.config ####### # # # ####### # To test which modes work: # cd /usr/src/svgalib-1.2.13/demos/ /usr/src/svgalib-1.2.13/demos/vgatest # Not working: 14 15 16 19 20 29 30 31 44 # 14: 320x200, 32K colors (5-5-5 RGB, blue at LSB, banked, interlaced) # 15: 320x200, 64K colors (5-6-5 RGB, blue at LSB, banked, interlaced) # 16: 320x200, 16M colors (8-8-8 RGB, blue byte first, banked, interlaced) # 19: 640x480, 16M colors (8-8-8 RGB, blue byte first, banked, interlaced) # 20: 800x600, 32K colors (5-5-5 RGB, blue at LSB, banked, interlaced) # 29: 800x600, 16 colors (4 bitplanes, interlaced) # 30: 1024x768, 16 colors (4 bitplanes, interlaced) # 31: 1280x1024, 16 colors (4 bitplanes, interlaced) # 44: 1600x1200, 16 colors (4 bitplanes, interlaced) # ...so I fed these lines (without the leading "#", of course) to # ~/.zgvrc: # (find-fline "~/.zgvrc") # # # (find-esfile "hardware.e" "badmode") # badmode 320 200 15 # badmode 320 200 16 # badmode 320 200 24 # badmode 640 480 24 # badmode 800 600 15 # badmode 800 600 4 # badmode 1024 768 4 # badmode 1280 1024 4 # badmode 1600 1200 4 # Tests: cd /c5/S6/jpg/ zgv -m"320 200 16" i1b.jpg zgv -m"640 480 16" i1b.jpg zgv -m"1024 768 16" i1b.jpg zgv -m"1024 768 256" i1b.jpg zgv -m"1024 768 256" andreia.jpg zgv -m"640 480 16M" andreia.jpg # (code-c-d "svgalib" "/usr/src/svgalib-1.2.13/") # (find-svgalibfile "0-INSTALL") # (find-svgalibfile "Makefile.cfg") # I can force TVGA9680 1024K RAM with: chipset TVGA 1024 4 # TVGA 9680 (detected automatically) # Monitor: HorizSync 30 64 VertRefresh 50 100 # (find-fline "/etc/vga/libvga.config" "chipset TVGA") # (find-svgalibfile "src/vga.c") # (find-svgalibfile "src/tvga8900.c") # (find-svgalibfile "src/tvga8900.c" "tvga_model") # (find-svgalibfile "src/tvga8900.c" "case 4: tvga_model=9680;") # (find-svgalibtag "DriverSpecs") # (find-svgalibfile "src/vga.c" "__svgalib_driverspecslist[c]->init(1, par1, par2);") # (find-svgalibfile "src/vga.c" "vga_setchipsetandfeatures(i, j, atoi(ptr));") # chipset TVGA 1024 4 ####### # # zgv-2.8-4 # ####### zsnedeb hamm/hamm/source/graphics zgv_2.8-4.diff.gz zsnedeb hamm/hamm/source/graphics zgv_2.8-4.dsc zsnedeb hamm/hamm/source/graphics zgv_2.8.orig.tar.gz zcat $DEBIAN/hamm/hamm/source/graphics/zgv_2.8-4.diff.gz rm -Rv /usr/src/zgv-2.8.orig rm -Rv /usr/src/zgv-2.8 cd /usr/src/ tar -xvzf $DEBIAN/hamm/hamm/source/graphics/zgv_2.8.orig.tar.gz mv -iv zgv-2.8.orig zgv-2.8 cd /usr/src/zgv-2.8/ make |& tee om # Better: rm -Rv /usr/src/zgv-2.8 cd /usr/src/ dpkg-source -x $DEBIAN/hamm/hamm/source/graphics/zgv_2.8-4.dsc cd /usr/src/zgv-2.8 dpkg-buildpackage -us -uc |& tee odb ###### # # svgatextmode-1.8 # ###### rm -Rv /usr/src/svgatextmode-1.8 cd /usr/src/ tar -xvzf $DEBIAN/hamm/hamm/source/admin/svgatextmode_1.8.orig.tar.gz mv -iv SVGATextMode-1.8-src svgatextmode-1.8 cd /usr/src/svgatextmode-1.8/ make |& tee om make INSTBINDIR=/sbin install mangz-install |& tee omi cp -v ~/t.cnf /etc/TextConfig # (find-fline "~/t.cnf") man TextConfig man SVGATextMode man grabmode cd /usr/src/svgatextmode-1.8/ # çãoÛ±± # Û±°° # (code-c-d "stm" "/usr/doc/svgatextmode/") # (find-stmfile "") # (code-c-d "stm" "/usr/src/svgatextmode-1.8/") # (find-stmfile "") # (find-fline "~/t.cnf") /usr/src/svgatextmode-1.8/stm -t ~/t.cnf 80x25 /usr/src/svgatextmode-1.8/stm -t ~/t.cnf 80x50x8 /usr/src/svgatextmode-1.8/stm -t ~/t.cnf 80x50x9 /usr/src/svgatextmode-1.8/stm -t ~/t.cnf 80x50x9 /usr/src/svgatextmode-1.8/stm -t ~/t.cnf 132x50x9 /usr/src/svgatextmode-1.8/stm -t ~/t.cnf 132x60x9 ####### # # kbrequest # ####### # (find-fline "/etc/inittab" "kbrequest") # kb::kbrequest:/home/root/bin/kbrequest # (find-fline "/home/root/bin/kbrequest") #!/bin/sh stm -t /home/root/bin/9680+proview.stmconf -o -a > /dev/null setfont /home/root/replace/ega1.8 # (find-fline "/home/root/bin/9680+proview.stmconf") ChipSet "tgui" clockchip "tgui9440" # For the TGUI9440AGi, TGUI9660XGi, TGUI9680 Option "ClockDiv2" DefaultMode "80x50" # Grabbed from the tgui9680+ProView 15in setting: "80x50" 28.286 640 680 776 800 400 412 414 449 -Hsync +Vsync font 9x8 # (find-fline "~/t.cnf") man SVGATextMode man grabmode # (find-fline "/var/lib/dpkg/info/svgatextmode.list") # (find-fline "/usr/doc/svgatextmode/") dpkg -i ~/HASH/svgatextmode rm -v /etc/rc?.d/???svgatextmode stm -d -d -v -s |& l stm -o -a 80x50x9 ######## # # sound # ######## # (find-esfile "general.e") # (find-fline "~/.config2035") # (find-fline "/usr/doc/HOWTO/Sound-HOWTO.gz" 209) # (find-fline "/usr/doc/HOWTO/Sound-HOWTO.gz" 824) # (find-fline "/usr/doc/HOWTO/Sound-Playing-HOWTO.gz") # (find-k2file "drivers/sound/Readme.cards") # (find-fline "/etc/soundconf") # (find-fline "/usr/doc/HOWTO/NET-3-HOWTO.gz" "10.0.0.0") # (find-fline "/etc/init.d/netbase") # (find-fline "/etc/init.d/") rmmod sound cd $MODULES insmod $MODULES/sound.o trace_init=1 cat /proc/devices cat /dev/sndstat cat /proc/interrupts cat /proc/ioports # (find-k2file "Documentation/devices.txt" "Sound card") laf /dev | grep audio # ls >/dev/dsp cat crash.au >/dev/audio cd /usr/src/linux-2.0.35/drivers/sound/ make clean make config ./configure cd /usr/src/linux-2.0.35/ make modules |& tee omms cat /usr/src/pcsnd-kit/enterpri.raw > /dev/dsp # (find-k2file "drivers/sound/configure.c" ".soundconf") # (find-k2file "drivers/sound/configure.c" "oldconf") # (find-k2file "drivers/sound/Makefile" "oldconfig") # (find-k2file "drivers/sound/Readme.cards" 412) # (find-k2file "drivers/sound/Readme.cards" 576) # (find-k2file "drivers/sound/Readme.modules") # (find-k2file "drivers/sound/Readme.v30") # (find-fline "/usr/doc/HOWTO/unmaintained/mini/Gravis-Ultra-Sound.gz") ###### # # alsa # ###### http://home.pf.jcu.cz/~perex/ultra/ http://alsa.jcu.cz/ ftp://alsa.jcu.cz/pub/driver/alsa-driver-0.2.0-pre8.tar.gz ftp://alsa.jcu.cz/pub/driver/stable/alsa-driver-0.1.4.tar.gz ftp://alsa.jcu.cz/pub/lib/alsa-lib-0.1.1.tar.gz ftp://alsa.jcu.cz/pub/lib/stable/alsa-lib-0.0.9.tar.gz ftp://alsa.jcu.cz/pub/tests/osstest.tar.gz ftp://alsa.jcu.cz/pub/utils/alsa-utils-0.0.6.tar.gz # (code-c-d "alsa" "/usr/src/alsa-driver-0.2.0-pre8/") function untgzsrc () { cd /usr/src/ && ( rm -Rv $1 tar -xvzf $2 ) cd /usr/src/$1 } untgzsrc alsa-driver-0.2.0-pre8 \ /snarf/ftp/alsa.jcu.cz/pub/driver/alsa-driver-0.2.0-pre8.tar.gz # --with-major=14 \ ./configure \ --with-debug=full \ |& tee oc find * -type f | glimpseindex -H . -F etags $(find * -name '*.[ch]') make |& tee om # (find-alsafile "doc/alsa.txt" 50) # (find-k2file "Documentation/devices.txt") # (find-k2file "drivers/sound/sound_config.h" "sndstat") # (find-k2file "drivers/sound/sound_switch.c") # (find-alsatag "snd_printk") # (find-alsafile "kernel/info_oss.c" "NOT ENABLED IN CONFIG") # (find-alsafile "detect/detect.c") # (find-alsafile "detect/gus.c") kglimpse SND_DEV_STATUS cd /var/log for i in *.log; do echo "\n $i:" perl -nle 'm/... (..) (..):(..):(..) .*/ && "$1$2$3$4" > 20230000 && print $_' < $i done cat /proc/modules for i in $(cat /proc/modules | awk '{print $1, "\n"}'); do rmmod $i; done cat /proc/modules cd /usr/src/alsa-driver-0.2.0-pre8/modules/ insmod snd.o insmod snd-detect.o insmod snd-mixer.o insmod snd-pcm.o insmod snd-synth.o insmod snd-midi.o insmod snd-pcm-mix.o insmod snd-pcm1.o insmod snd-pcm1-oss.o insmod snd-timer.o insmod snd-gus.o cat /proc/devices cat /proc/modules | awk '{print $1}' cat /dev/sndstat cd /usr/src/alsa-driver-0.2.0-pre8/kernel/ /usr/src/alsa-driver-0.2.0-pre8/modules/ cd /snarf/ftp/alsa.jcu.cz/ # (find-fline "/alsa.jcu.cz:/pub/") # (find-fline "/snarf/ftp/alsa.jcu.cz/pub/") ftp://alsa.jcu.cz/pub/others/guspnp psne ftp://alsa.jcu.cz/pub/others/guspnp/linux1.map ;\ psne ftp://alsa.jcu.cz/pub/others/guspnp/linux2.map ;\ psne ftp://alsa.jcu.cz/pub/others/guspnp/linux3.map ;\ psne ftp://alsa.jcu.cz/pub/others/guspnp/linux4.map ;\ psne ftp://alsa.jcu.cz/pub/others/guspnp/linuxX1.map ;\ psne ftp://alsa.jcu.cz/pub/others/guspnp/linuxX2.map ;\ psne ftp://alsa.jcu.cz/pub/others/guspnp/linuxX3.map ;\ psne ftp://alsa.jcu.cz/pub/others/guspnp/linuxX4.map ;\ psne ftp://alsa.jcu.cz/pub/others/guspnp/pnpmap.exe ;\ psne ftp://alsa.jcu.cz/pub/others/guspnp/readme.txt 1st/2nd DMA: 3 1st IRQ: 12 2nd IRQ: 5 (emu) Base address: 0x220 __ sound Opt abcmidi A converter from abc to MIDI format and back __ sound Opt ascd AfterStep CD player __ sound Opt ascdc AfterStep CD changer __ sound Opt asmixer AfterStep audio mixer __ sound Opt aumix Simple text-based mixer control program __ sound Opt bplay Buffered audio file player/recorder __ sound Opt cam Cpu's Audio Mixer for Linux __ sound Opt cdtool some text-based commands for managing a CD __ sound Opt gom A generic audio mixer (Base versions) __ sound Opt gom-x A generic audio mixer (X version) __ sound Opt maplay An MPEG Audio Player. __ sound Opt mctools-lite A CD player and audio mixer for X __ sound Opt mixviews MixViews is a powerful soundfile editor. __ sound Opt nas The Network Audio System (NAS). __ sound Opt playmidi MIDI player __ sound Opt s3mod Player for MOD and S3M music files __ sound Opt saytime Speaks the current time through your sound card __ sound Opt sox A universal sound sample translator. __ sound Opt synaesthesia A program for representing sounds visually __ sound Opt timidity Software-only MIDI sequencer. __ sound Opt timidity-pat Instrument files for software-only MIDI sequence __ sound Opt tkmixer An audio mixer with Tk interface __ sound Opt wmmixer A mixer application designed for WindowMaker *** sound Opt workbone A simple text-based CD player __ sound Opt workman Graphical tool for playing audio CDs on a CD-ROM __ sound Opt xmcd X11/Motif based CD player __ sound Opt xmix An X11 based interface to the Linux sound driver __ sound Opt xwave Wave sound file editor ###### # # kernel 2.1.132 + sound: rascunhos # ###### cd /boot/angg21/ depmod *.o # (find-node "(zsh)Array Parameters") A=(soundcore sound mpu401 uart401 uart6850 v_midi opl3 ad1848) Arev=($(echo ${(j:\n:)A} | tac)) cat /proc/modules cd /boot/angg21/ for i in $A; do echo $i; insmod $i; done cat /proc/modules for i in $Arev; do echo $i; rmmod $i; done cat /proc/modules # (find-k21file "Documentation/devices.txt" "Sound card") # (find-k21file "Documentation/sound/") # (find-k21file "Documentation/sound/Introduction") # (find-k21file "Documentation/sound/OPL3") # (find-k21file "drivers/sound/") # (find-k21file "drivers/sound/README.CONFIG") # (find-k21file "drivers/sound/README.FIRST") # (find-k21file "drivers/sound/README.blurb") # (find-k21file "drivers/sound/README.wavefront") # (find-k21file "drivers/sound/Readme") # (find-k21file "drivers/sound/Readme.cards") # (find-k21file "drivers/sound/Readme.linux") # (find-k21file "drivers/sound/Readme.modules") # (find-k21file "/usr/doc/HOWTO/mini/Soundblaster-AWE.gz") # (find-k21file "/usr/doc/HOWTO/Sound-HOWTO.gz") # (find-k21file "/usr/doc/HOWTO/Sound-HOWTO.gz" "4.5. Troubleshooting") # (find-k21file "/usr/doc/HOWTO/Sound-HOWTO.gz" "cat /dev/sndstat") # (find-k21file "/usr/doc/HOWTO/Sound-Playing-HOWTO.gz") # (find-k21file "/usr/doc/HOWTO/unmaintained/mini/Gravis-Ultra-Sound.gz") # (find-k21file "/usr/doc/HOWTO/unmaintained/mini/Soundblaster-16.gz") # (find-k21file "drivers/sound/soundcard.c" "proc/sound") # (find-k21file "drivers/sound/soundcard.c" "proc_root_sound") # (find-k21file "drivers/sound/soundcard.c" "sound_proc_get_info") # (find-k21file "drivers/sound/sound_config.h") # (find-k21file "drivers/sound/sound_core.c") cat /dev/sndstat cat /proc/sound cat /usr/lib/tkdesk/sounds/door_open.au > /dev/audio cat /usr/lib/tkdesk/sounds/door_open.au > /dev/dsp # (find-k21file "drivers/sound/opl3sa2.c") # (find-k21file "drivers/sound/opl3sa2.c" "MODULE_PARM") # (find-vldifile "modutils.list") strings < opl3sa2.o objdump -xsT opl3sa2.o objdump --section=.modinfo -xsT opl3sa2.o grep MODULE_PARM /usr/src/linux-2.1.132/drivers/sound/opl3sa2.c pnpdump > ~/o # (find-fline "~/o") man isapnp.conf pnpdump | grep '(\|)' MODULE_PARM(io, "i"); MODULE_PARM(mss_io, "i"); MODULE_PARM(mpu_io, "i"); MODULE_PARM(irq, "i"); MODULE_PARM(dma, "i"); MODULE_PARM(dma2,"i"); io: Set i/o base of OPL3-SA2 or SA3 card (usually 0x370) mss_io: Set MSS (audio) I/O base (0x530, 0xE80, or other. Address must end in 0 or 4 and must be from 0x530 to 0xF48) mss_irq:Set MSS (audio) IRQ (5, 7, 9, 10, 11, 12) dma: Set MSS (audio) first DMA channel (0, 1, 3) dma2: Set MSS (audio) second DMA channel (0, 1, 3) mpu_io: Set MIDI I/O base (0x330 or other. Address must be on 4 location boundaries and must be from 0x300 to 0x334) io=0x370 mss_io=0x530 irq=5 dma=0 dma2=1 mpu_io=0x330 ####### # # kernel 2.1.132 + sound, versão que funciona # ####### cd /boot/angg21/ depmod *.o # (find-node "(zsh)Array Parameters") A=(soundcore sound ad1848 mpu401) Arev=($(echo ${(j:\n:)A} | tac)) cat /proc/modules cd /boot/angg21/ for i in $A; do echo $i; insmod $i; done cat /proc/modules for i in $Arev; do echo $i; rmmod $i; done cat /proc/modules # (find-fline "/usr/doc/isapnptools/") isapnp - <<'---' # (DEBUG) (READPORT 0x0203) (VERIFYLD Y) (ISOLATE) (IDENTIFY *) (CONFIGURE YMH0020/-1 (LD 0 (IO 0 (BASE 0x0220)) (IO 1 (BASE 0x0530)) (IO 2 (BASE 0x0388)) (IO 3 (BASE 0x0330)) (IO 4 (BASE 0x0370)) (INT 0 (IRQ 5 (MODE +E))) (DMA 0 (CHANNEL 0)) (DMA 1 (CHANNEL 1)) (ACT Y)) (LD 1 (IO 0 (BASE 0x0201)) (ACT Y))) (WAITFORKEY) --- cd /boot/angg21/ insmod opl3sa2.o io=0x370 mss_io=0x530 irq=5 dma=0 dma2=1 mpu_io=0x330 cat /proc/sound # A gente precisa fazer um patchzinho no kernel pra placa que eu tenho # funcionar; ela se indentifica como 3 ao invés de 1, 2 ou 4. # (find-fline "/var/log/kern.log" "opl3sa2.c: chipset version = 3") # (find-k21file "drivers/sound/opl3sa2.c" "No Yamaha audio controller found") case CHIPSET_OPL3SAX: case 3: /* edrx */ printk(KERN_INFO "Found OPL3-SAx (YMF719)\n"); cd /812.C/ultrapnp/mids/ playmidi barimyst.mid cd /812.C/ultrapnp/mids/ mftext barimyst.mid midi2abc -f barimyst.mid # (find-k21file "Documentation/sound/") # (find-k21file "Documentation/sound/ultrasound") ###### # # isa ne2000, angg, pnp disabled, 99jan10 # ###### cd /boot/angg insmod 8390.o function ne () { echo "\nne $1" grep ne /proc/modules > /dev/null && rmmod ne insmod ne.o io=0x3a0 irq=$1 } # for i in 1 2 3 4 5 6 7 8; do ne $i; done # for i in 9 10 11 12 13 14 15 16; do ne $i; done # (find-fline "~/one") # Quando a gente pede irq 2 ele diz "using irq 9". Esses aqui estão ok: ne 3 ne 5 ne 6 ne 7 ne 9 ne 10 ne 11 ne 12 ne 14 ######### # # ne2000 support (tentativas mais antigas) # ######### # ISA PnP: # isapnp ~/ne2000pnp.conf cd /usr/src/linux-2.0.35/modules/ insmod 8390.o insmod ne.o io=0x320 irq=10 # pnpdump > ~/ne2000pnp.conf # (find-fline "/etc/isapnp.conf") # Eu usei esses valores daqui: # (IO 0 (BASE 0x0220)) # (INT 0 (IRQ 10 (MODE +E))) # (ACT Y) # isapnp /etc/isapnp.conf # PCI: # cd /usr/src/linux-2.0.35/modules/ insmod 8390.o insmod ne.o # (find-k2file "drivers/net/ne.c") # (find-k2file "drivers/net/8390.c") # (find-k2file "Documentation/Configure.help" "NE2000") # (find-k2file "Documentation/networking/net-modules.txt" "ne.c") # (find-k2file "/usr/doc/isapnptools/") debsource /debian/main/source/admin isapnptools 1.13 -3.1 # (find-fline "/usr/src/isapnptools-1.13/README.modules") mycat /proc/ioports /proc/interrupts # (find-bfsrcfile "utilities/dinstall/lang_C.h" "BROADCAST") # (find-bfsrcfile "utilities/dinstall/netconfig.c") # (find-fline "/usr/doc/HOWTO/") # (find-fline "/usr/doc/HOWTO/NET-3-HOWTO.gz") # (find-fline "/usr/doc/HOWTO/Ethernet-HOWTO.gz") # Donald Becker ethernet diag progs page: lynx http://cesdis.gsfc.nasa.gov/linux/diag/diagnostic.html # (find-fline "/snarf/http/cesdis.gsfc.nasa.gov/linux/diag/ne2k.c") cd /snarf/http/cesdis.gsfc.nasa.gov/linux/diag/ gcc -Wall -O6 -N -o ~/bin/ne2k ne2k.c cd /usr/src/linux-2.0.35/modules/ insmod 8390.o insmod ne.o io=0x360 irq=10 insmod ne.o io=0x340 irq=10 insmod ne.o io=0x320 irq=10 rmmod ne; insmod ne.o io=0x300 irq=10 rmmod ne; insmod ne.o io=0x300 irq=11 rmmod ne; insmod ne.o io=0x300 irq=12 rmmod ne; insmod ne.o io=0x300 irq=10 rmmod ne; insmod ne.o io=0x300 irq=11 rmmod ne; insmod ne.o io=0x300 irq=12 rmmod ne; insmod ne.o io=0x300 irq=13 rmmod ne; insmod ne.o io=0x300 irq=14 rmmod ne; insmod ne.o io=0x300 irq=15 rmmod ne; insmod ne.o io=0x300 irq=16 rmmod ne; insmod ne.o io=0x300 irq=10 ne2k -p3a0 rmmod ne insmod ne.o io=0x300 irq=11 rmmod ne insmod ne.o io=0x300 irq=12 rmmod ne ####### # # irq do modem no kernel 2.1.132 # ####### psne $FDEBIAN/dists/slink/main/binary-i386/base/setserial_2.14-3.deb psne $FDEBIAN/dists/slink/main/source/base/setserial_2.14-3.diff.gz psne $FDEBIAN/dists/slink/main/source/base/setserial_2.14-3.dsc psne $FDEBIAN/dists/slink/main/source/base/setserial_2.14.orig.tar.gz dpkg -i $SDEBIAN/dists/slink/main/binary-i386/base/setserial_2.14-3.deb (find-vldifile "setserial.list") (find-fline "/usr/doc/setserial") # (find-k21file "drivers/char/serial.c" "Change the IRQ detection") # (find-fline "~/bin/rc.local") setserial /dev/ttyS2 irq 5 uart 16550A # (find-fline "/usr/doc/HOWTO/BootPrompt-HOWTO.gz") setserial /dev/ttyS2 irq 5 uart 16550A setserial -g /dev/ttyS2 setserial /dev/ttyS2 irq 3 uart 16550 setserial -g /dev/ttyS2 setserial /dev/ttyS2 autoconfig setserial -g /dev/ttyS2 # (find-k21file "drivers/char/serial.c") # (find-k21file "drivers/char/serial.c" "ttyS%02d%s") # (find-k21file "drivers/char/serial.c" "rs_table") # (find-k21file "include/linux/serial.h") # (find-k21file "include/linux/serial_reg.h") # (find-k21file "include/asm-i386/serial.h" "ttyS2") # change "4" to "5". ###### # # setserial 2.15 # ###### # (find-k21file "Documentation/Changes" "setserial-2.15") # (find-fline "/snarf/ftp/tsx-11.mit.edu/pub/linux/sources/sbin/setserial-2.15.tar.gz") rm -Rv /usr/src/setserial-2.15/ cd /usr/src/ tar -xvzf /snarf/ftp/tsx-11.mit.edu/pub/linux/sources/sbin/setserial-2.15.tar.gz cd /usr/src/setserial-2.15/ ./configure |& tee oc make |& tee om cd /usr/src/setserial-2.15/ ./setserial /dev/ttyS2 irq 5 uart 16550A ./setserial -g /dev/ttyS2 ####### # # pci # ####### # (find-k22file "drivers/pci/") ####### # # Gravis PNP # ####### pnpdump > ~/o pnpdump | grep '^$\|[()]' > ~/o1 # (find-fline "~/o1") # (find-fline "~/bin/gravis-up") isapnp - <<'---' (DEBUG) (VERIFYLD Y) (IGNORECRC) (READPORT 0x0203) (ISOLATE) (IDENTIFY *) (CONFIGURE GRV0001/10164 (LD 0 # (INT 0 (IRQ 11 (MODE +E))) # (DMA 0 (CHANNEL 5)) # (DMA 1 (CHANNEL 7)) (INT 0 (IRQ 5 (MODE +E))) (DMA 0 (CHANNEL 1)) (DMA 1 (CHANNEL 1)) (IO 0 (BASE 0x0220)) (IO 1 (BASE 0x0320)) (IO 2 (BASE 0x032c)) (ACT Y) )) (CONFIGURE GRV0001/10164 (LD 1 (ACT Y) )) (CONFIGURE GRV0001/10164 (LD 2 (IO 0 (BASE 0x0201)) (ACT Y) )) (CONFIGURE GRV0001/10164 (LD 3 (ACT Y) )) (CONFIGURE GRV0001/10164 (LD 4 (ACT Y) )) (WAITFORKEY) --- ##### # # Placa de som Union EDO micro # 99nov19 # ##### # «als0110» # O cabo que vem do CD encaixa em JP2 Sony (acho). # Identificação no pnpdump: # "ALS0110/-1[3]{PnP Sound Chip }" # (find-es "kernel" "compile22") # (find-es "kernel" ".strings") # (find-k22file "Documentation/") # (find-k22file "Documentation/Configure.help") # (find-k22file "Documentation/sound/") # (find-k22file "Documentation/sound/Introduction" "debug") # (find-k22file "drivers/sound/sound_config.h" "DEB") # (find-k22file "drivers/sound/") k22glimpse -w DEB; echo k22glimpse -w DDB; echo k22glimpse -w MDB; echo # (find-fline "~/bin/als-up") (cd ~/ICON/; icont -s toposort.icn) cd /boot/angg22/ depmod *.o | ~/ICON/toposort | tee ~/o tr -d ',[]"' < ~/o | tee ~/o2 # (find-fline "~/o2") for m in $(cat /proc/modules | awk '{print $1}'); do echo $m; rmmod $m; done # (find-fline "/usr/doc/HOWTO/mini/Soundblaster-AWE.gz") # (find-fline "/usr/doc/HOWTO/Sound-HOWTO.gz") # (find-fline "/usr/doc/HOWTO/Sound-HOWTO.gz" "cat /dev/sndstat") # (find-fline "/usr/doc/HOWTO/Sound-Playing-HOWTO.gz") lynx /usr/doc/HOWTO/mini/Soundblaster-AWE.html lynx /usr/doc/HOWTO/Sound-HOWTO.html lynx /usr/doc/HOWTO/Sound-Playing-HOWTO.html k22glimpse MODULE_PARM | grep sound # (find-k22file "include/linux/module.h" "character is a type specifier:") # (find-k22file "omm" "-o sound.o") # (find-k22file "") apti aumix cam gom # (find-vldifile "aumix.list") # (find-fline "/usr/doc/aumix/") # (find-vldifile "cam.list") # (find-fline "/usr/doc/cam/") # (find-vldifile "gom.list") # (find-fline "/usr/doc/gom/") k22glimpse 'Synth devices:' # (find-k22file ".strings" "synth") # insmod adlib_card.o # insmod gus.o # insmod opl3sa2.o # insmod sb.o insmod nvram.o