Re: [gentoo-user] Fwd: [gentoo-dev] Last rites: kde-apps/ksnapshot

2016-07-17 Thread Mick
On Monday 18 Jul 2016 01:26:12 Neil Bothwick wrote:
> On Sun, 17 Jul 2016 22:50:26 +0100, Mick wrote:
> > > > If you blank the naming format in the 'Configure Save Options' field
> > > > and give your first screenshot your preferred location/file_name
> > > > (and file extension if different to .png) it should remember this
> > > > for the next screenshot and will auto-increment it by 1.
> > > 
> > > Maybe it should, but it doesn't. It tries to name each file .png.
> > 
> > I beg your pardon - my cognitive bias took over.  It does
> > auto-increment if the name of the picture exists, but it appears
> > that .png  is the default and only image format spectacle will use at
> > present.
> 
> Not here. I take a screenshot and save it as "test_1.png". Then I take
> another and hit Save As, the name defaults to ".png".

Its behaviour is not as one would expect based on previous Kscreenshot 
experience:

I set up the default file name in Configure Save Options as "Test".

I take a pic, press Ctrl+S and it is saved as "Test.png", second pic will be 
saved as "Test-1.png", third pic saved as "Test-2.png" and so on.

If I leave the Configure Save Options name blank, then I have to give it a name 
*with* a file extension or it will complain that the format is not available, 
despite the drop down below the name field showing .png as being selected.

-- 
Regards,
Mick

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


Re: [gentoo-user] "X11 forwarding" so to say ... but for audio

2016-07-17 Thread Meino . Cramer
Fernando Rodriguez  [16-07-18 07:32]:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> On 07/18/2016 01:16 AM, meino.cra...@gmx.de wrote:
> > Hi,
> > 
> > I am experimenting with microcrontrollers, dev-boards
> > and other stuff a lot.
> > Nowaday these "post stamps" are quite capable and often
> > run linux of some kind.
> > 
> > The beaglebone and the Orange PI PC are of those, even
> > running an X11 server.
> > 
> > X11 forwarding is quite handy in this cases...but I miss the
> > audio.
> > 
> > I am already tangled up in cables ... and dont want to add
> > just another cable to route the audio signal to my PC.
> > 
> > Is there any other way to get the audio from the (in this case)
> > Orange PI PC board to my PC in a way, that dont need cables
> > and is easily reconfigurable, if I will change the board
> > to something different?
> > 
> > Thanks a lot in advance for any help!
> > 
> > Best regards
> > Meino
> > 
> > PS: @James: Do you know the NodeMCU Lua v3 board? ;)
> 
> PulseAudio.
> 
> https://askubuntu.com/questions/371687/how-to-carry-audio-over-ssh
> 
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2
> 
> iQIcBAEBCAAGBQJXjGfLAAoJEPbOFX/5UlwctQkP/iNU+KqzevUo37aLHe4HMz43
> JZR2bVO9noJL+AfFZRfl2Hms7tGL4aUWkBSX/LBK9WUBDb6kn9aoZHGc7TtxPIN/
> VpBcDCFseszXiVhp/Dn+Oib/oqr7882z6iHrliir2+BujiRFqK2mmSjvTDjY7Cry
> q8ut08mfmTtgfxhfQLGjtuVIFz3VttY3W60pnXjP1hYaNniDK1hV3xiDCC1I2lZy
> vKN46BrGiNR2DtdOFSnZ9lCCrC4Ba2R1NbQm1Zren444aVXPwc4tbXIZvSwTNul4
> 6A2/fxgbPLJe8tAwbv2hMDB/iX1GP9kpi3H2kSYOtVtr1hiksot0Dk7Nr2KcRTVJ
> +33UQrbcDO4x0JHVbbXmZJ9H/guSrxpT2TZMFddDAqyvDBcUfxnKe7DFIVsVpxlJ
> QivDGmo89gw2gTAk2FPtGBIni4+ycNO9CeCo2jALuK8H7qqokz1zVKiEGYhJP6ya
> G3HbQvu6kgBH9QIZTVIOMTLswnyD/+FZ5ltONJ1YWWDzfzgQDC2ZlUlfC98p45RN
> 871qK2qxGmL4NxIHGyJeLhq8Cg8ejvsvwDgTxIcCz1gwh4AhyKK7lylW6dstqQdn
> PpR+b+rh6e0+roVISxxDFbHLxWWUOOcfVzwnrPtZG834VSCfX5djdb5w08X0WPm6
> w8CDwi79D064penoyAuU
> =zoYi
> -END PGP SIGNATURE-
> 

Hi Fernando,

thanks for the link! Will check that...

Best 
Meino




Re: [gentoo-user] "X11 forwarding" so to say ... but for audio

