[ltp] mwave
Bernard Tremblay
linux-thinkpad@linux-thinkpad.org
Mon, 16 May 2005 12:24:56 -0400
Hi,
I have an old TP 600e too. It's collecting dust since I switched to a
TP-A21P. But it used to work very well with Mandrake 10.0 (kernel
2.6.8). I fired it up to check that mwavem would load ok and check
configuration. Here are a copy of my "modules.conf" and
"modprobe.conf". I had installed mwave with the sources. Consider
re-reading all the README, README.devfs, etc. If you fiddled with your
BIOS parameters you could reset it to have defaults parameters and then
change only what is needed (fastboot), boot order, etc.
The mwave module is particularly picky on the parameters... Check the
following:
1-/etc/modules.conf :
=================================
probeall usb-interface usb-uhci
options snd device_mode=0666
alias snd-card-0 snd-cs4236
alias sound-slot-0 snd-cs4236
above snd-cs4236 snd-pcm-oss
#### options snd-cs4236 port=0x530 cport=0x538 mpu_port=0x330 mpu_irq=9
isapnp=0 dma1=1 dma2=0 irq=5
options snd-cs4236 port=0x530 cport=0x538 irq=5 isapnp=0 dma1=1 dma2=0
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-cs4236
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias eth0 xircom_tulip_cb
#Added by configure-thinkpad to autoload thinkpad drivers
#path[thinkpad]=/lib/modules/`uname -r`/thinkpad
options thinkpad enable_smapi=1 enable_superio=1 enable_rtcmosram=1
enable_thinkpadpm=1
alias char-major-10-170 thinkpad
alias /dev/thinkpad thinkpad
alias /dev/thinkpad/thinkpad thinkpad
alias /dev/thinkpad/smapi smapi
alias /dev/thinkpad/superio superio
alias /dev/thinkpad/rtcmosram rtcmosram
alias /dev/thinkpad/thinkpadpm thinkpadpm
alias char-major-10-219 mwave
options mwave mwave_uart_irq=3 mwave_uart_io=0x2f8 mwave_3780i_irq=10
mwave_3780i_io=0x130 mwave_debug=0x00
=======================================================
2- /etc/modprobe.conf
==========================================
options snd device_mode=0666
alias snd-card-0 snd-cs4236
alias sound-slot-0 snd-cs4236
options snd-cs4236 port=0x530 cport=0x538 irq=5 isapnp=0 dma1=1 dma2=0
alias char-major-14-* soundcore
alias sound-slot-0 snd-cs4236
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias eth0 xircom_tulip_cb
options thinkpad enable_smapi=1 enable_superio=1 enable_rtcmosram=1
enable_thinkpadpm=1
alias char-major-10-170 thinkpad
alias /dev/thinkpad thinkpad
alias /dev/thinkpad/thinkpad thinkpad
alias /dev/thinkpad/smapi smapi
alias /dev/thinkpad/superio superio
alias /dev/thinkpad/rtcmosram rtcmosram
alias /dev/thinkpad/thinkpadpm thinkpadpm
alias char-major-10-219 mwave
options mwave mwave_uart_irq=3 mwave_uart_io=0x2f8 mwave_3780i_irq=10
mwave_3780i_io=0x130 mwave_debug=0x00
install snd-cs4236 /sbin/modprobe --first-time --ignore-install
snd-cs4236 && { /sbin/modprobe snd-pcm-oss; /bin/true; }
install usb-interface /sbin/modprobe usb-uhci; /bin/true
remove snd-cs4236 { /sbin/modprobe -r snd-pcm-oss; } ; /sbin/modprobe -r
--first-time --ignore-remove snd-cs4236
=====================================================================
NB: Its from a Mandrake and could differ from debian, use with care...
Good reference at: http://www.faqs.org/docs/Linux-mini/ACP-Modem.html
a MWAVE mini-HowTo
I hope it helps,
Regards,
BT
On Mon, 16 May 2005 14:09:15 +0400, "Damir Hakimov"
<damir@agg.astranet.ru> said:
> Hello All!
>
> I have TP600 with Debian Sarge 23.03.05 and can't load mwave module.
>
> Linux debian-IBM 2.4.27
>
> # modprobe mwave mwave_debug=0x0015
> /lib/modules/2.4.27.d01/kernel/drivers/char/mwave/mwave.o: init_module:
> Input/output error
> Hint: insmod errors can be caused by incorrect module parameters,
> including invalid IO or IRQ parameters.
> You may find more information in syslog or the output from dmesg
> /lib/modules/2.4.27.d01/kernel/drivers/char/mwave/mwave.o: insmod
> /lib/modules/2.4.27.d01/kernel/drivers/char/mwave/mwave.o failed
> /lib/modules/2.4.27.d01/kernel/drivers/char/mwave/mwave.o: insmod mwave
> failed
> #
>
>
> tail /var/log/messages
>
> May 16 14:01:38 localhost kernel: mwavedd::mwave_init entry
> May 16 14:01:38 localhost kernel: mwavedd::mwave_init, return from
> tp3780I_InitializeBoardData retval 0
> May 16 14:01:38 localhost kernel: mwavedd::mwave_init, return from
> tp3780I_CalcResources retval 0
> May 16 14:01:38 localhost kernel: mwavedd::mwave_init, return from
> tp3780I_ClaimResources retval 0
> May 16 14:01:38 localhost kernel: tp3780i::tp3780I_EnableDSP: Cleaning up
> May 16 14:01:38 localhost kernel: mwavedd::mwave_init, return from
> tp3780I_EnableDSP retval fffffffb
> May 16 14:01:38 localhost kernel: mwavedd::mwave_exit entry
> May 16 14:01:38 localhost kernel: mwavedd::mwave_exit exit
>
> tpctl -rs1
> resource state: ioaddr irq# able? mode/power
> serial port 1: 0x2f8 IRQ3 enable (error)
>
>
>
> Can anybody help me??
>
> Damir
>
>
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
--
Bernard Tremblay
public@imaginasys.fastmail.fm