Re: [gentoo-user] No sound. Please, help!

2020-10-18 Thread Dale
David Haller wrote:
> Hello,
>
> On Sun, 18 Oct 2020, Dale wrote:
>> gevisz wrote:
>>> Thank you for your help. I turned on the computer, changed options snd
>>> cards_limit to 2 and ran aplay /usr/share/sound/alsa/*.wav (I have a
>>> different named wav files). There was a sound.
> [..]
>>> reboot I have a sound and on another I have no sound. Any thoughts?
>> Try adding alsasound to the default runlevel.  And then:
>>
>> /etc/init.d/alsasound start
>>
>> and then
>>
>> /etc/init.d/alsasound save
> One should run that '/etc/init.d/alsasound save' once when sound
> works, so that later save on stop and restore on reboot work ;)
>
> BTW: I liked the SUSE way of symlinking init-scripts to /usr/sbin/rc*,
> e.g. /usr/sbin/rcalsasound -> /etc/init.d/alsasound
> I now do that (to /usr/local/sbin/rc*) for stuff that I don't want in
> a runlevel, but still start/stop occasionally ;)

Well, I was hoping it was obvious.  I just came home to snack before
headed back out into the woods so I was in a bit of a rush. 

>> P. S.  I found a new sledge hammer.  Is this being sent as plain text
>> only?  No HTML at all? 
> Yes.
>
> -dnh
>

Thank goodness.  I been trying to get that to do the right thing for
months.  Thanks for confirming. 

Dale

:-)  :-) 



Re: [gentoo-user] No sound. Please, help!

2020-10-18 Thread Dale
gevisz wrote:
>
> Correction:
>  I am sorry to confess that I FORGOT that I should use M to unmute
>  a channel in alsamixer (as I did about 14 years ago) and thought
>  that arrows up and down do all the work. :(
>

Well, when I did my first install, I had no idea.  I had to google it or
something to get it to unmute.  Once I found it, it was like, duh.  :-D

On the modules or in kernel, I compile all mine in the kernel.  The only
modules I have is my nvidia video drivers. There's pro's and con's to
each so whatever works and you like. 

Glad it's working now.  I need a shower.  I been cutting down trees and
dragging them to a pile to rot or burn.  I'm tired, I stink which
requires a shower and I'm hungry.  Cutting and getting rid of a 24 inch
across tree isn't easy when you have a 20 inch bar on the chainsaw.  :/

Dale

:-)  :-) 



Re: [gentoo-user] what's wrong with my USE= statement in /etc/portage/make.conf?

2020-10-18 Thread Jude DaShiell
On Sun, 18 Oct 2020, Ashley Dixon wrote:

> Date: Sun, 18 Oct 2020 17:12:45
> From: Ashley Dixon 
> Reply-To: gentoo-user@lists.gentoo.org
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] what's wrong with my USE= statement in
> /etc/portage/make.conf?
>
> On Sun, Oct 18, 2020 at 04:45:06PM -0400, Jude DaShiell wrote:
> > The ansifilter package won't build on this system yet.  Certainly one to
> > get in future though.
>
> I'll see if I can send you a binary off-list. It's not a particularly
> complicated package, so I reckon you should be able to run a pre-compiled
> executable without many issues.
>
> > I have a /etc/portage/package.use subdirectory containing zz-autounmask
> > file.
> > Do I need to append sys-auth/polkit elogind to the end of that
> > zz-autounmask file?
>
> If package.use is a directory, that's fine (and recommended). Every file in 
> the
> directory, and any subdirectories, contains package.use entries, all
> concatenated together by Portage when processing. If you want, you could 
> append
> the entry to zz-autounmask, but you could also do something more elegant:
>
> /etc/portage/package.use $ mkdir sys-auth
> /etc/portage/package.use $ echo "sys-auth/polkit elogind" > 
> sys-auth/polkit
>
I hope the USE variable was entirely too rich.  I shortened it
considerably and saved the make.conf file so some duplicate work can be
speeded up.  I'm taking the system to bare metal and will use the
make.conf file I have without earlier steps that are causing several
packages to compile fail.
I will be curious if I get further this next time.
More later when I discover and I'll search ansifilter on other linux
flavors since that to my mind is a seriously useful program when handling
typescript files.

>

--




Re: [gentoo-user] No sound. Please, help!

2020-10-18 Thread gevisz
пн, 19 окт. 2020 г. в 00:15, gevisz :
>
> вс, 18 окт. 2020 г. в 21:15, Dale :
> >
> > gevisz wrote:
> > > вс, 18 окт. 2020 г. в 17:20, Dale :
> > >> gevisz wrote:
> > >>> No sound at least in Firefox. Tried it on youtube. Skype is currently
> > >>> uninstalled. So, I cannot check using it.
> > >> Just a thought.  Are you sure that everything is unmuted?  Years ago,
> > >> all the sound control software, Kmix, alsa and others, default to mute.
> > >> If just one of them is muted, no sound.  I seem to recall when I did my
> > >> install on this rig that I had to unmute the sound in three places,
> > >> Kmix, alsa and one other that I can't recall the name of.  I think I had
> > >> to turn up the volume on alsa as it was set to a really low level once
> > >> it was unmuted.  Usually, I turn all of them to the max except the one I
> > >> mainly use.  In my case, Kmix is the one I use to really control things
> > >> since it sits on the panel thingy.  The others are set at the max.
> > >>
> > >> It's a silly thing but thought it worth a mention just in case there is
> > >> a muted setting somewhere.
> > > Thank you for your input. Yes, it seems that something is muted but what?
> > > I have no KDE and no kmix installed. No pulseaudio.
> >
> > Type in alsamixer in a console or whatever you use and hit tab twice.  I
> > suspect you have that installed.  You should have a text version, like a
> > console uses, and a gui version, that should work in any DM.  Pick your
> > poison and see if anything there is muted or the volume is set really
> > low, like 1 out of 100 or something.  I think hitting the "m" key
> > toggles the mute.

Correction:
 I am sorry to confess that I FORGOT that I should use M to unmute
 a channel in alsamixer (as I did about 14 years ago) and thought
 that arrows up and down do all the work. :(

> So, now the problem has been solved and I can return to the custom kernel.
>
> One last question: Is it better to compile the driver for my HDMI
> audio device or not, if I am not going to use HDMI audio output?
>
> And thank you all who replied to this thread.
>
> > I think it's the arrow keys to increase or decrease volume
> > and move from channel to channel.  It has been a while
> > since I used that so can't recall.
> >
> > Let's just hope it is that simple.
> >
> > Dale



Re: [gentoo-user] No sound. Please, help!

2020-10-18 Thread gevisz
вс, 18 окт. 2020 г. в 21:15, Dale :
>
> gevisz wrote:
> > вс, 18 окт. 2020 г. в 17:20, Dale :
> >> gevisz wrote:
> >>> No sound at least in Firefox. Tried it on youtube. Skype is currently
> >>> uninstalled. So, I cannot check using it.
> >> Just a thought.  Are you sure that everything is unmuted?  Years ago,
> >> all the sound control software, Kmix, alsa and others, default to mute.
> >> If just one of them is muted, no sound.  I seem to recall when I did my
> >> install on this rig that I had to unmute the sound in three places,
> >> Kmix, alsa and one other that I can't recall the name of.  I think I had
> >> to turn up the volume on alsa as it was set to a really low level once
> >> it was unmuted.  Usually, I turn all of them to the max except the one I
> >> mainly use.  In my case, Kmix is the one I use to really control things
> >> since it sits on the panel thingy.  The others are set at the max.
> >>
> >> It's a silly thing but thought it worth a mention just in case there is
> >> a muted setting somewhere.
> > Thank you for your input. Yes, it seems that something is muted but what?
> > I have no KDE and no kmix installed. No pulseaudio.
>
> Type in alsamixer in a console or whatever you use and hit tab twice.  I
> suspect you have that installed.  You should have a text version, like a
> console uses, and a gui version, that should work in any DM.  Pick your
> poison and see if anything there is muted or the volume is set really
> low, like 1 out of 100 or something.  I think hitting the "m" key
> toggles the mute.

I am sorry to confess that I should use M to unmute a channel in
alsamixer (as I did about 14 years ago) and thought that arrows up and
down do all the work. :(

So, now the problem has been solved and I can return to the custom kernel.

One last question: Is it better to compile the driver for my HDMI
audio device or not, if I am not going to use HDMI audio output?

And thank you all who replied to this thread.

> I think it's the arrow keys to increase or decrease volume
> and move from channel to channel.  It has been a while
> since I used that so can't recall.
>
> Let's just hope it is that simple.
>
> Dale



Re: [gentoo-user] what's wrong with my USE= statement in /etc/portage/make.conf?

2020-10-18 Thread Ashley Dixon
On Sun, Oct 18, 2020 at 04:45:06PM -0400, Jude DaShiell wrote:
> The ansifilter package won't build on this system yet.  Certainly one to
> get in future though.

I'll see if I can send you a binary off-list. It's not a particularly
complicated package, so I reckon you should be able to run a pre-compiled
executable without many issues.

> I have a /etc/portage/package.use subdirectory containing zz-autounmask
> file.
> Do I need to append sys-auth/polkit elogind to the end of that
> zz-autounmask file?

If package.use is a directory, that's fine (and recommended). Every file in the
directory, and any subdirectories, contains package.use entries, all
concatenated together by Portage when processing. If you want, you could append
the entry to zz-autounmask, but you could also do something more elegant:

/etc/portage/package.use $ mkdir sys-auth
/etc/portage/package.use $ echo "sys-auth/polkit elogind" > 
sys-auth/polkit

-- 

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA



signature.asc
Description: PGP signature


Re: [gentoo-user] what's wrong with my USE= statement in /etc/portage/make.conf?

2020-10-18 Thread Jude DaShiell
On Sun, 18 Oct 2020, Ashley Dixon wrote:

> Date: Sun, 18 Oct 2020 15:42:06
> From: Ashley Dixon 
> Reply-To: gentoo-user@lists.gentoo.org
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] what's wrong with my USE= statement in
> /etc/portage/make.conf?
>
> On Sun, Oct 18, 2020 at 03:06:19PM -0400, Jude DaShiell wrote:
> > livecd /etc/portage # emerge --ask --verbose --update 
> > --deep --newuse @world
>
> Please filter your script with `ansifilter` to remove ANSI colour control 
> codes.
> Otherwise, output is remarkably difficult to read with the majority  of  
> pagers.
> I've filtered further quotations for you.
>
> >   The following REQUIRED_USE flag constraints are unsatisfied:
> > exactly-one-of ( elogind systemd )
> >
> > (dependency required by "sys-auth/elogind-243.7::gentoo[policykit]" 
> > [ebuild])
> > (dependency required by "sys-auth/pambase-20201013::gentoo[elogind]" 
> > [ebuild])
> > (dependency required by "sys-libs/pam-1.4.0_p20200829::gentoo" [ebuild])
> > (dependency required by "sys-auth/passwdqc-1.4.0-r1::gentoo" [ebuild])
>
> This does not really indicate an error in your make.conf file; you just need  
> to
> build Polkit with EITHER the `elogind` or `systemd` flags set, but you  
> probably
> don't want to set these flags globally.  Polkit is pulled in as a dependency  
> by
> the listed packages.
>
> Unless you're using systemd, add the following to  your  `package.use`  
> listings
> and see if the issue is resolved:
>
> sys-auth/polkit elogind
>
> This restriction is defined at [1], using the built-in XOR  "^^"  operator  
> [2].
> The "exactly-one-of" terminology is used to save non-developers  the  hassle  
> of
> trudging through the on-line Development Manual to find the meaning  of  
> obscure
> notations.
>
> [1] 
> https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-auth/polkit/polkit-0.118.ebuild#n18
> [2] https://devmanual.gentoo.org/ebuild-writing/variables/#required_use
>
The ansifilter package won't build on this system yet.  Certainly one to
get in future though.
I have a /etc/portage/package.use subdirectory containing zz-autounmask
file.
Do I need to append sys-auth/polkit elogind to the end of that
zz-autounmask file?

-- 




Re: [gentoo-user] what's wrong with my USE= statement in /etc/portage/make.conf?

2020-10-18 Thread Ashley Dixon
On Sun, Oct 18, 2020 at 03:06:19PM -0400, Jude DaShiell wrote:
> livecd /etc/portage # emerge --ask --verbose --update 
> --deep --newuse @world

Please filter your script with `ansifilter` to remove ANSI colour control codes.
Otherwise, output is remarkably difficult to read with the majority  of  pagers.
I've filtered further quotations for you.

>   The following REQUIRED_USE flag constraints are unsatisfied:
> exactly-one-of ( elogind systemd )
> 
> (dependency required by "sys-auth/elogind-243.7::gentoo[policykit]" [ebuild])
> (dependency required by "sys-auth/pambase-20201013::gentoo[elogind]" [ebuild])
> (dependency required by "sys-libs/pam-1.4.0_p20200829::gentoo" [ebuild])
> (dependency required by "sys-auth/passwdqc-1.4.0-r1::gentoo" [ebuild])

This does not really indicate an error in your make.conf file; you just need  to
build Polkit with EITHER the `elogind` or `systemd` flags set, but you  probably
don't want to set these flags globally.  Polkit is pulled in as a dependency  by
the listed packages.

Unless you're using systemd, add the following to  your  `package.use`  listings
and see if the issue is resolved:

sys-auth/polkit elogind

This restriction is defined at [1], using the built-in XOR  "^^"  operator  [2].
The "exactly-one-of" terminology is used to save non-developers  the  hassle  of
trudging through the on-line Development Manual to find the meaning  of  obscure
notations.

[1] 
https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-auth/polkit/polkit-0.118.ebuild#n18
[2] https://devmanual.gentoo.org/ebuild-writing/variables/#required_use

-- 

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA



signature.asc
Description: PGP signature


Re: [gentoo-user] No sound. Please, help!

2020-10-18 Thread David Haller
Hello,

On Sun, 18 Oct 2020, Dale wrote:
>gevisz wrote:
>> Thank you for your help. I turned on the computer, changed options snd
>> cards_limit to 2 and ran aplay /usr/share/sound/alsa/*.wav (I have a
>> different named wav files). There was a sound.
[..]
>> reboot I have a sound and on another I have no sound. Any thoughts?
>
>Try adding alsasound to the default runlevel.  And then:
>
>/etc/init.d/alsasound start
>
>and then
>
>/etc/init.d/alsasound save

One should run that '/etc/init.d/alsasound save' once when sound
works, so that later save on stop and restore on reboot work ;)

BTW: I liked the SUSE way of symlinking init-scripts to /usr/sbin/rc*,
e.g. /usr/sbin/rcalsasound -> /etc/init.d/alsasound
I now do that (to /usr/local/sbin/rc*) for stuff that I don't want in
a runlevel, but still start/stop occasionally ;)

>P. S.  I found a new sledge hammer.  Is this being sent as plain text
>only?  No HTML at all? 

Yes.

-dnh

-- 
All technology is suspect, and must be considered potentially dangerous.
  -- BUTLERIAN JIHAD, Handbook for Our Grandchildren



[gentoo-user] what's wrong with my USE= statement in /etc/portage/make.conf?

2020-10-18 Thread Jude DaShiell
It produced many errors when I tried to emerge @world.

Script started on 2020-10-18 15:02:00-04:00 [TERM="linux" TTY="/dev/tty1" 
COLUMNS="80" LINES="25"]
livecd /etc/portage # cat /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="--march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j9"
ACCEPTLICENSE="@EULA"
USE="a52 aac acpi accessibility alsa audiofile calendar cdda cdr crypt css 
debug dvdr espeak ffmpeg fftw flac fortran ftp git imap ipv6 mad mp3 mp4 mpeg 
mplayer mtp multilib mysql mysqli ncurses nntp ogg openal opus pcre pda pdf 
perl php pie plotutils portaudio posix postgres -pulseaudio python quicktime 
readline recode rss ruby sasl seccomp slang smp sndfile snmp sockets sound sox 
speex spell sqlite ssl static-libs subversion symlink syslog szip taglib tcl 
tcmalloc tcpd telemetry test threads tidy timidity udev udisks unicode unwind 
upnp upnp-av usb v4l vaapi vcd vdpau verify-sig videos vim-syntax vorbis 
wavpack wifi x264 xattr xml zip xv xvid zlib zstd"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ 
http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo 
https://gentoo.osuosl.org/ http://gentoo.osuosl.org/ 
http://gentoo.mirrors.pair.com/ https://mirrors.rit.edu/gentoo/ 
http://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ 
rsync://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo 
http://gentoo.cs.utah.edu/;

livecd /etc/portage # emerge --ask --verbose --update 
--deep --newuse @world

These are the packages that would be merged, in order:

Calculating dependencies   - / | / / \ \ | \ \ / | 
| / | - / | / / | - - - \ \ | \ \ | - \ 
\ \ |... done!

!!! The ebuild selected to satisfy 
"sys-auth/polkit" has unmet 
requirements.
- sys-auth/polkit-0.116-r1::gentoo USE="introspection 
nls pam test 
-elogind -examples 
-gtk -jit -kde 
(-selinux) -systemd" 
ABI_X86="(64)"

  The following REQUIRED_USE flag constraints are unsatisfied:
exactly-one-of ( elogind systemd )

(dependency required by 
"sys-auth/elogind-243.7::gentoo[policykit]" [ebuild])
(dependency required by 
"sys-auth/pambase-20201013::gentoo[elogind]" [ebuild])
(dependency required by "sys-libs/pam-1.4.0_p20200829::gentoo" 
[ebuild])
(dependency required by "sys-auth/passwdqc-1.4.0-r1::gentoo" 
[ebuild])
livecd /etc/portage # exit
exit

Script done on 2020-10-18 15:02:45-04:00 [COMMAND_EXIT_CODE="1"]

-- 




Re: [gentoo-user] No sound. Please, help!

2020-10-18 Thread Dale
gevisz wrote:
>
> Thank you for your help. I turned on the computer, changed options snd
> cards_limit to 2 and ran aplay /usr/share/sound/alsa/*.wav (I have a
> different named wav files). There was a sound. Then I started Firefox
> and opened some youtube videos. The sound was present as well. Then I
> opened alsamixer. Some of the channels were muted and some had no full
> sound. Nevertheless, the sound had been present. I unmuted all the
> channels and set the full sound level on all of them. Then I again
> checked that the sound is present. It was. So, I rebooted the
> computer, ran alsamixer and made sure that all channels are unmuted
> and have full sound level. But this time the sound was absent exactly
> as I expected. Neither aplay nor Firefox produced any sound. I have
> already seen this behavior when I experimented with the kernel
> configuration about 8 months ago: the same kernel options, the same
> configuration files, all alsamixer channels are unmuted but after one
> reboot I have a sound and on another I have no sound. Any thoughts?
>
>


Try adding alsasound to the default runlevel.  And then:

/etc/init.d/alsasound start

and then

/etc/init.d/alsasound save

I think it is save.  If it pukes, may have to peek into the init script
and see what option it is. That should make it survive a reboot. 

Dale

:-)  :-) 

P. S.  I found a new sledge hammer.  Is this being sent as plain text
only?  No HTML at all? 



Re: [gentoo-user] No sound. Please, help!

2020-10-18 Thread Dale
gevisz wrote:
> вс, 18 окт. 2020 г. в 17:20, Dale :
>> gevisz wrote:
>>> No sound at least in Firefox. Tried it on youtube. Skype is currently
>>> uninstalled. So, I cannot check using it.
>> Just a thought.  Are you sure that everything is unmuted?  Years ago,
>> all the sound control software, Kmix, alsa and others, default to mute.
>> If just one of them is muted, no sound.  I seem to recall when I did my
>> install on this rig that I had to unmute the sound in three places,
>> Kmix, alsa and one other that I can't recall the name of.  I think I had
>> to turn up the volume on alsa as it was set to a really low level once
>> it was unmuted.  Usually, I turn all of them to the max except the one I
>> mainly use.  In my case, Kmix is the one I use to really control things
>> since it sits on the panel thingy.  The others are set at the max.
>>
>> It's a silly thing but thought it worth a mention just in case there is
>> a muted setting somewhere.
> Thank you for your input. Yes, it seems that something is muted but what?
> I have no KDE and no kmix installed. No pulseaudio.
>
>

Type in alsamixer in a console or whatever you use and hit tab twice.  I
suspect you have that installed.  You should have a text version, like a
console uses, and a gui version, that should work in any DM.  Pick your
poison and see if anything there is muted or the volume is set really
low, like 1 out of 100 or something.  I think hitting the "m" key
toggles the mute.  I think it's the arrow keys to increase or decrease
volume and move from channel to channel.  It has been a while since I
used that so can't recall. 

Let's just hope it is that simple. 

Dale

:-)  :-) 



Re: [gentoo-user] OT: Red jack and white jack on a pair of headphones

2020-10-18 Thread Poison BL.
On Sun, Oct 18, 2020 at 1:35 PM Alan Mackenzie  wrote:
>
> Hello, Gentoo.
>
> I've recently found a pair of headphones with a microphone.  I've no idea
> where it came from, but I'd like to try it out.  I've got no manual for
> it.  I'm not even sure it's functional.
>
> It has a red (stereo) 3.5mm jack plug and a white (stereo) 3.5mm jack
> plug.  I'm assuming that one of these is for the headphones and the other
> for the microphone, and that they plug into the pale green and pink jack
> sockets on my PC.
>
> But which is which?  I don't want to destoy anything by connecting them
> the wrong way around.
>
> Help would be appreciated.
>
> Thanks!
>
> --
> Alan Mackenzie (Nuremberg, Germany).
>

It shouldn't damage anything to get it backwards. It's *very* likely
that one of those is mono, not stereo, on the plug, which is the quick
way to find the microphone at a glance, though (unless they were just
too cheap to manage 2 styles of plug in manufacturing)

-- 
Poison [BLX]
Joshua M. Murphy



Re: [gentoo-user] soft keyboard for touchscreen

2020-10-18 Thread Mickaël Bucas
Le dim. 18 oct. 2020 à 19:17, William Kenworthy  a
écrit :

> Thanks Mickaël,
>
> I have onboard installed from an overlay (I have tried a couple of
> different ones, they seem to be variants of the same original package)
>
> How are you starting onboard? - the packages do not come with an
> initscript or hooks into X that I can see (though they seem to depend on
> systemd - I use openrc)
>
> BillK
>
I start it manually, I've never thought about automating it :)
On some systems I'm sometimes physically connected with a real keyboard and
I don't need it in this situation.

Best regards
Mickaël Bucas

> On 19/10/20 12:46 am, Mickaël Bucas wrote:
>
> Hi William
>
> Le dim. 18 oct. 2020 à 03:05, William Kenworthy  a
> écrit :
>
>> Can someone recommend a guide to installing a touch screen aware soft
>> keyboard in gentoo?
>>
>> I have tried a number of keyboards but the various guides do not say how
>> to integrate a soft keyboard in to a window manager (I am using xfwm4
>> but could change) or login screen.
>>
>> I can manually start them, but they do not show up when an editor,  text
>> box or login is required so I have to attach a physical keyboard to
>> regain control.
>>
>>
>> BillK
>>
>
>
> If you're using SDDM, you can activate the virtual keyboard with the
> following line in the config file /etc/sddm.conf
>
> [General]
> # Input method module
> InputMethod=qtvirtualkeyboard
>
> For the session itself, under KDE on Ubuntu I use Onboard [1], which is
> not available in Portage
> I found a blog page [2] explaining how to install Onboard on Gentoo, with
> an ebuild, but it's for Python 3.4 to 3.6
> I've adapted the ebuild to Python 3.7 in my overlay [3] and it worked as
> expected, either from another PC through VNC or from a touch screen.
> Onboard seems to originate from Gnome, and as I use it under KDE, it
> should be independent from the window manager.
>
> Best regards
> Mickaël Bucas
>
> [1] https://launchpad.net/onboard
> [2]
> https://fitzcarraldoblog.wordpress.com/2018/06/25/installing-the-onboard-on-screen-keyboard-in-gentoo-linux/
> [3] https://github.com/mbucas/gentoo-overlay
>
>


[gentoo-user] OT: Red jack and white jack on a pair of headphones

2020-10-18 Thread Alan Mackenzie
Hello, Gentoo.

I've recently found a pair of headphones with a microphone.  I've no idea
where it came from, but I'd like to try it out.  I've got no manual for
it.  I'm not even sure it's functional.

It has a red (stereo) 3.5mm jack plug and a white (stereo) 3.5mm jack
plug.  I'm assuming that one of these is for the headphones and the other
for the microphone, and that they plug into the pale green and pink jack
sockets on my PC.

But which is which?  I don't want to destoy anything by connecting them
the wrong way around.

Help would be appreciated.

Thanks!

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] soft keyboard for touchscreen

2020-10-18 Thread William Kenworthy
Thanks Mickaël,

    I have onboard installed from an overlay (I have tried a couple of
different ones, they seem to be variants of the same original package)

How are you starting onboard? - the packages do not come with an
initscript or hooks into X that I can see (though they seem to depend on
systemd - I use openrc)

BillK


On 19/10/20 12:46 am, Mickaël Bucas wrote:
> Hi William
>
> Le dim. 18 oct. 2020 à 03:05, William Kenworthy  > a écrit :
>
> Can someone recommend a guide to installing a touch screen aware soft
> keyboard in gentoo?
>
> I have tried a number of keyboards but the various guides do not
> say how
> to integrate a soft keyboard in to a window manager (I am using xfwm4
> but could change) or login screen.
>
> I can manually start them, but they do not show up when an
> editor,  text
> box or login is required so I have to attach a physical keyboard to
> regain control.
>
>
> BillK
>  
>
>  
> If you're using SDDM, you can activate the virtual keyboard with the
> following line in the config file /etc/sddm.conf
>
> [General]
> # Input method module
> InputMethod=qtvirtualkeyboard
>
> For the session itself, under KDE on Ubuntu I use Onboard [1], which
> is not available in Portage
> I found a blog page [2] explaining how to install Onboard on Gentoo,
> with an ebuild, but it's for Python 3.4 to 3.6
> I've adapted the ebuild to Python 3.7 in my overlay [3] and it worked
> as expected, either from another PC through VNC or from a touch screen.
> Onboard seems to originate from Gnome, and as I use it under KDE, it
> should be independent from the window manager.
>
> Best regards
> Mickaël Bucas
>
> [1] https://launchpad.net/onboard
> [2]
> https://fitzcarraldoblog.wordpress.com/2018/06/25/installing-the-onboard-on-screen-keyboard-in-gentoo-linux/
> [3] https://github.com/mbucas/gentoo-overlay


Re: [gentoo-user] soft keyboard for touchscreen

2020-10-18 Thread Mickaël Bucas
Hi William

Le dim. 18 oct. 2020 à 03:05, William Kenworthy  a
écrit :

> Can someone recommend a guide to installing a touch screen aware soft
> keyboard in gentoo?
>
> I have tried a number of keyboards but the various guides do not say how
> to integrate a soft keyboard in to a window manager (I am using xfwm4
> but could change) or login screen.
>
> I can manually start them, but they do not show up when an editor,  text
> box or login is required so I have to attach a physical keyboard to
> regain control.
>
>
> BillK
>


If you're using SDDM, you can activate the virtual keyboard with the
following line in the config file /etc/sddm.conf

[General]
# Input method module
InputMethod=qtvirtualkeyboard

For the session itself, under KDE on Ubuntu I use Onboard [1], which is not
available in Portage
I found a blog page [2] explaining how to install Onboard on Gentoo, with
an ebuild, but it's for Python 3.4 to 3.6
I've adapted the ebuild to Python 3.7 in my overlay [3] and it worked as
expected, either from another PC through VNC or from a touch screen.
Onboard seems to originate from Gnome, and as I use it under KDE, it should
be independent from the window manager.

Best regards
Mickaël Bucas

[1] https://launchpad.net/onboard
[2]
https://fitzcarraldoblog.wordpress.com/2018/06/25/installing-the-onboard-on-screen-keyboard-in-gentoo-linux/
[3] https://github.com/mbucas/gentoo-overlay


Re: [gentoo-user] No sound. Please, help!

2020-10-18 Thread gevisz
вс, 18 окт. 2020 г. в 17:20, Dale :
> gevisz wrote:
> >
> > No sound at least in Firefox. Tried it on youtube. Skype is currently
> > uninstalled. So, I cannot check using it.
>
> Just a thought.  Are you sure that everything is unmuted?  Years ago,
> all the sound control software, Kmix, alsa and others, default to mute.
> If just one of them is muted, no sound.  I seem to recall when I did my
> install on this rig that I had to unmute the sound in three places,
> Kmix, alsa and one other that I can't recall the name of.  I think I had
> to turn up the volume on alsa as it was set to a really low level once
> it was unmuted.  Usually, I turn all of them to the max except the one I
> mainly use.  In my case, Kmix is the one I use to really control things
> since it sits on the panel thingy.  The others are set at the max.
>
> It's a silly thing but thought it worth a mention just in case there is
> a muted setting somewhere.

Thank you for your input. Yes, it seems that something is muted but what?
I have no KDE and no kmix installed. No pulseaudio.



Re: [gentoo-user] No sound. Please, help!

2020-10-18 Thread gevisz
вс, 18 окт. 2020 г. в 17:19, David Haller :
> On Sun, 18 Oct 2020, gevisz wrote:
> >??, 18 ???. 2020 ?. ? 09:09, David Haller :
> [..]
> >> Try this in /etc/modprobe.d/alsa.conf (or some file there):
> >>
> >> 
> >> alias char-major-116 snd
> >> alias snd-card-0 snd-hda-intel
> >> options snd-hda-intel model=auto
> >> 
> [..]
> >So, after changes you suggested, it looks as follows:
> ># Alsa kernel modules' configuration file.
> >
> ># ALSA portion
> >alias char-major-116 snd
> ># OSS/Free portion
> >alias char-major-14 soundcore
> >
> >##
> >## IMPORTANT:
> >## You need to customise this section for your specific sound card(s)
> >## and then run `update-modules' command.
> >## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
> >##
> >##  ALSA portion
> >## alias snd-card-0 snd-interwave
> >alias snd-card-0 snd-hda-intel
> >## alias snd-card-1 snd-ens1371
> >##  OSS/Free portion
> >## alias sound-slot-0 snd-card-0
> >## alias sound-slot-1 snd-card-1
> >##
> >
> ># OSS/Free portion - card #1
> >alias sound-service-0-0 snd-mixer-oss
> >alias sound-service-0-1 snd-seq-oss
> >alias sound-service-0-3 snd-pcm-oss
> >alias sound-service-0-8 snd-seq-oss
> >alias sound-service-0-12 snd-pcm-oss
> >##  OSS/Free portion - card #2
> >## alias sound-service-1-0 snd-mixer-oss
> >## alias sound-service-1-3 snd-pcm-oss
> >## alias sound-service-1-12 snd-pcm-oss
> >
> >alias /dev/mixer snd-mixer-oss
> >alias /dev/dsp snd-pcm-oss
> >alias /dev/midi snd-seq-oss
> >
> ># Set this to the correct number of cards.
> >options snd-hda-intel model=auto
> >options snd cards_limit=1
>
> Looks good, but snd-hda-codec-hdmi might still get loaded, so try with:
>
> options snd cards_limit=2
>
> (or even more)...
>
> >Tried to run 'update-modules' command but got
> >bash: update-modules: command not found
> >message.
>
> Should not be necessary.
>
> [still no sound after reboot in FF/Skype]
>
> Try:
>
> aplay /usr/share/sounds/alsa/test.wav
>
> before tackling FF etc. And check alsamixer etc. for it might have
> wrong options set as the device might have been moved..

Thank you for your help. I turned on the computer, changed options snd
cards_limit to 2 and ran aplay /usr/share/sound/alsa/*.wav (I have a
different named wav files). There was a sound. Then I started Firefox
and opened some youtube videos. The sound was present as well. Then I
opened alsamixer. Some of the channels were muted and some had no full
sound. Nevertheless, the sound had been present. I unmuted all the
channels and set the full sound level on all of them. Then I again
checked that the sound is present. It was. So, I rebooted the
computer, ran alsamixer and made sure that all channels are unmuted
and have full sound level. But this time the sound was absent exactly
as I expected. Neither aplay nor Firefox produced any sound. I have
already seen this behavior when I experimented with the kernel
configuration about 8 months ago: the same kernel options, the same
configuration files, all alsamixer channels are unmuted but after one
reboot I have a sound and on another I have no sound. Any thoughts?



Re: [gentoo-user] No sound. Please, help!

2020-10-18 Thread Dale
gevisz wrote:
>
> No sound at least in Firefox. Tried it on youtube. Skype is currently
> uninstalled. So, I cannot check using it.
>
>


Just a thought.  Are you sure that everything is unmuted?  Years ago,
all the sound control software, Kmix, alsa and others, default to mute. 
If just one of them is muted, no sound.  I seem to recall when I did my
install on this rig that I had to unmute the sound in three places,
Kmix, alsa and one other that I can't recall the name of.  I think I had
to turn up the volume on alsa as it was set to a really low level once
it was unmuted.  Usually, I turn all of them to the max except the one I
mainly use.  In my case, Kmix is the one I use to really control things
since it sits on the panel thingy.  The others are set at the max. 

It's a silly thing but thought it worth a mention just in case there is
a muted setting somewhere.

Dale

:-)  :-) 



Re: [gentoo-user] No sound. Please, help!

2020-10-18 Thread David Haller
Hello,

On Sun, 18 Oct 2020, gevisz wrote:
>??, 18 ???. 2020 ?. ? 09:09, David Haller :
[..]
>> Try this in /etc/modprobe.d/alsa.conf (or some file there):
>>
>> 
>> alias char-major-116 snd
>> alias snd-card-0 snd-hda-intel
>> options snd-hda-intel model=auto
>> 
[..]
>So, after changes you suggested, it looks as follows:
># Alsa kernel modules' configuration file.
>
># ALSA portion
>alias char-major-116 snd
># OSS/Free portion
>alias char-major-14 soundcore
>
>##
>## IMPORTANT:
>## You need to customise this section for your specific sound card(s)
>## and then run `update-modules' command.
>## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
>##
>##  ALSA portion
>## alias snd-card-0 snd-interwave
>alias snd-card-0 snd-hda-intel
>## alias snd-card-1 snd-ens1371
>##  OSS/Free portion
>## alias sound-slot-0 snd-card-0
>## alias sound-slot-1 snd-card-1
>##
>
># OSS/Free portion - card #1
>alias sound-service-0-0 snd-mixer-oss
>alias sound-service-0-1 snd-seq-oss
>alias sound-service-0-3 snd-pcm-oss
>alias sound-service-0-8 snd-seq-oss
>alias sound-service-0-12 snd-pcm-oss
>##  OSS/Free portion - card #2
>## alias sound-service-1-0 snd-mixer-oss
>## alias sound-service-1-3 snd-pcm-oss
>## alias sound-service-1-12 snd-pcm-oss
>
>alias /dev/mixer snd-mixer-oss
>alias /dev/dsp snd-pcm-oss
>alias /dev/midi snd-seq-oss
>
># Set this to the correct number of cards.
>options snd-hda-intel model=auto
>options snd cards_limit=1

Looks good, but snd-hda-codec-hdmi might still get loaded, so try with:

options snd cards_limit=2

(or even more)...

>Tried to run 'update-modules' command but got
>bash: update-modules: command not found
>message.

Should not be necessary.

[still no sound after reboot in FF/Skype]

Try:

aplay /usr/share/sounds/alsa/test.wav

before tackling FF etc. And check alsamixer etc. for it might have
wrong options set as the device might have been moved..

HTH,
-dnh

-- 
Two atoms are walking along. Suddenly, one stops. The other says,
"What's wrong?" "I've lost an electron." "Are you sure?" "I'm positive!"



Re: [gentoo-user] cannot emerge --config sys-lib/timezone-data yet

2020-10-18 Thread Jude DaShiell
Hi, I found that quote on the first line and was wondering if that was
correct format or if my fat fingers made that happen.  Apparently my fat
fingers, thanks!

On Sun, 18 Oct 2020, Todd Goodman wrote:

> Date: Sun, 18 Oct 2020 09:23:22
> From: Todd Goodman 
> Reply-To: gentoo-user@lists.gentoo.org
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] cannot emerge --config sys-lib/timezone-data yet
>
> The very first line has a single quote as the first character
>
> On 10/18/2020 9:19 AM, Jude DaShiell wrote:
> > Apparently a missing quote in /etc/portage/make.conf but I can't find
> > where that would be now.
> >
> > '# These settings were set by the catalyst build script that automatically
> > # built this stage.
> > # Please consult /usr/share/portage/config/make.conf.example for a more
> > # detailed example.
> > COMMON_FLAGS="--march=native -O2 -pipe"
> > CFLAGS="${COMMON_FLAGS}"
> > CXXFLAGS="${COMMON_FLAGS}"
> > FCFLAGS="${COMMON_FLAGS}"
> > FFLAGS="${COMMON_FLAGS}"
> > MAKEOPTS="-j9"
> > ACCEPTLICENSE="@EULA"
> > USE="x a52 aac acpi accessibility alsa audiofile calendar cdda cdr cracklib
> > crypt css dbus debug dvdr espeak ffmpeg fftw flac fortran ftp git gnome gtk
> > gui imap ipv6 mad mp3 mp4 mpeg mplayer mtp multilib mysql mysqli ncurses
> > nntp nsplugin offensive ogg openal opus pcre pda pdf perl php pie plotutils
> > policykit portaudio posix postgres -pulseaudio python qt4 qt5 quicktime
> > readline recode rss ruby sasl seccomp slang smp sndfile snmp sockets sound
> > sox speex spell sqlite ssl startup-notification static-libs subversion
> > symlink syslog szip taglib tcl tcmalloc tcpd telemetry test threads tidy
> > timidity udev udisks unicode unwind upnp upnp-av usb v4l vaapi vcd vdpau
> > verify-sig videos vim-syntax vorbis wavpack -wayland wifi wxwidgets x264
> > xattr xcomposite xemacs xml zip xv xvid zlib zstd"
> >
> > # NOTE: This stage was built with the bindist Use flag enabled
> > PORTDIR="/var/db/repos/gentoo"
> > DISTDIR="/var/cache/distfiles"
> > PKGDIR="/var/cache/binpkgs"
> >
> > # This sets the language of build output to English.
> > # Please keep this setting intact when reporting bugs.
> > LC_MESSAGES=C
> >
> > GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/
> > http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo
> > https://gentoo.osuosl.org/ http://gentoo.osuosl.org/
> > http://gentoo.mirrors.pair.com/ https://mirrors.rit.edu/gentoo/
> > http://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/
> > rsync://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo
> > http://gentoo.cs.utah.edu/;
> >
> >
>
>
>

-- 




Re: [gentoo-user] cannot emerge --config sys-lib/timezone-data yet

2020-10-18 Thread Todd Goodman

The very first line has a single quote as the first character

On 10/18/2020 9:19 AM, Jude DaShiell wrote:

Apparently a missing quote in /etc/portage/make.conf but I can't find
where that would be now.

'# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="--march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j9"
ACCEPTLICENSE="@EULA"
USE="x a52 aac acpi accessibility alsa audiofile calendar cdda cdr cracklib crypt 
css dbus debug dvdr espeak ffmpeg fftw flac fortran ftp git gnome gtk gui imap ipv6 mad 
mp3 mp4 mpeg mplayer mtp multilib mysql mysqli ncurses nntp nsplugin offensive ogg openal 
opus pcre pda pdf perl php pie plotutils policykit portaudio posix postgres -pulseaudio 
python qt4 qt5 quicktime readline recode rss ruby sasl seccomp slang smp sndfile snmp 
sockets sound sox speex spell sqlite ssl startup-notification static-libs subversion 
symlink syslog szip taglib tcl tcmalloc tcpd telemetry test threads tidy timidity udev 
udisks unicode unwind upnp upnp-av usb v4l vaapi vcd vdpau verify-sig videos vim-syntax 
vorbis wavpack -wayland wifi wxwidgets x264 xattr xcomposite xemacs xml zip xv xvid zlib 
zstd"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ 
http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo 
https://gentoo.osuosl.org/ http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ 
https://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ 
ftp://mirrors.rit.edu/gentoo/ rsync://mirrors.rit.edu/gentoo/ 
http://gentoo.mirrors.tds.net/gentoo http://gentoo.cs.utah.edu/;






[gentoo-user] cannot emerge --config sys-lib/timezone-data yet

2020-10-18 Thread Jude DaShiell
Apparently a missing quote in /etc/portage/make.conf but I can't find
where that would be now.

'# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="--march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j9"
ACCEPTLICENSE="@EULA"
USE="x a52 aac acpi accessibility alsa audiofile calendar cdda cdr cracklib 
crypt css dbus debug dvdr espeak ffmpeg fftw flac fortran ftp git gnome gtk gui 
imap ipv6 mad mp3 mp4 mpeg mplayer mtp multilib mysql mysqli ncurses nntp 
nsplugin offensive ogg openal opus pcre pda pdf perl php pie plotutils 
policykit portaudio posix postgres -pulseaudio python qt4 qt5 quicktime 
readline recode rss ruby sasl seccomp slang smp sndfile snmp sockets sound sox 
speex spell sqlite ssl startup-notification static-libs subversion symlink 
syslog szip taglib tcl tcmalloc tcpd telemetry test threads tidy timidity udev 
udisks unicode unwind upnp upnp-av usb v4l vaapi vcd vdpau verify-sig videos 
vim-syntax vorbis wavpack -wayland wifi wxwidgets x264 xattr xcomposite xemacs 
xml zip xv xvid zlib zstd"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ 
http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo 
https://gentoo.osuosl.org/ http://gentoo.osuosl.org/ 
http://gentoo.mirrors.pair.com/ https://mirrors.rit.edu/gentoo/ 
http://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ 
rsync://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo 
http://gentoo.cs.utah.edu/;


-- 




Re: [gentoo-user] No sound. Please, help!

2020-10-18 Thread gevisz
вс, 18 окт. 2020 г. в 19:03, gevisz :
>
> вс, 18 окт. 2020 г. в 09:09, David Haller :
> > On Sat, 17 Oct 2020, gevisz wrote:
> > >??, 17 ???. 2020 ?. ? 14:57, David Haller :
> > [..]
> > >Here is the comparative table for your kernel parameters vs those of
> > >gentoo-kernel 5.4.64 and my last tried configuration in
> > >gentoo-sources-4.19.86:
> > >CONFIG | 4.14 | 5.4.64 | 4.19.86
> > >SND  | y  | m| y
> > >SND_TIMER   | y  | m| y
> > >SND_PCM  | y  | m| y
> > >SND_HWDEP | m | m| y
> > >SND_DRIVERS   | y  | y | y
> > >SND_PCI| y  | y | y
> > >SND_HDA  | m | m| y
> > >SND_HDA_INTEL| m| m| y
> > >SND_HDA_HWDEP | y | y | n
> > >SND_HDA_RECONFIG | y| y | y
> > >SND_HDA_CODEC_REALTEK | m | m | y
> > >SND_HDA_GENERIC   | m | m | y
> > >SND_HDA_CORE| m | m | y
> > >SND_SPI | y | n | absent
> >
> > Looks ok.
> >
> > [..]
> > >So, it seems that at least the configuration for kernel 5.4.64 should
> > >work. However, it does not.
> >
> > Try this in /etc/modprobe.d/alsa.conf (or some file there):
> >
> > 
> > alias char-major-116 snd
> > alias snd-card-0 snd-hda-intel
> > options snd-hda-intel model=auto
> > 
>
> I have not tried to edit any alsa configuration files before.
> Here is a content of my current /etc/modprobe.d/alsa.conf
> -
> # Alsa kernel modules' configuration file.
>
> # ALSA portion
> alias char-major-116 snd
> # OSS/Free portion
> alias char-major-14 soundcore
>
> ##
> ## IMPORTANT:
> ## You need to customise this section for your specific sound card(s)
> ## and then run `update-modules' command.
> ## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
> ##
> ##  ALSA portion
> ## alias snd-card-0 snd-interwave
> ## alias snd-card-1 snd-ens1371
> ##  OSS/Free portion
> ## alias sound-slot-0 snd-card-0
> ## alias sound-slot-1 snd-card-1
> ##
>
> # OSS/Free portion - card #1
> alias sound-service-0-0 snd-mixer-oss
> alias sound-service-0-1 snd-seq-oss
> alias sound-service-0-3 snd-pcm-oss
> alias sound-service-0-8 snd-seq-oss
> alias sound-service-0-12 snd-pcm-oss
> ##  OSS/Free portion - card #2
> ## alias sound-service-1-0 snd-mixer-oss
> ## alias sound-service-1-3 snd-pcm-oss
> ## alias sound-service-1-12 snd-pcm-oss
>
> alias /dev/mixer snd-mixer-oss
> alias /dev/dsp snd-pcm-oss
> alias /dev/midi snd-seq-oss
>
> # Set this to the correct number of cards.
> options snd cards_limit=1
> ---
> So, after changes you suggested, it looks as follows:
> --
> # Alsa kernel modules' configuration file.
>
> # ALSA portion
> alias char-major-116 snd
> # OSS/Free portion
> alias char-major-14 soundcore
>
> ##
> ## IMPORTANT:
> ## You need to customise this section for your specific sound card(s)
> ## and then run `update-modules' command.
> ## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
> ##
> ##  ALSA portion
> ## alias snd-card-0 snd-interwave
> alias snd-card-0 snd-hda-intel
> ## alias snd-card-1 snd-ens1371
> ##  OSS/Free portion
> ## alias sound-slot-0 snd-card-0
> ## alias sound-slot-1 snd-card-1
> ##
>
> # OSS/Free portion - card #1
> alias sound-service-0-0 snd-mixer-oss
> alias sound-service-0-1 snd-seq-oss
> alias sound-service-0-3 snd-pcm-oss
> alias sound-service-0-8 snd-seq-oss
> alias sound-service-0-12 snd-pcm-oss
> ##  OSS/Free portion - card #2
> ## alias sound-service-1-0 snd-mixer-oss
> ## alias sound-service-1-3 snd-pcm-oss
> ## alias sound-service-1-12 snd-pcm-oss
>
> alias /dev/mixer snd-mixer-oss
> alias /dev/dsp snd-pcm-oss
> alias /dev/midi snd-seq-oss
>
> # Set this to the correct number of cards.
> options snd-hda-intel model=auto
> options snd cards_limit=1
> --
> Tried to run 'update-modules' command but got
> bash: update-modules: command not found
> message.
>
> Will reboot now and report the result.

No sound at least in Firefox. Tried it on youtube. Skype is currently
uninstalled. So, I cannot check using it.



Re: [gentoo-user] No sound. Please, help!

2020-10-18 Thread gevisz
вс, 18 окт. 2020 г. в 09:09, David Haller :
> On Sat, 17 Oct 2020, gevisz wrote:
> >??, 17 ???. 2020 ?. ? 14:57, David Haller :
> [..]
> >Here is the comparative table for your kernel parameters vs those of
> >gentoo-kernel 5.4.64 and my last tried configuration in
> >gentoo-sources-4.19.86:
> >CONFIG | 4.14 | 5.4.64 | 4.19.86
> >SND  | y  | m| y
> >SND_TIMER   | y  | m| y
> >SND_PCM  | y  | m| y
> >SND_HWDEP | m | m| y
> >SND_DRIVERS   | y  | y | y
> >SND_PCI| y  | y | y
> >SND_HDA  | m | m| y
> >SND_HDA_INTEL| m| m| y
> >SND_HDA_HWDEP | y | y | n
> >SND_HDA_RECONFIG | y| y | y
> >SND_HDA_CODEC_REALTEK | m | m | y
> >SND_HDA_GENERIC   | m | m | y
> >SND_HDA_CORE| m | m | y
> >SND_SPI | y | n | absent
>
> Looks ok.
>
> [..]
> >So, it seems that at least the configuration for kernel 5.4.64 should
> >work. However, it does not.
>
> Try this in /etc/modprobe.d/alsa.conf (or some file there):
>
> 
> alias char-major-116 snd
> alias snd-card-0 snd-hda-intel
> options snd-hda-intel model=auto
> 

I have not tried to edit any alsa configuration files before.
Here is a content of my current /etc/modprobe.d/alsa.conf
-
# Alsa kernel modules' configuration file.

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1
---
So, after changes you suggested, it looks as follows:
--
# Alsa kernel modules' configuration file.

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
## alias snd-card-0 snd-interwave
alias snd-card-0 snd-hda-intel
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd-hda-intel model=auto
options snd cards_limit=1
--
Tried to run 'update-modules' command but got
bash: update-modules: command not found
message.

Will reboot now and report the result.



Re: [gentoo-user] No sound. Please, help!

2020-10-18 Thread gevisz
вс, 18 окт. 2020 г. в 02:28, Walter Dnes :
>
> On Sat, Oct 17, 2020 at 10:53:43PM +0300, gevisz wrote
>
> > Thank you for your reply. I have actually used this approach in one of
> > my first attempts.
> > Below is the output of lsmod on the install usb with all modules that
> > I think is irrelevant to sound removed.
>
>   There is no mention of SND_PCI.  When doing "make menuconfig", you
> ***MUST*** first enable...
>
> Device Drivers > Sound card support > Advanced Linux Sound Architecture > PCI 
> sound devices
>
>   Don't select any of the drivers under that option; just enable the
> barebones option.  If you don't enable it, then nothing shows up under
> "HD Audio" where all the codecs you mention are listed.  If you're doing
> it manually, set...
>
> CONFIG_SND_PCI=y
>
>   Either way, rebuild the kernel and try again.  Hopefully, that solves
> the problem.
>
> Walter Dnes 

Thank you for your advice. The SND_PCI option is switched on in my
current generic kernel (gentoo-kernel-5.4.64) as well in the last
tried configuration of gentoo-sources-4.19.86. Moreover, almost every
possible option inside the section to which it points is compiled as a
module. I do not know why snd_pci does not show itself after entering
the lsmod command. Probably, because it is not a module but a section
of the kernel config.



Re: [gentoo-user] No sound. Please, help!

2020-10-18 Thread David Haller
Hello,

On Sat, 17 Oct 2020, gevisz wrote:
>??, 17 ???. 2020 ?. ? 14:57, David Haller :
[..]
>Here is the comparative table for your kernel parameters vs those of
>gentoo-kernel 5.4.64 and my last tried configuration in
>gentoo-sources-4.19.86:
>CONFIG | 4.14 | 5.4.64 | 4.19.86
>SND  | y  | m| y
>SND_TIMER   | y  | m| y
>SND_PCM  | y  | m| y
>SND_HWDEP | m | m| y
>SND_DRIVERS   | y  | y | y
>SND_PCI| y  | y | y
>SND_HDA  | m | m| y
>SND_HDA_INTEL| m| m| y
>SND_HDA_HWDEP | y | y | n
>SND_HDA_RECONFIG | y| y | y
>SND_HDA_CODEC_REALTEK | m | m | y
>SND_HDA_GENERIC   | m | m | y
>SND_HDA_CORE| m | m | y
>SND_SPI | y | n | absent

Looks ok.

[..]
>So, it seems that at least the configuration for kernel 5.4.64 should
>work. However, it does not.

Try this in /etc/modprobe.d/alsa.conf (or some file there):


alias char-major-116 snd
alias snd-card-0 snd-hda-intel
options snd-hda-intel model=auto


HTH,
-dnh

-- 
"Getting a penguin to pee on demand is _messy_."  -- Linus Torvalds