2016-07-17 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/18/2016 01:16 AM, meino.cra...@gmx.de wrote:
> Hi,
> 
> I am experimenting with microcrontrollers, dev-boards
> and other stuff a lot.
> Nowaday these "post stamps" are quite capable and often
> run linux of some kind.
> 
> The beaglebone and the Orange PI PC are of those, even
> running an X11 server.
> 
> X11 forwarding is quite handy in this cases...but I miss the
> audio.
> 
> I am already tangled up in cables ... and dont want to add
> just another cable to route the audio signal to my PC.
> 
> Is there any other way to get the audio from the (in this case)
> Orange PI PC board to my PC in a way, that dont need cables
> and is easily reconfigurable, if I will change the board
> to something different?
> 
> Thanks a lot in advance for any help!
> 
> Best regards
> Meino
> 
> PS: @James: Do you know the NodeMCU Lua v3 board? ;)

PulseAudio.

https://askubuntu.com/questions/371687/how-to-carry-audio-over-ssh


-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXjGfLAAoJEPbOFX/5UlwctQkP/iNU+KqzevUo37aLHe4HMz43
JZR2bVO9noJL+AfFZRfl2Hms7tGL4aUWkBSX/LBK9WUBDb6kn9aoZHGc7TtxPIN/
VpBcDCFseszXiVhp/Dn+Oib/oqr7882z6iHrliir2+BujiRFqK2mmSjvTDjY7Cry
q8ut08mfmTtgfxhfQLGjtuVIFz3VttY3W60pnXjP1hYaNniDK1hV3xiDCC1I2lZy
vKN46BrGiNR2DtdOFSnZ9lCCrC4Ba2R1NbQm1Zren444aVXPwc4tbXIZvSwTNul4
6A2/fxgbPLJe8tAwbv2hMDB/iX1GP9kpi3H2kSYOtVtr1hiksot0Dk7Nr2KcRTVJ
+33UQrbcDO4x0JHVbbXmZJ9H/guSrxpT2TZMFddDAqyvDBcUfxnKe7DFIVsVpxlJ
QivDGmo89gw2gTAk2FPtGBIni4+ycNO9CeCo2jALuK8H7qqokz1zVKiEGYhJP6ya
G3HbQvu6kgBH9QIZTVIOMTLswnyD/+FZ5ltONJ1YWWDzfzgQDC2ZlUlfC98p45RN
871qK2qxGmL4NxIHGyJeLhq8Cg8ejvsvwDgTxIcCz1gwh4AhyKK7lylW6dstqQdn
PpR+b+rh6e0+roVISxxDFbHLxWWUOOcfVzwnrPtZG834VSCfX5djdb5w08X0WPm6
w8CDwi79D064penoyAuU
=zoYi
-END PGP SIGNATURE-



[gentoo-user] "X11 forwarding" so to say ... but for audio

2016-07-17 Thread Meino . Cramer
Hi,

I am experimenting with microcrontrollers, dev-boards
and other stuff a lot.
Nowaday these "post stamps" are quite capable and often
run linux of some kind.

The beaglebone and the Orange PI PC are of those, even
running an X11 server.

X11 forwarding is quite handy in this cases...but I miss the
audio.

I am already tangled up in cables ... and dont want to add
just another cable to route the audio signal to my PC.

Is there any other way to get the audio from the (in this case)
Orange PI PC board to my PC in a way, that dont need cables
and is easily reconfigurable, if I will change the board
to something different?

Thanks a lot in advance for any help!

Best regards
Meino

PS: @James: Do you know the NodeMCU Lua v3 board? ;)






Re: [gentoo-user] Audio - Module does not loaded

2016-07-17 Thread Facundo Curti
2016-07-17 8:31 GMT-03:00 Mick :

