* [ALSA - driver 0000667]: How to integrate turning on and off LED:s on laptops
@ 2004-11-23 14:27 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2004-11-23 14:27 UTC (permalink / raw)
To: alsa-devel
The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=667>
======================================================================
Reported By: linus
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 667
Category: PCI - intel8x0
Reproducibility: always
Severity: feature
Priority: normal
Status: new
Distribution: Fedora Core 3
Kernel Version: 2.6.9
======================================================================
Date Submitted: 11-23-2004 15:27 CET
Last Modified: 11-23-2004 15:27 CET
======================================================================
Summary: How to integrate turning on and off LED:s on laptops
Description:
This machine, an HP Compaq NC6000 (also on other models
such as NC8000) has a mute LED that
turns on and off when mute is activated/deactivated.
It is accomplished by way of the "External Amplifier"
setting - this has been wired to a LED instead of an
amplifier, so the "mute" function should (theoretically)
activate/deactivate the "External Amplifier" when muting
is selected for the device. The chip used is AD1981B.
This script shows how it is done:
if ( amixer sget "External Amplifier"|grep off > /dev/null )
then
# Toggles the LED, no actual volume change
amixer set "External Amplifier" unmute > /dev/null
# Toggles the audio level
amixer set "Master" unmute > /dev/null
else
amixer set "External Amplifier" mute > /dev/null
amixer set "Master" mute > /dev/null
fi
The question of how this is to be implemented remains. Is
this an issue for ALSA or shall it be handled on a higher,
user-space level? I also have a bug open in GNOME for the
same thing, I need to decide how to finally resolve this
and need input from the ALSA team on the best solution.
(See http://bugzilla.gnome.org/show_bug.cgi?id=157748)
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
11-23-04 15:27 linus New Issue
11-23-04 15:27 linus Distribution => Fedora Core 3
11-23-04 15:27 linus Kernel Version => 2.6.9
======================================================================
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0000667]: How to integrate turning on and off LED:s on laptops
@ 2004-11-23 14:41 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2004-11-23 14:41 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=667>
======================================================================
Reported By: linus
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 667
Category: PCI - intel8x0
Reproducibility: always
Severity: feature
Priority: normal
Status: new
Distribution: Fedora Core 3
Kernel Version: 2.6.9
======================================================================
Date Submitted: 11-23-2004 15:27 CET
Last Modified: 11-23-2004 15:41 CET
======================================================================
Summary: How to integrate turning on and off LED:s on laptops
Description:
This machine, an HP Compaq NC6000 (also on other models
such as NC8000) has a mute LED that
turns on and off when mute is activated/deactivated.
It is accomplished by way of the "External Amplifier"
setting - this has been wired to a LED instead of an
amplifier, so the "mute" function should (theoretically)
activate/deactivate the "External Amplifier" when muting
is selected for the device. The chip used is AD1981B.
This script shows how it is done:
if ( amixer sget "External Amplifier"|grep off > /dev/null )
then
# Toggles the LED, no actual volume change
amixer set "External Amplifier" unmute > /dev/null
# Toggles the audio level
amixer set "Master" unmute > /dev/null
else
amixer set "External Amplifier" mute > /dev/null
amixer set "Master" mute > /dev/null
fi
The question of how this is to be implemented remains. Is
this an issue for ALSA or shall it be handled on a higher,
user-space level? I also have a bug open in GNOME for the
same thing, I need to decide how to finally resolve this
and need input from the ALSA team on the best solution.
(See http://bugzilla.gnome.org/show_bug.cgi?id=157748)
======================================================================
----------------------------------------------------------------------
tiwai - 11-23-04 15:41
----------------------------------------------------------------------
I feel that the implementation in the driver is better if the LED is
printed as "mute" symbol. In theory, we can provide a LED control element
and manage it in the user-space, though.
Issue History
Date Modified Username Field Change
======================================================================
11-23-04 15:27 linus New Issue
11-23-04 15:27 linus Distribution => Fedora Core 3
11-23-04 15:27 linus Kernel Version => 2.6.9
11-23-04 15:41 tiwai Note Added: 0002516
======================================================================
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0000667]: How to integrate turning on and off LED:s on laptops
@ 2004-11-23 20:28 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2004-11-23 20:28 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=667>
======================================================================
Reported By: linus
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 667
Category: PCI - intel8x0
Reproducibility: always
Severity: feature
Priority: normal
Status: new
Distribution: Fedora Core 3
Kernel Version: 2.6.9
======================================================================
Date Submitted: 11-23-2004 15:27 CET
Last Modified: 11-23-2004 21:28 CET
======================================================================
Summary: How to integrate turning on and off LED:s on laptops
Description:
This machine, an HP Compaq NC6000 (also on other models
such as NC8000) has a mute LED that
turns on and off when mute is activated/deactivated.
It is accomplished by way of the "External Amplifier"
setting - this has been wired to a LED instead of an
amplifier, so the "mute" function should (theoretically)
activate/deactivate the "External Amplifier" when muting
is selected for the device. The chip used is AD1981B.
This script shows how it is done:
if ( amixer sget "External Amplifier"|grep off > /dev/null )
then
# Toggles the LED, no actual volume change
amixer set "External Amplifier" unmute > /dev/null
# Toggles the audio level
amixer set "Master" unmute > /dev/null
else
amixer set "External Amplifier" mute > /dev/null
amixer set "Master" mute > /dev/null
fi
The question of how this is to be implemented remains. Is
this an issue for ALSA or shall it be handled on a higher,
user-space level? I also have a bug open in GNOME for the
same thing, I need to decide how to finally resolve this
and need input from the ALSA team on the best solution.
(See http://bugzilla.gnome.org/show_bug.cgi?id=157748)
======================================================================
----------------------------------------------------------------------
tiwai - 11-23-04 15:41
----------------------------------------------------------------------
I feel that the implementation in the driver is better if the LED is
printed as "mute" symbol. In theory, we can provide a LED control element
and manage it in the user-space, though.
----------------------------------------------------------------------
linus - 11-23-04 21:28
----------------------------------------------------------------------
OK sounds reasonable, but given that it will only affect some specific
platforms using this chip, how do you reasonably distinguish between
them?
The one way I found (as illustrated in the GNOME bug) was to query the
ASPI
DSDT for the model name and brand. Is this a reasonable thing for an ALSA
module to do or do you suggest some other approach? (E.g. do you know
some
other "magic numbers" closer to ALSA that could be queried?)
Issue History
Date Modified Username Field Change
======================================================================
11-23-04 15:27 linus New Issue
11-23-04 15:27 linus Distribution => Fedora Core 3
11-23-04 15:27 linus Kernel Version => 2.6.9
11-23-04 15:41 tiwai Note Added: 0002516
11-23-04 21:28 linus Note Added: 0002528
======================================================================
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0000667]: How to integrate turning on and off LED:s on laptops
@ 2004-11-24 11:22 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2004-11-24 11:22 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=667>
======================================================================
Reported By: linus
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 667
Category: PCI - intel8x0
Reproducibility: always
Severity: feature
Priority: normal
Status: new
Distribution: Fedora Core 3
Kernel Version: 2.6.9
======================================================================
Date Submitted: 11-23-2004 15:27 CET
Last Modified: 11-24-2004 12:22 CET
======================================================================
Summary: How to integrate turning on and off LED:s on laptops
Description:
This machine, an HP Compaq NC6000 (also on other models
such as NC8000) has a mute LED that
turns on and off when mute is activated/deactivated.
It is accomplished by way of the "External Amplifier"
setting - this has been wired to a LED instead of an
amplifier, so the "mute" function should (theoretically)
activate/deactivate the "External Amplifier" when muting
is selected for the device. The chip used is AD1981B.
This script shows how it is done:
if ( amixer sget "External Amplifier"|grep off > /dev/null )
then
# Toggles the LED, no actual volume change
amixer set "External Amplifier" unmute > /dev/null
# Toggles the audio level
amixer set "Master" unmute > /dev/null
else
amixer set "External Amplifier" mute > /dev/null
amixer set "Master" mute > /dev/null
fi
The question of how this is to be implemented remains. Is
this an issue for ALSA or shall it be handled on a higher,
user-space level? I also have a bug open in GNOME for the
same thing, I need to decide how to finally resolve this
and need input from the ALSA team on the best solution.
(See http://bugzilla.gnome.org/show_bug.cgi?id=157748)
======================================================================
----------------------------------------------------------------------
linus - 11-23-04 21:28
----------------------------------------------------------------------
OK sounds reasonable, but given that it will only affect some specific
platforms using this chip, how do you reasonably distinguish between
them?
The one way I found (as illustrated in the GNOME bug) was to query the
ASPI
DSDT for the model name and brand. Is this a reasonable thing for an ALSA
module to do or do you suggest some other approach? (E.g. do you know
some
other "magic numbers" closer to ALSA that could be queried?)
----------------------------------------------------------------------
tiwai - 11-24-04 12:22
----------------------------------------------------------------------
I guess checking the PCI subsystem IDs would suffice.
Brand-laptops should have unique pci sub IDs.
The only question is: is the LED designed _only_ for mute? Or is it
supposed to be generic? In the latter case, we shouldn't restrict its use
in the driver.
Issue History
Date Modified Username Field Change
======================================================================
11-23-04 15:27 linus New Issue
11-23-04 15:27 linus Distribution => Fedora Core 3
11-23-04 15:27 linus Kernel Version => 2.6.9
11-23-04 15:41 tiwai Note Added: 0002516
11-23-04 21:28 linus Note Added: 0002528
11-24-04 12:22 tiwai Note Added: 0002549
======================================================================
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0000667]: How to integrate turning on and off LED:s on laptops
@ 2004-11-24 12:00 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2004-11-24 12:00 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=667>
======================================================================
Reported By: linus
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 667
Category: PCI - intel8x0
Reproducibility: always
Severity: feature
Priority: normal
Status: new
Distribution: Fedora Core 3
Kernel Version: 2.6.9
======================================================================
Date Submitted: 11-23-2004 15:27 CET
Last Modified: 11-24-2004 13:00 CET
======================================================================
Summary: How to integrate turning on and off LED:s on laptops
Description:
This machine, an HP Compaq NC6000 (also on other models
such as NC8000) has a mute LED that
turns on and off when mute is activated/deactivated.
It is accomplished by way of the "External Amplifier"
setting - this has been wired to a LED instead of an
amplifier, so the "mute" function should (theoretically)
activate/deactivate the "External Amplifier" when muting
is selected for the device. The chip used is AD1981B.
This script shows how it is done:
if ( amixer sget "External Amplifier"|grep off > /dev/null )
then
# Toggles the LED, no actual volume change
amixer set "External Amplifier" unmute > /dev/null
# Toggles the audio level
amixer set "Master" unmute > /dev/null
else
amixer set "External Amplifier" mute > /dev/null
amixer set "Master" mute > /dev/null
fi
The question of how this is to be implemented remains. Is
this an issue for ALSA or shall it be handled on a higher,
user-space level? I also have a bug open in GNOME for the
same thing, I need to decide how to finally resolve this
and need input from the ALSA team on the best solution.
(See http://bugzilla.gnome.org/show_bug.cgi?id=157748)
======================================================================
----------------------------------------------------------------------
tiwai - 11-24-04 12:22
----------------------------------------------------------------------
I guess checking the PCI subsystem IDs would suffice.
Brand-laptops should have unique pci sub IDs.
The only question is: is the LED designed _only_ for mute? Or is it
supposed to be generic? In the latter case, we shouldn't restrict its use
in the driver.
----------------------------------------------------------------------
IceRAM - 11-24-04 13:00
----------------------------------------------------------------------
Wouldn't it be reasonable to add a module option to do the sync-ing between
"Master mute" and "External Amplifier mute" - only some users would want
to enable it, others might code by themselves in userspace the "handling"
of the Mute LED.
It is true that the action on pressing the button should be handled
somewhere at the ACPI level...
Issue History
Date Modified Username Field Change
======================================================================
11-23-04 15:27 linus New Issue
11-23-04 15:27 linus Distribution => Fedora Core 3
11-23-04 15:27 linus Kernel Version => 2.6.9
11-23-04 15:41 tiwai Note Added: 0002516
11-23-04 21:28 linus Note Added: 0002528
11-24-04 12:22 tiwai Note Added: 0002549
11-24-04 13:00 IceRAM Note Added: 0002555
======================================================================
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0000667]: How to integrate turning on and off LED:s on laptops
@ 2004-11-24 12:07 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2004-11-24 12:07 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=667>
======================================================================
Reported By: linus
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 667
Category: PCI - intel8x0
Reproducibility: always
Severity: feature
Priority: normal
Status: new
Distribution: Fedora Core 3
Kernel Version: 2.6.9
======================================================================
Date Submitted: 11-23-2004 15:27 CET
Last Modified: 11-24-2004 13:07 CET
======================================================================
Summary: How to integrate turning on and off LED:s on laptops
Description:
This machine, an HP Compaq NC6000 (also on other models
such as NC8000) has a mute LED that
turns on and off when mute is activated/deactivated.
It is accomplished by way of the "External Amplifier"
setting - this has been wired to a LED instead of an
amplifier, so the "mute" function should (theoretically)
activate/deactivate the "External Amplifier" when muting
is selected for the device. The chip used is AD1981B.
This script shows how it is done:
if ( amixer sget "External Amplifier"|grep off > /dev/null )
then
# Toggles the LED, no actual volume change
amixer set "External Amplifier" unmute > /dev/null
# Toggles the audio level
amixer set "Master" unmute > /dev/null
else
amixer set "External Amplifier" mute > /dev/null
amixer set "Master" mute > /dev/null
fi
The question of how this is to be implemented remains. Is
this an issue for ALSA or shall it be handled on a higher,
user-space level? I also have a bug open in GNOME for the
same thing, I need to decide how to finally resolve this
and need input from the ALSA team on the best solution.
(See http://bugzilla.gnome.org/show_bug.cgi?id=157748)
======================================================================
----------------------------------------------------------------------
IceRAM - 11-24-04 13:00
----------------------------------------------------------------------
Wouldn't it be reasonable to add a module option to do the sync-ing between
"Master mute" and "External Amplifier mute" - only some users would want
to enable it, others might code by themselves in userspace the "handling"
of the Mute LED.
It is true that the action on pressing the button should be handled
somewhere at the ACPI level...
----------------------------------------------------------------------
tiwai - 11-24-04 13:07
----------------------------------------------------------------------
Hmm, I thought this is only about the mute "LED" but not the button?
Maybe we can add a new ac97_quirk type for this, so it'll be possible to
enable/disable via module option.
Issue History
Date Modified Username Field Change
======================================================================
11-23-04 15:27 linus New Issue
11-23-04 15:27 linus Distribution => Fedora Core 3
11-23-04 15:27 linus Kernel Version => 2.6.9
11-23-04 15:41 tiwai Note Added: 0002516
11-23-04 21:28 linus Note Added: 0002528
11-24-04 12:22 tiwai Note Added: 0002549
11-24-04 13:00 IceRAM Note Added: 0002555
11-24-04 13:07 tiwai Note Added: 0002558
======================================================================
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0000667]: How to integrate turning on and off LED:s on laptops
@ 2004-11-24 13:27 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2004-11-24 13:27 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=667>
======================================================================
Reported By: linus
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 667
Category: PCI - intel8x0
Reproducibility: always
Severity: feature
Priority: normal
Status: new
Distribution: Fedora Core 3
Kernel Version: 2.6.9
======================================================================
Date Submitted: 11-23-2004 15:27 CET
Last Modified: 11-24-2004 14:27 CET
======================================================================
Summary: How to integrate turning on and off LED:s on laptops
Description:
This machine, an HP Compaq NC6000 (also on other models
such as NC8000) has a mute LED that
turns on and off when mute is activated/deactivated.
It is accomplished by way of the "External Amplifier"
setting - this has been wired to a LED instead of an
amplifier, so the "mute" function should (theoretically)
activate/deactivate the "External Amplifier" when muting
is selected for the device. The chip used is AD1981B.
This script shows how it is done:
if ( amixer sget "External Amplifier"|grep off > /dev/null )
then
# Toggles the LED, no actual volume change
amixer set "External Amplifier" unmute > /dev/null
# Toggles the audio level
amixer set "Master" unmute > /dev/null
else
amixer set "External Amplifier" mute > /dev/null
amixer set "Master" mute > /dev/null
fi
The question of how this is to be implemented remains. Is
this an issue for ALSA or shall it be handled on a higher,
user-space level? I also have a bug open in GNOME for the
same thing, I need to decide how to finally resolve this
and need input from the ALSA team on the best solution.
(See http://bugzilla.gnome.org/show_bug.cgi?id=157748)
======================================================================
----------------------------------------------------------------------
tiwai - 11-24-04 13:07
----------------------------------------------------------------------
Hmm, I thought this is only about the mute "LED" but not the button?
Maybe we can add a new ac97_quirk type for this, so it'll be possible to
enable/disable via module option.
----------------------------------------------------------------------
linus - 11-24-04 14:27
----------------------------------------------------------------------
The LED is indeed for muting only. It has an image of a crossed-over
speaker.
The LED sits behind a muting button, which produce an extended key code,
through the keyboard API.
I will try to look into PCI ID:s and see if that will be unique enough to
use for this kind of things.
Issue History
Date Modified Username Field Change
======================================================================
11-23-04 15:27 linus New Issue
11-23-04 15:27 linus Distribution => Fedora Core 3
11-23-04 15:27 linus Kernel Version => 2.6.9
11-23-04 15:41 tiwai Note Added: 0002516
11-23-04 21:28 linus Note Added: 0002528
11-24-04 12:22 tiwai Note Added: 0002549
11-24-04 13:00 IceRAM Note Added: 0002555
11-24-04 13:07 tiwai Note Added: 0002558
11-24-04 14:27 linus Note Added: 0002562
======================================================================
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0000667]: How to integrate turning on and off LED:s on laptops
@ 2004-11-24 14:07 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2004-11-24 14:07 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=667>
======================================================================
Reported By: linus
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 667
Category: PCI - intel8x0
Reproducibility: always
Severity: feature
Priority: normal
Status: new
Distribution: Fedora Core 3
Kernel Version: 2.6.9
======================================================================
Date Submitted: 11-23-2004 15:27 CET
Last Modified: 11-24-2004 15:07 CET
======================================================================
Summary: How to integrate turning on and off LED:s on laptops
Description:
This machine, an HP Compaq NC6000 (also on other models
such as NC8000) has a mute LED that
turns on and off when mute is activated/deactivated.
It is accomplished by way of the "External Amplifier"
setting - this has been wired to a LED instead of an
amplifier, so the "mute" function should (theoretically)
activate/deactivate the "External Amplifier" when muting
is selected for the device. The chip used is AD1981B.
This script shows how it is done:
if ( amixer sget "External Amplifier"|grep off > /dev/null )
then
# Toggles the LED, no actual volume change
amixer set "External Amplifier" unmute > /dev/null
# Toggles the audio level
amixer set "Master" unmute > /dev/null
else
amixer set "External Amplifier" mute > /dev/null
amixer set "Master" mute > /dev/null
fi
The question of how this is to be implemented remains. Is
this an issue for ALSA or shall it be handled on a higher,
user-space level? I also have a bug open in GNOME for the
same thing, I need to decide how to finally resolve this
and need input from the ALSA team on the best solution.
(See http://bugzilla.gnome.org/show_bug.cgi?id=157748)
======================================================================
----------------------------------------------------------------------
linus - 11-24-04 14:27
----------------------------------------------------------------------
The LED is indeed for muting only. It has an image of a crossed-over
speaker.
The LED sits behind a muting button, which produce an extended key code,
through the keyboard API.
I will try to look into PCI ID:s and see if that will be unique enough to
use for this kind of things.
----------------------------------------------------------------------
linus - 11-24-04 15:07
----------------------------------------------------------------------
This is the PCI info for this ICH4 controller. (I submitted this new
info to linux' pci.ids PCI ID list too.)
00:1f.5 Class 0401: 8086:24c5 (rev 03)
Subsystem: 103c:0890
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
Subsystem: Hewlett-Packard Company: Unknown device 0890
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 3000 [size=256]
I/O ports at 3880 [size=64]
Memory at a0100000 (32-bit, non-prefetchable) [size=512]
Memory at a0180000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Issue History
Date Modified Username Field Change
======================================================================
11-23-04 15:27 linus New Issue
11-23-04 15:27 linus Distribution => Fedora Core 3
11-23-04 15:27 linus Kernel Version => 2.6.9
11-23-04 15:41 tiwai Note Added: 0002516
11-23-04 21:28 linus Note Added: 0002528
11-24-04 12:22 tiwai Note Added: 0002549
11-24-04 13:00 IceRAM Note Added: 0002555
11-24-04 13:07 tiwai Note Added: 0002558
11-24-04 14:27 linus Note Added: 0002562
11-24-04 15:07 linus Note Added: 0002567
======================================================================
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0000667]: How to integrate turning on and off LED:s on laptops
@ 2004-11-24 17:47 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2004-11-24 17:47 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=667>
======================================================================
Reported By: linus
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 667
Category: PCI - intel8x0
Reproducibility: always
Severity: feature
Priority: normal
Status: new
Distribution: Fedora Core 3
Kernel Version: 2.6.9
======================================================================
Date Submitted: 11-23-2004 15:27 CET
Last Modified: 11-24-2004 18:47 CET
======================================================================
Summary: How to integrate turning on and off LED:s on laptops
Description:
This machine, an HP Compaq NC6000 (also on other models
such as NC8000) has a mute LED that
turns on and off when mute is activated/deactivated.
It is accomplished by way of the "External Amplifier"
setting - this has been wired to a LED instead of an
amplifier, so the "mute" function should (theoretically)
activate/deactivate the "External Amplifier" when muting
is selected for the device. The chip used is AD1981B.
This script shows how it is done:
if ( amixer sget "External Amplifier"|grep off > /dev/null )
then
# Toggles the LED, no actual volume change
amixer set "External Amplifier" unmute > /dev/null
# Toggles the audio level
amixer set "Master" unmute > /dev/null
else
amixer set "External Amplifier" mute > /dev/null
amixer set "Master" mute > /dev/null
fi
The question of how this is to be implemented remains. Is
this an issue for ALSA or shall it be handled on a higher,
user-space level? I also have a bug open in GNOME for the
same thing, I need to decide how to finally resolve this
and need input from the ALSA team on the best solution.
(See http://bugzilla.gnome.org/show_bug.cgi?id=157748)
======================================================================
----------------------------------------------------------------------
linus - 11-24-04 15:07
----------------------------------------------------------------------
This is the PCI info for this ICH4 controller. (I submitted this new
info to linux' pci.ids PCI ID list too.)
00:1f.5 Class 0401: 8086:24c5 (rev 03)
Subsystem: 103c:0890
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
Subsystem: Hewlett-Packard Company: Unknown device 0890
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 3000 [size=256]
I/O ports at 3880 [size=64]
Memory at a0100000 (32-bit, non-prefetchable) [size=512]
Memory at a0180000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
----------------------------------------------------------------------
Clemens Ladisch - 11-24-04 18:47
----------------------------------------------------------------------
Here is a user-space tool that I originally wrote for other purposes. Use
it until the driver does the syncing.
Issue History
Date Modified Username Field Change
======================================================================
11-23-04 15:27 linus New Issue
11-23-04 15:27 linus Distribution => Fedora Core 3
11-23-04 15:27 linus Kernel Version => 2.6.9
11-23-04 15:41 tiwai Note Added: 0002516
11-23-04 21:28 linus Note Added: 0002528
11-24-04 12:22 tiwai Note Added: 0002549
11-24-04 13:00 IceRAM Note Added: 0002555
11-24-04 13:07 tiwai Note Added: 0002558
11-24-04 14:27 linus Note Added: 0002562
11-24-04 15:07 linus Note Added: 0002567
11-24-04 18:47 Clemens LadischFile Added: muteled.c
11-24-04 18:47 Clemens LadischNote Added: 0002580
======================================================================
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0000667]: How to integrate turning on and off LED:s on laptops
@ 2004-12-02 18:36 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2004-12-02 18:36 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=667>
======================================================================
Reported By: linus
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 667
Category: PCI - intel8x0
Reproducibility: always
Severity: feature
Priority: normal
Status: new
Distribution: Fedora Core 3
Kernel Version: 2.6.9
======================================================================
Date Submitted: 11-23-2004 15:27 CET
Last Modified: 12-02-2004 19:36 CET
======================================================================
Summary: How to integrate turning on and off LED:s on laptops
Description:
This machine, an HP Compaq NC6000 (also on other models
such as NC8000) has a mute LED that
turns on and off when mute is activated/deactivated.
It is accomplished by way of the "External Amplifier"
setting - this has been wired to a LED instead of an
amplifier, so the "mute" function should (theoretically)
activate/deactivate the "External Amplifier" when muting
is selected for the device. The chip used is AD1981B.
This script shows how it is done:
if ( amixer sget "External Amplifier"|grep off > /dev/null )
then
# Toggles the LED, no actual volume change
amixer set "External Amplifier" unmute > /dev/null
# Toggles the audio level
amixer set "Master" unmute > /dev/null
else
amixer set "External Amplifier" mute > /dev/null
amixer set "Master" mute > /dev/null
fi
The question of how this is to be implemented remains. Is
this an issue for ALSA or shall it be handled on a higher,
user-space level? I also have a bug open in GNOME for the
same thing, I need to decide how to finally resolve this
and need input from the ALSA team on the best solution.
(See http://bugzilla.gnome.org/show_bug.cgi?id=157748)
======================================================================
----------------------------------------------------------------------
Clemens Ladisch - 11-24-04 18:47
----------------------------------------------------------------------
Here is a user-space tool that I originally wrote for other purposes. Use
it until the driver does the syncing.
----------------------------------------------------------------------
tiwai - 12-02-04 19:36
----------------------------------------------------------------------
Well, if Clemens's neat program does enough job, the change of the driver
wouldn't be necessary?
Issue History
Date Modified Username Field Change
======================================================================
11-23-04 15:27 linus New Issue
11-23-04 15:27 linus Distribution => Fedora Core 3
11-23-04 15:27 linus Kernel Version => 2.6.9
11-23-04 15:41 tiwai Note Added: 0002516
11-23-04 21:28 linus Note Added: 0002528
11-24-04 12:22 tiwai Note Added: 0002549
11-24-04 13:00 IceRAM Note Added: 0002555
11-24-04 13:07 tiwai Note Added: 0002558
11-24-04 14:27 linus Note Added: 0002562
11-24-04 15:07 linus Note Added: 0002567
11-24-04 18:47 Clemens LadischFile Added: muteled.c
11-24-04 18:47 Clemens LadischNote Added: 0002580
12-02-04 19:36 tiwai Note Added: 0002695
======================================================================
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0000667]: How to integrate turning on and off LED:s on laptops
@ 2004-12-23 15:08 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2004-12-23 15:08 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=667>
======================================================================
Reported By: linus
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 667
Category: PCI - intel8x0
Reproducibility: always
Severity: feature
Priority: normal
Status: new
Distribution: Fedora Core 3
Kernel Version: 2.6.9
======================================================================
Date Submitted: 11-23-2004 15:27 CET
Last Modified: 12-23-2004 16:08 CET
======================================================================
Summary: How to integrate turning on and off LED:s on laptops
Description:
This machine, an HP Compaq NC6000 (also on other models
such as NC8000) has a mute LED that
turns on and off when mute is activated/deactivated.
It is accomplished by way of the "External Amplifier"
setting - this has been wired to a LED instead of an
amplifier, so the "mute" function should (theoretically)
activate/deactivate the "External Amplifier" when muting
is selected for the device. The chip used is AD1981B.
This script shows how it is done:
if ( amixer sget "External Amplifier"|grep off > /dev/null )
then
# Toggles the LED, no actual volume change
amixer set "External Amplifier" unmute > /dev/null
# Toggles the audio level
amixer set "Master" unmute > /dev/null
else
amixer set "External Amplifier" mute > /dev/null
amixer set "Master" mute > /dev/null
fi
The question of how this is to be implemented remains. Is
this an issue for ALSA or shall it be handled on a higher,
user-space level? I also have a bug open in GNOME for the
same thing, I need to decide how to finally resolve this
and need input from the ALSA team on the best solution.
(See http://bugzilla.gnome.org/show_bug.cgi?id=157748)
======================================================================
----------------------------------------------------------------------
tiwai - 12-02-04 19:36
----------------------------------------------------------------------
Well, if Clemens's neat program does enough job, the change of the driver
wouldn't be necessary?
----------------------------------------------------------------------
tiwai - 12-23-04 16:08
----------------------------------------------------------------------
OK, here is a test patch. Could you try it wheter it works?
Issue History
Date Modified Username Field Change
======================================================================
11-23-04 15:27 linus New Issue
11-23-04 15:27 linus Distribution => Fedora Core 3
11-23-04 15:27 linus Kernel Version => 2.6.9
11-23-04 15:41 tiwai Note Added: 0002516
11-23-04 21:28 linus Note Added: 0002528
11-24-04 12:22 tiwai Note Added: 0002549
11-24-04 13:00 IceRAM Note Added: 0002555
11-24-04 13:07 tiwai Note Added: 0002558
11-24-04 14:27 linus Note Added: 0002562
11-24-04 15:07 linus Note Added: 0002567
11-24-04 18:47 Clemens LadischFile Added: muteled.c
11-24-04 18:47 Clemens LadischNote Added: 0002580
12-02-04 19:36 tiwai Note Added: 0002695
12-23-04 16:08 tiwai Note Added: 0002923
======================================================================
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0000667]: How to integrate turning on and off LED:s on laptops
@ 2004-12-27 14:28 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2004-12-27 14:28 UTC (permalink / raw)
To: alsa-devel
The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=667>
======================================================================
Reported By: linus
Assigned To: tiwai
======================================================================
Project: ALSA - driver
Issue ID: 667
Category: PCI - intel8x0
Reproducibility: always
Severity: feature
Priority: normal
Status: resolved
Distribution: Fedora Core 3
Kernel Version: 2.6.9
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 11-23-2004 15:27 CET
Last Modified: 12-27-2004 15:28 CET
======================================================================
Summary: How to integrate turning on and off LED:s on laptops
Description:
This machine, an HP Compaq NC6000 (also on other models
such as NC8000) has a mute LED that
turns on and off when mute is activated/deactivated.
It is accomplished by way of the "External Amplifier"
setting - this has been wired to a LED instead of an
amplifier, so the "mute" function should (theoretically)
activate/deactivate the "External Amplifier" when muting
is selected for the device. The chip used is AD1981B.
This script shows how it is done:
if ( amixer sget "External Amplifier"|grep off > /dev/null )
then
# Toggles the LED, no actual volume change
amixer set "External Amplifier" unmute > /dev/null
# Toggles the audio level
amixer set "Master" unmute > /dev/null
else
amixer set "External Amplifier" mute > /dev/null
amixer set "Master" mute > /dev/null
fi
The question of how this is to be implemented remains. Is
this an issue for ALSA or shall it be handled on a higher,
user-space level? I also have a bug open in GNOME for the
same thing, I need to decide how to finally resolve this
and need input from the ALSA team on the best solution.
(See http://bugzilla.gnome.org/show_bug.cgi?id=157748)
======================================================================
----------------------------------------------------------------------
tiwai - 12-23-04 16:08
----------------------------------------------------------------------
OK, here is a test patch. Could you try it wheter it works?
----------------------------------------------------------------------
tiwai - 12-27-04 15:28
----------------------------------------------------------------------
I commited the newer patch to CVS.
Issue History
Date Modified Username Field Change
======================================================================
11-23-04 15:27 linus New Issue
11-23-04 15:27 linus Distribution => Fedora Core 3
11-23-04 15:27 linus Kernel Version => 2.6.9
11-23-04 15:41 tiwai Note Added: 0002516
11-23-04 21:28 linus Note Added: 0002528
11-24-04 12:22 tiwai Note Added: 0002549
11-24-04 13:00 IceRAM Note Added: 0002555
11-24-04 13:07 tiwai Note Added: 0002558
11-24-04 14:27 linus Note Added: 0002562
11-24-04 15:07 linus Note Added: 0002567
11-24-04 18:47 Clemens LadischFile Added: muteled.c
11-24-04 18:47 Clemens LadischNote Added: 0002580
12-02-04 19:36 tiwai Note Added: 0002695
12-23-04 16:08 tiwai Note Added: 0002923
12-23-04 16:09 tiwai File Added: mute-led.diff
12-27-04 15:28 tiwai Status new => resolved
12-27-04 15:28 tiwai Resolution open => fixed
12-27-04 15:28 tiwai Assigned To => tiwai
12-27-04 15:28 tiwai Note Added: 0002962
======================================================================
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0000667]: How to integrate turning on and off LED:s on laptops
@ 2005-01-31 18:04 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2005-01-31 18:04 UTC (permalink / raw)
To: alsa-devel
The following issue has been CLOSED
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=667>
======================================================================
Reported By: linus
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 667
Category: PCI - intel8x0
Reproducibility: always
Severity: feature
Priority: normal
Status: closed
Distribution: Fedora Core 3
Kernel Version: 2.6.9
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 11-23-2004 15:27 CET
Last Modified: 01-31-2005 19:04 CET
======================================================================
Summary: How to integrate turning on and off LED:s on laptops
Description:
This machine, an HP Compaq NC6000 (also on other models
such as NC8000) has a mute LED that
turns on and off when mute is activated/deactivated.
It is accomplished by way of the "External Amplifier"
setting - this has been wired to a LED instead of an
amplifier, so the "mute" function should (theoretically)
activate/deactivate the "External Amplifier" when muting
is selected for the device. The chip used is AD1981B.
This script shows how it is done:
if ( amixer sget "External Amplifier"|grep off > /dev/null )
then
# Toggles the LED, no actual volume change
amixer set "External Amplifier" unmute > /dev/null
# Toggles the audio level
amixer set "Master" unmute > /dev/null
else
amixer set "External Amplifier" mute > /dev/null
amixer set "Master" mute > /dev/null
fi
The question of how this is to be implemented remains. Is
this an issue for ALSA or shall it be handled on a higher,
user-space level? I also have a bug open in GNOME for the
same thing, I need to decide how to finally resolve this
and need input from the ALSA team on the best solution.
(See http://bugzilla.gnome.org/show_bug.cgi?id=157748)
======================================================================
----------------------------------------------------------------------
tiwai - 12-23-04 16:08
----------------------------------------------------------------------
OK, here is a test patch. Could you try it wheter it works?
----------------------------------------------------------------------
tiwai - 12-27-04 15:28
----------------------------------------------------------------------
I commited the newer patch to CVS.
Issue History
Date Modified Username Field Change
======================================================================
11-23-04 15:27 linus New Issue
11-23-04 15:27 linus Distribution => Fedora Core 3
11-23-04 15:27 linus Kernel Version => 2.6.9
11-23-04 15:41 tiwai Note Added: 0002516
11-23-04 21:28 linus Note Added: 0002528
11-24-04 12:22 tiwai Note Added: 0002549
11-24-04 13:00 IceRAM Note Added: 0002555
11-24-04 13:07 tiwai Note Added: 0002558
11-24-04 14:27 linus Note Added: 0002562
11-24-04 15:07 linus Note Added: 0002567
11-24-04 18:47 Clemens LadischFile Added: muteled.c
11-24-04 18:47 Clemens LadischNote Added: 0002580
12-02-04 19:36 tiwai Note Added: 0002695
12-23-04 16:08 tiwai Note Added: 0002923
12-23-04 16:09 tiwai File Added: mute-led.diff
12-27-04 15:28 tiwai Status new => resolved
12-27-04 15:28 tiwai Resolution open => fixed
12-27-04 15:28 tiwai Assigned To => tiwai
12-27-04 15:28 tiwai Note Added: 0002962
12-27-04 15:28 tiwai Assigned To tiwai =>
01-03-05 12:03 piesis Issue Monitored: piesis
01-03-05 12:03 piesis Issue End Monitor: piesis
01-31-05 19:04 tiwai Status resolved => closed
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2005-01-31 18:04 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-24 14:07 [ALSA - driver 0000667]: How to integrate turning on and off LED:s on laptops bugtrack
-- strict thread matches above, loose matches on Subject: below --
2005-01-31 18:04 bugtrack
2004-12-27 14:28 bugtrack
2004-12-23 15:08 bugtrack
2004-12-02 18:36 bugtrack
2004-11-24 17:47 bugtrack
2004-11-24 13:27 bugtrack
2004-11-24 12:07 bugtrack
2004-11-24 12:00 bugtrack
2004-11-24 11:22 bugtrack
2004-11-23 20:28 bugtrack
2004-11-23 14:41 bugtrack
2004-11-23 14:27 bugtrack
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox