Created attachment 154569 [details] e19 audio mixer settings Hello, I have installed e19 using pkg. The audio module is not showing the sound card/channels. I can hear audio fine, I can switch channels with sysctl. I would like to do this with the e19 volume module. Attached a screen-shot of the mixer settings. Details- [..] uname -a FreeBSD freebsd64_10 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 [..] [..] cat /dev/sndstat Installed devices: pcm0: <Realtek ALC892 (Rear Analog)> (play/rec) default pcm1: <Realtek ALC892 (Analog)> (play/rec) pcm2: <Realtek ALC892 (Front Analog Headphones)> (play) pcm3: <Realtek ALC892 (Rear Digital)> (play) sysctl hw.snd.default_unit=2 hw.snd.default_unit: 0 -> 2 [..] [..] pkg info enlightenment enlightenment-0.19.4,2 Name : enlightenment Version : 0.19.4,2 Installed on : Sun Mar 15 21:54:52 IST 2015 Origin : x11-wm/enlightenment Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : x11-wm enlightenment Licenses : BSD2CLAUSE Maintainer : gblach@FreeBSD.org WWW : http://www.enlightenment.org/ Comment : Artistic X window manager [..]
Could you please see if adding yourself to the operator group fixes this isse. I don't think it will but I could use this to lower my list of possibilitys of fixing it.
Thanks Chris, I am already member of the operator and wheel group. Let me know if you want me to try anything else.
Could you reinstall Enlightenment with the small hack that removes all the suid bit stuff off? Just comment it all out post-patch: 45 @${REINPLACE_CMD} -e \ 46 's/\(setuid_root_mode = a=rx,u+x\)s/\1/g' \ 47 ${WRKSRC}/src/bin/Makefile.mk \ 48 ${WRKSRC}/src/modules/Makefile_cpufreq.mk 49 See if that allows you to view the audio channels, as not having them show up seems like a perm issue to me rather E not finding the actual device since you do infact hear sound. Also this is security with obscurity since most people want a working system and not have to spend time suiding cmd's
Well how do I do this with pkg, do you want me to install using ports? If you want me patch this manually, please elaborate, or point to something that I can follow.
Edit the Makefile in x11-wm/enlightenment and find those lines and comment them out (add in a # infront of the text) save and recompile.
Created attachment 155801 [details] Screenshot of list of channels, after recompiling e19. Hi I did what you have suggested, now the mixer does not show any channel. I can still hear sound and change channels using sysctl. Before compiling I removed enlightenment package using pkg. Did a portsnap fetch update. Then commented out the following entries. #post-patch: # @${REINPLACE_CMD} -e \ # 's/\(setuid_root_mode = a=rx,u+x\)s/\1/g' \ # ${WRKSRC}/src/bin/Makefile.mk \ # ${WRKSRC}/src/modules/Makefile_cpufreq.mk I ran make clean install. It compiled and installed enlightenment. Let me know what to do next.
I guess you're just going to have to wait for me to find a solution.
Added a similar bug on xfce4 which I had reported.
Hrm, is this still an issue?
Yes, it still is. I reinstalled e19 to check this, without any modifications. I am wondering what effort will it take to package e17 or the Moksha desktop. Given the bugs in e19, Bodhi project is dropping it in favor of e17. http://www.bodhilinux.com/2015/04/28/introducing-the-moksha-desktop/ Can e17/Moksha and e19 co-exist on FreeBSD? What do you think?
Chris, have you ever seen working mixer module on FreeBSD? This module does not support OSS (only ALSA is supported) and never should work on system other than Linux.
We have version 0.21.10. Is this still relevant?
Have not tried with the recent version, I am on XFCE, if you think it makes sense to open a new bug for the new version, then please close this.
Wonder if this could make work by using the alsa compat libs. Will play with this later.
It works now. Can use ALSA but uses PulseAudio by default in 0.23. Can close issue :-)