> On Sunday 17 Jul 2016 05:58:48 Alex Thorne wrote:
> > Is snd_hda_intel built as a module or is it part of the kernel itself?
>
> Please do not top post on this M/L.
>
>
> > On 17 Jul 2016 3:42 a.m., "Facundo Curti"  wrote:
> > > Hi there. I'm having troubles to get audio on gentoo :/
> > >
> > > aplay -l gave me 0 sound cards:
> > >  List of PLAYBACK Hardware Devices 
>
> As Alex suggested check that you have built your audio drivers as modules.
> Then run 'alsactl init' to initialise your card and unmute it.
>
>
> > > lspci -v
> [snip ...]
>
> > > 00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core
> > > Processor HD Audio Controller (rev 06)
> > > Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core
> Processor HD
> > > Audio Controller
> > > Flags: bus master, fast devsel, latency 0, IRQ 32
> > > Memory at f7c14000 (64-bit, non-prefetchable) [size=16K]
> > > Capabilities: [50] Power Management version 2
> > > Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
> > > Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
> > > Kernel driver in use: snd_hda_intel
> [snip ...]
>
>
>
> > > 00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset
> High
> > > Definition Audio Controller (rev 05)
> > > Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset High
> > > Definition Audio Controller
> > > Flags: bus master, fast devsel, latency 0, IRQ 31
> > > Memory at f7c1 (64-bit, non-prefetchable) [size=16K]
> > > Capabilities: [50] Power Management version 2
> > > Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
> > > Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
> > > Capabilities: [100] Virtual Channel
> > > Kernel driver in use: snd_hda_intel
> [snip ...]
>
>
> > > As you can see, lspci says:
> > > Kernel driver in use: snd_hda_intel
>
> Run 'lspci -k -nn' and check the vendor and product IDs shown in [square
> brackets].  Then Google for the right drivers and make sure they have been
> enabled as modules in your current kernel.
>
>
> > >
> > > But when I do lsmod:
> > >
> > > Module  Size  Used by
> > > psmouse64754  0
> > > atkbd  14084  0
> > > aziokbd 5336  0
> > > libps2  3843  2 atkbd,psmouse
> > > x86_pkg_temp_thermal 4523  0
> > > kvm_intel 140995  0
> > > kvm   366276  1 kvm_intel
> > > irqbypass   2552  1 kvm
> > > xts 3079  0
> > > aesni_intel   156770  0
> > > lrw 3591  1 aesni_intel
> > > gf128mul5815  2 lrw,xts
> > > glue_helper 3907  1 aesni_intel
> > > ablk_helper 1820  1 aesni_intel
> > > cryptd  7522  2 aesni_intel,ablk_helper
> > > sha256_generic  9619  0
> > > xfs   669263  0
> > > libcrc32c   1170  1 xfs
> > > nfs   148665  0
> > > lockd  52704  1 nfs
> > > grace   1858  1 lockd
> > > sunrpc188908  2 nfs,lockd
> > > jfs   132808  0
> > > reiserfs  173671  0
> > > btrfs 768586  0
> > > xor10552  1 btrfs
> > > zlib_deflate   17993  1 btrfs
> > > raid6_pq   93587  1 btrfs
> > >
> > > There is no snd_hda_intel
>
> They were probably not compiled as modules?  ;-)
>
>
> > >  I already tryed doing modprobe snd_hda_intel. It does not gave me any
> > > output.
>
> Try:
>
> modprobe -r snd_hda_intel
> modprobe -v snd_hda_intel
>
> but if you get no output, then they were not built as modules in your
> kernel.
>
>
> > > On alsamixer, I can see 3 cards:
> > > -  Pulseaudio
> > > -  HDA Intel HDMI
> > > -  HDA Intel PCH
> > >
> > > But the intel cards says:
> > > This sound device does not have any controls.
> > >
> > > Some ideas?
> > > I already saw the kernel. It is everything according this:
> > > https://wiki.gentoo.org/wiki/ALSA#Kernel
> > >
> > > Some ideas?
>
> dmesg | grep 'snd\|audio'
>
> --
> Regards,
> Mick


Thank you men! I didn't know it had to be compiled as module. It was
built-in


Re: [gentoo-user] Fwd: [gentoo-dev] Last rites: kde-apps/ksnapshot

2016-07-17 Thread Philip Webb
160716 Mick wrote:
> On Saturday 16 Jul 2016 20:06:20 J. Roeleveld wrote:
>> # Johannes Huber  (14 Jul 2016)
>> # No longer released upstream. Use kde-apps/spectacle instead.
>> # Masked for removal in 30 days.
>> kde-apps/ksnapshot
>> I understand ksnapshot can't be maintained for much longer
>> and with kde4 dependencies, it will need more then a little handholding.
>> Does anyone have a decent replacement ?

In my Fluxbox menu, I have :

  [exec] (Screenshot) {import /home/purslow/pix/misc/screenshot.png}

It uses Imagemagick ; you can choose whichever dir+filename you want
& can run the command from CLI, if that helps.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Fwd: [gentoo-dev] Last rites: kde-apps/ksnapshot

2016-07-17 Thread Neil Bothwick
On Sun, 17 Jul 2016 22:50:26 +0100, Mick wrote:

> > > If you blank the naming format in the 'Configure Save Options' field
> > > and give your first screenshot your preferred location/file_name
> > > (and file extension if different to .png) it should remember this
> > > for the next screenshot and will auto-increment it by 1.  
> > 
> > Maybe it should, but it doesn't. It tries to name each file .png.  
> 
> I beg your pardon - my cognitive bias took over.  It does
> auto-increment if the name of the picture exists, but it appears
> that .png  is the default and only image format spectacle will use at
> present.

Not here. I take a screenshot and save it as "test_1.png". Then I take
another and hit Save As, the name defaults to ".png".


-- 
Neil Bothwick

"Apple I" (c) Copyright 1767, Sir Isaac Newton.


pgpSE3NZKNdxo.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] No audio from Firefox 47.0.1

