ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Denis G. Samsonenko" <d.g.samsonenko@gmail.com>
To: community@lists.altlinux.org
Subject: [Comm] hal-laptop & EeePC 1000H
Date: Sat, 4 Apr 2009 22:44:05 +0700
Message-ID: <957265820904040844q4fa84a9cl8794fb6ccc72ac7a@mail.gmail.com> (raw)

Добрый день!

Пробую разобраться с hal-laptop на своём EeePC 1000H под бранчем 5.0.

Скопировал 10-events-key.fdi в /etc/hal/fdi/policy. Пытаюсь настроить
регулирование громкости клавишами Fn+F10,F11,F12. В alsamixer я не
нашёл Master, есть только PCM и LineOut. Последний и регулирует у меня
общую громкость, на сколько я понял. Соответственно поправил в
10-events-key.fdi так:

      <merge key="input.key.volume.hard" type="bool">false</merge>
      <merge key="alsa.mixer.index" type="int">0</merge>
      <merge key="alsa.mixer.control" type="string">LineOut</merge>
      <merge key="alsa.mixer.volume.step" type="int">5</merge>

Но почему-то регулируется только левый канал. Как сделать, чтобы
громкость левого и правого канала регулировалась синхронно?

$ amixer
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'LineOut',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 31 [48%] [-32.00dB] [on]
  Front Right: Playback 31 [48%] [-32.00dB] [on]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%]
  Front Right: 3 [100%]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 46 [100%] [29.00dB] [on]
  Front Right: Capture 46 [100%] [29.00dB] [on]
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 120 [100%] [30.00dB]
  Front Right: Capture 120 [100%] [30.00dB]
Simple mixer control 'iSpeaker',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]


-- 
Всего доброго,

Денис.


             reply	other threads:[~2009-04-04 15:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-04 15:44 Denis G. Samsonenko [this message]
2009-04-04 18:18 ` Alexey Borisenkov
2009-04-05  4:58   ` Denis G. Samsonenko

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=957265820904040844q4fa84a9cl8794fb6ccc72ac7a@mail.gmail.com \
    --to=d.g.samsonenko@gmail.com \
    --cc=community@lists.altlinux.org \
    /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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git