Re: [gentoo-user] revdep-rebuild problem

2012-08-19 Thread Neil Bothwick
On Sun, 19 Aug 2012 03:02:38 +0200, Volker Armin Hemmann wrote:

   please enlighten me which update breaks a system. Can't remember
   one. Hm, back with libssco maybe?  
  
  jpeg-7, expat2   
 
 both broke world, not system. 

expat broke system here, but that is ancient history from which lessons
appear to have been learned.


-- 
Neil Bothwick

If bankers can count, how come they have eight windows and only four
tellers?


signature.asc
Description: PGP signature


[gentoo-user] vmware-tools and revdep-rebuild

2012-08-19 Thread Matthias Hanft

Hello,

after upgrading the kernel on a Gentoo machine which is a VMWare guest,
I also upgraded vmware-tools (this means, emerge the package, mount the
.iso with -o loop, and run ./INSTALL).

Basically, no problem as usual, but now revdep-rebuild complains about
some files which were installed by vmware-tools:

--- cut ---

 *  !!! /usr/lib/vmware-tools/bin32/gksu not owned by any package is broken !!!
 *   /usr/lib/vmware-tools/bin32/gksu - (none)
 *  !!! /usr/lib/vmware-tools/lib32/libconf/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so not 
owned by any package is broken !!!

 *   
/usr/lib/vmware-tools/lib32/libconf/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so 
- (none)
 *  !!! /usr/lib/vmware-tools/lib32/libconf/gtk-2.0/2.10.0/loaders/libpixbufloader-tiff.so not 
owned by any package is broken !!!

 *   
/usr/lib/vmware-tools/lib32/libconf/gtk-2.0/2.10.0/loaders/libpixbufloader-tiff.so 
- (none)
 *  !!! /usr/lib/vmware-tools/lib32/libconf/gtk-2.0/modules/libatk-bridge.so not owned by any 
package is broken !!!

 *   /usr/lib/vmware-tools/lib32/libconf/gtk-2.0/modules/libatk-bridge.so - 
(none)
 *  !!! /usr/lib/vmware-tools/lib32/libgksu2.so.0/libgksu2.so.0 not owned by 
any package is broken !!!
 *   /usr/lib/vmware-tools/lib32/libgksu2.so.0/libgksu2.so.0 - (none)
 *  !!! /usr/lib/vmware-tools/lib32/libspi.so.0/libspi.so.0 not owned by any 
package is broken !!!
 *   /usr/lib/vmware-tools/lib32/libspi.so.0/libspi.so.0 - (none)
 *  !!! /usr/lib/vmware-tools/lib32/libvmware-toolbox.so/libvmware-toolbox.so not owned by any 
package is broken !!!

 *   /usr/lib/vmware-tools/lib32/libvmware-toolbox.so/libvmware-toolbox.so - 
(none)
 *  !!! /usr/lib/vmware-tools/plugins32/vmusr/libdesktopEvents.so not owned by any package is 
broken !!!

 *   /usr/lib/vmware-tools/plugins32/vmusr/libdesktopEvents.so - (none)
 *  !!! /usr/lib/vmware-tools/plugins32/vmusr/libdndcp.so not owned by any 
package is broken !!!
 *   /usr/lib/vmware-tools/plugins32/vmusr/libdndcp.so - (none)
 *  !!! /usr/lib/vmware-tools/plugins32/vmusr/libresolutionSet.so not owned by any package is 
broken !!!

 *   /usr/lib/vmware-tools/plugins32/vmusr/libresolutionSet.so - (none)
 *  !!! /usr/lib/vmware-tools/plugins32/vmusr/libunity.so not owned by any 
package is broken !!!
 *   /usr/lib/vmware-tools/plugins32/vmusr/libunity.so - (none)

--- cut ---

Seems that most of the files are intended for some graphical desktops (which
are not needed here but are installed by vmware-tools anyway).

Can I somehow get rid of those messages (apart from just deleting those unneeded
libraries which may break other things)? I already tried some configuration with
LD_LIBRARY_MASK, but to no avail.

Thanks,

-Matt




Re: [gentoo-user] vmware-tools and revdep-rebuild