2016-07-17 Thread Peter Humphrey
On Sunday 17 July 2016 11:29:14 Daniel Frey wrote:
> On 07/17/2016 10:50 AM, Peter Humphrey wrote:
> > Hello list,
> > 
> > Since I upgraded firefox recently I've lost sound from the BBC radio
> > iplayer [1]. It loads the initial page but never returns from
> > "Loading..." Remembering the news item about libav and ffmpeg I searched
> > for corresponding USE flags against firefox but found neither.
> > 
> > Has anyone else come across this? I didn't notice what was happening at
> > first because I was tied up in knots with KDE-5. For the moment I'm going
> > back to 45.2.0.
> > 
> > [1] http://www.bbc.co.uk/radio/player/bbc_radio_three
> 
> I had this problem when I changed firefox to use chrome-binary-plugins.
> Are you using pulseaudio?
> 
> In my case the plugin was muted, I went into pulse volume control and
> found it. (This was after about 20 minutes of scratching my head
> wondering why everything but firefox worked.)

No, it isn't audio failing, it's firefox not completing the connection with 
the server.

No, I'm not using pulseaudio.

-- 
Rgds
Peter




Re: [gentoo-user] Keep alive within SSH session

2016-07-17 Thread Adam Carter
On Mon, Jul 18, 2016 at 12:02 AM, Mick  wrote:

> I am not sure of the correct approach to achieve a prolonged remote
> debugging
> session through SSH and avoid the SSH session timing out.
>
> This is what I try to achieve:
>
> I login into a router with SSH from my PC.  Then I can run certain
> commands to
> start and monitor a debugging session in the router.  However, if I leave
> alone the SSH session, it will soon time out.
>

Have you checked the router config for a session timeout? Eg on a Cisco you
may have something like;

ssh timeout 30

Often setting this to 0 will disable the timeout, but RTFM.


Re: [gentoo-user] Keep alive within SSH session

2016-07-17 Thread Todd Goodman
* Mick  [160717 12:36]:
> On Sunday 17 Jul 2016 16:20:30 Ralf wrote:
> > On 07/17/2016 04:02 PM, Mick wrote:
> > > I am not sure of the correct approach to achieve a prolonged remote
> > > debugging session through SSH and avoid the SSH session timing out.
> > > 
> > > This is what I try to achieve:
> > > 
> > > I login into a router with SSH from my PC.  Then I can run certain
> > > commands to start and monitor a debugging session in the router. 
> > > However, if I leave alone the SSH session, it will soon time out.  The
> > > debugging only runs while the session is live.  Exiting the SSH session
> > > causes all debug output to be lost.
> > 
> > Take a look at screen or tmux. man screen, man tmux.
> 
> Thank you Ralph, but detaching the *local* terminal process of SSH does not 
> in 
> any way stop the login session on the router from timing out.
> 
> 
> > > If I continue to run (router) commands on the terminal, while the
> > > debugging is running, the SSH time out is postponed.
> > 
> > you may also want to tweak some timeout options in your sshd_config
> 
> The router login times out unless some command is fed into the login session 
> a 
> the time.  So, I'll need to be able to run commands every so often on the 
> router shell from within my SSH session (without sitting in front of my PC 
> terminal of course).  The commands 'watch', or 'at' might do it, but I am not 
> sure if some script is necessary for this.
> 
> -- 
> Regards,
> Mick


if you just want something to keep the connection open how about just a
simple shell command in a whole loop?

e.g., while true; do clear; ps aux | grep whatever; sleep 5; done



Re: [gentoo-user] Fwd: [gentoo-dev] Last rites: kde-apps/ksnapshot

2016-07-17 Thread Mick
On Sunday 17 Jul 2016 22:04:09 Neil Bothwick wrote:
> On Sun, 17 Jul 2016 14:49:23 +0100, Mick wrote:
> > > The name problem is still there. While it will remember the directory,
> > > the name is in the preconfigured format, which has options to use
> > > date and time stamping, but not incremental numbering.
> > 
> > If you blank the naming format in the 'Configure Save Options' field
> > and give your first screenshot your preferred location/file_name (and
> > file extension if different to .png) it should remember this for the
> > next screenshot and will auto-increment it by 1.
> 
> Maybe it should, but it doesn't. It tries to name each file .png.

I beg your pardon - my cognitive bias took over.  It does auto-increment if 
the name of the picture exists, but it appears that .png  is the default and 
only image format spectacle will use at present.
-- 
Regards,
Mick

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


Re: [gentoo-user] Fwd: [gentoo-dev] Last rites: kde-apps/ksnapshot

2016-07-17 Thread Neil Bothwick
On Sun, 17 Jul 2016 14:49:23 +0100, Mick wrote:

> > The name problem is still there. While it will remember the directory,
> > the name is in the preconfigured format, which has options to use
> > date and time stamping, but not incremental numbering.  
> 
> If you blank the naming format in the 'Configure Save Options' field
> and give your first screenshot your preferred location/file_name (and
> file extension if different to .png) it should remember this for the
> next screenshot and will auto-increment it by 1.

Maybe it should, but it doesn't. It tries to name each file .png.


-- 
Neil Bothwick

"Logic will get you from A to B. Imagination will take you everywhere."
 (Albert Einstein)


