This is weird. I started envy24control the first time after updating from alsa-tools-1.0.23 to 1.0.24.1, and the profile names (last tab) are gone. Instead they are named numerically again. Look at the steps below for the weirdest part though: Now the weird part: I named the first two profiles again (FOOBAR and BARFOO), clicked on “save active profile” for each one, exited the program, and Reproducible: Always Steps to Reproduce: 1. Be sure you have 1.0.23 installed. 2. Make sure you have named profiles in envy24control, and that they contain settings that are different from the default (e.g. set volume levels). 3. Update to 1.0.24.1. 4. Make a backup copy of .envy24control/profiles.conf. 5. Run envy24control and look at the profiles tab. → The profile names are gone and replaced by “1”, “2”, etc. 6. Rename profile “1” “FOOBAR” followed by clicking “save active profile. Do the same for profile “2”, naming it “BARFOO”. 7. Exit envy24control. 8. diff .envy24control/profiles.conf and your backuped copy of it. Actual Results: There are no changes at all! The files are exactly the same. They even contain your old profile names from 1.0.23. And you can’t find neither “FOOBAR” nor “BARFOO” in them. Now the really weird part: Start envy24control again. Notice how it *remembers* the *new* profile names (FOOBAT and BARFOO) *anyway*. No idea where it saves them, as i could not find them with a grep of my whole user profile. Serious-hacking-wow. ;) Expected Results: After updating, the profile names should still be read from the config file and displayed in envy24contol. Also, when saving a profile, the profile name (and the rest anyway) should be saved in the config file, and in no case somewhere magically hidden. ;) In other words: The config file and the GUI should stay being be representations of each other. As you can imagine, I’m really interested where the new profile names are saved, if not in the home directory.
Oops, ignore paragraph 2. I forgot to delete it after making it into the steps to reproduce.
Please paste your `emerge --info media-sound/alsa-tools' output in a comment. Information about the ALSA related configuration of your kernel would also be useful
(In reply to comment #2) Here they come. I doubt the’re very helpful thought, as both did not change between updates. Also, going back to the old 1.0.23, fixed it for me. (I masked 1.0.24.1.) ———————————————————————————————————————————————————————————————————————————————— Portage 2.2.0_alpha25 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r1, 2.6.35-zen2 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.35-zen2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.1 Timestamp of tree: Fri, 25 Feb 2011 17:15:01 +0000 ccache version 3.1.4 [enabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/ccache: 3.1.4 dev-util/cmake: 2.8.4 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.7.0 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) Repositories: gentoo java-overlay sunrise roslin gentoo-haskell multimedia kde proaudio x11 sping desktop-effects kde-sunset local Installed sets: @kdebase, @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA PUEL Q3AEULA dlj-1.1 skype-eula AdobeFlash-10.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -O2 -march=athlon64 -fomit-frame-pointer -fno-ident -fweb -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -O2 -march=athlon64 -fomit-frame-pointer -fno-ident -fweb -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs candy ccache collision-protect distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox" FFLAGS="" GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://gentoo.tiscali.nl/ http://gentoo.supp.name/" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed" LINGUAS="de en en_GB fr" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/java-overlay /var/lib/layman/sunrise /var/lib/layman/roslin /var/lib/layman/haskell /var/lib/layman/multimedia /var/lib/layman/kde /var/lib/layman/pro-audio /var/lib/layman/x11 /var/lib/layman/sping /var/lib/layman/desktop-effects /var/lib/layman/kde-sunset /usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow X a52 aac acl acpi aim alsa amd64 arts bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cddb cdr clamav cli consolekit cracklib crypt css curl curlwrappers cxx dbus dga directfb doc dri dts dvd dvdr emboss encode enscript exif fam fbcon ffmpeg fftw firefox flac fortran ftp gd gdbm gdu geoip gif gimp glut gnutls gphoto2 gpm hddtemp hscolour htmlhandbook iconv icq idn imagemagick imap inifile jabber jack java java5 java6 javascript jbig jikes jingle joystick jpeg jpeg2k kde kde3 ladspa lame lash lcms libnotify lm_sensors mad maildir matroska mikmod mime mmap mmx mng modules mp3 mp4 mpeg mplayer msn mtp mudflap multilib musepack musicbrainz ncurses nls nntp nptl nptlonly nsplugin nvidia odbc offensive ogg openal opengl openmp oscar pam pango pcre pda pdf perl phonon png policykit portaudio posix postgres ppds pppd prelude python qt3 qt3support qt4 quicktime rdesktop readline rss sdl semantic-desktop session sharedmem smartcard sockets speex spell sse sse2 ssl startup-notification subversion svg sysfs syslog sysvipc taglib tcpd threads tiff truetype udev unicode usb v4l v4l2 vcd vdpau vim-syntax vnc vorbis x264 xattr xcb xcomposite xface xine xinerama xml xorg xpm xscreensaver xulrunner xv xvid xvmc yahoo zlib" ALSA_CARDS="ice1712" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_GB fr" NETBEANS_MODULES="apisupport cnd gsf harness ide identity j2ee java mobility nb php profiler webcommon websvccommon xml groovy dlight enterprise" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= media-sound/alsa-tools-1.0.23 was built with the following: USE="gtk (multilib) -fltk" ALSA_CARDS="ice1712 -darla20 -darla24 -echo3g -emu10k1 -emu10k1x -gina20 -gina24 -hdsp -hdspm -indigo -indigoio -layla20 -layla24 -mia -mixart -mona -pcxhr -rme32 -rme96 -sb16 -sbawe -sscape -usb-usx2y -vx222" ———————————————————————————————————————————————————————————————————————————————— I assume you mean all CONFIG_SND* settings: ———————————————————————————————————————————————————————————————————————————————— CONFIG_SND=y CONFIG_SND_TIMER=y CONFIG_SND_PCM=y CONFIG_SND_RAWMIDI=y CONFIG_SND_JACK=y CONFIG_SND_SEQUENCER=y CONFIG_SND_SEQ_DUMMY=y CONFIG_SND_OSSEMUL=y CONFIG_SND_MIXER_OSS=y CONFIG_SND_PCM_OSS=y CONFIG_SND_PCM_OSS_PLUGINS=y CONFIG_SND_SEQUENCER_OSS=y CONFIG_SND_HRTIMER=m # CONFIG_SND_SEQ_HRTIMER_DEFAULT is not set CONFIG_SND_DYNAMIC_MINORS=y CONFIG_SND_SUPPORT_OLD_API=y CONFIG_SND_VERBOSE_PROCFS=y # CONFIG_SND_VERBOSE_PRINTK is not set # CONFIG_SND_DEBUG is not set CONFIG_SND_VMASTER=y CONFIG_SND_DMA_SGBUF=y CONFIG_SND_RAWMIDI_SEQ=y # CONFIG_SND_OPL3_LIB_SEQ is not set # CONFIG_SND_OPL4_LIB_SEQ is not set # CONFIG_SND_SBAWE_SEQ is not set # CONFIG_SND_EMU10K1_SEQ is not set CONFIG_SND_MPU401_UART=y CONFIG_SND_AC97_CODEC=m CONFIG_SND_DRIVERS=y # CONFIG_SND_PCSP is not set # CONFIG_SND_DUMMY is not set CONFIG_SND_VIRMIDI=m # CONFIG_SND_MTPAV is not set # CONFIG_SND_SERIAL_U16550 is not set CONFIG_SND_MPU401=y # CONFIG_SND_AC97_POWER_SAVE is not set CONFIG_SND_PCI=y # CONFIG_SND_AD1889 is not set # CONFIG_SND_ALS300 is not set # CONFIG_SND_ALS4000 is not set # CONFIG_SND_ALI5451 is not set # CONFIG_SND_ASIHPI is not set # CONFIG_SND_ATIIXP is not set # CONFIG_SND_ATIIXP_MODEM is not set # CONFIG_SND_AU8810 is not set # CONFIG_SND_AU8820 is not set # CONFIG_SND_AU8830 is not set # CONFIG_SND_AW2 is not set # CONFIG_SND_AZT3328 is not set # CONFIG_SND_BT87X is not set # CONFIG_SND_CA0106 is not set # CONFIG_SND_CMIPCI is not set # CONFIG_SND_OXYGEN is not set # CONFIG_SND_CS4281 is not set # CONFIG_SND_CS46XX is not set # CONFIG_SND_CS5530 is not set # CONFIG_SND_CS5535AUDIO is not set # CONFIG_SND_CTXFI is not set # CONFIG_SND_DARLA20 is not set # CONFIG_SND_GINA20 is not set # CONFIG_SND_LAYLA20 is not set # CONFIG_SND_DARLA24 is not set # CONFIG_SND_GINA24 is not set # CONFIG_SND_LAYLA24 is not set # CONFIG_SND_MONA is not set # CONFIG_SND_MIA is not set # CONFIG_SND_ECHO3G is not set # CONFIG_SND_INDIGO is not set # CONFIG_SND_INDIGOIO is not set # CONFIG_SND_INDIGODJ is not set # CONFIG_SND_INDIGOIOX is not set # CONFIG_SND_INDIGODJX is not set # CONFIG_SND_EMU10K1 is not set # CONFIG_SND_EMU10K1X is not set # CONFIG_SND_ENS1370 is not set # CONFIG_SND_ENS1371 is not set # CONFIG_SND_ES1938 is not set # CONFIG_SND_ES1968 is not set # CONFIG_SND_FM801 is not set CONFIG_SND_HDA_INTEL=m # CONFIG_SND_HDA_HWDEP is not set CONFIG_SND_HDA_INPUT_BEEP=y CONFIG_SND_HDA_INPUT_BEEP_MODE=2 CONFIG_SND_HDA_INPUT_JACK=y # CONFIG_SND_HDA_PATCH_LOADER is not set CONFIG_SND_HDA_CODEC_REALTEK=y # CONFIG_SND_HDA_CODEC_ANALOG is not set # CONFIG_SND_HDA_CODEC_SIGMATEL is not set # CONFIG_SND_HDA_CODEC_VIA is not set CONFIG_SND_HDA_CODEC_ATIHDMI=y CONFIG_SND_HDA_CODEC_NVHDMI=y CONFIG_SND_HDA_CODEC_INTELHDMI=y CONFIG_SND_HDA_ELD=y # CONFIG_SND_HDA_CODEC_CIRRUS is not set # CONFIG_SND_HDA_CODEC_CONEXANT is not set # CONFIG_SND_HDA_CODEC_CA0110 is not set # CONFIG_SND_HDA_CODEC_CMEDIA is not set # CONFIG_SND_HDA_CODEC_SI3054 is not set CONFIG_SND_HDA_GENERIC=y # CONFIG_SND_HDA_POWER_SAVE is not set # CONFIG_SND_HDSP is not set # CONFIG_SND_HDSPM is not set # CONFIG_SND_HIFIER is not set CONFIG_SND_ICE1712=m # CONFIG_SND_ICE1724 is not set # CONFIG_SND_INTEL8X0 is not set # CONFIG_SND_INTEL8X0M is not set # CONFIG_SND_KORG1212 is not set # CONFIG_SND_LX6464ES is not set # CONFIG_SND_MAESTRO3 is not set # CONFIG_SND_MIXART is not set # CONFIG_SND_NM256 is not set # CONFIG_SND_PCXHR is not set # CONFIG_SND_RIPTIDE is not set # CONFIG_SND_RME32 is not set # CONFIG_SND_RME96 is not set # CONFIG_SND_RME9652 is not set # CONFIG_SND_SONICVIBES is not set # CONFIG_SND_TRIDENT is not set # CONFIG_SND_VIA82XX is not set # CONFIG_SND_VIA82XX_MODEM is not set # CONFIG_SND_VIRTUOSO is not set # CONFIG_SND_VX222 is not set # CONFIG_SND_YMFPCI is not set # CONFIG_SND_SPI is not set # CONFIG_SND_USB is not set # CONFIG_SND_SOC is not set ————————————————————————————————————————————————————————————————————————————————
Could you test whether 1.0.25 addresses this please?
As soon as I’ve done my weekly update session (every Friday), and it was in there, I’ll do. See you Saturday (or so) then.
(In reply to comment #4) Just looked, and it created the directory "$HOME/envy24control" (without the dot) again! First this lies dead for a year, then I’m asked to re-test it, even though everyone is fully aware that nothing changed. What the hell? :/ Why am I even making these bugs? Next year I won’t “test again”, that’s for sure.
Created attachment 301931 [details] Patch to fix this, for 1.0.21… yeah, that’s how long ago this could have been fixed. Here, my old patch from 1.0.21. With a change of the version number in the path, this should still work today. Now please, would you finally either put it into Portage, or give me access so I can do it?
If that is how a polite request is treated, it can wait another week.
(In reply to comment #8) > If that is how a polite request is treated, it can wait another week. I’m sorry. :/ I was angry at the whole situation. It wasn’t meant against you, and I certainly didn’t mean to hurt you. See, this is so very frustrating… when one’s system constantly gets wrecked or at least messed up by regressions. As I said: I’d rather help out and have us all work together. But it’s always that one place that I don’t do myself… the one where I have to depend on others… where everything goes wrong. :/ So maybe you can understand my anger. I certainly understand that I shouldn’t attack you because of it. So sorry again. :)
My concern with this is that the suggested patch is already in the portage tree and has been consistently applied: PATCHES=( "${FILESDIR}/envy24control-config-dir.patch" ) If the patch no longer applied for 1.0.24.1 or 1.0.25, the ebuild would have bailed out with an error message, and no package would have been installed on your system.
(In reply to comment #10) > My concern with this is that the suggested patch is already in the portage tree > and has been consistently applied: Ah, OK. > If the patch no longer applied for 1.0.24.1 or 1.0.25, the ebuild would have > bailed out with an error message, and no package would have been installed on > your system. That’s the thing. It wasn’t applied, or had no effect. If you say that it would have bailed out, then I can only conclude, that it must have been applied but without any effect. Which, of course, is weird and makes no sense. It’s a fact though, that, as described is comment #6 (just read the nice part please ;), the directory is the wrong one again. So maybe something with the patching goes wrong. Could you test where it saves the config file when you do a default installation with ALSA_CARDS="ice1712"? Just so you can see for yourself. (I wouldn’t believe me too, if I were in your place. ;) And so I know it’s not just me seeing the ghost in the machine. ;)
Interesting. This bug is still not fixed in 1.0.26. Again, it goes to $HOME/envy24control instead of $HOME/.envy24control, or even better: $HOME/.config/envy24control
Created attachment 346674 [details, diff] Debian's extended patch (untested).
Hi Navid, I'm the Debian maintainer of this pile of unmaintained software that is alsa-tools. :) I was idly browsing other distros trying to fish interesting patches when I came across your old patch, and I quickly stole it. Then I got to this bug thanks to the reference in the Gentoo ChangeLog, and saw you're still seeing the problem. I'd assume the code has changed since your patch and the program is now using another definition for DEFAULT_PROFILERC, because, you know, there are two: one in envy24control.h, and another in profile.h, introduced in this commit: http://git.alsa-project.org/?p=alsa-tools.git;a=commitdiff;h=d552f0ca3755058fc962359f2d69e13f4f250794 My reading of the code is that it should actually be using the definition you fixed, but my reading at 2AM might be totally flawed. Attached is an untested patch that adds the other bit. You might want to test it.
This is probably obsolete now