Re: [gentoo-user] Sound and Perl modules

2018-05-19 Thread Mick
On Saturday, 19 May 2018 11:48:11 BST Klaus Ethgen wrote:
> I have no systemd, no consolekit and no "desktopenvironment". I use fvwm
> and lived well with using pulseaudio autostart when using an application
> that made use of it (cmus).

Hmm  I'm not sure how ACLs for your user will be managed dynamically 
without ConsoleKit.  Check the link I suggested to see if there is a 
workaround.

Perhaps someone who's managed to get this going without alsa and ConsoleKit 
can chime in soon.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Sound and Perl modules

2018-05-19 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Am Sa den 19. Mai 2018 um 11:21 schrieb Mick:
> On Saturday, 19 May 2018 01:04:14 BST Klaus Ethgen wrote:
> > I mentioned already that I am a user of OSS4. I found [0] but none of
> > the information over there works anymore. Do you know some more recent
> > source?
> I don't know of any more up to date link to recommend, because I've not used 
> oss, but is there something wrong with using alsa?

Well, the sound quality is very bad with alsa with even cracks when
moving mouse or having network traffic. Even more I have a very bad
experience with kernel panics when using alsa.

On the other hand I always had pretty good sound with oss4 and no
stability problems.

> > Currently I am trying to compile it from source directly but there is a
> > small problem left with kernel 4.16.
> Have you had a look at various overlays - not sure which ebuild is the best 
> to 
> use for oss.

I just started to look into overlays. Currently I use none.

One of my main problems here is to see what the overlay is for.

Currently I use the 17.0/hardened profile only.

> > Another problem with sound is bluetooth. On one box I usually use a
> > bluetooth headset. Unfortunately the only way that seems to work on
> > linux is to use puleaudio. Sadly it is not starting under Gentoo.
> > 
> > Is there anyone who has successful use pulseaudio with bluetooth on
> > Gentoo?
> 
> Most desktop environments pull in the pulseaudio ebuild these days and pa 
> starts up as needed by udev/ConsoleKit when using openrc, or just 
> udev/systemd 
> when using systemd.

I have no systemd, no consolekit and no "desktopenvironment". I use fvwm
and lived well with using pulseaudio autostart when using an application
that made use of it (cmus).

In fact, the pain with systemd on debian brought me to Gentoo. I have a
history of over 20 years with debian but the quality is speeding up to
decay since the switch to systemd was made.

> Have a look here for set up details:
> 
>  https://wiki.gentoo.org/wiki/PulseAudio

Thanks, will have a look.

> On some PCs I have found bluetooth audio a pain to configure.  I was advised 
> to install net-wireless/blueman, which made it less painful to get bluetooth 
> audio source/sink working in my use case.

Is that a replacement to pulseaudio? If yes, that would be definitively
a replacement.

> However, in many cases bluetoothctl is all you need to get the devices to 
> pair 
> and get pulseaudio to pick up the bluetooth device as an audio sink.

That was my experience on debian before too.

>  pactl list sinks

Well, as it does not start at all, that does not work too.

Regards
   Klaus
- -- 
Klaus Ethgen   http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16Klaus Ethgen 
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-BEGIN PGP SIGNATURE-
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlsAAOUACgkQpnwKsYAZ
9qzcDQv+PCgL33//5oxRVykhV1T5OBi4W3vjgG4BDEiN0tmU9x4RIktWtT6vhxfA
0ZxOTiJYiIaox2PB9ZSouUZY2segr4aHOFBKGLCpVgUOK5/2I1+X4jLQ+fA4OeB7
qguT8FITO0aL6j1xzTs95jEC0P+alsk+UjJeAxHbRDhsGPjSB9n44eZ47c0UMwdT
oBQnBUR3eoC/R1nRXnLenu/EIjKs4lRFLBZeouEH7VQBjnxxxBdRlpxNo1Z1kpXU
Hg7OBfGUDjPdbgJJk4xPengHco8VnaYwvlpNOaW+d2D9VtpvCsDCFL0TjPij/lv9
vZB4bTEhBWnk6GPgOkgBYs9snuZzeP1pLQENcASx1v6wS7WHgcI6EX5ICCVuHA2d
enniCngezILI51ArQ1oaxNStPhLtHqxnvajxRUDMdMpoE6yodnKeD+qnfGFBTPWe
/NhKUEPLiD/ZEghp4Z4x2R1fUN0nAV0sscWBQWBdH50bNZt8k+HKrr1jlTCjdSgx
40izipI0
=xtwL
-END PGP SIGNATURE-