pgpxE_Epxxl7c.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] No audio from Firefox 47.0.1

2016-07-17 Thread R0b0t1
Verified...


Re: [gentoo-user] No audio from Firefox 47.0.1

2016-07-17 Thread Daniel Frey
On 07/17/2016 10:50 AM, Peter Humphrey wrote:
> Hello list,
> 
> Since I upgraded firefox recently I've lost sound from the BBC radio iplayer 
> [1]. It loads the initial page but never returns from "Loading..." 
> Remembering 
> the news item about libav and ffmpeg I searched for corresponding USE flags 
> against firefox but found neither.
> 
> Has anyone else come across this? I didn't notice what was happening at first 
> because I was tied up in knots with KDE-5. For the moment I'm going back to 
> 45.2.0.
> 
> [1] http://www.bbc.co.uk/radio/player/bbc_radio_three
> 

I had this problem when I changed firefox to use chrome-binary-plugins.
Are you using pulseaudio?

In my case the plugin was muted, I went into pulse volume control and
found it. (This was after about 20 minutes of scratching my head
wondering why everything but firefox worked.)

Dan




Re: [gentoo-user] Keep alive within SSH session

2016-07-17 Thread R0b0t1
The proper solution is to use TCP keep alive to prevent tunnel over tunnel
issues from arising.


Re: [gentoo-user] Keep alive within SSH session

2016-07-17 Thread lukash
On Sun, 2016-07-17 at 18:47 +0100, Mick wrote:
> On Sunday 17 Jul 2016 14:14:42 you wrote:
> > On Sun, 17 Jul 2016 17:35:55 +0100
> > Mick wrote -
> > 
> > > On Sunday 17 Jul 2016 16:20:30 Ralf wrote:
> > > > On 07/17/2016 04:02 PM, Mick wrote:
> > > > > I am not sure of the correct approach to achieve a prolonged
> > > > > remote=
> > > > > 
> > > > > debugging session through SSH and avoid the SSH session
> > > > > timing out.=
> > 
> > What you need is expect or Expect or pexpect depending on your base
> > scripting language preference - tcl, perl, or python.
> > 
> > Dave F
> 
> Thank you Dave!  I'm emerging dev-tcltk/expect as I type
> this.  Hopefully the 
> learning curve won't be too steep.  ;-)

You may also wanna try the ServerAliveInterval option in your client's
ssh config. It sends some keepalive data to the server every X seconds,
sounds like what you need.



[gentoo-user] No audio from Firefox 47.0.1

2016-07-17 Thread Peter Humphrey
Hello list,

Since I upgraded firefox recently I've lost sound from the BBC radio iplayer 
[1]. It loads the initial page but never returns from "Loading..." Remembering 
the news item about libav and ffmpeg I searched for corresponding USE flags 
against firefox but found neither.

Has anyone else come across this? I didn't notice what was happening at first 
because I was tied up in knots with KDE-5. For the moment I'm going back to 
45.2.0.

[1] http://www.bbc.co.uk/radio/player/bbc_radio_three

-- 
Rgds
Peter




Re: [gentoo-user] Keep alive within SSH session

2016-07-17 Thread Mick
On Sunday 17 Jul 2016 14:14:42 you wrote:
> On Sun, 17 Jul 2016 17:35:55 +0100
> Mick wrote -
> 
> > On Sunday 17 Jul 2016 16:20:30 Ralf wrote:
> > > On 07/17/2016 04:02 PM, Mick wrote:
> > > > I am not sure of the correct approach to achieve a prolonged remote=
> > > > 
> > > > debugging session through SSH and avoid the SSH session timing out.=
> 
> What you need is expect or Expect or pexpect depending on your base
> scripting language preference - tcl, perl, or python.
> 
> Dave F

Thank you Dave!  I'm emerging dev-tcltk/expect as I type this.  Hopefully the 
learning curve won't be too steep.  ;-)

-- 
Regards,
Mick

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


Re: [gentoo-user] no sound through headphones (still bad)

2016-07-17 Thread allan gottlieb
On Sat, Jul 16 2016, Alec Ten Harmsel wrote:

> On Sat, Jul 16, 2016 at 04:17:04PM -0400, allan gottlieb wrote:
>> 
>> To answer Alec's questions this is a 3.5mm jack.  Nothing new in dmesg.
>> sudo lspci | grep -i audio   shows
>> 00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
>> 00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High
>> Definition Audio Controller (rev 03)
>> 
>> I think/hope we are getting close and thank everyone for their help.
>> 
>> allan
>> 
>
> Just double checking; what is the value of these config keys in your
> kernel config?
>
> * SND_HDA_INTEL
> * SND_INTEL* (there are a few of these)
> * SND_SOC_INTEL* (there are a few of these)

E7450-wired linux # grep SND_HDA_INTEL .config
CONFIG_SND_HDA_INTEL=y
E7450-wired linux # grep 'SND_INTEL*' .config
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
E7450-wired linux # grep 'SND_SOC_INTEL*' .config
E7450-wired linux # 

