mwavem support for debian on a ibm Thinkpad 600 =============================================== Last edited: 06/12/2006 by Robert Scheibe These install instructions are given without any warranty, do this at your own risk. Your computer may burn or explode or behave strange. Tested on a IBM Thinkpad 600 using the 3780i Advanced Communications Processor (Mwave) driver from Mike Sullivan and Paul Schroeder. You need 2 floppy disks and the floppy disk module for your Thinkpad 600. (Caution: this is deprecated, see notes on end of this section, it still work, but due to the consistent 161(dead battery) and 173(configuarion data lost) errors, its no use) 1. install package mwavem from section non-free 2. change /dev/ttyS0 to /dev/ttyS1 in /etc/init.d/mwavem line 18 correct function name in line 204 and 210 log_progess_msg to log_progress_msg 3. look at http://www.fdos.org/bootdisks/ and download http://www.fdos.org/bootdisks/autogen/FDOEM.144.imz 4. unzip FDOEM.144.imz 5. fdformat /dev/fd0 mformat a: 6. dd if=FDOEM.144 of=/dev/fd0 7. look at http://www-307.ibm.com/pc/support/site.wss/RMIE-3AXE3E.html and get the DOS Thinkpad utility: uttpfdos.exe mount /dev/fd0 /media/floppy cp uttpfdos.exe /media/floppy 8. now reboot and use the freedos bootdisk to boot DOS install the uttpfdos.exe to the second disk, simply execute uttpfdos.exe and follow the instructions, lasts a very long time ... 9. Now enter following commands: ps2 IR Disable ps2 IMODEM IRQ 10 4 ps2 IMODEM IMODEMADD 3F8 ps2 IR ADD 2 ps2 IR Enable now reboot. 10. Change last line in /etc/modutils/mwave to options mwave mwave_3780i_io=0x130 mwave_3780i_irq=10 mwave_uart_io=0x3f8 mwave_uart_irq=4 now load the mwave module: modprobe mwave should work smoothly ;-) 11. Now restart mwavemd: /etc/init.d/mwavem restart The modem device should be connected to /dev/Mwave-modem. Configure your ISP with pppconfig (package name: pppconfig) If an error during startup is shown simply restart the service. mwave support - second try =========================== 1. install mwave package, and make the corrections mentioned above in step 2. 2. in /etc/modutils.d/mwave change last line to: options mwave mwave_3780i_io=0x130 mwave_3780i_irq=10 mwave_uart_io=0x2f8 mwave_uart_irq=3 3. do dpkg-reconfigure irda-utils and disable irda 4. uncomment line 37 in /etc/pcmcia/config.opts: exclude irq 3 5. should work now 6. no irda support is the only drawback, maybe I get this working soon sound support ============= use this script /etc/init.d/soundThinkpad600: #!/bin/sh echo -n "Load Thinkpad sound modules: " /sbin/modprobe snd-cs4236 index=0 port=0x530 cport=0x538 irq=5 dma1=1 dma2=0 isapnp=0 echo "done" echo -n "Set volume: " /usr/bin/amixer -q -c 0 sset "Master Digital",0 90%,90% unmute /usr/bin/amixer -q -c 0 sset "PCM",0 90%,90% unmute echo "done" Now don't forget to chmod +x the file and: ln -s /etc/init.d/soundThinkpad600 /etc/rc2.d/S99soundThinkpad600 thinkpad module for tpctl utility ================================= install linux-headers-2.6.15-1-486 install thinkpad-source unzip both make module in /usr/src/modules/thinkpad/2.6/src make install modules ======= to load needed modules at boottime, my /etc/modules file looks like this: apm mwave thinkpad grub boot-line ============== grub boot options in /boot/grub/menu.lst (search for line #kopt) # kopt=root=/dev/hda1 ro vga=773 apm=on acpi=off dont't forget to: update-grub contact: rob.scheibe@gmail.com