Skip to contentSkip to conversation

Harmony driver...

parisc-linux Alex deVries 1 participant 1 message Dec 11, 2000

lore
Share & tools
lore
#0 lore 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

Signature · 4 lines
Alex deVries, Principal Solutions Architect, The Puffins at Linuxcare
613.562.2759 tel
[email protected], http://www.linuxcare.com/
Linuxcare, Support for the revolution.