Re: [gentoo-user] Sound and Perl modules

2018-05-19 Thread Mick
On Saturday, 19 May 2018 01:04:14 BST Klaus Ethgen wrote:
> Hi folks,
> 
> I mentioned already that I am a user of OSS4. I found [0] but none of
> the information over there works anymore. Do you know some more recent
> source?

I don't know of any more up to date link to recommend, because I've not used 
oss, but is there something wrong with using alsa?


> Currently I am trying to compile it from source directly but there is a
> small problem left with kernel 4.16.

Have you had a look at various overlays - not sure which ebuild is the best to 
use for oss.


> Another problem with sound is bluetooth. On one box I usually use a
> bluetooth headset. Unfortunately the only way that seems to work on
> linux is to use puleaudio. Sadly it is not starting under Gentoo.
> 
> Is there anyone who has successful use pulseaudio with bluetooth on
> Gentoo?

Most desktop environments pull in the pulseaudio ebuild these days and pa 
starts up as needed by udev/ConsoleKit when using openrc, or just udev/systemd 
when using systemd.

Have a look here for set up details:

 https://wiki.gentoo.org/wiki/PulseAudio

On some PCs I have found bluetooth audio a pain to configure.  I was advised 
to install net-wireless/blueman, which made it less painful to get bluetooth 
audio source/sink working in my use case.

However, in many cases bluetoothctl is all you need to get the devices to pair 
and get pulseaudio to pick up the bluetooth device as an audio sink.

 pactl list sinks

and

 pactl list sources

will show you what pulseaudio sees.


> I hope, I do not bother you with all that questions coming up moving to
> Gentoo...

Not at all, just shoot away and users with more knowledge and experience will 
chime in as necessary if they know the answer.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Sound and Perl modules

2018-05-19 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Am Sa den 19. Mai 2018 um  1:25 schrieb Jack:
[Installation of independend cpan packages]
> Take a look at app-portage/g-cpan.

Nice, thanks.

Regards
   Klaus
- -- 
Klaus Ethgen   http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16Klaus Ethgen 
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-BEGIN PGP SIGNATURE-
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlr/1ksACgkQpnwKsYAZ
9qwQ8Qv/cY/0a8NNS+eMukboFkTD7bQPV3ycyyfEwyeOwpXo2ZTEtghAOJfgL5Ox
/vGGlgcmQF+Xu4d0t0PRG8jL9E2bDcyzIaBsaxUXhRbdjkJSlxPMzkznL5jjOLxF
GVYn6Qwc49VL3iHc6vHnBTa1nJgzFgmKG9AYevro5Dq0z3o8fEDS01cs0ctn3kZW
p5B0DWPJhC9uRTWGhEIMylxsuzvKd/xDeMl/Vt060b9upd6r0RZppSeqZFdg8Bse
3I685UmWaRP9e/2tB9D+elNa/CV7Pl5Nf5zkd9FCipCwzL+Kr5wi2FVBF3vfxHHl
7Fuc7qbgLP30vK/XsuLsCaWhaz2UZq1hjF/m8TwTVV9/m/pZVufI0Tgerza3aqgJ
KiHKaYGszS41vE3xjnhfkZweO5j0KVvxL42B0UFSuBac9g8efnUC6I4pM43Xn3vR
RQmkV295nm/ZUu5ZFStSz+5QC5CG4Wc/9spgjgCl5iMOtgWwx5Vn76veLloSO5HJ
kcQlWxAF
=uit/
-END PGP SIGNATURE-



Re: [gentoo-user] Sound and Perl modules

2018-05-18 Thread Jack

On 2018.05.18 20:04, Klaus Ethgen wrote:
[snip...]
The last and most exciting point, I am heavily depending on some perl  
modules, One of them actually is not available on Gentoo.  
(dev-perl/DBD-CSV) I want to avoid installing it in my $HOME. Is  
there any description how to convert such packages into custom emerge  
packages and manage them in a custom overlay?


Take a look at app-portage/g-cpan.  It lets you create and emerge and  
ebuild for any perl module available in CPAN.  It did take me a while  
to get it properly configured (to put the ebuilds in the right place,  
and to recognize the overlays I use (it doesn't require any - it just  
needs to know enough to not step on them.)


Jack