Re: [gentoo-user] installing virtual machine under gentoo

2021-12-31 Thread Petric Frank
Am Freitag, 31. Dezember 2021, 15:31:43 CET schrieb Yixun Lan:
> On 07:33 Fri 31 Dec , John Covici wrote:
> > Hi.  I am looking for some guidance on installing virtual machines
> > under gentoo.  I have a 5.10.82 kernel and I would like to use kvm if
> > possible to do this.  I have seen lots of instructions for  installing
> > vms using virtualbox but not much else.  I have a gentoo system with
> > enough memory to run a vm or two and would like to use it as the host.
> >
> > I have downloaded xen to take a look at it as well.
> >
> > I hope this is not too vague, so please bare with me.
> >
> > Thanks in advance for any suggestions.
>
> I'd suggest to try qemu kvm + libvirt

For a graphical GUI frontend for this you can use app-emulation/virt-manager.

regards






Re: [gentoo-user] Local mail server

2020-07-19 Thread Petric Frank
Am Sonntag, 19. Juli 2020, 16:18:32 CEST schrieb Peter Humphrey:
> Afternoon all,
>
> I'd like to set up a little box to be a local mail server. It would receive
> mails from other machines on the LAN, and it would fetch POP3 mail from my
> ISP and IMAP mail from google mail.

For me this was a good starting point:
  https://wiki.gentoo.org/wiki/Complete_Virtual_Mail_Server[1]

I placed a Gentoo VM for this on my Proxmox VM server doing the job.

regards
  Petric



[1] https://wiki.gentoo.org/wiki/Complete_Virtual_Mail_Server


Re: [gentoo-user] Idea for Videoconferencing (Video part)

2020-04-03 Thread Petric Frank
Hello Ralph,

Am Freitag, 3. April 2020, 17:41:20 CEST schrieb Ralph Seichter:
> * Petric Frank:
> > Problem: Usually the camera is outside of the screen. The user normally
> > looks at the screen. As result the communication partner(s) see him not
> > looking at the camera.
>
> It may be bothering you, but that's not a problem in any real life
> sense. People can either live with it, knowing the reasons behind it, or
> look into the camera when speaking, if they want to provide an illusion
> of eye contact. Actors have been doing it for ages.

But normal people aren't professional actors. I thought i could be a technical
solution. Making life easier in this corona-days with increasing video
conferences.
I know, many people don't mind. But i think eye contact is a good thing while
working on the screen.

> > Anyone taking the task ?
>
> You are aware it is no longer April the first? :-)

Sure, therefore i've awaited the april fools day passed.

kind regards and keep well
  Petric






[gentoo-user] Idea for Videoconferencing (Video part)

2020-04-03 Thread Petric Frank
Hello,

this is not exactly a gentoo issue. But due i am using gentoo i am asking
here.

Problem: Usually the camera is outside of the screen. The user normally looks
at the screen. As result the communication partner(s) see him not looking at
the camera.

Idea: Use two cameras positioned left and right or top and bottom of the
screen. Combine the two video streams and generate a third stream having a
virtual camera positioned at the middle of the screen.

Result: Better communication. The partners always looking in their eyes. At
the same time the screen contents can be viewed.

Is this description clear enough ?

Sounds that feasible ?

Anyone taking the task ?

Or is there a better place to post such an idea ?

kind regards
  Petric






Re: [gentoo-user] Perl 5.30.1 Locale::Language missing

2020-01-05 Thread Petric Frank
Hello,

Am Samstag, 4. Januar 2020, 22:02:35 CET schrieb Neil Bothwick:
> On Sat, 04 Jan 2020 18:21:17 +0100, Petric Frank wrote:
> > A short search seems to state the the used have to install the packages
> >
> >   Locale::Language
> >   Locale::Codes
> >
> > from CPAN instead.
> >
> > Due i am not a master of constructing perl-ebuilds - anyone already
> > have build the ebuilds and share it with me ?
>
> app-portage/g-cpan will do it for you
>
> % eix g-cpan
> * app-portage/g-cpan
>  Available versions:  0.16.5 (~)0.16.6 (~)0.16.7^t 0.16.9-r1^t
> ***l^t {test} Homepage:
> https://wiki.gentoo.org/wiki/Project:Perl/g-cpan Description:
> Autogenerate and install ebuilds for CPAN modules

This solution looks promising. I don't like the "perl -MCPAN ..." suggestion 
earlier+
because it installs files outside of the control of portage.

calling
  *#* g-cpan -g Locale::Language

gives me  ** *The option you have chosen isn't supported without a configured 
overlay.

The homepage does not give a clue on how the overlay have to be specified.

I have a local repository defined as in
  https://wiki.gentoo.org/wiki/Handbook:AMD64/Portage/
CustomTree#Defining_a_custom_repository

You have to set PORTDIR_OVERLAY explicitly. A hint on the homepage would be 
nice.
Maybe the tool can be redesigned to use the directory /etc/portage/repos.conf 
instead.

After that it works well.

Thanks for your help.

kind regards
  Petric



Re: [gentoo-user] Perl 5.30.1 Locale::Language missing

2020-01-04 Thread Petric Frank
Hello,

Am Samstag, 4. Januar 2020, 18:49:19 CET schrieb Mick:
> On Saturday, 4 January 2020 17:21:17 GMT Petric Frank wrote:
> > Hello,
> >
> > after an perl upgrade (5.28 --> 5.30) my web application is no more
> > working. It is missing Locale::Language.
> >
> > After a view to the perl source it indeed have been removed.
> >
> > A short search seems to state the the used have to install the packages
> >
> >   Locale::Language
> >   Locale::Codes
> >
> > from CPAN instead.
> >
> > Due i am not a master of constructing perl-ebuilds - anyone already have
> > build the ebuilds and share it with me ?
> >
> > Kind regards
> >
> >   Petric
>
> I don't know if it may be relevant to your problem, but have your run perl-
> cleaner since you updated perl?
>
> BTW, the current stable perl version is 5.30.1.

Yes i did:
-- cut --
*#* perl-cleaner --all
*** Removing perl-core packages from world file
***emerge --deselect  perl-core/File-Temp
*** Updating installed Perl virtuals
***emerge -u1  virtual/perl-CPAN-Meta virtual/perl-CPAN-Meta-YAML 
virtual/perl-Carp
virtual/perl-Compress-Raw-Bzip2 virtual/perl-Compress-Raw-Zlib 
virtual/perl-Data-
Dumper virtual/perl-Digest-MD5 virtual/per
** IMPORTANT:* 19 news items need reading for repository 'gentoo'.
*** Use *eselect news read* to view new items.
*** Beginning a clean up of .ph files
*** Excluding files for 5.30.1 and 5.30.1/x86_64-linux from cleaning
*** Locating ph files for removal
*** Locating packages for an update
*** Locating ebuilds linked against libperl
*** No package needs to be reinstalled.
-- cut --

I looked inside the perl source archives. Language.pm is missing from 5.30.1 
whereas it is
available in 5.28.2.

kind regards
  Petric




[gentoo-user] Perl 5.30.1 Locale::Language missing

2020-01-04 Thread Petric Frank
Hello,

after an perl upgrade (5.28 --> 5.30) my web application is no more working.
It is missing Locale::Language.

After a view to the perl source it indeed have been removed.

A short search seems to state the the used have to install the packages
  Locale::Language
  Locale::Codes

from CPAN instead.

Due i am not a master of constructing perl-ebuilds - anyone already have build
the ebuilds and share it with me ?

Kind regards
  Petric






Re: [gentoo-user] Error emerging qtwebengine-5.12.5

2019-11-21 Thread Petric Frank
Hello,

Am Donnerstag, 21. November 2019, 19:40:43 CET schrieb Mick:
> On Thursday, 21 November 2019 17:35:30 GMT Raphael MD wrote:
> > Hello,
> >
> > I'm trying to update KDE, but the emerge is stopping at qtwebengine-5.12.5
> > compile process.
>
> I don't know if your error is related to the gcc version you're using.
> Better switch to 9.2 and try again.
>
> PS. MAKEOPTS="-j1" appears to be quite restrictive for a Ryzen CPU.  It
> wouldn't cause your problem, but will slow down every emerge as it will
> compile one job at a time.

