Hi,

as already mentioned, there is a correlation between bit 11 (SMOD
LSB) of the Extended Legacy Audio Control register (0x42-0x43) of
the YMF chips and the "floppy access crashes with alsa ymfpci driver"
phenomenon, i.e. I can avoid these crashes if I add this line to the
alsa source

legacy_ctrl2 |= 1 << 11;

(or if dma8=1). The kernel ymfpci driver uses  v = 0x8800;
to initialize this register - and is well behaved. If I change this
to  v = 0x8000;  and load the module with parameters, the machine
locks up if I try to access the floppy drive.

The number 0x8800 seems to come from the old ymf_sb driver.
Unfortunately it doesn't mention the origin of this value
(Yamaha sample code?), but wouldn't it be a good idea to patch
the alsa driver, e.g. to adopt the behaviour of the kernel ymfpci,
or to add a snd_sbdma8 parameter, so people can try to use the
chipset default (dma8=1) instead of the alsa default?

Achim

_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to