Is this last empty reply significant?

> I'm completely grasping at straws here. Another option may be opening up
> a terminal and running:
>
> pulseaudio --kill
> pulseaudio --start --daemonize=no --verbose
>
> Then try and use audio and see what exactly gets spit out.
>
> Audio for me Just Works (tm), so I hope this helps.
>
> Alec

gottlieb@E7450-wired /local/allan/gottlieb $ pulseaudio --kill
gottlieb@E7450-wired /local/allan/gottlieb $ pulseaudio --start --daemonize=no 
--verbose
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not 
permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not 
permitted
I: [pulseaudio] core-util.c: Failed to acquire high-priority scheduling: No 
such file or directory
I: [pulseaudio] main.c: This is PulseAudio 8.0
I: [pulseaudio] main.c: Page size is 4096 bytes
I: [pulseaudio] main.c: Machine ID is 6089ce1bfebfff5e96a31beb55b51fc9.
I: [pulseaudio] main.c: Session ID is 1.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/gottlieb/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib64/pulse-8.0/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.

Starting audio did not cause anything to be printed.

allan




Re: [gentoo-user] Keep alive within SSH session

2016-07-17 Thread David M. Fellows
On Sun, 17 Jul 2016 17:35:55 +0100 
Mick wrote -
> On Sunday 17 Jul 2016 16:20:30 Ralf wrote:
> > On 07/17/2016 04:02 PM, Mick wrote:
> > > I am not sure of the correct approach to achieve a prolonged remote=
> 
> > > debugging session through SSH and avoid the SSH session timing out.=
> 

What you need is expect or Expect or pexpect depending on your base
scripting language preference - tcl, perl, or python.

Dave F



Re: [gentoo-user] Keep alive within SSH session

2016-07-17 Thread Mick
On Sunday 17 Jul 2016 16:20:30 Ralf wrote:
> On 07/17/2016 04:02 PM, Mick wrote:
> > I am not sure of the correct approach to achieve a prolonged remote
> > debugging session through SSH and avoid the SSH session timing out.
> > 
> > This is what I try to achieve:
> > 
> > I login into a router with SSH from my PC.  Then I can run certain
> > commands to start and monitor a debugging session in the router. 
> > However, if I leave alone the SSH session, it will soon time out.  The
> > debugging only runs while the session is live.  Exiting the SSH session
> > causes all debug output to be lost.
> 
> Take a look at screen or tmux. man screen, man tmux.

Thank you Ralph, but detaching the *local* terminal process of SSH does not in 
any way stop the login session on the router from timing out.


> > If I continue to run (router) commands on the terminal, while the
> > debugging is running, the SSH time out is postponed.
> 
> you may also want to tweak some timeout options in your sshd_config

The router login times out unless some command is fed into the login session a 
the time.  So, I'll need to be able to run commands every so often on the 
router shell from within my SSH session (without sitting in front of my PC 
terminal of course).  The commands 'watch', or 'at' might do it, but I am not 
sure if some script is necessary for this.

-- 
Regards,
Mick

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


Re: [gentoo-user] Keep alive within SSH session

2016-07-17 Thread Ralf
On 07/17/2016 04:02 PM, Mick wrote:
> I am not sure of the correct approach to achieve a prolonged remote debugging 
> session through SSH and avoid the SSH session timing out.
>
> This is what I try to achieve:
>
> I login into a router with SSH from my PC.  Then I can run certain commands 
> to 
> start and monitor a debugging session in the router.  However, if I leave 
> alone the SSH session, it will soon time out.  The debugging only runs while 
> the session is live.  Exiting the SSH session causes all debug output to be 
> lost.
Take a look at screen or tmux. man screen, man tmux.
>
> If I continue to run (router) commands on the terminal, while the debugging 
> is 
> running, the SSH time out is postponed.
you may also want to tweak some timeout options in your sshd_config
>
> What do you suggest I try on an SSH terminal from my PC to keep running 
> recurring commands after I have connected to the router?  I will need to keep 
> a debugging session going for some hours, in order to collect the data I'm 
> after.
>




[gentoo-user] Keep alive within SSH session

2016-07-17 Thread Mick
I am not sure of the correct approach to achieve a prolonged remote debugging 
session through SSH and avoid the SSH session timing out.

This is what I try to achieve:

I login into a router with SSH from my PC.  Then I can run certain commands to 
start and monitor a debugging session in the router.  However, if I leave 
alone the SSH session, it will soon time out.  The debugging only runs while 
the session is live.  Exiting the SSH session causes all debug output to be 
lost.

If I continue to run (router) commands on the terminal, while the debugging is 
running, the SSH time out is postponed.

What do you suggest I try on an SSH terminal from my PC to keep running 
recurring commands after I have connected to the router?  I will need to keep 
a debugging session going for some hours, in order to collect the data I'm 
after.

-- 
Regards,
Mick

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