I've got the same error. Reason was (as far as i can interpret it) that a new
gcc (v9) was compiled. The mpfr-Part (seen by the assertion abort on an mpfr-
test in the log) was updated at the same time. But gcc v8 - still active - was
not recompiled afterwards.

Solution - in my case - recompile gcc v8:
  emerge -1 =gcc-8*

Other solution (untested) - switch to gcc v9.

The MAKEOPTS depends on how much main memory you have on your host - besides
on how much cores your CPU has.

kind regards
  Petric






Re: [gentoo-user] A bit O/T: Running android apps in QEMU

2019-08-19 Thread Petric Frank
Hello,

not exactly. But in Android Studio (which uses Android SDK) is bundled an
emulator using qemu. Android Studio allows you to download an Android image
(Android 2.0 up to Android 9) compiled for x86 and run it.
This is mainly used for testing apps developed under Android Studio.
Maybe this could also be used standalone.

regards
  Petric

Am Montag, 19. August 2019, 20:36:01 CEST schrieb Mick:
> Increasingly more and more services I prefer to access online keep asking me
> to download and use some app to be able to enjoy the goodness of their
> offering in the future.  Invariably these are Android apps they think their
> customers will want to use.  I don't have an android phone, but have QEMU
> installed.  I was wondering if I can run some/any of these apps as VM
> guests within QEMU, on my amd64 Gentoo.
>
> I had a look at this wiki page, but I'm not sure if all this is required
> just to run some arm binary, when I don't need/want to compile software on
> ARM:
>
> https://wiki.gentoo.org/wiki/Embedded_Handbook/General/
> Compiling_with_qemu_user_chroot
>
> I assume if I follow the instructions on the page I should be able to
> install some Android image as a guest, then install the requisite app in
> the guest and run it?  Or is it more complicated than this and it won't run
> unless I install it in a real smart phone, I'm connected to a cell tower at
> the time and give them my phone number too?
>
> My understanding of emulating an altogether different CPU arch in QEMU is
> non- existent, I've always run x86 guest OS'/apps on x86 gentoo hosts.  Do
> you have any relevant experience you could share?







Re: [gentoo-user] Problem executing pgAdmin4

