[lkml]   [2000]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: YMF PCI - thanks, glitches, patches (fwd)
Hello, Alan!

> > The Linux-sound list appears to be dead (I don't see my message in
> >, so I'm sending to the
> is alive and well however.

You cannot imagine how frustrating it was to search for the archive. I
couldn't find an up-to-date archive, and keeps silence
about mailing lists. I cannot afford subscribing to every list just to
slightly polish support for my hardware.

> > Dec 5 18:08:16 fonzie kernel: ymfpci: ioctl cmd 0x5401
> > Dec 5 18:08:50 fonzie last message repeated 9 times
> Just debugging this is fine

Well, 0x5401 is TCGETS. Other sound drivers just ignore it. I believe the
drivers should only log the ioctls that are relevant to them (i.e.
sound-related ioctls for sound drivers) and are not implemented.

> > $ play spinout.wav
> > sox: Unable to set audio speed to 5512 (set to 8000)
> 8Khz is the lower limit right now the way the board is driven.

So, it's not just a matter of changing the constants under "case
SNDCTL_DSP_SPEED" in ymf_ioctl()? Actually, I hacked them to be
4000<rate<50000 and it worked fine, but I'll drop this part of my patch if
you believe it's unsafe.

Anyway, the problem with handing sox is solved by replacing all ENOTTY
with EINVAL in ymfpci.c. It has nothing to do with the lower frequency
limit. No other sound driver ever uses ENOTTY.

Pavel Roskin

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:51    [W:0.083 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site