Re: [gentoo-user] Fwd: [gentoo-dev] Last rites: kde-apps/ksnapshot

2016-07-17 Thread Mick
On Sunday 17 Jul 2016 14:35:16 Neil Bothwick wrote:
> The name problem is still there. While it will remember the directory,
> the name is in the preconfigured format, which has options to use date and
> time stamping, but not incremental numbering.

If you blank the naming format in the 'Configure Save Options' field and give 
your first screenshot your preferred location/file_name (and file extension if 
different to .png) it should remember this for the next screenshot and will 
auto-increment it by 1.
-- 
Regards,
Mick

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


Re: [gentoo-user] Fwd: [gentoo-dev] Last rites: kde-apps/ksnapshot

2016-07-17 Thread Neil Bothwick
On Sun, 17 Jul 2016 13:53:30 +0200, J. Roeleveld wrote:

> > What is it in particular that differs from Ksnapshot's functionality
> > or behaviour?  

I've just tried it again and it's not as bad as it was.
 
> My workflow when taking screenshots:
> - Take a snapshot (rectangle)
> - "Save as", storing it at a specific location with "_1.jpg"
> as the name
> - Change something in an application or going to next screen
> - Take a new snapshot (ksnapshot defaults to exact same rectangle which
> is 99.9% of the time correct)

That's an option in Spectacle now.

> - "Save as", ksnapshot goes to same location and increases the
> numbering automatically.

My workflow when writing tutorials is similar, except I use PNG files.

> Last time I tried spectacle, I had to navigate the file structure for
> every single screenshot. Set it to save as JPEG. And manually retype
> the entire filename.

It remembers the last save location now. No idea about the format as I
only use PNG, but at worst it means changing the extension to jpg (or
batch convert all the screenshots later with convert).

The name problem is still there. While it will remember the directory,
the name is in the preconfigured format, which has options to use date and
time stamping, but not incremental numbering. Rather than use unsupported
software, I'll probably just use a one line script to rename the files
afterwards, at least with date stamping they will be in the right order.

> This is fine if you occasionally want to save a screenshot and have no
> problem wading through all the screenshots in whatever "default"
> location Spectacle wants to dump them into. But not when taking
> screenshots documenting an installation procedure.

The location problem is gone now, only the naming remains as a retrograde
step for me. Plus whatever it is that I remember just after hitting Send.


-- 
Neil Bothwick

WinErr 007: System price error - Inadequate money spent on hardware


pgpu_x4QxYT1T.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Fwd: [gentoo-dev] Last rites: kde-apps/ksnapshot

2016-07-17 Thread J. Roeleveld
On Saturday, July 16, 2016 07:25:15 PM Mick wrote:
> On Saturday 16 Jul 2016 20:06:20 J. Roeleveld wrote:
> > Hi All,
> > 
> > I saw the following go past in the dev-list:
> > 
> > # Johannes Huber  (14 Jul 2016)
> > # No longer released upstream. Use kde-apps/spectacle instead.
> > # Masked for removal in 30 days.
> > kde-apps/ksnapshot
> > 
> > I understand ksnapshot can't be maintained for much longer and with kde4
> > dependencies, it will need more then a little handholding.
> > 
> > Does anyone have a decent replacement as spectacle is, in my opinion, not
> > an equal replacement. More like a massive regression from a ease-of-use
> > perspective.
> > 
> > Many thanks,
> > 
> > Joost
> 
> I am running spectacle-15.12.3 usually in Window, or Rectangle mode and I
> have not come across any usability problems ...
> 
> What is it in particular that differs from Ksnapshot's functionality or
> behaviour?

My workflow when taking screenshots:
- Take a snapshot (rectangle)
- "Save as", storing it at a specific location with "_1.jpg" as the 
name
- Change something in an application or going to next screen
- Take a new snapshot (ksnapshot defaults to exact same rectangle which is 
99.9% of the time correct)
- "Save as", ksnapshot goes to same location and increases the numbering 
automatically.

Last time I tried spectacle, I had to navigate the file structure for every 
single screenshot. Set it to save as JPEG. And manually retype the entire 
filename.

This is fine if you occasionally want to save a screenshot and have no problem 
wading through all the screenshots in whatever "default" location Spectacle 
wants to dump them into. But not when taking screenshots documenting an 
installation procedure.

--
Joost



Re: [gentoo-user] Audio - Module does not loaded

2016-07-17 Thread Mick
On Sunday 17 Jul 2016 05:58:48 Alex Thorne wrote:
> Is snd_hda_intel built as a module or is it part of the kernel itself?

Please do not top post on this M/L.


> On 17 Jul 2016 3:42 a.m., "Facundo Curti"  wrote:
> > Hi there. I'm having troubles to get audio on gentoo :/
> > 
> > aplay -l gave me 0 sound cards:
> >  List of PLAYBACK Hardware Devices 

As Alex suggested check that you have built your audio drivers as modules.  
Then run 'alsactl init' to initialise your card and unmute it.