2012-08-19 Thread Alan McKinnon
On Sun, 19 Aug 2012 10:35:47 +0200
Matthias Hanft m...@hanft.de wrote:

 Hello,
 
 after upgrading the kernel on a Gentoo machine which is a VMWare
 guest, I also upgraded vmware-tools (this means, emerge the package,
 mount the .iso with -o loop, and run ./INSTALL).
 
 Basically, no problem as usual, but now revdep-rebuild complains about
 some files which were installed by vmware-tools:
 
 --- cut ---
 
   *  !!! /usr/lib/vmware-tools/bin32/gksu not owned by any package is
 broken !!!
   *   /usr/lib/vmware-tools/bin32/gksu - (none)
   *  !!! 
 /usr/lib/vmware-tools/lib32/libconf/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
 not owned by any package is broken !!!
   *   
 /usr/lib/vmware-tools/lib32/libconf/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
 - (none)
   *  !!! 
 /usr/lib/vmware-tools/lib32/libconf/gtk-2.0/2.10.0/loaders/libpixbufloader-tiff.so
 not owned by any package is broken !!!
   *   
 /usr/lib/vmware-tools/lib32/libconf/gtk-2.0/2.10.0/loaders/libpixbufloader-tiff.so
 - (none)
   *  !!! /usr/lib/vmware-tools/lib32/libconf/gtk-2.0/modules/libatk-bridge.so
 not owned by any package is broken !!!
   *   /usr/lib/vmware-tools/lib32/libconf/gtk-2.0/modules/libatk-bridge.so
 - (none)
   *  !!! /usr/lib/vmware-tools/lib32/libgksu2.so.0/libgksu2.so.0 not
 owned by any package is broken !!!
   *   /usr/lib/vmware-tools/lib32/libgksu2.so.0/libgksu2.so.0 -
 (none)
   *  !!! /usr/lib/vmware-tools/lib32/libspi.so.0/libspi.so.0 not
 owned by any package is broken !!!
   *   /usr/lib/vmware-tools/lib32/libspi.so.0/libspi.so.0 - (none)
   *  !!! /usr/lib/vmware-tools/lib32/libvmware-toolbox.so/libvmware-toolbox.so
 not owned by any package is broken !!!
   *   /usr/lib/vmware-tools/lib32/libvmware-toolbox.so/libvmware-toolbox.so
 - (none)
   *  !!! /usr/lib/vmware-tools/plugins32/vmusr/libdesktopEvents.so
 not owned by any package is broken !!!
   *   /usr/lib/vmware-tools/plugins32/vmusr/libdesktopEvents.so -
 (none)
   *  !!! /usr/lib/vmware-tools/plugins32/vmusr/libdndcp.so not owned
 by any package is broken !!!
   *   /usr/lib/vmware-tools/plugins32/vmusr/libdndcp.so - (none)
   *  !!! /usr/lib/vmware-tools/plugins32/vmusr/libresolutionSet.so
 not owned by any package is broken !!!
   *   /usr/lib/vmware-tools/plugins32/vmusr/libresolutionSet.so -
 (none)
   *  !!! /usr/lib/vmware-tools/plugins32/vmusr/libunity.so not owned
 by any package is broken !!!
   *   /usr/lib/vmware-tools/plugins32/vmusr/libunity.so - (none)
 
 --- cut ---
 
 Seems that most of the files are intended for some graphical desktops
 (which are not needed here but are installed by vmware-tools anyway).
 
 Can I somehow get rid of those messages (apart from just deleting
 those unneeded libraries which may break other things)? I already
 tried some configuration with LD_LIBRARY_MASK, but to no avail.

You want SEARCH_DIRS and SERACH_DIRS_MASK entires
in /etc/revdep-rebuild.

man rebdep-rebuild for details




-- 
Alan McKinnon
alan.mckin...@gmail.com




[gentoo-user] Invalid module format

2012-08-19 Thread Tamer Higazi
Hi people!
I have installed through the freeswitch overlay, the wanpipe package.
What I figure out, that If I modprobe a driver, I recevie this error:
Invalid module format

here is the output:

tamer@office ~ $ sudo modprobe wanpipe
Passwort:
WARNING: Deprecated config file /etc/modprobe.conf, all config files
belong into /etc/modprobe.d/.
WARNING: Error inserting wanrouter
(/lib/modules/3.3.8-gentoo/kernel/net/wanrouter/wanrouter.ko): Invalid
module format
FATAL: Error inserting wanpipe
(/lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanpipe.ko): Invalid
module format



What does it have to mean? I am not getting smart.


For any help, I would thank you a lot.



Tamer



Re: [gentoo-user] vmware-tools and revdep-rebuild

2012-08-19 Thread Neil Bothwick
On Sun, 19 Aug 2012 14:57:37 +0200, Alan McKinnon wrote:

 man rebdep-rebuild for details