2018-11-07 Thread Petric Frank
Am Dienstag, 6. November 2018, 21:24:37 CET schrieb Jack:
> On 2018.11.06 00:19, Petric Frank wrote:
> > Am Dienstag, 6. November 2018, 01:00:04 CET schrieb Jack:
> > > On 2018.11.05 14:21, Petric Frank wrote:
> >>> pgadmin3 is masked now. So i installed pgadmin4 (current stable
> >>> verion 3.0).  Installed w/o problems.
> >>> 
> > > > But when executing it (in a terminal window) i get a dialog box
> > 
> > saying
> > 
> > > >   An error occurred initialising the application server:
> > > >   An error occurred initialising the application server:
> > > >   %1
> > > > 
> > > > and the terminal window is filled pagewise with
> > > > --- cut ---
> > > > Python path:  "/usr/lib64/python3.6/site-packages"
> > > > Python Home:  ""
> > > > Webapp path:  "/usr/share/pgadmin4/web/pgAdmin4.py"
> > > > "Failed to launch the application server, server thread exiting.
> > > > \u➑\u\u\u榠\u1C93翱\u먀ᰆ翱
> > 
> > \u\u\u\u\u\u\u\u\u\u000F\u\u\u
> > 
> > > > $
> > 
> > \u09FF-&Ͽ\u\u0005\u0A0E+(\u07FE\u\u"\u,攍兇须꾭懰䀌翱\u\uEAB
> > 
> > > > 0ᜊ翱
> > 
> > \u㙔\uE4C8帚꿧\u\u\u\u\u\u\u\u盚饇䥟璊Ꙑ䀌翱
> > 
> > \u\uA8C8ᜉ翱\u鯩슄鼗䷷\u0E70䀋翱\u偈䀌翱\u✠徰⼬蘉좸⠪翱\uꃘᜋ翱\uⷬ행膀ꈋ
> > 
> > > > ꈨ䀌翱
> > 
> > \u垀ᜋ翱\u沦⻋䎛緒짐⠪翱\u嚠ᜋ翱\u段ꉀꒅ텣遰⠤翱\u撈ᜋ翱\u⻲幕炈멕胰䀌翱\u攐
> > 
> > > > ᜋ翱
> > 
> > \u\uE6A3ᓐ溪껊쫨⠪翱\u斘ᜋ翱\u\uF42F끒䙭㔋昰䀌翱\u映ᜋ翱\u盰\uE66A⍷캪限ᮑ翱\
> > 
> > > > u
> > 
> > 좸ᜊ翱\u뱾ס⏤鱑룰⠁翱\u춸ᜊ翱\uꢦ蔞蠹꾞㨈䀐翱\u츈ᜊ翱\u\uF20E㥑䶫텓움⡌翱\u饠\
> > 
> > > > u1CBB ...
> > > > --- cut ---
> > > > 
> > > > Selecting "Ok " in the dialog box i get an other tabbed dialog box
> > > > asking for
> > > > a browser command (currently empty) and Python paths (preset
> > 
> > values
> > 
> > > > seem ok).
> > > > 
> > > > Entering "/usr/bin/firefox %URL%" as browser command does not
> > 
> > change
> > 
> > > > anything.
> > > > 
> > > > Any hints ?
> > > > 
> > > > Info:
> > > >   Kernel 4.14.65 (Gentoo)
> > > >   KDE Plasma (kde-plasma/plasma-meta-5.13.5)
> > > >   Memory 16 G
> > > >   Apache installed but not running
> > > >   Browsers konqueror and firefox available
> > > >   pgadmin3 still installed
> > > >   Python 2.7, 3.6 and 3.5 installed (= "eselect python list"
> > 
> > output)
> > 
> > > > regards
> > > > 
> > > >   Petric
> > > 
> > > Interesting.  I only get
> > > -
> > > Python path:  "/usr/lib64/python3.6/site-packages"
> > > Python Home:  ""
> > > Webapp path:  "/usr/share/pgadmin4/web/pgAdmin4.py"
> > > 
> >> 
> >> And then a popup that says  "The application server could not be
> >> contacted."
> >> 
> >> This is with eselect postgresql set to either 9.6 or 10.  Also - all
> >> above running as myself, although I get the same results with root
> >> or postgres.  It looks like although I have 10 installed, I never
> >> initialized it, although 9.6 should work OK.
> >> 
> >> I'm now emerging the test version of pgAdmin4 to see if it makes any
> >> difference.
> >> 
> > > Jack
> > 
> > Hello Jack,
> > 
> > if i remove the .pgadmin directory in my home i get - after a long
> > wait a dialog box saying  The application server could not be
> > contacted.
> > 
> > In the terminal it prints:
> > -- cut --
> > Python path:  "/usr/lib64/python3.6/site-packages"
> > Python Home:  ""
> > Webapp path:  "/usr/share/pgadmin4/web/pgAdmin4.py"
> > NOTE: Configuring authentication for DESKTOP mode.
> > -- cut --
> > 
> > Starting pgAdmin4 again i get the output and dialogs i wrote
> > initially in this thread.
> 
> I installed pgadmin4-3.4-r1 and it works.  3.5 has been released
> (https://www.pgadmin.org/) so I filed a version bump request
> (https://bugs.gentoo.org/670556).

I will try the upgrade.

For documentation purposes i got version 3.0 running using this guide:

1. install dev-python/backports and dev-python/backports-csv (masked !)
2. extend file /usr/share/pgadmin4/web/config_local.py to contain:
import os
DATA_DIR = os.path.realpath(os.path.expanduser(u'~/.pgadmin/'))
LOG_FILE = os.path.join(DATA_DIR, 'pgadmin4.log')
SQLITE_PATH = os.path.join(DATA_DIR, 'pgadmin4.db')
SESSION_DB_PATH = os.path.join(DATA_DIR, 'sessions')
STORAGE_DIR = os.path.join(DATA_DIR, 'storage')
SERVER_MODE = False
UPGRADE_CHECK_ENABLED = False

3. start python /usr/share/pgadmin4/web/pgAdmin4.py
4. point your browser to localhost:5050

Hope that helps someone ...

regards
  Petric






Re: [gentoo-user] Problem executing pgAdmin4

2018-11-05 Thread Petric Frank


Am Dienstag, 6. November 2018, 01:00:04 CET schrieb Jack:
> On 2018.11.05 14:21, Petric Frank wrote:
> > Hello,
> > 
> > pgadmin3 is masked now. So i installed pgadmin4 (current stable
> > verion 3.0).
> > Installed w/o problems.
> > 
> > But when executing it (in a terminal window) i get a dialog box saying
> > 
> >   An error occurred initialising the application server:
> >   An error occurred initialising the application server:
> >   %1
> > 
> > and the terminal window is filled pagewise with
> > --- cut ---
> > Python path:  "/usr/lib64/python3.6/site-packages"
> > Python Home:  ""
> > Webapp path:  "/usr/share/pgadmin4/web/pgAdmin4.py"
> > "Failed to launch the application server, server thread exiting.
> > \u➑\u\u\u榠\u1C93翱\u먀ᰆ翱
> > \u\u\u\u\u\u\u\u\u\u000F\u\u\u
> > $
> > \u09FF-&Ͽ\u\u0005\u0A0E+(\u07FE\u\u"\u,攍兇须꾭懰䀌翱\u\uEAB
> > 0ᜊ翱 \u㙔\uE4C8帚꿧\u\u\u\u\u\u\u\u盚饇䥟璊Ꙑ䀌翱
> > \u\uA8C8ᜉ翱\u鯩슄鼗䷷\u0E70䀋翱\u偈䀌翱\u✠徰⼬蘉좸⠪翱\uꃘᜋ翱\uⷬ행膀ꈋ
> > ꈨ䀌翱
> > \u垀ᜋ翱\u沦⻋䎛緒짐⠪翱\u嚠ᜋ翱\u段ꉀꒅ텣遰⠤翱\u撈ᜋ翱\u⻲幕炈멕胰䀌翱\u攐
> > ᜋ翱
> > \u\uE6A3ᓐ溪껊쫨⠪翱\u斘ᜋ翱\u\uF42F끒䙭㔋昰䀌翱\u映ᜋ翱\u盰\uE66A⍷캪限ᮑ翱\
> > u
> > 좸ᜊ翱\u뱾ס⏤鱑룰⠁翱\u춸ᜊ翱\uꢦ蔞蠹꾞㨈䀐翱\u츈ᜊ翱\u\uF20E㥑䶫텓움⡌翱\u饠\
> > u1CBB ...
> > --- cut ---
> > 
> > Selecting "Ok " in the dialog box i get an other tabbed dialog box
> > asking for
> > a browser command (currently empty) and Python paths (preset values
> > seem ok).
> > 
> > Entering "/usr/bin/firefox %URL%" as browser command does not change
> > anything.
> > 
> > Any hints ?
> > 
> > Info:
> >   Kernel 4.14.65 (Gentoo)
> >   KDE Plasma (kde-plasma/plasma-meta-5.13.5)
> >   Memory 16 G
> >   Apache installed but not running
> >   Browsers konqueror and firefox available
> >   pgadmin3 still installed
> >   Python 2.7, 3.6 and 3.5 installed (= "eselect python list" output)
> > 
> > regards
> > 
> >   Petric
> 
> Interesting.  I only get
> -
> Python path:  "/usr/lib64/python3.6/site-packages"
> Python Home:  ""
> Webapp path:  "/usr/share/pgadmin4/web/pgAdmin4.py"
> 
> And then a popup that says  "The application server could not be
> contacted."
> 
> This is with eselect postgresql set to either 9.6 or 10.  Also - all
> above running as myself, although I get the same results with root or
> postgres.  It looks like although I have 10 installed, I never
> initialized it, although 9.6 should work OK.
> 
> I'm now emerging the test version of pgAdmin4 to see if it makes any
> difference.
> 
> Jack

Hello Jack,

if i remove the .pgadmin directory in my home i get - after a long wait a 
dialog box saying 
 The application server could not be contacted.

In the terminal it prints:
-- cut --
Python path:  "/usr/lib64/python3.6/site-packages" 
Python Home:  ""
Webapp path:  "/usr/share/pgadmin4/web/pgAdmin4.py"
NOTE: Configuring authentication for DESKTOP mode.
-- cut --

Starting pgAdmin4 again i get the output and dialogs i wrote initially in this 
thread.

regards
  Petric






[gentoo-user] Problem executing pgAdmin4

2018-11-05 Thread Petric Frank
Hello,

pgadmin3 is masked now. So i installed pgadmin4 (current stable verion 3.0). 
Installed w/o problems.

But when executing it (in a terminal window) i get a dialog box saying
  An error occurred initialising the application server:
  An error occurred initialising the application server:
  %1

and the terminal window is filled pagewise with
--- cut ---
Python path:  "/usr/lib64/python3.6/site-packages" 
Python Home:  ""
Webapp path:  "/usr/share/pgadmin4/web/pgAdmin4.py"
"Failed to launch the application server, server thread exiting.
\u➑\u\u\u榠\u1C93翱\u먀ᰆ翱
\u\u\u\u\u\u\u\u\u\u000F\u\u\u$
\u09FF-&Ͽ\u\u0005\u0A0E+(\u07FE\u\u"\u,攍兇须꾭懰䀌翱\u\uEAB0ᜊ翱
\u㙔\uE4C8帚꿧\u\u\u\u\u\u\u\u盚饇䥟璊Ꙑ䀌翱
\u\uA8C8ᜉ翱\u鯩슄鼗䷷\u0E70䀋翱\u偈䀌翱\u✠徰⼬蘉좸⠪翱\uꃘᜋ翱\uⷬ행膀ꈋꈨ䀌翱
\u垀ᜋ翱\u沦⻋䎛緒짐⠪翱\u嚠ᜋ翱\u段ꉀꒅ텣遰⠤翱\u撈ᜋ翱\u⻲幕炈멕胰䀌翱\u攐ᜋ翱
\u\uE6A3ᓐ溪껊쫨⠪翱\u斘ᜋ翱\u\uF42F끒䙭㔋昰䀌翱\u映ᜋ翱\u盰\uE66A⍷캪限ᮑ翱\u
좸ᜊ翱\u뱾ס⏤鱑룰⠁翱\u춸ᜊ翱\uꢦ蔞蠹꾞㨈䀐翱\u츈ᜊ翱\u\uF20E㥑䶫텓움⡌翱\u饠\u1CBB
...
--- cut ---

Selecting "Ok " in the dialog box i get an other tabbed dialog box asking for 
a browser command (currently empty) and Python paths (preset values seem ok).

Entering "/usr/bin/firefox %URL%" as browser command does not change anything.

Any hints ?

Info:
  Kernel 4.14.65 (Gentoo)
  KDE Plasma (kde-plasma/plasma-meta-5.13.5)
  Memory 16 G
  Apache installed but not running
  Browsers konqueror and firefox available
  pgadmin3 still installed
  Python 2.7, 3.6 and 3.5 installed (= "eselect python list" output)

regards
  Petric


[gentoo-user] Problem with emerging sane-backends

2018-05-24 Thread Petric Frank
Hello,

when emerging sane-backends it tries to install most of the backends listed. 
Even if i set 
  SANE_BACKENDS="hp"

in make.conf it selects most of the other backends to be generated.

Is that a bug or did i something wrong ?

regards









[gentoo-user] Removal of media-plugins/npapi-vlc

2018-01-30 Thread Petric Frank
Hello,

during an upgrade i got a message that media-plugins/npapi-vlc have been 
masked and being removed from portage.

The reasoning is understandable (Firefox removes NPAPI interface). But what to 
use instead ?

kind regards
  Petric




Re: [gentoo-user] ir receiver - mceusb

2017-03-22 Thread Petric Frank
Hello Dan,

Am Mittwoch, 22. März 2017, 13:37:43 schrieb Daniel Frey:
> On 03/22/2017 08:12 AM, Petric Frank wrote:
> > maybe this is not exactly a gentoo problem. Please point me to 
correct
> > location if i am wrong here.
> > 
> > I've got a MCE-like ir remote together with a USB receiver.
> > 
> > Looks like it is detected by the kernel and a input device was created.
> > 
> > Most of the keys are working. But - for example - the color buttons do 
not
> > 
> > generate any output.
> > 
> > "ir-keytable" (version 1.10.1) returns:
> > 
> > Couldn't find any node at /sys/class/rc/rc*.
> > 
> > "ir-keytable -d /dev/input/eventxx" gives as output:
> > 
> > Name: PHILIPS MCE USB IR Receiver- Spi
> > bus: 3, vendor/product: 0471:0613, version: 0x0100
> > 
> > Using for test
> > 
> > ir-keytable -d /dev/input/eventxx -r
> > 
> > i got:
> > 
> > --- cut 
> > 
> > scancode 0x700e0 = KEY_LEFTCTRL (0x1d)
> > ...
> > 
> > Enabled protocols: other lirc rc-5 jvc sony nec sanyo mce-kbd rc-6 
sharp
> > xmp
> > --- cut 
> > 
> > But there is no definition of the color buttons in the list above.
> > 
> > Tests were done using this command:
> > 
> > ir-keytable -d /dev/input/eventxx -t
> > 
> > Any hints ?
> > 
> > 
> > Is it possibe to see the scancodes received by the USB-receiver to
> > validate
> > 
> > that the remote really sends data for the color buttons. What kernel
> > options i have to enable ?
> > 
> > (Also for checking and not barking at the wrong tree due to hardware
> > problems)
> > 
> > Some info about my system:
> > 
> > Kernel 4.9.6 (amd64) custom configured
> > 
> > Distribution: Gentoo
> > 
> > lsmod output:
> > 
> > --- cut --
> > 
> > Module Size Used by
> > 
> > rc_rc6_mce  1580  0
> > mceusb 10365  0
> > rc_core16719  2 mceusb,rc_rc6_mce
> > usb_storage48619  0
> > hid_generic 1385  0
> > usbhid 35380  0
> > input_leds  3022  0
> > led_class   3975  1 input_leds
> > 
> > ohci_pci3272  0
> > 
> > snd_hda_codec_generic   52071  2
> > r8169  67900  0
> > xhci_pci4958  0
> > xhci_hcd  101734  1 xhci_pci
> > mii 4099  1 r8169
> > ohci_hcd   27022  1 ohci_pci
> > ehci_pci4103  0
> > ehci_hcd   41036  1 ehci_pci
> > usbcore   165285  9
> > 
mceusb,usbhid,usb_storage,ehci_hcd,ohci_pci,xhci_pci,ohci_hcd,xhci_hcd,e
hc
> > i_pci usb_common    1 usbcore
> > snd_hda_intel  18065  0
> > snd_hda_codec  73835  2 snd_hda_intel,snd_hda_codec_generic
> > snd_hwdep   5866  1 snd_hda_codec
> > snd_hda_core   40055  3
> > snd_hda_intel,snd_hda_codec,snd_hda_codec_generic
> > snd_pcm78737  3 
snd_hda_intel,snd_hda_codec,snd_hda_core
> > snd_timer  19336  1 snd_pcm
> > snd55051  6
> > 
snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_gener
ic,snd_
> > pcm soundcore   5231  1 snd
> > --- cut --
> > 
> > The remote looks like this one:
> > 
> > https://www.mythtv.org/wiki/File:Philips-remote.jpg
> > 
> > but its branded as olidata.
> > 
> > The receiver is detected as (syslog):
> > --- cut --
> > 
> > [ 6.937470] usb 4-2: new low-speed USB device number 3 using 
xhci_hcd
> > 
> > [ 7.117723] usb 4-2: New USB device found, idVendor=0471, 
idProduct=0613
> > 
> > [ 7.117730] usb 4-2: New USB device strings: Mfr=1, Product=2,
> > SerialNumber=0
> > 
> > [ 7.117735] usb 4-2: Product: MCE USB IR Receiver- Spinel plus
> > 
> > [ 7.117740] usb 4-2: Manufacturer: PHILIPS
> > 
> > [ 7.132840] input: PHILIPS MCE USB IR Receiver- Spinel plus as
> > 
> > 
/devices/pci:00/:00:15.2/:04:00.0/usb4/4-2/4-2:1.0/0003:047
1:0
> > 613.0003/input/input19
> > 
> > 
> > [ 7.185141] hid-generic 0003:0471:0613.0003: input,hiddev0,hidraw2: 
USB

[gentoo-user] ir receiver - mceusb

2017-03-22 Thread Petric Frank
Hello,

maybe this is not exactly a gentoo problem. Please point me to correct 
location if i am wrong here.

I've got a MCE-like ir remote together with a USB receiver.

Looks like it is detected by the kernel and a input device was created. 
Most of the keys are working. But - for example - the color buttons do not 
generate any output.

"ir-keytable" (version 1.10.1) returns:
  Couldn't find any node at /sys/class/rc/rc*.

"ir-keytable -d /dev/input/eventxx" gives as output:
  Name: PHILIPS MCE USB IR Receiver- Spi 

Using for test
  ir-keytable -d /dev/input/eventxx -r
i got:
--- cut 
  scancode 0x700e0 = KEY_LEFTCTRL (0x1d) 

  ...
  Enabled protocols: other lirc rc-5 jvc sony nec sanyo mce-kbd rc-6 sharp 
xmp 
--- cut 

But there is no definition of the color buttons in the list above.


Tests were done using this command:
  ir-keytable -d /dev/input/eventxx -t

Any hints ?


Is it possibe to see the scancodes received by the USB-receiver to validate 
that the remote really sends data for the color buttons. What kernel 
options i have to enable ?
(Also for checking and not barking at the wrong tree due to hardware 
problems)


Some info about my system:

Kernel 4.9.6 (amd64) custom configured
Distribution: Gentoo

lsmod output:
--- cut --
Module  Size  Used by
rc_rc6_mce  1580  0mceusb 10365  0rc_core 
   16719  2 mceusb,rc_rc6_mceusb_storage48619 
 0hid_generic 1385  0usbhid 35380  0input_leds 
 3022  0led_class   3975  1 input_leds
ohci_pci3272  0
snd_hda_codec_generic   52071  2r8169  67900  0xhci_pci 
   4958  0xhci_hcd  101734  1 xhci_pcimii   
  4099 
 1 r8169ohci_hcd   27022  1 ohci_pciehci_pci4103 
 0ehci_hcd   41036  1 ehci_pciusbcore   165285  9 
mceusb,usbhid,usb_storage,ehci_hcd,ohci_pci,xhci_pci,ohci_hcd,xhci_hcd,e
hci_pciusb_common    1 usbcoresnd_hda_intel  18065 
 0snd_hda_codec  73835  2 
snd_hda_intel,snd_hda_codec_genericsnd_hwdep   5866  1 
snd_hda_codecsnd_hda_core   40055  3 
snd_hda_intel,snd_hda_codec,snd_hda_codec_genericsnd_pcm 
   78737  3 snd_hda_intel,snd_hda_codec,snd_hda_coresnd_timer 
 19336  1 snd_pcmsnd55051  6 
snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_gener
ic,snd_pcmsoundcore   5231  1 snd
--- cut --

The remote looks like this one:
  https://www.mythtv.org/wiki/File:Philips-remote.jpg

but its branded as olidata.

The receiver is detected as (syslog):
--- cut --
  [6.937470] usb 4-2: new low-speed USB device number 3 using 
xhci_hcd 
[7.117723] usb 4-2: New USB device found, idVendor=0471, 
idProduct=0613 
[7.117730] usb 4-2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0 
[7.117735] usb 4-2: Product: MCE USB IR Receiver- Spinel plus 
[7.117740] usb 4-2: Manufacturer: PHILIPS 
[7.132840] input: PHILIPS MCE USB IR Receiver- Spinel plus as
/devices/pci:00/:00:15.2/:04:00.0/usb4/4-2/4-2:1.0/0003:047
1:0613.0003/input/input19 
[7.185141] hid-generic 0003:0471:0613.0003: input,hiddev0,hidraw2: 
USB HID v1.00 Keyboard [PHILIPS MCE USB IR Receiver- Spinel plus] on 
usb-:04:00.0-2/input0 
[7.191372] usbcore: registered new interface driver mceusb
-- cut --



Re: [gentoo-user] KDEPIM-4.4.2015.06 blockages

2016-01-02 Thread Petric Frank
Hello Andreas,

Am Samstag, 2. Januar 2016, 12:17:18 schrieb Andreas K. Huettel:
> Am Freitag, 1. Januar 2016, 15:30:37 schrieb Mick:
> > I am updating an old machine which does not see much usage these 
days.  I
> > came across this blockage, which seems is caused by retaining the
> 
> > pre-Kmail2 KDEPIM version on this PC:
> Wheee, another kmail1 user. :)
> 
> Don't despair, it will get fixed (since I'm maintaining it and my own
> machines are blocking too).
> 
> However, since I'm really busy with other stuff it may sadly take a bit of
> time.

Meanwhile i use a local mail server (courier-imap). The culprit with kmail2 is 
its bebaviour when it comes to a bigger number of mails (about > 3000) in 
an folder.
Due courier-imap does not give a UIDNEXT kmail2 re-scans the folders 
(nearly) forever - and i have folders containing > 5 mails. That takes a 
long time.

I use the same imap acount from differen machines which results in a 
second failure of kmail2. If mails are deleted (there seems to exist a 
threshold of deleted mails) - for example via webmail - kmail2 insists in 
getting invalid mail ids.

> (Backstory, the kde team guys asked me several times if they can go 
ahead
> with the package move from kde-base to kde-apps, I had no time for 
testing,
> and at some point I said, just do it, noone except me will notice anyway,
> and if something goes wrong I'll fix it afterwards...)

Recognized the move also. Had to adapt the package.mask accordingly.

kind regards
  Petric



Re: [gentoo-user] Re: KDEPIM-4.4.2015.06 blockages

2016-01-01 Thread Petric Frank
Hello,

Am Freitag, 1. Januar 2016, 23:22:54 schrieb Mick:
> On Friday 01 Jan 2016 16:49:41 James wrote:
> > Mick  gmail.com> writes:
> > > I am updating an old machine which does not see much usage 
these days.
> > > I  came across this blockage, which seems is caused by retaining 
the
> > 
> > > pre-Kmail2 KDEPIM  version on this PC:
> > When upgrading old systems, always there are packages that cause 
problems
> > or the attic is missing the particular version your efforts call for,
> > during the transition, is my experience; ymmv.
> > 
> > > Is there a workaround for this, or does it mean time has arrived to
> > > decide  whether I will be able to continue with Kmail1 and the old
> > > KDEPIM on this  box, or not?
> > 
> > When I've updated older systems, I rarely pay close attention to the
> > details, except when the progress is halted or fails. What I've learned 
to
> 
> > do is::
> [snip ...]
> 
> > hth,
> > James
> 
> Thank you James, but this is a system which has been updated regularly, 
at
> least once a week.  The only exception being KDEPIM which was masked 
as
> advised by the maintainers for those who found Kmail2 unsuitable for 
their
> systems.  So, on this system I've stayed with 4.4 as advised here:
> 
> https://wiki.gentoo.org/wiki/KDE/KDEPIM-4.7_upgrade

I did the same here. 
 
> After all these years, this is the first time that 4.4 has come up with a
> blocker, hence my email to this list.

I did the same but upgrading a 3 year old system to kde-4.14.8 but 
masking kdepim to keep version 4.4.
It adds kontact-4.14.8 and not * -4.4.2015.06 to the build tree. And as 
followup kdepim-common-libs-4.14.8 and kdepim-runtime-4.14.8.

The only fix i found so far is to disable the "kontact" use flag on all 
kdepim-4-4 packages. Then it built without problems.

Hope that helps tracking down the real problem.

regards
  Petric



Re: [gentoo-user] Networkmanager VPNC key timeout

2015-03-03 Thread Petric Frank
Hello Mick,

Am Dienstag, 3. März 2015, 00:00:17 schrieb Mick:
  The homepage on vpnc in chapter TODO tells:
phase2-rekeying is now supported as of svn revision 126!
  
  Changelog states for 0.5.2:
Fix Phase 2 rekeying, by various authors
  
  I don't know whether this is along your statement above.
  
  So it seems not to be completely fixed. The homepage is not updated the
  last 7 years.
 
 OK, then yes, it has been fixed and your problem is not related to that old
 bug, but could it be a more recent regression?

maybe.
 
   BTW, have you tried more actively developed VPN software like
   strongswan (it has a networkmanager plugin) or even ipsec-tools
   instead of vpnc, to see if you're getting the same problem?  I think
   that they should work with Cisco VPN gateways, although it may be
   fiddly to set them up.
  
  i can find only ebuilds of (networkmanager-)openswan in the official
  tree.
 
 No, this only good for the SSL VPN solution of Cisco.

good to know.

  strongswan is in the stable tree but not the networkmanager plugin.
 
 Are you sure?  This is what I see here for strongswan-5.2.2

 [+caps +constraints curl debug dhcp eap farp gcrypt +gmp ldap mysql
 networkmanager
 ^^
 +non-root +openssl pam pkcs11 sqlite strongswan_plugins_blowfish
 strongswan_plugins_ccm strongswan_plugins_ctr strongswan_plugins_gcm
 strongswan_plugins_ha strongswan_plugins_ipseckey +strongswan_plugins_led
 +strongswan_plugins_lookip strongswan_plugins_ntru
 strongswan_plugins_padlock strongswan_plugins_rdrand
 +strongswan_plugins_systime-fix
 strongswan_plugins_unbound +strongswan_plugins_unity
 +strongswan_plugins_vici strongswan_plugins_whitelist]

True, strongswan is in tree, but not networkmanager-strongswan (NetworkManager 
plugin).
 
 The latest version 5.2.2 has a bug with some IKEv1 implementations.  There
 is a patch proposed which works and will be included in the next version
 5.2.3 when released.  If your VPN server is affected then you'll have to
 apply the patch yourself in a local overlay:
 
 https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/479632

Stable strongswan is already compiled and installed on my system. Any of the 
strongswan_plugins_* use flags i have to enable here ?

But it could take some days (because of my business job).

regards
  Petric



Re: [gentoo-user] Networkmanager VPNC key timeout

2015-03-02 Thread Petric Frank
Hello,

Am Montag, 2. März 2015, 21:01:48 schrieb Mick:
 On Monday 02 Mar 2015 18:07:45 Petric Frank wrote:
  Hello,
  
  this is not a Gentoo problem per se, but i'm getting it under Gentoo.
  
  Runninng KDE + Networkmanager
  (net-misc/networkmanager-0.9.10.1_pre20141101) together with vpnc plugin
  (net-misc/networkmanager-vpnc-0.9.10.0).
  
  I have set up a VPN connection to a AVM FritzBox (which is using - as far
  as i can evaluate - a Cisco like IPSec tunnel).
  
  This is running very well, but after exactly 1 hour the connection is
  dropped. I can reconnect, but it also lasts 1 hour.
  
  After som crawlng though the net it seems that a key validity runs ot of
  time at the client side. I t looks like this one
  
https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/479632
  
  The nmcli output for this connection reads like this (some obfusicated):
   cut -
  =
  ==  Details des Verbindungsprofils (XX)
  =
  ==  connection.id:  XX
  connection.uuid:
  
  11--3 connection.interface-name:
 --
  
  connection.type:vpn
  connection.autoconnect: no
  connection.timestamp:   1425319416
  connection.read-only:   no
  connection.permissions:
  connection.zone:
  connection.master:  --
  connection.slave-type:  --
  connection.secondaries:
  connection.gateway-ping-timeout:0
  -
  --  ipv4.method:auto
  ipv4.dns:
  ipv4.dns-search:
  ipv4.addresses:
  ipv4.routes:
  ipv4.ignore-auto-routes:yes
  ipv4.ignore-auto-dns:   no
  ipv4.dhcp-client-id:--
  ipv4.dhcp-send-hostname:yes
  ipv4.dhcp-hostname: --
  ipv4.never-default: yes
  ipv4.may-fail:  no
  -
  --  ipv6.method:ignore
  ipv6.dns:
  ipv6.dns-search:
  ipv6.addresses:
  ipv6.routes:
  ipv6.ignore-auto-routes:no
  ipv6.ignore-auto-dns:   no
  ipv6.never-default: no
  ipv6.may-fail:  yes
  ipv6.ip6-privacy:   0 (deaktiviert)
  ipv6.dhcp-hostname: --
  -
  --  vpn.service-type:
  
  org.freedesktop.NetworkManager.vpnc vpn.user-name:
   --
  
  vpn.data:   Local Port = 0, IKE DH Group =
  dh2, Perfect Forward Secrecy = server, Xauth password-flags = 1, IPSec
  ID = u...@host.loc, IPSec gateway = open.nsupdate.info, Xauth username =
  u...@host.loc, Cisco UDP Encapsulation Port = 0, Vendor = cisco, IPSec
  secret- flags = 1, NAT Traversal Mode = natt
  vpn.secrets:
  
   cut -
  
  Any hints ?
  
  regards
  
Petric
 
 Going from memory here, but I recall that the VPNC client had problems
 rekeying SAs in Phase 2.  I seem to recall there was bug but can't recall
 if it was ever patched.
 
 Yep - see here, a regression problem with version net-misc/vpnc-0.5.3:
 
 http://lists.unix-ag.uni-kl.de/pipermail/vpnc-devel/2009-July/003127.html
 
 I see that portage has 0.5.3_p527-r1 as stable, but I don't know if this
 includes any necessary patches.  You could check the changelog.

The homepage on vpnc in chapter TODO tells:
  phase2-rekeying is now supported as of svn revision 126!

Changelog states for 0.5.2:
  Fix Phase 2 rekeying, by various authors

I don't know whether this is along your statement above.

So it seems not to be completely fixed. The homepage is not updated the last 7 
years.
 
 BTW, have you tried more actively developed VPN software like strongswan
 (it has a networkmanager plugin) or even ipsec-tools instead of vpnc, to
 see if you're getting the same problem?  I think that they should work
 with Cisco VPN gateways, although it may be fiddly to set them up.

i can find only ebuilds of (networkmanager-)openswan in the official tree.
strongswan is in the stable tree but not the networkmanager plugin.
I tried the one from the zugaina overlay (v. 1.3.0) but it seems to miss the 
dependency to libgnomeui. I do not have gnome installed (and don't intend to 
do so). My desktop is a kde one.

Anyone has a ebuild/package not requiring gnome ?

regards
  Petric


[gentoo-user] Networkmanager VPNC key timeout

2015-03-02 Thread Petric Frank
Hello,

this is not a Gentoo problem per se, but i'm getting it under Gentoo.

Runninng KDE + Networkmanager (net-misc/networkmanager-0.9.10.1_pre20141101) 
together with vpnc plugin (net-misc/networkmanager-vpnc-0.9.10.0).

I have set up a VPN connection to a AVM FritzBox (which is using - as far as i 
can evaluate - a Cisco like IPSec tunnel).

This is running very well, but after exactly 1 hour the connection is dropped. 
I can reconnect, but it also lasts 1 hour.

After som crawlng though the net it seems that a key validity runs ot of time 
at the client side. I t looks like this one
  https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/479632

The nmcli output for this connection reads like this (some obfusicated):
 cut -
===
  Details des Verbindungsprofils (XX)
===
connection.id:  XX
connection.uuid:11--3
connection.interface-name:  --
connection.type:vpn
connection.autoconnect: no
connection.timestamp:   1425319416
connection.read-only:   no
connection.permissions: 
connection.zone:
connection.master:  --
connection.slave-type:  --
connection.secondaries: 
connection.gateway-ping-timeout:0
---
ipv4.method:auto
ipv4.dns:   
ipv4.dns-search:
ipv4.addresses: 
ipv4.routes:
ipv4.ignore-auto-routes:yes
ipv4.ignore-auto-dns:   no
ipv4.dhcp-client-id:--
ipv4.dhcp-send-hostname:yes
ipv4.dhcp-hostname: --
ipv4.never-default: yes
ipv4.may-fail:  no
---
ipv6.method:ignore
ipv6.dns:   
ipv6.dns-search:
ipv6.addresses: 
ipv6.routes:
ipv6.ignore-auto-routes:no
ipv6.ignore-auto-dns:   no
ipv6.never-default: no
ipv6.may-fail:  yes
ipv6.ip6-privacy:   0 (deaktiviert)
ipv6.dhcp-hostname: --
---
vpn.service-type:   org.freedesktop.NetworkManager.vpnc
vpn.user-name:  --
vpn.data:   Local Port = 0, IKE DH Group = dh2, 
Perfect Forward Secrecy = server, Xauth password-flags = 1, IPSec ID = 
u...@host.loc, IPSec gateway = open.nsupdate.info, Xauth username = 
u...@host.loc, Cisco UDP Encapsulation Port = 0, Vendor = cisco, IPSec secret-
flags = 1, NAT Traversal Mode = natt
vpn.secrets:

 cut -

Any hints ?

regards
  Petric


Re: [gentoo-user] Network perf tool

2012-10-25 Thread Petric Frank
Hello,

iperf is a good tool, but ...

Fr example the RFC 2544 throughput test does not allow any 
failed/missing/corrupted packed during the testing time.
In this case the data speed is to be reduced and the test to be executed 
again.
Also a throughput test is only one part of the RFC 2544.

regards
  Petric

Am Donnerstag, 25. Oktober 2012, 10:37:02 schrieb Robert David:
 Hi Patric,
 
 what about iperf?
 
 Robert.
 
 On Wednesday 24 of October 2012 20:36:54 Petric Frank wrote:
  Hello,
  
  this is not exactly an Gentoo question - but i don't now where to ask
  otherwise.
  
  Is there a tool for (Gentoo-)Linux to do network performance tests as
  defined in RFC 2544 ?
  This will run on an Gentoo host having at least 2 network interfaces to
  be connected to the device under test.
  
  regards
  
Petric




[gentoo-user] Network perf tool

2012-10-24 Thread Petric Frank
Hello,

this is not exactly an Gentoo question - but i don't now where to ask 
otherwise.

Is there a tool for (Gentoo-)Linux to do network performance tests as defined 
in RFC 2544 ?
This will run on an Gentoo host having at least 2 network interfaces to be 
connected to the device under test.

regards
  Petric



[gentoo-user] heartbeat problem

2012-10-16 Thread Petric Frank
Hello,

i've tried to use heartbeat (v 3.0.5). It starts, but a bit later it kills 
himself.
I complains that it can not access /var/run/heartbeat/*.pid which is true. The 
directory /var/run/heartbeat does not exist.
Also - as far as i can see /var/run is cleaned at start of a system. So any 
manually created directory here at install time will get lost.

As workaround i placed in /etc/init.d/heartbeat the following code:

- cut -
  if ! [ -d /var/run/heartbeat ]
  then
mkdir /var/run/heartbeat
  fi
- cut -

With this change heartbeat starts without problems.

I don't know wheter this is the proper solution or the reason for this problem 
is caused by an other source.

Before i place an item in bugzilla i would like to know if you think this 
'hack' is the one to use.
Otherwise you could point mo to the proper solution of this issue.

regards
  Petric



Re: [gentoo-user] open source monitoring on gentoo

2011-06-24 Thread Petric Frank
Hello Stefan,

Am Freitag, 24. Juni 2011, 11:15:54 schrieb Stefan G. Weichinger:
 Greets,
 
 I am looking for a nagios-type monitoring system which I can run on gentoo.
 
 The requirement is that the customer should be able to add/edit hosts
 and services via web-GUI ... there is no cli-motivation available there ;-)
 
 Second wish would be that the GUI should be available in german language
 as well (customer in austria).
 
 I have nagios running there already so I would like to migrate the
 existing stuff into the new system.
 
 Do you gentoo-users have a recommendation for me?
 
 I dug through various lists of monitoring systems but somehow got lost ...

Zabbix (http;//www.zabbix.com) may be worth a view. It has monitoring proxy 
support. The monitoring server can be clustered (depending on the load).

regards
  Petric



Re: [gentoo-user] Opera and Konqueror won't print, but FF works fine

2010-09-14 Thread Petric Frank
Hello Mick,

Am Montag, 13. September 2010, 23:09:03 schrieb Mick:
 Konqueror won't even go as far as that.  It only shows:
 
 I [13/Sep/2010:22:04:57 +0100] [Job ???] Request file type is
 application/pdf.

In case of priting with KDE applications you may be hit by this bug:
  http://bugs.gentoo.org/show_bug.cgi?id=309901

To make the the solution i applied at my installation short:

copy
  /usr/portage/net-print/cups/files/pdftops-1.20.gentoo

to
  /usr/libexec/cups/filter/pdftops

After that restart cupsd.

According to the bug report this seems to work is the package poppler is 
also installed - which the case at my installation.

Hope that helps.

regards
  Petric



Re: [gentoo-user] Icons at startup of a KDE session

2010-08-11 Thread Petric Frank
Hello,

On Wednesday, 11. August 2010 07:15:13 Stéphane Guedon wrote:
   i've installed Gentoo and KDE 4.4 on an AMD64 system, configured
   /etc/conf.d/xdm to start kdm as login server.
  
  To be clear - it is not an 64 Bit OS, it is still x86.
  
   After login the KDE4 desktop starts up - a little box with at least 5
   or 6 icons in it where one after the other icon displays blurred and
   then comes clear (Disk, Tools, World, ...).
   This process stops at the fourth icon (after the world icon) which
   remains blurred. At this stage the PC simply hangs - no ssh, no
   VT-switch, nothing.
   
   So my first question is - what stage the fourth icon stands for. And
   where to look for the issue.
   
   After a reboot to the command line i viewed the logs
   (/var/log/messages, /var/log/Xorg.0.log) but nothing looks suspicious.
   The last line in
   
   /var/log/messages reads:
 timestamp hostname kdm: 0:[pid]: pam_unix(kde:session): session
   
   opened for  ...
   
   The user was newly created using useradd -m -g ...). There was no
   .kde4 directory in his home directory.
  
  Usually i add new users also to the plugdev group. As a test i removed
  the user from this group i got past the plash screen. Now the normal
  screen came up.
  
  So it seems that the problem has something to do with the plugging
  system.
  
  At which places i should throw an eye ?
  
 
 first of all, do you have some disk space in your $HOME ?

Yes. There is at least 5 GBytes free.

 kde won't start until it have some space ...

It is starting if the user is not member of the group plugdev.

I thought - ok, if not plugdev then use policykit. I enabled this use-flag and 
re-build everything marked by this flag (emerge -uDN world).
But this does not help. I'm back to not being able to log in. :-(

regards
  Petric



Re: [gentoo-user] Icons at startup of a KDE session

2010-08-11 Thread Petric Frank
Hello,

On Wednesday, 11. August 2010 10:59:33 Alex Schuster wrote:
 Petric Frank writes:
  All hints are welcome.
 
 I had weird effects when I had forgotten to set the sticky bit on /tmp.

That is a rather new direction. I never checked this.

 ls wo...@weird ~ $ ls -ld /tmp
 drwxrwxrwt 16 root root 4096 11. Aug 10:48 /tmp

same here - sticky bit set

 If this  ^ t is missing, do a chmod +t /tmp, and try again.

It is there.

regards
  Petric





[gentoo-user] Icons at startup of a KDE session

2010-08-10 Thread Petric Frank
Hello,

i've installed Gentoo and KDE 4.4 on an AMD64 system, configured 
/etc/conf.d/xdm to start kdm as login server.

After login the KDE4 desktop starts up - a little box with at least 5 or 6 
icons in it where one after the other icon displays blurred and then comes 
clear (Disk, Tools, World, ...).
This process stops at the fourth icon (after the world icon) which remains 
blurred. At this stage the PC simply hangs - no ssh, no VT-switch, nothing.

So my first question is - what stage the fourth icon stands for. And where to 
look for the issue.

After a reboot to the command line i viewed the logs (/var/log/messages, 
/var/log/Xorg.0.log) but nothing looks suspicious. The last line in 
/var/log/messages reads:
  timestamp hostname kdm: 0:[pid]: pam_unix(kde:session): session opened 
for  ...

The user was newly created using useradd -m -g ...). There was no .kde4 
directory in his home directory.

Other window managers (fluxbox) don't show this problem.

Kernel is gentoo-sources-2.6.34-r1. All components are from the stable tree.

This may not be an gentoo problem.

All hints are welcome.

regards
  Petric





Re: [gentoo-user] Icons at startup of a KDE session

2010-08-10 Thread Petric Frank
Hello,

On Tuesday, 10. August 2010 20:26:29 Petric Frank wrote:
 i've installed Gentoo and KDE 4.4 on an AMD64 system, configured
 /etc/conf.d/xdm to start kdm as login server.

To be clear - it is not an 64 Bit OS, it is still x86.

 After login the KDE4 desktop starts up - a little box with at least 5 or 6
 icons in it where one after the other icon displays blurred and then comes
 clear (Disk, Tools, World, ...).
 This process stops at the fourth icon (after the world icon) which remains
 blurred. At this stage the PC simply hangs - no ssh, no VT-switch, nothing.
 
 So my first question is - what stage the fourth icon stands for. And where
 to look for the issue.
 
 After a reboot to the command line i viewed the logs (/var/log/messages,
 /var/log/Xorg.0.log) but nothing looks suspicious. The last line in
 /var/log/messages reads:
   timestamp hostname kdm: 0:[pid]: pam_unix(kde:session): session
 opened for  ...
 
 The user was newly created using useradd -m -g ...). There was no .kde4
 directory in his home directory.

Usually i add new users also to the plugdev group. As a test i removed the 
user from this group i got past the plash screen. Now the normal screen came 
up.

So it seems that the problem has something to do with the plugging system.

At which places i should throw an eye ?

regards
  Petric



[gentoo-user] Layman, Git, ... and Http-Proxies

2010-05-20 Thread Petric Frank
Hello,

i tried to use layman (current stable version). The problem ist that i sit 
behind a proxy server which covers the http(s) protocol only. All other ports 
are closed.

In the config file of layman (/etc/layman/...) i entered the proxy server and 
the listening port. Then layman was able to get the list of overlays.

But if i want to get an overlay (here: x11 overlay) it starts git to get it. 
After a while git aborts with a timeout. It seems that git does not take the 
proxy info layman has into account.

Tried also to export the proxy:
  export http_proxy=proxy-server:proxy-port
or
  export http_proxy=http://proxy-server:proxy-port

before executing
  layman -a x11

but this didn't help.

How to overcome the problem ?

Does layman pass the proxy info to the executed sub-programs (i.e. cvs, 
subversion, git, ...) ?
(it not that may be an enchancement)

regards
  Petric



Re: [gentoo-user] weird portage warning

2010-05-02 Thread Petric Frank
Hello,

Am Sonntag 02 Mai 2010 08:56:29 schrieb Volker Armin Hemmann:
 On Sonntag 02 Mai 2010, Philip Webb wrote:
  For the past few weeks, I have noticed the following bizarre msg :
 
root:503 ~ emerge -Dup world
These are the packages that would be merged, in order:
Calculating dependencies |
* Please fix your ebuild to not inherit the deprecated qt3.eclass
* Please fix your ebuild to not inherit the deprecated qt3.eclass
* Please fix your ebuild to not inherit the deprecated qt3.eclass
... done!
 
  Yes, I have the KDE 3 overlay installed,
  but even so how can a mere user be expected to fix an ebuild,
  whatever that may mean anyway.  Can anyone enlighten me
  as to the cause /or purpose of these repeated msgs ?
 
 the cause: the qt3.eclass is deprecated (because qt3 and everything
  depending on it is 'dead'). The ebuilds use this eclass, portage warns
  about it. There is nothing you can do about it.

But there should a note *which* ebuild have to be fixed, right ?

regards



Re: [gentoo-user] Re: best circuit drawing software

2008-03-01 Thread Petric Frank
Hello Maxim,

On Samstag, 1. März 2008, Grant Edwards wrote:
 On 2008-03-01, maxim wexler [EMAIL PROTECTED] wrote:
  Hi group,
 
  I need to post some drawings of a circuit I'm working
  on to an electronics group.
 
  Nothing too elaborate, just sketches really, but with
  the proper symbology.

 Along with the other suggestions, there's Eagle, but it might
 be a bit of overkill.

There is gEDA (http://geda.seul.org). Maybe it solves your needs.

regards
  Petric
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] USB serial adapter not working

2007-06-08 Thread Petric Frank
Hello,

i own a USB docking station which also contains a serial connector.

The host will do USB 2.0 (kernel module ehci-hcd) and detects the PL2303 
serial port properly. It loads the appropiate kernel module, but at the end 
it fails somehow with the following message:
 cut 
pl2303 ttyUSB0: pl2303_open - failed submitting interrupt urb, error -28
 cut 

As result the device /dev/ttyUSB0 is allocated by udev, but not working.

After some tests i got a work around. I have to unload the kernel module 
ehci-hcd. Due uhci-hcd remains loaded the device works in USB 1.1 mode. Here 
the serial port works properly.

Is there a fix the keep me from unloading the kernel module every time i want 
to use the serial port ?
For example by directing the system to always bind the serial port to uhci-hcd 
(USB 1.1). Or better by a fix for ehci-hcd/pl2303 kernel.

My system is Gentoo 2007.0, i386 and x86_64.

lsusb tells (limited to the docking station):
 cut 
Bus 005 Device 009: ID 067b: Prolific Technology, Inc. PL2301 USB-USB 
Bridge
Bus 005 Device 006: ID 067b:2305 Prolific Technology, Inc. PL2305 Parallel 
Port
Bus 005 Device 008: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 005 Device 007: ID 0d3d:0001 Tangtop Technology Co., Ltd
Bus 005 Device 005: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub
Bus 005 Device 004: ID 1631:6200
Bus 005 Device 003: ID 0409:0058 NEC Corp. HighSpeed Hub
 cut 

regards
  Petric
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] gentoo-sources-2.6.21 and CONFIG_SOFTWARE_SUSPEND

2007-05-19 Thread Petric Frank
Hello Alex,

On Saturday 19 May 2007 12:21, Alex Fansky wrote:
 [EMAIL PROTECTED] linux-2.6.21-gentoo % pwd
 /usr/src/linux-2.6.21-gentoo
 [EMAIL PROTECTED] linux-2.6.21-gentoo % cat .config |grep
 CONFIG_SOFTWARE_SUSPEND [EMAIL PROTECTED] linux-2.6.21-gentoo %

 Is it normal? I know that swsup2 patches are in the suspend-sources kernel.
 But according to the documentation software suspend v1 should be supported
 in the gentoo-sources.

Using gentoo-sources i got the same problem. You are using SMP, right ?
Then you have to enable CONFIG_HOTPLUG_CPU to get CONFIG_SOFTWARE_SUSPEND 
selectable.

It took me some digging that those two are dependend when doing SMP.

regards
   Petric
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] gentoo-sources-2.6.21 and CONFIG_SOFTWARE_SUSPEND

2007-05-19 Thread Petric Frank
Hello Neil,

On Saturday 19 May 2007 16:40, Neil Bothwick wrote:
 On Sat, 19 May 2007 13:16:56 +0200, Petric Frank wrote:
  Using gentoo-sources i got the same problem. You are using SMP, right ?
  Then you have to enable CONFIG_HOTPLUG_CPU to get
  CONFIG_SOFTWARE_SUSPEND selectable.
 
  It took me some digging that those two are dependend when doing SMP.

 It's not that hard to find

 make menuconfig
 /suspend

 Symbol: SOFTWARE_SUSPEND [=n]
   Prompt: Software Suspend
 Defined at kernel/power/Kconfig:80
 Depends on: PM  SWAP  (X86  (!SMP || SUSPEND_SMP) || (FRV ||
 PPC32)  !SMP) Location:
   - Power management options
 - Power Management support (PM [=y])

  :)

So - can you show me the link to CONFIG_HOTPLUG_CPU here ?

It's not in the rule above. First i tried to find SUSPEND_SMP, but no chance.

regards
  Petric
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Anybody got OS/2 working under linux?

2006-11-12 Thread Petric Frank
Hello,

On Sunday 12 November 2006 07:03, Walter Dnes wrote:
 On Sat, Nov 11, 2006 at 09:00:09AM +0100, Petric Frank wrote

  I made a test install on a VMware Server installation (Host: AMD64 +
  Gentoo 2006.1). I created a VM (OS type other). Then i exit the console,
  changed in the *.vmx file the key guestOS to guestOS=os2experimental
  and start the installation of OS/2 Warp 4 (german) from CD. Somewhere in
  between i got two SYS... messages. After a reboot the install completes
  and seems to be ok now.

   Before I go ahead, a few more questions...

   1) I have to allow a couple of ~x86 packages in package.keywords
 first (yes, I did an emerge --sync).  Is this expected?
 =app-emulation/vmware-server-1.0.1.29996-r4 ~x86
 =app-emulation/vmware-modules-1.0.0.15-r1 ~x86

Same to me (except the version numbers, it's running - so why upgrading). I 
have the package vmware-server-console also installed. This is needed to get 
the mnagement tool (i.e. the window like vmware workstation).

   2) I notice that sys-libs/pam is loaded as a dependancy.  I don't mind
 the file sitting there, being used by vmware.  Does it just affect
 vmware?  If pam kicks in for other programs, it's a showstopper for me.

VMware server is a two-part application. A user interface (vmware server 
console) and the daemon (vmware server). They are communicating via the 
network. As i see it there must be an user authentication and this is done 
via pam.
As feature you get now the ability to run the console on an other machine 
(which don't need much resources). This may be a Win or Linux PC.

 [m3000][root][~] emerge --ask vmware-server

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

 Calculating dependencies... done!
 [ebuild  N] app-emulation/vmware-modules-1.0.0.15-r1
 [ebuild  N] sys-apps/xinetd-2.3.14  USE=-perl -tcpd
 [ebuild  N] sys-libs/pam-0.78-r3  USE=-berkdb -nis -pam_chroot
 -pam_console -pam_timestamp -pwdb (-selinux)
 [ebuild  N] app-emulation/vmware-server-1.0.1.29996-r4

 Would you like to merge these packages? [Yes/No] no

xinetd needed for the network communication, pam for the authentication.

If you want to get the frontend (User I/O) you need to install 
vmware-server-console also.

   3) My current OS/2 machine is an old PII with a 3.2 gig harddrive.
 Can I short-circuit the install by copying the working OS/2 system to
 an empty VM?  Think of it as a stage 3 install for OS/2 g.

Maybe, but you have to take care at least on the display driver. Here actually 
i have standard VGA 640x480 - if you get a better resolution let be know how.

regards
Petric
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Anybody got OS/2 working under linux?

2006-11-11 Thread Petric Frank
Hello,

On Saturday 11 November 2006 01:26, Thierry de Coulon wrote:
 On Thursday 09 November 2006 21:25, Alan wrote:
  I'm not sure I tried to install OS/2 under VMWare a while back and
  at the time VMWare didn't support OS/2 (something about the memory
  management or something).  Not sure if this has changed in the 5.x
  series or not, but it's something to check.

 No, VMWare does not support OS/2 (a beta version did, but they stopped the
 development long ago). However, Parallels does, and it's a lot less
 expensive. I have eComStation working in a Parallels VM here.

I made a test install on a VMware Server installation (Host: AMD64 + Gentoo 
2006.1). I created a VM (OS type other). Then i exit the console, changed in 
the *.vmx file the key guestOS to guestOS=os2experimental and start the 
installation of OS/2 Warp 4 (german) from CD. Somewhere in between i got two 
SYS... messages. After a reboot the install completes and seems to be ok now.

Hope that helps.

regards
   Petric
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] VMWare Server beta on Gentoo

2006-05-21 Thread Petric Frank
Hello James,

On Sunday 21 May 2006 03:38, James Colby wrote:
 Does anyone on the list have any experience with installing
 vmware-server on a gentoo box.  I followed the directions found at
 http://diaryproducts.net/about/operating_systems/unix/installing_vmware_ser
ver_on_gentoo_linux_part_2 but I can't get the vmware service to start.  Any
 help or suggestions any one might have would be greatly appreciated.

Get the ebuilds via svn as written at
  http://bugs.gentoo.org/show_bug.cgi?id=122500#123

I installed it on a AMD64 in 32 and 64 Bit mode.

One thing i had to do is to re-emerge vmware-modules after vmware-server.

regards
   Petric
-- 
gentoo-user@gentoo.org mailing list