* maestro3 hardware volume control @ 2005-04-18 13:22 rwd 2005-04-19 9:50 ` Takashi Iwai 2005-04-21 19:13 ` Ville Syrjälä 0 siblings, 2 replies; 6+ messages in thread From: rwd @ 2005-04-18 13:22 UTC (permalink / raw) To: alsa-devel Hi, the maestro3 runs fine on my compaq evo n400c (ES1988). Just one thing remains unsolved - the 2 nice volume control buttons that seem to be wired directly to the ES1988 won't work until now. I'm relatively new to linux and not a driver programmer, but scrolling through the documentation of the chip & the driver source quickly revealed that the volume can be controlled directly by two buttons, but the driver doesn't seem make use of that. Can anybody give me a hint how to use/enable the hardware volume control on that chip? Is a major rewrite of the driver required? Maybe some other driver could do that? The es1968 seems to support hw vol, might that driver run also on the ES1988? Thanks & best regards, Ruediger ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: maestro3 hardware volume control 2005-04-18 13:22 maestro3 hardware volume control rwd @ 2005-04-19 9:50 ` Takashi Iwai 2005-04-19 10:55 ` AW: " Rüdiger Dabelow 2005-04-21 19:13 ` Ville Syrjälä 1 sibling, 1 reply; 6+ messages in thread From: Takashi Iwai @ 2005-04-19 9:50 UTC (permalink / raw) To: rwd; +Cc: alsa-devel At Mon, 18 Apr 2005 15:22:58 +0200, rwd wrote: > > Hi, > > the maestro3 runs fine on my compaq evo n400c (ES1988). Just one thing > remains unsolved - the 2 nice volume control buttons that seem to be wired > directly to the ES1988 won't work until now. > > I'm relatively new to linux and not a driver programmer, but scrolling > through the documentation of the chip & the driver source quickly revealed > that the volume can be controlled directly by two buttons, but the driver > doesn't seem make use of that. > > Can anybody give me a hint how to use/enable the hardware volume control on > that chip? Is a major rewrite of the driver required? Maybe some other > driver could do that? The es1968 seems to support hw vol, might that driver > run also on the ES1988? The problem is -- we don't know. We have no proper datasheet for this chip... Takashi ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ^ permalink raw reply [flat|nested] 6+ messages in thread
* AW: maestro3 hardware volume control 2005-04-19 9:50 ` Takashi Iwai @ 2005-04-19 10:55 ` Rüdiger Dabelow 2005-04-19 11:59 ` Takashi Iwai 0 siblings, 1 reply; 6+ messages in thread From: Rüdiger Dabelow @ 2005-04-19 10:55 UTC (permalink / raw) To: 'Takashi Iwai'; +Cc: alsa-devel > Von: Takashi Iwai > Gesendet: Dienstag, 19. April 2005 11:50 > Betreff: Re: [Alsa-devel] maestro3 hardware volume control > > At Mon, 18 Apr 2005 15:22:58 +0200, > rwd wrote: > > > > Hi, > > > > the maestro3 runs fine on my compaq evo n400c (ES1988). > Just one thing > > remains unsolved - the 2 nice volume control buttons that > seem to be wired > > directly to the ES1988 won't work until now. > > > > I'm relatively new to linux and not a driver programmer, > but scrolling > > through the documentation of the chip & the driver source > quickly revealed > > that the volume can be controlled directly by two buttons, > but the driver > > doesn't seem make use of that. > > > > Can anybody give me a hint how to use/enable the hardware > volume control on > > that chip? Is a major rewrite of the driver required? Maybe > some other > > driver could do that? The es1968 seems to support hw vol, > might that driver > > run also on the ES1988? > > The problem is -- we don't know. We have no proper datasheet for this > chip... > > > Takashi Hi, Sorry, don't understand: the driver es1968.c enables and uses #define HWV_CONFB 0x0080 w |= HWV_CONFB; /* HWV on */ pci_write_config_word(pci, ESM_CONFIG_B, w); and handles the irq. The es1968.c driver handles the Maestro-2, does it? http://www.alsa-project.org/alsa/ftp/manuals/ess/DSMaestro2.pdf Same registers as described in the datasheet for the ES1988/Allegro/Maestro-3 http://www.alsa-project.org/alsa/ftp/manuals/ess/ds1988.pdf What info is missing? Ruediger ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: AW: maestro3 hardware volume control 2005-04-19 10:55 ` AW: " Rüdiger Dabelow @ 2005-04-19 11:59 ` Takashi Iwai 2005-04-21 14:17 ` rwd 0 siblings, 1 reply; 6+ messages in thread From: Takashi Iwai @ 2005-04-19 11:59 UTC (permalink / raw) To: Rüdiger Dabelow; +Cc: alsa-devel At Tue, 19 Apr 2005 12:55:00 +0200, Rüdiger Dabelow wrote: > > > Von: Takashi Iwai > > Gesendet: Dienstag, 19. April 2005 11:50 > > Betreff: Re: [Alsa-devel] maestro3 hardware volume control > > > > At Mon, 18 Apr 2005 15:22:58 +0200, > > rwd wrote: > > > > > > Hi, > > > > > > the maestro3 runs fine on my compaq evo n400c (ES1988). > > Just one thing > > > remains unsolved - the 2 nice volume control buttons that > > seem to be wired > > > directly to the ES1988 won't work until now. > > > > > > I'm relatively new to linux and not a driver programmer, > > but scrolling > > > through the documentation of the chip & the driver source > > quickly revealed > > > that the volume can be controlled directly by two buttons, > > but the driver > > > doesn't seem make use of that. > > > > > > Can anybody give me a hint how to use/enable the hardware > > volume control on > > > that chip? Is a major rewrite of the driver required? Maybe > > some other > > > driver could do that? The es1968 seems to support hw vol, > > might that driver > > > run also on the ES1988? > > > > The problem is -- we don't know. We have no proper datasheet for this > > chip... > > > > > > Takashi > > Hi, > Sorry, don't understand: > > the driver es1968.c enables and uses > > #define HWV_CONFB 0x0080 > w |= HWV_CONFB; /* HWV on */ > pci_write_config_word(pci, ESM_CONFIG_B, w); > > and handles the irq. The es1968.c driver handles the Maestro-2, does it? > http://www.alsa-project.org/alsa/ftp/manuals/ess/DSMaestro2.pdf > > Same registers as described in the datasheet for the > ES1988/Allegro/Maestro-3 > http://www.alsa-project.org/alsa/ftp/manuals/ess/ds1988.pdf > > What info is missing? The registers above didn't work at the last time we tried. Feel free to debug it :) Takashi ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ^ permalink raw reply [flat|nested] 6+ messages in thread
* maestro3 hardware volume control 2005-04-19 11:59 ` Takashi Iwai @ 2005-04-21 14:17 ` rwd 0 siblings, 0 replies; 6+ messages in thread From: rwd @ 2005-04-21 14:17 UTC (permalink / raw) To: 'Takashi Iwai'; +Cc: alsa-devel > Von: alsa-devel-admin@lists.sourceforge.net > von Takashi Iwai > Gesendet: Dienstag, 19. April 2005 14:00 > > The registers above didn't work at the last time we tried. > Feel free to debug it :) > > > Takashi > Hi, I tried to :) Some findings: I configured the PCI_ALLEGRO_CONFIG with additional HV_CTRL_ENABLE | HV_BUTTON_FROM_GD to enable the HV according to the wiring of the buttons in my box. snd_m3_interrupt constantly comes up with status 0x04 !?! What's that? Bad docu - no info, as you said, any idea? When i press a HV button, status changes to 0x44 -> HV interrupt pending! Also you can see the HV registers SHADOW_MIX_REG_VOICE 0x1C etc. changing when the buttons are pressed. Looks like i'm almost there?? Still some questions: - I tried to apply HV_INT_ENABLE to the HOST_INT_CTRL register. Box freezes when i press a button - obviously an interrupt is fired & not handled correctly - no idea how to do it. Is it required anyway? Buttons respond even without HV_INT_ENABLE. - status from snd_m3_interrupt is stuck to 0x44. Any way to clear/ack the pending interrupts? - now that i can read the buttons - what's the right way to change the master/mixer/whatever volume (oops, i admit i'm a rookie...:) ? Thanks, Ruediger ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: maestro3 hardware volume control 2005-04-18 13:22 maestro3 hardware volume control rwd 2005-04-19 9:50 ` Takashi Iwai @ 2005-04-21 19:13 ` Ville Syrjälä 1 sibling, 0 replies; 6+ messages in thread From: Ville Syrjälä @ 2005-04-21 19:13 UTC (permalink / raw) To: rwd; +Cc: alsa-devel On Mon, Apr 18, 2005 at 03:22:58PM +0200, rwd wrote: > Hi, > > the maestro3 runs fine on my compaq evo n400c (ES1988). Just one thing > remains unsolved - the 2 nice volume control buttons that seem to be wired > directly to the ES1988 won't work until now. I just sent three patches that make the buttons work on my HP OmniBook 500 and 6000 laptops. -- Ville Syrjälä syrjala@sci.fi http://www.sci.fi/~syrjala/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-04-21 19:13 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-04-18 13:22 maestro3 hardware volume control rwd 2005-04-19 9:50 ` Takashi Iwai 2005-04-19 10:55 ` AW: " Rüdiger Dabelow 2005-04-19 11:59 ` Takashi Iwai 2005-04-21 14:17 ` rwd 2005-04-21 19:13 ` Ville Syrjälä
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox