El 17/10/06, Daniel Vidal<[EMAIL PROTECTED]> escribió:
> > > > De todos modos si cargas a mano el módulo es posible indicar tanto irqs > > > > como dma... > > > > > > > > # modinfo cs4232|grep ^param > > > > parm: bss:Enable Bose Sound System Support (default 0) (bool) > > > > parm: isapnp:Enable ISAPnP probing (default 1) (bool) > > > > parm: synthirq:Maui WaveTable IRQ (int) > > > > parm: synthio:Maui WaveTable base I/O port (int) > > > > parm: mpuirq:MPU 401 IRQ (int) > > > > parm: mpuio:MPU 401 base address (int) > > > > parm: dma2:16 bit DMA for AD1848 chip (int) > > > > parm: dma:8 bit DMA for AD1848 chip (int) > > > > parm: irq:IRQ for AD1848 chip (int) > > > > parm: io:base I/O port for AD1848 (int) > > > > > > > > > > > > Ejemplo: > > > > > > > > modprobe cs4232 irq=7 dma=5 > > > > > > Al intentar ejecutar modprobe, me dice que no hay tal dispositivo y > > > que no lo puede "insertar". > > > > > > > De eso se tendría que encargar isapnp, puedes probar con alsaconf que > > > > detecta que irqs que hay libres... > > > > > > Cuando he probado con alsaconf he caido en la cuenta de que ya había > > > intentado esa vía. Tras construir la base de datos de tarjetas de > > > sonido disponibles (según alsaconf), si le dejo que lo intente con la > > > opción cs4232 (que me ofrece), el resultado es el mismo error fatal > > > que siempre; si le pido que opte por probar tarjetas antiguas (dado > > > que el portátil no es lo que se dice state-of-the-art), da la > > > impresión de que prueba con varias pero no acaba sacando nada en > > > claro; no da un error explícito, pero tampoco novedades. Supongo que > > > lo olvidé comentar por eso mismo. > > > > > > > > He revisado links de google, libros recomendados en la web de debian, > > > > > multitud de archivos de configuración e inicialización del sistema, > > > > > etc.. Os ahorraré relatar todos los puntos del equipo que he ido > > > > > revisando sin éxito: sigo sin llegar a ningún medio que me permita > > > > > corregir la elección del sistema para la IRQ de parport0. > > > > > > > > Aun así puede ocurrir que intentando cargar "pronto" el driver de la > > > > tarjeta de sonido el puerto paralelo haya llegado antes, la solución > > > > aquí es cargar el driver desde el initrd (para initramfs se meten los > > > > drivers en /etc/initramfs-tools/modules se reconfigura el kernel: > > > > > > > > dpkg-reconfigure linux-image-$(uname -r) > > > > > > He descrito el driver en /etc/initramfs-tools/modules, he > > > reconfigurado la imagen del kernel y, cuando el equipo vuelve a > > > arrancar volveré a tomar una "foto" de dmesg. > > > > > > > Saludos > > > > > > > > > ¿Hay alguien a quien le haya ocurrido lo mismo? ¿Alguien que sepa cómo > > > > > indicar al sistema cuál es la IRQ correcta cuando se "equivoca"? > > > > > > > > > > No tengo miedo a recompilar el kernel, si eso es lo que he de hacer, > > > > > pero me gustaría hacerlo sabiendo en qué lío me estoy metiendo. > > > > > > > > > > Os ruego paciencia y perdón por lo largo de la descripción. Si creéis > > > > > que puedo aportar algún detalle adicional, que faciliten el > > > > > diagnóstico o la resolución, decidme cuál. > > > > > > > > > > Ciertamente, he probado tantas cosas y tratado de aplicar > > > > > recomendaciones varias que no soy cosciente de qué puedo estar > > > > > olvidando. > > > > > > > > > > Gracias por la atención prestada. > > > > > > > > > > Un saludo, > > > > > > > > > > Antonio Rodulfo > > > > > Ingeniero Industrial > > > > > > > > -- > > > > http://soleup.eup.uva.es/mariodebian > > > > > > En cualquier caso, gracias otra vez por el intento de ayuda. > > > > > > Aunque no haya conseguido aún resolver el entuerto, el camino está siendo > > > esclarecedor y estoy aprendiendo un montón. > > > > > > Un saludo, > > > > > > Antonio Rodulfo > > > Ingeniero Industrial > > > > Por si te sirviera para algo, yo he resuelto situaciones similares > > desactivando el plug and play de la bios; es que esa funcionalidad te > > reconoce el hardware con demasiada anticipacion y el resultado es que te > > provoca errores, te sugiero revises el dmesg y quizas encontres errores i/o. > > > > Bueno, mi intencion solo es ofrecerte otra posible solucion. > > > > -- > > "Consultores Agropecuarios" > > "Somos expertos en soluciones practicas para la agricultura y ganaderia". > > "Si desea importar o exportar a cualquier parte del mundo, contactenos". > > > > > ¡Hola, amigos de Debian! > > Como dije, he vuelto a iniciar el equipo, tras haber reconfigurado el > arranque. Se comprueba que monta el driver y se obtienen mensajes del > mismo relacionados con la emulación básica. > > Como parport0 se encuentra con la IRQ5 ya utilizada, no puede tomarla > en exclusiva, recurriendo al polling para que el sistema conozca el > estado del puerto. > > En cualquier caso, cuando se ejecuta alsaconf para que, ya instalado > el driver (o eso parece) lo utilice para la reproducción de sonido, > éste identifica la tarjeta (como siempre) pero sigue fallando > estrepitosamente en el intento de cargar el controlador ("Failed to > insert snd.cs4232", etc.). Sigo igual que antes. > > En realidad no estoy igual; he aprendido cosas por el camino, pero > sigo sin tener sonido. > > Voy a estudiar la vía de desactivar pnp y veremos qué resultados > obtengo. Más detalles cuando haga las investigaciones y las pruebas. > > Mientras tanto, gracias por todo. > > Un saludo, > > Antonio Rodulfo > Ingeniero Industrial > Hola: De repente te puede ayudar este estracto que encontre tratando de solucionar el mismo problema, no recuerdo en que pagino lo encontre pero lo tenia guardado en una hoja de texto. Sound on the Thinkpad 600E Written by hw-tph - 2004-02-20 22:34 Sound on the Thinkpad 600E using kernel drivers On several Linux user forums newbies and old timers often have a hard time getting sound to work on their Thinkpads, and one of the most common laptops is still the 600E. I have had great success using Alsa on my 600E (a 2645-4A0 model) but it seems I'm quite alone in this. So here's a quick and ugly solution to getting it working. The kernel developers don't want the ad1848 driver to be used at all but it actually works pretty well! Here is what you need: A Thinkpad 600E with the Cirrus Logic CS4237B sound chip, known for being incorrectly identified as a CS4610/11 by Linux utilities such as lspci. Well...it's not a CS46xx model - those are PCI chips while the CS4237B is an ISA chip. It is actually a whole lot easier getting the sound to work this way so I'll get to it right away: Kernel configuration for 2.6 series kernels: * ISA-PNP support, built-in or as a module (Device Drivers -> Plug and Play support) * * UART401 built as a module (Device Drivers -> Sound -> Open Sound System -> MPU-401 support) * * CS4232 built as a module (Device Drivers -> Sound -> Open Sound System -> OSS Sound Modules -> Crystal CS4232 based (PNP) cards) * * AD1848 built as a module (Device Drivers -> Sound -> Open Sound System -> PSS (AD1848, etc) That's pretty much it. Test the modules before finalizing your options by writing a script or setting your options in a settings file (such as /etc/modules on Debian). To load the modules manually: modprobe isa-pnp modprobe ad1848 modprobe uart401 modprobe cs4232 cs4232 io=0x530 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=9 If all goes well you shouldn't be seeing any errors at all. Test playing a sound using play, or any other OSS-aware application (XMMS works fine too). If you get problems playing sounds you may have to chmod a +rw /dev/dsp /dev/sound /dev/mixer to make sure all users have access to the sound devices. If you do get sound you could write a script to automatically load the modules at boot - much recommended. Loading them by hand like above gets tedious and isn't very productive, now is it? I found this simple script on the Linux on Laptops website and it should work right out of the box. Just remove the isa-pnp related lines if you have ISA PNP support built in rather than as a module. Copy this script to /etc/init.d/ and call it oss_sound or something similar. Make it executable through chmod +x /etc/init.d/oss_sound and either create the symlinks to the runlevels at which it should run manually or use your distribution's init script management tool (rc-update on Gentoo, Debian has a similar tool) to make it run at boot and load the sound modules, and also shut down cleanly when the computer is halted. previous up Setup Raid0 on Slack 10.2 Bookmark this post with: delicious | digg | reddit | furl | google | yahoo 2 comments | Discuss Article | printer-friendly version By johngalt on Wed, 2004-08-18 02:03 The link to the script is broken, but I have a confirmed problem nearly identical to the one listed. See http://linuxiso.org/forums/viewtopic.php?t=20808 for details. If someone could paste the code of the script here that would rock. reply By handverbrennung on Tue, 2005-09-06 08:57 Thanks for the manual, but i still dont get the f*ck running. Could you post/send your kernel config (or a kernel image :)? Dont get sound running (and no pcmcia) Saludos Daniel Vidal
Amigo Daniel, Ando muy mal de tiempo estos días y no he podido probar aún la solución apuntada. Sin embargo, la he leído con sumo interés y tengo dos sensaciones: la de que puede funcionar y la de que he estado rondándola todo este tiempo. Muy agradecido por la ayuda. Una pregunta, para aclararme: ¿es 'modprobe cs4232 cs4232 ...' osobra u 'cs4232'? Por último, ¿qué pasa con ALSA? ¿No se supone que OSS es más antiguo y menos capaz, que ALSA es la vía por la que se está abriendo camino? Tengo entendido que XMMS es compatible con los dos sistemas y eso me dará tiempo para investigar y aprender... Un saludo, Antonio Rodulfo Ingeniero Industrial