That's a bad cold you've got, Alan ;-)


-- 
Neil Bothwick

.-Stealth Tagline


signature.asc
Description: PGP signature


[gentoo-user] Re: How can I bring back Konqueror as my man page viewer?

2012-08-19 Thread »Q«
On Sun, 19 Aug 2012 04:48:19 +0300
Nikos Chantziaras rea...@gmail.com wrote:

 On 19/08/12 04:30, »Q« wrote:
  On Sat, 18 Aug 2012 18:10:01 +0300
  Nikos Chantziaras rea...@gmail.com wrote:
 
  On 18/08/12 17:41, Volker Armin Hemmann wrote:
  Am Samstag, 18. August 2012, 03:51:55 schrieb Nikos Chantziaras:
  In KDE, I'm very used to simply type man:foo and have the man
  page of foo pop up immediately in Konqueror without having to
  open a terminal or anything.
 
  However, since I installed Chromium and making it my default
  browser, now man: brings up Chromium instead.  That doesn't
  work; instead of displaying the man page, it downloads the *.bz2
  from the local file system :-/
 
  How can I set Konqueror to be the program that handles KDE's
  man: command?
 
  open system-settings. Open mime/applications/whatever submenu
  (called 'Dateizuordnungen' in German).
 
  application-xtroff-man
  and
  application-xtroff-man-compressed
 
  should be the things you have to set. Click on 'embedded' and
  choose KManPart
 
  And that it is always shown in the embedded part.
 
  We are talking about KDE here - not gnome. It should not be
  necessary to fiddle with desktop files.
 
  This is already set up that way.  Except that
  x-troff-man-compressed is grayed out because there's no file
  extension listed.
 
  It's not greyed for me, and I just set both up that way, but KDE is
  still opening man:foo with my default web browser, Firefox.  KDE is
  putting a decompressed copy in /var/tmp/kdecache-${username}/krun/
  and Firefox displays it ok, but I'd much rather be seeing it in
  Konqueror.
 
 It only displays it here if there's no selection page (POSIX vs Linux 
 version of the man page; for example, man:longjmp).

Ah, I see what you mean.  It's the same here.





[gentoo-user] rubinius fails to emerge with error about llvm-config

2012-08-19 Thread covici
Hi.  In my update world of today, the system wanted to emerge rubinius
-- for reasons known only to itself -- however it fails to emerge during
its config phase with the following output:

Configuring LLVM...
  Checking for existing LLVM tree: not found.
  Checking for 'llvm-config': Unrecognized character \x7F; marked by --
  HERE after -- HERE near column 1 at /usr/bin/llvm-config line 1.
./configure:554:in `%': too few arguments (ArgumentError)
from ./configure:554:in `setup_config'
from ./configure:536:in `setup_auto'
from ./configure:747:in `process'
from ./configure:965:in `run'
from ./configure:1057
 * ERROR: dev-lang/rubinius-1.2.4.20110705 failed (configure phase):
 *   Configure failed
 
Now indeed, llvm-config does have that character at the beginning,
because its a program!  I re-emerged llvm, with the same results.  


Any suggestions would be appreciated.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] My PC died. What should I try?

2012-08-19 Thread Alex Schuster

Dale spent two cents:


Just my two cents here.  Problems like this are usually the power
supply.  Could it be the mobo, yes it could but the power supply is more
likely, usually cheaper to replace and easier to.  I had a friends puter
that was acting weird, random reboots and such, it was the power
supply.   A bad power supply can cause all sorts of weird problems.


Indeed. Well, so can bad capacitors or a hair crack on a motherboard, 
but those are rare I tink.



If you can, unplug everything including the CD/DVD drive.  No hard
drives either.  Just play with the BIOS.  Basically, don't try to boot
anything, just look at the BIOS itself.  If it acts weird, start with
the power supply.  If you have to, go to a local place and pick up a
cheap power supply.


I got three from a friend that once were mine, and I know that at least 
one of them is definitely working. But the effect was the same.




Random problems are hard to fix sometimes.  You just have to swap things
until you find the bad part.  I would put the odds at 80% that it is the
power supply tho.


I hoped so, as I do not have board or CPU to swap.


While at it, do you know what brand and the wattage of your power
supply?  It could be that someone on here as experience with that
particular brand or even that exact model.


I could look it up, but then, it's not new, and was one of the few parts 
that survived a major hardware failure half a year ago. Maybe it got 
damaged a little aready then. It seemed to work fine, so I kept using 
it. These things are not cheap, as I tend to buy quality ones that are 
silend and efficient.


I'll get a new board tomorrow, and hope I will have all back working 
soon. I'm very used to my desktop PC. I have a notebook that is way 
faster, but it's new and I don't have all my stuff on it yet. Oh, and it 
runs Windows 7... I'm not sure yet if I will a Gentoo VM, or if I will 
install Gentoo natively and run Windows in the VM. The best would be the 
option to have both, I think I read an article on how this could be 
accomplished. With Gentoo it's not much of a problem, I did that 
already, but Windows will need some tweaking. And I do not have much 
time for this these days.


Wonko



[gentoo-user] mod_qos x mod_security x mod_evasive

2012-08-19 Thread Alexandre Riveira

Hi,

What better module for prevent DOS Attack, mod_qos, mod_security or 
mod_evasive


Tank's for all gentoo users.


Alexandre Riveira
Object Data



Re: [gentoo-user] Invalid module format

2012-08-19 Thread covici
Tamer Higazi th9...@googlemail.com wrote:

 Hi people!
 I have installed through the freeswitch overlay, the wanpipe package.
 What I figure out, that If I modprobe a driver, I recevie this error:
 Invalid module format
 
 here is the output:
 
 tamer@office ~ $ sudo modprobe wanpipe
 Passwort:
 WARNING: Deprecated config file /etc/modprobe.conf, all config files
 belong into /etc/modprobe.d/.
 WARNING: Error inserting wanrouter
 (/lib/modules/3.3.8-gentoo/kernel/net/wanrouter/wanrouter.ko): Invalid
 module format
 FATAL: Error inserting wanpipe
 (/lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanpipe.ko): Invalid
 module format
 
 
 
 What does it have to mean? I am not getting smart.

Usually, it means you have compiled a module which is not the same
version as your running kernel -- make sure your /usr/src/linux is set
correctly.

Hope this helps.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] vmware-tools and revdep-rebuild

2012-08-19 Thread Alan McKinnon
On Sun, 19 Aug 2012 19:33:24 +0100
Neil Bothwick n...@digimed.co.uk wrote:

 On Sun, 19 Aug 2012 14:57:37 +0200, Alan McKinnon wrote:
 
  man rebdep-rebuild for details
 
 That's a bad cold you've got, Alan ;-)
 
 

Oh dear, yet another typo.

At this rate, I'll be losing my grammar-nazi rights very very shortly
indeed.

It's been a hard day, I now know two things:

1. XBMC will not run on the raspberrypi for any sane definition of
run

2. A dead Dell XPS with a heat stressed nVidia graphics can be
resurrected with 10 minutes in the wife's hot oven

What does this have to do with Gentoo? Nothing really, except that my
xbmc dev system runs on this gentoo laptop :-)


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] revdep-rebuild problem

2012-08-19 Thread Reinhard Kotucha
On 2012-08-19 at 01:02:24 +0200, Volker Armin Hemmann wrote:

  Am Sonntag, 19. August 2012, 00:37:36 schrieb Reinhard Kotucha:
   Hi,
   I'm using Gentoo for a couple of years and am quite amazed how good it
   works.  So thanks to all involved in its develpoment.
   
   However, after today's update, when I run revdep-rebuild, I get the
   message
   
* Checking dynamic linking consistency
*   broken /usr/lib64/libogrove.la (requires -lstdc++)
*   broken /usr/lib64/libospgrove.la (requires -lstdc++)
*   broken /usr/lib64/libostyle.la (requires -lstdc++)
  
  so, find out which package these three belong to - and remove them.

Ok, will do.

  emerge --update --pretend
  
  why pretend?

Because whenever I see that there is an Xorg update, I nowadays make a
full backup before I do the actual update.

   On the other hand it happpened several times that *after* an update
   I've been told that my system is completely broken and will not
   re-boot unless I compile a new kernel. 
  
  really? never saw that. Only with xorg-drivers after a xorg-server
  update.

Presumably because you already were using a newer kernel.  It was the
kernel version number what mattered, not the configuration.

   It would be nice if I can be warned *before* I run emerge without
   the --pretend option.  Then I could postpone the update to the
   next weekend, when I have more time.
  
  so you want portage to read every single ebuild, making the
  operation A LOT longer? I am sorry but I am not willing to waste so
  much time.

Maybe a news item would be sufficient.

   My propsal is to add a warning similar to that I get when portage
   updates are available, so that users know in advance that a
   particular update will break the system.
  
  please enlighten me which update breaks a system. Can't remember
  one. Hm, back with libssco maybe?

Last time it happened after an udev update.  After the update I've
been told that my kernel was too old.  If I have to build a new kernel
the next day, I can only hope that there is no power failure
meanwhile and would rather postpone the update.

Regards,
  Reinhard

-- 

Reinhard Kotucha  Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover  mailto:reinhard.kotu...@web.de

Microsoft isn't the answer. Microsoft is the question, and the answer is NO.




Re: [gentoo-user] What's the current state of Arduino on Gentoo?

2012-08-19 Thread Matthew Marlowe
On Sat, Aug 18, 2012 at 7:50 PM, Michael Mol mike...@gmail.com wrote:
 I know (through simple discovery) that I can't simply emerge arduino
 and expect things to work. I know, because they don't

I built an arduino dev environment on gentoo not too long ago, and the
only real complication was finding a the right combination of cross
compiled libc/gcc/other libs that the arduino was happy with.  When
not compiling for the arduino, I also have an arduino powered makerbot
3d printer which sometimes benefits from the standard arduino tools
and which works perfectly with gentoo.

What issues are you having?

There is a very helpful arduino channel on freenode irc that could
probably help you solve most issues.

In any case, I have the following installed here:

hyperion replicatorg # eix sys-devel/crossdev
[I] sys-devel/crossdev
 Available versions:  20100814 20101011 20110310 20110705 20110819
~20111011 20111018 2018 20111221 ~20120214 ~20120227 ~20120228
~20120229 ~20120301 20120305 ~20120529 20120531 ~20120721 **
 Installed versions:  20120531(20:17:58 07/21/12)
[I] cross-avr/avr-libc [1]
 Available versions:  1.6.2 (~)1.6.4 (~)1.6.8 (~)1.7.0 (~)1.7.1
[m]1.8.0 {crosscompile_opts_headers-only doc nls}
 Installed versions:  1.7.1(20:01:13 03/07/12)(doc
-crosscompile_opts_headers-only)
[U] cross-avr/gcc [1]
 Available versions:
(avr-2.95)  (*)2.95.3-r9
(2.95)  (~*)2.95.3-r10!s
(3.1)   (*)3.1.1-r2
(3.2)   (**)3.2.2!s (*)3.2.3-r4
(3.3)   (~)3.3.6-r1!s
(3.4)   3.4.6-r2!s
(4.0)   (~*)4.0.4!s
(4.1)   4.1.2!s
(4.2)   (~)4.2.4-r1!s
(4.3)   (~)4.3.3-r2!s 4.3.4!s (~)4.3.5!s 4.3.6-r1!s
(4.4)   (~)4.4.2!s (~)4.4.3-r3!s 4.4.4-r2!s 4.4.5!s 4.4.6-r1!s
(~)4.4.7!s
(4.5)   (~)4.5.1-r1!s (~)4.5.2!s 4.5.3-r2!s (~)4.5.4!s
(4.6)   (~)4.6.0!s (~)4.6.1-r1!s (~)4.6.2!s [m](~)4.6.3!s
(4.7)   [m](**)4.7.0!s [m](**)4.7.1!s
{altivec bootstrap boundschecking build cxx d doc fixed-point
fortran gcj go graphite gtk hardened ip28 ip32r10k java libssp lto
mudflap multilib multislot n32 n64 nls nocxx nopie nossp nptl objc
objc++ objc-gc openmp static test vanilla}
 Installed versions:  4.5.3-r2(4.5)!s(20:21:55 03/07/12)(cxx doc
multilib nls nptl openmp -altivec -bootstrap -build -fixed-point
-fortran -gcj -graphite -gtk -hardened -libssp -lto -mudflap
-multislot -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla)
4.6.2(4.6)!s(21:47:51 03/07/12)(cxx doc multilib nls nptl openmp
-altivec -bootstrap -build -fixed-point -fortran -gcj -go -graphite
-gtk -hardened -libssp -mudflap -multislot -nocxx -nopie -nossp -objc
-objc++ -objc-gc -test -vanilla)



[gentoo-user] Should I install pulseaudio to solve my phonon audio problems?

2012-08-19 Thread João Matos
Hi list.

The KDE phonon can't work properly when I plug a USB audio card (like a
webcam with microphone) neither recognize my bluetooth headset.

When I used to try to use my webcam microphone, phonon got lost every time
I've reboot the system. It always asked me to forget the devices, as if
there were new sound cards every time the system rebooted. It also wasn't
able to decide which should be the default sound card. Sometimes it guessed
correctly, most the time not. Other problems: when kde had the control of a
device, none application outside kde were able to use it, as skype or
mplayer.

The solution I found then was to disable the support from my webcam's audio
card on kernel. Without the USB card support, my system get back to normal
behavior and I was able to use the webcam. Of course, it was kinda extreme.

So, I was wondering if use pulseaudio should fix it, but I'm not sure if it
can help. What do you think?

Any help will be appreciated.

thanks in advance,

-- 
João de Matos
Linux User #461527


Re: [gentoo-user] Should I install pulseaudio to solve my phonon audio problems?

2012-08-19 Thread Bill Kenworthy
If at all possible avoid it!

I installed it awhile back for similar reasons ... I needed a BT headset
that some programs could only use via pulse.

Since then (and currently) audio only seems to work sporadicly with
strange, and hard to trace problems - its reputation as a pita to work
with is well earned in my experience.

:(
BillK



On Sun, 2012-08-19 at 23:11 -0300, João Matos wrote:
 Hi list.
 
 The KDE phonon can't work properly when I plug a USB audio card (like
 a webcam with microphone) neither recognize my bluetooth headset.
 
 When I used to try to use my webcam microphone, phonon got lost every
 time I've reboot the system. It always asked me to forget the devices,
 as if there were new sound cards every time the system rebooted. It
 also wasn't able to decide which should be the default sound card.
 Sometimes it guessed correctly, most the time not. Other problems:
 when kde had the control of a device, none application outside kde
 were able to use it, as skype or mplayer.
 
 The solution I found then was to disable the support from my webcam's
 audio card on kernel. Without the USB card support, my system get back
 to normal behavior and I was able to use the webcam. Of course, it was
 kinda extreme.
 
 So, I was wondering if use pulseaudio should fix it, but I'm not sure
 if it can help. What do you think?
 
 Any help will be appreciated.
 
 thanks in advance,
 
 -- 
 João de Matos
 Linux User #461527
 





Re: [gentoo-user] Should I install pulseaudio to solve my phonon audio problems?

2012-08-19 Thread Canek Peláez Valdés
On Sun, Aug 19, 2012 at 9:11 PM, João Matos jaon...@gmail.com wrote:
 Hi list.

 The KDE phonon can't work properly when I plug a USB audio card (like a
 webcam with microphone) neither recognize my bluetooth headset.

 When I used to try to use my webcam microphone, phonon got lost every time
 I've reboot the system. It always asked me to forget the devices, as if
 there were new sound cards every time the system rebooted. It also wasn't
 able to decide which should be the default sound card. Sometimes it guessed
 correctly, most the time not. Other problems: when kde had the control of a
 device, none application outside kde were able to use it, as skype or
 mplayer.

 The solution I found then was to disable the support from my webcam's audio
 card on kernel. Without the USB card support, my system get back to normal
 behavior and I was able to use the webcam. Of course, it was kinda extreme.

 So, I was wondering if use pulseaudio should fix it, but I'm not sure if it
 can help. What do you think?

 Any help will be appreciated.

I've been using GNOME + PulseAudio since the later become stable in
Gentoo. Could not be more happy: my usecase is very similar to yours:
I have a BT headset, and a pair of USB speakers, which include a sound
card. With PulseAudio, the USB speakers works automagically; I don't
need to do anything, and I can change with a click where the audio
goes out, either the included speakers, or the USB ones. With the BT
headset I just need to pair it in the GNOME Bluetooth settings, and
it's the same, I can change where the audio streams go with one click,
and also set it per application.

I also use PA in my Media Center, and the audio quality is... pretty
much the same that without PA, but you get a lot of benefits.

Just take in mind that I use GNOME; I do not know how different (if at
all) it will be with KDE.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



[gentoo-user] SSH question

2012-08-19 Thread David Relson
G'day,

I've volunteered to do some data entry for my local bike club.  This
involves a java application (jar  file) and a tunnel to a mysql
server.  I have detailed PuTTY configuration instructions but haven't
yet succeeded in converting them to ssh options.

The configuration options include:

Seconds between keepalives -- 120
Don't start a shell or command
Forwarded port:
source port number - PORT
Destionation: MACHINE.DOMAIN.COM
Host - IP_Address
Login - userid
Password - pw

Using ssh -N userid@IP_Address gives me a password prompt and no
command prompt - both good.

How do I specify the forwarded port?

Thank you.

David



Re: [gentoo-user] SSH question

2012-08-19 Thread Canek Peláez Valdés
On Sun, Aug 19, 2012 at 10:31 PM, David Relson rel...@osagesoftware.com wrote:
 G'day,

 I've volunteered to do some data entry for my local bike club.  This
 involves a java application (jar  file) and a tunnel to a mysql
 server.  I have detailed PuTTY configuration instructions but haven't
 yet succeeded in converting them to ssh options.

 The configuration options include:

 Seconds between keepalives -- 120
 Don't start a shell or command
 Forwarded port:
 source port number - PORT
 Destionation: MACHINE.DOMAIN.COM
 Host - IP_Address
 Login - userid
 Password - pw

 Using ssh -N userid@IP_Address gives me a password prompt and no
 command prompt - both good.

 How do I specify the forwarded port?

If I understand correctly, with -L:

ssh -L XX:machine2:YY user@machine1

This command will connect you to the machine1 host with user user,
and any connection to the port XX to the machine you are running the
ssh command from, will redirect the connection to the machine2 host
in the YY port.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] Should I install pulseaudio to solve my phonon audio problems?

2012-08-19 Thread Michael Trausch
PA works well with stereo-only outputs. That's most users.

People such as myself, however, with 5.1 out, are perpetually disappointed
and/or frustrated by the lack of the systems ability to work reliably. I
constantly have problems playing music, because it reverts to stereo output
every time it is opened. It happens in all distributions that have PA, so
it isn't a bug in packaging or configuration, unless all distress and
upstream itself get it all wrong.
On Aug 19, 2012 11:24 PM, Canek Peláez Valdés can...@gmail.com wrote:

 On Sun, Aug 19, 2012 at 9:11 PM, João Matos jaon...@gmail.com wrote:
  Hi list.
 
  The KDE phonon can't work properly when I plug a USB audio card (like a
  webcam with microphone) neither recognize my bluetooth headset.
 
  When I used to try to use my webcam microphone, phonon got lost every
 time
  I've reboot the system. It always asked me to forget the devices, as if
  there were new sound cards every time the system rebooted. It also wasn't
  able to decide which should be the default sound card. Sometimes it
 guessed
  correctly, most the time not. Other problems: when kde had the control
 of a
  device, none application outside kde were able to use it, as skype or
  mplayer.
 
  The solution I found then was to disable the support from my webcam's
 audio
  card on kernel. Without the USB card support, my system get back to
 normal
  behavior and I was able to use the webcam. Of course, it was kinda
 extreme.
 
  So, I was wondering if use pulseaudio should fix it, but I'm not sure if
 it
  can help. What do you think?
 
  Any help will be appreciated.

 I've been using GNOME + PulseAudio since the later become stable in
 Gentoo. Could not be more happy: my usecase is very similar to yours:
 I have a BT headset, and a pair of USB speakers, which include a sound
 card. With PulseAudio, the USB speakers works automagically; I don't
 need to do anything, and I can change with a click where the audio
 goes out, either the included speakers, or the USB ones. With the BT
 headset I just need to pair it in the GNOME Bluetooth settings, and
 it's the same, I can change where the audio streams go with one click,
 and also set it per application.

 I also use PA in my Media Center, and the audio quality is... pretty
 much the same that without PA, but you get a lot of benefits.

 Just take in mind that I use GNOME; I do not know how different (if at
 all) it will be with KDE.

 Regards.
 --
 Canek Peláez Valdés
 Posgrado en Ciencia e Ingeniería de la Computación
 Universidad Nacional Autónoma de México




Re: [gentoo-user] Should I install pulseaudio to solve my phonon audio problems?

2012-08-19 Thread Canek Peláez Valdés
On Sun, Aug 19, 2012 at 11:10 PM, Michael Trausch m...@trausch.us wrote:
 PA works well with stereo-only outputs. That's most users.

 People such as myself, however, with 5.1 out, are perpetually disappointed
 and/or frustrated by the lack of the systems ability to work reliably. I
 constantly have problems playing music, because it reverts to stereo output
 every time it is opened. It happens in all distributions that have PA, so it
 isn't a bug in packaging or configuration, unless all distress and upstream
 itself get it all wrong.

Mmmh. Have you tried pactl list and checking the Active Profile:
in the card you are using? Then you can change it with (in my case):

pactl set-card-profile alsa_card.pci-_04_00.0
output:analog-surround-51+input:analog-stereo

Of course, if you are using GNOME, you can set it in System Settings
(see screenshot
https://plus.google.com/photos/115256116066287398549/albums/5778609034682831121).
Yes, I have two sound cards, and I still prefer my old SB Live!
exactly because it has 5.1 output. It have never reverted to stereo
for me. I got a 5.1 Logitech speakers, with one subwoofer and 5
satellites.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] Should I install pulseaudio to solve my phonon audio problems?

2012-08-19 Thread Michael Trausch
Yes.

I have to change it to 4.1 and then back to 5.1 after every song finishes
playing.

It has been that way ever since the first time I encountered it in Ubuntu
years back.
On Aug 20, 2012 12:43 AM, Canek Peláez Valdés can...@gmail.com wrote:

 On Sun, Aug 19, 2012 at 11:10 PM, Michael Trausch m...@trausch.us wrote:
  PA works well with stereo-only outputs. That's most users.
 
  People such as myself, however, with 5.1 out, are perpetually
 disappointed
  and/or frustrated by the lack of the systems ability to work reliably. I
  constantly have problems playing music, because it reverts to stereo
 output
  every time it is opened. It happens in all distributions that have PA,
 so it
  isn't a bug in packaging or configuration, unless all distress and
 upstream
  itself get it all wrong.

 Mmmh. Have you tried pactl list and checking the Active Profile:
 in the card you are using? Then you can change it with (in my case):

 pactl set-card-profile alsa_card.pci-_04_00.0
 output:analog-surround-51+input:analog-stereo

 Of course, if you are using GNOME, you can set it in System Settings
 (see screenshot

 https://plus.google.com/photos/115256116066287398549/albums/5778609034682831121
 ).
 Yes, I have two sound cards, and I still prefer my old SB Live!
 exactly because it has 5.1 output. It have never reverted to stereo
 for me. I got a 5.1 Logitech speakers, with one subwoofer and 5
 satellites.

 Regards.
 --
 Canek Peláez Valdés
 Posgrado en Ciencia e Ingeniería de la Computación
 Universidad Nacional Autónoma de México




Re: [gentoo-user] Should I install pulseaudio to solve my phonon audio problems?

2012-08-19 Thread Canek Peláez Valdés
On Sun, Aug 19, 2012 at 11:47 PM, Michael Trausch m...@trausch.us wrote:
 Yes.

 I have to change it to 4.1 and then back to 5.1 after every song finishes
 playing.

 It has been that way ever since the first time I encountered it in Ubuntu
 years back.

It has never done that to me. Which music player do you use? It
happens with every one? I use Rhythmbox, Totem, Mplayer2,  and of
course I watch videos in YouTube in Chromium; nothing even remotely
similar has ever happened to me. But if it happens after every song,
maybe the music player somehow changes the setting? It sounds fishy,
but PA should not change the setting by itself.

Anyhow, I'm a perfectly happy 5.1 surround user with PulseAudio since
at least two years.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] SSH question

2012-08-19 Thread Mick
On Monday 20 Aug 2012 04:48:40 Canek Peláez Valdés wrote:
 On Sun, Aug 19, 2012 at 10:31 PM, David Relson rel...@osagesoftware.com 
wrote:
  G'day,
  
  I've volunteered to do some data entry for my local bike club.  This
  involves a java application (jar  file) and a tunnel to a mysql
  server.  I have detailed PuTTY configuration instructions but haven't
  yet succeeded in converting them to ssh options.
  
  The configuration options include:
  Seconds between keepalives -- 120
  Don't start a shell or command
  
  Forwarded port:
  source port number - PORT
  Destionation: MACHINE.DOMAIN.COM
  
  Host - IP_Address
  Login - userid
  Password - pw
  
  Using ssh -N userid@IP_Address gives me a password prompt and no
  command prompt - both good.
  
  How do I specify the forwarded port?
 
 If I understand correctly, with -L:
 
 ssh -L XX:machine2:YY user@machine1
 
 This command will connect you to the machine1 host with user user,
 and any connection to the port XX to the machine you are running the
 ssh command from, will redirect the connection to the machine2 host
 in the YY port.

If you want to forward a local port XX to a remote port YY then Canek's 
suggestion will do what you want, assuming that the correct remote application 
is listening on port YY.

When you have more than one application this can soon become tedious.  So, if 
you want to set up the remote machine as a SOCKS proxy so that any socks-ified 
applications on the local machine can connect to the remote SOCKS, then you 
can use:

  ssh -N -D  user@machine1

For applications that do not have built in proxy capability you can use e.g. 
proxychains.

HTH.
-- 
Regards,
Mick


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