All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex deVries <adevries@linuxcare.com>
To: parisc-linux@thepuffingroup.com
Subject: [parisc-linux] Harmony driver...
Date: Mon, 11 Dec 2000 01:48:40 -0500	[thread overview]
Message-ID: <3A3478C8.5415E923@linuxcare.com> (raw)


I'm committing a driver for the harmony audio chip, found in 712s, 715s,
and I think others.

This driver definitely has problems, among them:
- no /dev/dsp or /dev/mixer support at all, you're stuck with the volume
and 8bit 8khz mono ulaw format
- for a reason I haven't yet figured out, interrupts are never called
the second time around; doing a 'cat sample.au > /dev/audio' works the
first time, and hangs the second.  Resetting on open() doesn't seem to
help.  Need to look into this.
- the code can be a lot cleaner
- I doubt this works with anything other than 4k pages
- recording doesn't work
- the buffer allocation scheme can be done quicker

I do expect to clean these things up within a week.

I can do a 'cat free_software_song.au > /dev/audio' and hear reasonable
sound on my 712/80.  It took me awhile to get the clicks and pops out,
as well as getting the chip to play the 4k frames in the right order.

The driver isn't built by default because of the above problems.  But,
you can enable CONFIG_SOUND_GSC_HARMONY.  I'd appreciate feedback from
people with other machines.

- Alex

-- 
Alex deVries, Principal Solutions Architect, The Puffins at Linuxcare
613.562.2759 tel
alex@linuxcare.com, http://www.linuxcare.com/
Linuxcare, Support for the revolution.

                 reply	other threads:[~2000-12-11  6:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A3478C8.5415E923@linuxcare.com \
    --to=adevries@linuxcare.com \
    --cc=parisc-linux@thepuffingroup.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.