Skip to contentSkip to conversation

powermac (other ppc?) events

DISCUSSION Iain Sandoe 2 participants 2 messages Jul 19, 2001 – Jul 20, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines

work as well. As is, volume keys seem to rank low in the priority queue. something to get practice on.

Look, I don't have a proper opinion on how the keys are achieved ...

---

all I want is that the sound driver is:

1/ called through the standard ioctl() for volume - however many "volumes" you want to adjust.

This is so that *your* interface will work with *any* dmasound-supported hardware (without hacking dmasound for each chipset).

We currently support 3 1/2 chipsets - with two more in the pipeline + Apple is releasing sound hardware variants faster than we can keep up with the driver already ;-))

also think about how it might interact with USB audio ...

you ***really*** ***don't*** want to go down the road of hacking every sound driver for volume keys.

2/ Let dmasound handle the headphone insertion - it is already dealing with the hardware and the appropriate interrupts.

By all means - if there is a consensus that we *need* User Control over whether headphone insertion disables the internal speaker (or not) - then I am happy to use one of the OSS "special purpose" ioctl() values to control this as a PMac-specific feature - which will work properly via the proper ioctl().

just my 0.02 euro ...

but I am (at least unofficially) maintaining the driver at the moment.

ciao,
Iain.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 5 lines

Look, I don't have a proper opinion on how the keys are achieved ...

---

Quoted 7 lines

all I want is that the sound driver is:

1/ called through the standard ioctl() for volume - however many "volumes" you want to adjust.

This is so that *your* interface will work with *any* dmasound-supported hardware (without hacking dmasound for each chipset).

That was my idea in this - have some sound event daemon watch for events and call the proper ioctl. What was with the sound driver only permitting a single open() at a time? Would aumix running block the sound event daemon's ioctl?

Michael

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/