> > lspci -v
[snip ...]

> > 00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core
> > Processor HD Audio Controller (rev 06)
> > Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core Processor HD
> > Audio Controller
> > Flags: bus master, fast devsel, latency 0, IRQ 32
> > Memory at f7c14000 (64-bit, non-prefetchable) [size=16K]
> > Capabilities: [50] Power Management version 2
> > Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
> > Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
> > Kernel driver in use: snd_hda_intel
[snip ...]



> > 00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High
> > Definition Audio Controller (rev 05)
> > Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset High
> > Definition Audio Controller
> > Flags: bus master, fast devsel, latency 0, IRQ 31
> > Memory at f7c1 (64-bit, non-prefetchable) [size=16K]
> > Capabilities: [50] Power Management version 2
> > Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
> > Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
> > Capabilities: [100] Virtual Channel
> > Kernel driver in use: snd_hda_intel
[snip ...]


> > As you can see, lspci says:
> > Kernel driver in use: snd_hda_intel

Run 'lspci -k -nn' and check the vendor and product IDs shown in [square 
brackets].  Then Google for the right drivers and make sure they have been 
enabled as modules in your current kernel.


> > 
> > But when I do lsmod:
> > 
> > Module  Size  Used by
> > psmouse64754  0
> > atkbd  14084  0
> > aziokbd 5336  0
> > libps2  3843  2 atkbd,psmouse
> > x86_pkg_temp_thermal 4523  0
> > kvm_intel 140995  0
> > kvm   366276  1 kvm_intel
> > irqbypass   2552  1 kvm
> > xts 3079  0
> > aesni_intel   156770  0
> > lrw 3591  1 aesni_intel
> > gf128mul5815  2 lrw,xts
> > glue_helper 3907  1 aesni_intel
> > ablk_helper 1820  1 aesni_intel
> > cryptd  7522  2 aesni_intel,ablk_helper
> > sha256_generic  9619  0
> > xfs   669263  0
> > libcrc32c   1170  1 xfs
> > nfs   148665  0
> > lockd  52704  1 nfs
> > grace   1858  1 lockd
> > sunrpc188908  2 nfs,lockd
> > jfs   132808  0
> > reiserfs  173671  0
> > btrfs 768586  0
> > xor10552  1 btrfs
> > zlib_deflate   17993  1 btrfs
> > raid6_pq   93587  1 btrfs
> > 
> > There is no snd_hda_intel

They were probably not compiled as modules?  ;-)


> >  I already tryed doing modprobe snd_hda_intel. It does not gave me any
> > output.

Try:

modprobe -r snd_hda_intel
modprobe -v snd_hda_intel

but if you get no output, then they were not built as modules in your kernel.


> > On alsamixer, I can see 3 cards:
> > -  Pulseaudio
> > -  HDA Intel HDMI
> > -  HDA Intel PCH
> > 
> > But the intel cards says:
> > This sound device does not have any controls.
> > 
> > Some ideas?
> > I already saw the kernel. It is everything according this:
> > https://wiki.gentoo.org/wiki/ALSA#Kernel
> > 
> > Some ideas?

dmesg | grep 'snd\|audio'

-- 
Regards,
Mick

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


Re: [gentoo-user] Firefox 45.2.0

2016-07-17 Thread Philip Webb
160717 Stanislav Ch. Nikolov wrote:
> On 07/17/2016 12:30 PM, Philip Webb wrote:
>> I updated to Firefox 45.2.0 & found out that tab-grouping has disappeared.
>> Am I missing something or have they removed FF's most useful feature ?
>> Do any other browsers offer it ?  I'm now going back to FF 38.8.0 .
> Yes, they removed it :(
> https://support.mozilla.org/en-US/kb/tab-groups-removal
> But it can be brought back easily with this plugin 
> https://addons.mozilla.org/en-US/firefox/addon/tab-groups-panorama/

I installed the plug-in in 45.2.0 while FF 38.8.0 was compiling :
the interface is different, but it does seem to work.
I'll stick to the older version for now.
Thanks for your very prompt explanation.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Firefox 45.2.0

2016-07-17 Thread Stanislav Ch. Nikolov
On 07/17/2016 12:30 PM, Philip Webb wrote:
> I updated to Firefox 45.2.0 & found out that tab-grouping has disappeared.
> Am I missing something or have they removed FF's most useful feature ?
> Do any other browsers offer it ?  I'm now going back to FF 38.8.0 .
> 
Yes, they removed it :(
https://support.mozilla.org/en-US/kb/tab-groups-removal

But it can be brought back easily with this plugin 
https://addons.mozilla.org/en-US/firefox/addon/tab-groups-panorama/



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Firefox 45.2.0

2016-07-17 Thread Philip Webb
I updated to Firefox 45.2.0 & found out that tab-grouping has disappeared.
Am I missing something or have they removed FF's most useful feature ?
Do any other browsers offer it ?  I'm now going back to FF 38.8.0 .

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca