Whatsup - לינוקס, תוכנה חופשית וקוד פתוח בעברית

לינוקס ומדיה דיגיטלית - הגדרות הגבר מיקרופון אובדות באתחול

מייקי - 24/02/2015 - 12:36
נושא ההודעה: הגדרות הגבר מיקרופון אובדות באתחול
שלום,
ברשותי נייד עם Arch/XFCE עדכני לחלוטין, ומערכת שמע מבוססת ALSA/Pulse.
לצורך שימוש ב SKYPE ממחשב זה, עם המיקרופון הפנימי (המובנה), נדרש להגדיר MIC BOOST בערך קרוב למקסימום. אני מגדיר זאת ע"י שימוש ב alsamixer, בחירת הערך הרצוי ל MIC BOOST, ולאחר מכן מריץ (כ ROOT) את הפקודה הבאה
קוד:

alsactl store


הבעיה שלאחר אתחול ערך זה אובד- המערכת מאותחלת כאשר MIC BOOST שווה לאפס.

מעניין שבחיבור מיקרופון חיצוני, הגדרות ה MIC BOOST נשמרות.

אשמח לעזרה

תודה
am1 - 24/02/2015 - 13:02
נושא ההודעה:
נסה
קוד:
sudo alsactl store

או
קוד:
The alsa-utils package includes the systemd unit configuration files alsa-restore.service and alsa-store.service, which are activated during boot and before shutdown respectively. They do not need to be manually enabled using systemctl. For reference, ALSA stores its settings in /var/lib/alsa/asound.state.

https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture

או
https://bbs.archlinux.org/viewtopic.php?id=69853

או
https://bbs.archlinux.org/viewtopic.php?id=173061
מייקי - 24/02/2015 - 13:46
נושא ההודעה: תודה AM1
אך כפי שציינתי במקור- כבר ניסיתי ולא עזר. עוד רעיונות?
am1 - 24/02/2015 - 14:16
נושא ההודעה: האם קראת בעיון את הקישורים?
מייקי :
אך כפי שציינתי במקור- כבר ניסיתי ולא עזר. עוד רעיונות?

האם קראת בעיון את הקישורים?
בקישור כאן
https://bbs.archlinux.org/viewtopic.php?id=173061
החל מתגובה 14 ואילך:
קוד:
for me what it woks was to edit /etc/pulse/default.pa and comment this line "load-module module-device-restore", then reboot and everything was OK

source; Ubuntu Forums

קרא גם את קישור המקור לגבי אובונטו.
זה עזר ליותר מאדם אחד.
am1 - 24/02/2015 - 15:55
נושא ההודעה: פתרון נוסף: דרך סקריפטי האיתחול
באובונטו פתרו את הבעיה הזו דרך סקריפטי האיתחול.
נסה את הדרך הזו, בשינויים המחוייבים לגבי arch:

1.
הפתרון באובונטו:
http://askubuntu.com/questions/541847/is-there-any-way-to-save-alsamixer-settings-other-than-alsactl-store?lq=1
חשוב גם לקרוא את המקור שממנו הוא שאב את הרעיון:
https://forums.mageia.org/en/viewtopic.php?f=8&t=5054
שים לב גם להערה שלו שם לגבי אי הצורך להשתמש ב- sudo, ומדוע.

2.
מכיוון שאתה בארצ', סקריפט האיתחול
קוד:
/etc/rc.local
הוא שונה:
2.1
ייתכן שמספיק יהיה להוריד את החבילה
https://aur.archlinux.org/packages/rc-local/

2.2
סביר שתזדקק לקישורים הבאים:
https://wiki.archlinux.org/index.php/systemd
קוד:
Configuration files may also be used to write values into certain files on boot. For example, if you used /etc/rc.local to disable wakeup from USB devices with echo USBE > /proc/acpi/wakeup, you may use the following tmpfile instead:

/etc/tmpfiles.d/disable-usb-wake.conf

w /proc/acpi/wakeup - - - - USBE

See the systemd-tmpfiles(8) and tmpfiles.d(5) man pages for details.
Note: This method may not work to set options in /sys since the systemd-tmpfiles-setup service may run before the appropriate device modules is loaded. In this case you could check whether the module has a parameter for the option you want to set with modinfo module and set this option with a config file in /etc/modprobe.d. Otherwise you will have to write a udev rule to set the appropriate attribute as soon as the device appears.


http://superuser.com/questions/278396/systemd-does-not-run-etc-rc-local

https://raymii.org/s/tutorials/rc.local_support_on_Arch_Linux_and_systemd.html

https://bbs.archlinux.org/viewtopic.php?id=147790

https://bbs.archlinux.org/viewtopic.php?id=188135
מייקי - 24/02/2015 - 16:05
נושא ההודעה: שוב תודה
על שפע המידע. אבדוק...
כל הזמנים הם GMT + 2 שעות