XenialDog (Ubuntu 16.04 'Xenial Xerus' LTS, 32-bit)

A home for all kinds of Puppy related projects
Message
Author
Null_ID
Posts: 17
Joined: Wed 20 Dec 2017, 00:18

#856 Post by Null_ID »

Coolio, thanks a bunch, guys!

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#857 Post by backi »

Hi Fred !
When i wrote " Bionic Dog " does not suspend i meant when going to >Menu>Logout ......choosing Suspend ......does not work for me .

But this is no big Deal ...

Cheers !

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#858 Post by fredx181 »

backi wrote:Hi Fred !
When i wrote " Bionic Dog " does not suspend i meant when going to >Menu>Logout ......choosing Suspend ......does not work for me .

But this is no big Deal ...

Cheers !
Hey backi, yes, I did understood Menu > Logout > Suspend doesn't work for you
The executed command for that is "pm-suspend", so I just like to know if it doesn't work for anyone what could be the reason exactly (to look for bugs and possible improvements).
So that's why I asked you for output of "pm-suspend" , it could be help for further improvement (anyway nice that you did solve it your own way, btw)

Regards !

Fred

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#859 Post by backi »

Hi Fred !

pm-suspend does not work for me.
When put it in terminal no message .

Hardware related Issue ?

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#860 Post by don570 »

I couldn't get my simple timer PTM timer to work in Bionic,
because Bionic uses mpv to play music.
However is mpg123 or mpg321 was installed it should work.
http://murga-linux.com/puppy/viewtopic.php?t=112410
___________________________________________

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#861 Post by keniv »

Hello All,
I have installed Xenial Dog (32bit) to an ntfs partition on one hdd on an old HP desktop. I also have three pups on this partition all frugal installs. I also have Ubuntu installed on an ext4 partition on a separate hdd, full install, and am booting from this one with grub2. I've gone through all the problems already mentioned in booting the pups the the dog with grub2 but all are now working. I'm more used to grub4dos. Also had problems with frisbee but changed to wicd and it works fine. I have gqrx, which is a software defined radio application, installed and working on Ubuntu but I cannot get it to work in Xenial Dog. I have tried two installation methods.

1. I've used the package manager. This was easy and all seemed to go well but it does not load from it's menu entry. I get this output if I run it in a terminal.

Code: Select all

root@xenial:~# gqrx
linux; GNU C++ version 5.3.1 20151219; Boost_105800; UHD_003.009.002-0-unknown

Controlport disabled
No user supplied config file. Using "default.conf"
gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.9
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy redpitaya 
Using Volk machine: sse2_32_mmx_orc
FM demod gain: 1.52789
IQ DCR alpha: 1.04166e-05
/build/gqrx-sdr-3kG_Pj/gqrx-sdr-2.5.1/src/pulseaudio/pa_sink.cc: pa_simple_new() failed: Connection refused
Using audio backend: N/A
New filter offset: 0 Hz
BookmarksFile is /root/.config/gqrx/bookmarks.csv
Loading configuration from: "default.conf"
Configuration file: "/root/.config/gqrx/default.conf"
Crash guard triggered! 
The image gqrx2(see attached) also appears. If I click on this I get this output.

Code: Select all

Launching I/O device editor
firstTimeConfig
CIoConfig : Available input devices:
    0 : "Realtek RTL2838UHIDIR SN: 00000001"
    1 : "RFSPACE SDR-IQ Receiver"
    2 : "RFSPACE SDR-IP Receiver"
    3 : "RFSPACE NetSDR Receiver"
    4 : "RFSPACE Cloud-IQ Receiver"
    5 : "RTL-SDR Spectrum Server"
    6 : "Red Pitaya Transceiver Server"
    7 : "Complex Sampled (IQ) File"
My device is marked as '0' here but I can't choose it. When I try I can type '0' but the cursor only moves to the next line.

2. This second method is the one I used to install in Ubuntu. The instructions are here.

http://gqrx.dk/download/install-ubuntu

However, I have to install these repositories first then update.

Code: Select all

sudo add-apt-repository -y ppa:bladerf/bladerf
sudo add-apt-repository -y ppa:ettusresearch/uhd
sudo add-apt-repository -y ppa:myriadrf/drivers
sudo add-apt-repository -y ppa:myriadrf/gnuradio
sudo add-apt-repository -y ppa:gqrx/gqrx-sdr
sudo apt-get update
I've tried this without the sudo but get this output for the first of the above. The others give similar outputs.

Code: Select all

root@xenial:~# add-apt-repository -y ppa:bladerf/bladerf
Utility to add Ubuntu PPA in your Debian machine
usage: sudo add-apt-repository ppa:user/ppa-name [ubuntu_release]
e.g.:  sudo add-apt-repository ppa:rvm/smplayer trusty
If no Ubuntu release is given, the default will be 'xenial'
root@xenial:~# 
You may have guessed by now that I know very little about Ubuntu and this carries over into Xenial Dog. I expect I could add these repositories if I knew how. If anybody can give me any help with one, other or both of these methods I'd be much obliged.

Regards,

Ken.
Attachments
gqrx2.jpg
(13.38 KiB) Downloaded 988 times

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#862 Post by fredx181 »

Hi keniv, I replied in Xenialdog64 thread.
http://murga-linux.com/puppy/viewtopic. ... 046#979046

Fred

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#863 Post by keniv »

Sorry Fred,
I realised I'd put it in the wrong thread so I removed it, left an explanation as to why, and moved it here. I'll look at your reply now and reply here if that's OK.

Regards,

Ken.

Thanks for the information Fred. I'll try using this method of installing as it works with Ubuntu. I'll report back on how I get on. I do like your Dog. As am not familiar with Ubuntu and Xenial Dog has a bit of the pup about it like running as root it helps. It also boots up faster than Ubuntu.

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#864 Post by keniv »

Hi Fred,
All of the repositories added and updated and gqrx installed. However, when I ran it from the menu I got whats shown in gqrxd.jpg (attached). When I ran it in a terminal I got this.

Code: Select all

root@xenial:~# gqrx
linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_003.010.002.000-release

Controlport disabled
"Pulseaudio error: Connection refused"
The box in gqrxd.jpg also appeared again.

On checking the package manager I seem to have pulse audio installed though not all of it. Is there a way to find out if I am missing anything from Pulseaudio that is required. If it requires the command line can you give me details please. I have limited skills here.

Regards,

Ken.

Edit. I've added the of/root/.config/gqrx/default.conf bellow.

Code: Select all

[General]
configversion=1

[audio]
gain=171
udp_host=localhost

[fft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\0\0\0\x16\0m\0\x61\0i\0n\0T\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0)

[input]
device="rtl=0"
frequency=89899000
sample_rate=1800000

[output]
device=alsa_output.pci-0000_00_1f.5.analog-stereo

[receiver]
agc_decay=100
demod=4
filter_high_cut=80000
filter_low_cut=-80000
fm_deemph=74
offset=91000

[remote_control]
allowed_hosts=::ffff:127.0.0.1
It appears to be using alsa on ubuntu so I'm now not sure what pulseaudio error is about.
Attachments
gqrxd.jpg
(7.75 KiB) Downloaded 955 times

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#865 Post by fredx181 »

Hi Ken, pulseaudio as root can be problematic, maybe try to start it first before running gqrx ?

Code: Select all

pulseaudio --start 
(you may get a warning about running as root, but might run ok if just a warning (not error) )
Or:

Code: Select all

pulseaudio --system 
I'm not on Xenialdog now, so just guessing...

Fred

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#866 Post by keniv »

Hi Fred,
It's working! With Pulseaudio --Start I did get a warning telling me it was not designed to work as root and it did not start. With Pulseaudio --System it did give me many warnings which amounted to 'on your own head be it' but it did start and so did gqrx allowing me to chose my device. The sound quality is not great but I think that has more to do with the quality and positioning of the antenna I'm using. It is as good as the quality with Ubuntu using the same antenna. Thanks for all your help with this.

Regards,

Ken.

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#867 Post by keniv »

Hello Fred,
I'm sorry to bother you with this again.
pulseaudio as root can be problematic
I am having lots of inconsistencies with the installed pulse audio. If I try to load it with

Code: Select all

pulseaudio --system
sometimes it loads and sometimes it appears not to. This is confirmed by getting a pulseaudio error when running gqrx and

Code: Select all

pulseaudio --check
I remembered reading on the forum that some later versions of firefox needed pulse audio so I thought there might be some pets made to run as root. I downloaded three. They did not install but could be converted to a .sfs. The best of these was Pulseaudio-2.1-up-20121014.pet.sfs. I can get this to load on the fly but unlike puppy there are no menu entries. I have to mount the .sfs then find the boot script them click on that. This does work and this version of pulseaudio loads consistently, without any moans and gqrx also works. As this was a bit of a fiddle I tried to write a .desktop entry to start pulseaudio. I called it Pulse Start.desktop and put it in

Code: Select all

 /usr/share/applications
but cannot get it to work though it does give a menu entry. I've attached it.

Code: Select all

[Desktop Entry]
Name=Pulse Start
Type=Application
Exec=/mnt/live/mnt/sdb1/mnt/pulseaudio-2.1-up-20121014.pet.sfs/usr/bin/start-pulseaudio-x11
Icon=/usr/share/icons/hicolor/48x48/mimetypes/display.png
Terminal=false
Categories=Network;WebBrowser;Internet;
I have tried various versions of the Exec=xxxxxxxxxxx part of this but cannot get it to work. I am sure there must be a way to do this but I cannot find it. I am also not sure whether I should see a menu entry, like in puppy, when I load the .sfs on the fly. Again I'd appreciate your help with this.

Regards,

Ken.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#868 Post by fredx181 »

Hi Ken,
I am having lots of inconsistencies with the installed pulse audio. If I try to load it with
Code:
pulseaudio --system
Are you sure "pulseaudio --start" doesn't work ?
Sound works fine for me then (ignored the warning), also see attached alsamixer pic below.
EDIT: you may need to kill it first "pulseaudio --kill"

Fred
Attachments
xendog-20180104191657.jpg
after running "pulseaudio --start"
(19.16 KiB) Downloaded 890 times

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#869 Post by keniv »

Hi Fred,
This is what I get after first starting with

Code: Select all

pulseaudio --kill
then

Code: Select all

pulseaudio --start

Code: Select all

root@xenial:~# pulseaudio --kill
E: [pulseaudio] main.c: Failed to kill daemon: No such process
root@xenial:~# pulseaudio --start
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
root@xenial:~# pulseaudio --kill
root@xenial:~# pulseaudio --start
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
root@xenial:~# 
I've attached the output of the alsagui. I cannot adjust the level of "capture" which appears to be at zero. Every thing else is adjustable so I expect "capture should be. gqrx does work though. If this continues to be OK I'll get rid of the .pet .sfs.

Regards,

Ken.
Attachments
xendog-alsagui.jpg
(15.74 KiB) Downloaded 849 times

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#870 Post by fredx181 »

Hi Ken, I'd say just use the installed pulseaudio with the --start option (not from the sfs).
The reason I wrote you might need to do "pulseaudio --kill" is in case it was already active with earlier --system attempts.

Maybe try just this in your .desktop launcher.

Code: Select all

Exec=pulseaudio --start
No idea why you can't adjust the "capture"

Fred

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#871 Post by keniv »

Hi Fred,
Thanks again for the help. I've now made a menu entry that starts pulseaudio, pauses for 10 secs, then starts gqrx.

Code: Select all

[Desktop Entry]
Name=Gqrx Start
Type=Application
Exec=/root/My-Applications/bin/gqrx
Icon=/usr/share/icons/hicolor/scalable/apps/gqrx.svg
Terminal=false
Categories=AudioVideo;Audio;Video;Player;TV;
Keywords=SDR;Radio;HAM;
I had to make a little script, called it gqrx, made it executable and put it in /root/My-Applications/bin. You might recognise a puppy user showing through here.

Code: Select all

#!/bin/bash
pulseaudio --start
read -t 10 -p
gqrx
I don't know if this is the best way to do it but it works. I might experiment a bit with the 10secs as it's probably to long.

Regards,

Ken.

User avatar
Max Headroom
Posts: 421
Joined: Wed 28 Jun 2006, 07:17
Location: GodZone Kiwi
Contact:

#872 Post by Max Headroom »

G'day Fred, Happy 2018, ( Perhaps Even More if yoU'Re a Hacker Who could eXploit Meltdown or Spectre ! ) ! So could yoU Please Advize How Meltdown-Proof & Spectre-Proof this XenialDog ( Ubuntu 16.04 'Xenial Xerus' LTS, 32-bit) is? Looks like it's Running 4.4.0.78 Ke*nel According 2 Conky & I've Checked in Synaptic Package Manager 4 Any Ke*nel Updates, Nuthing....

No Worries then?!?

:)K
PC is Not Political Correctness :P , it's a Personal Computer! Boycott the Evil M$ & Google!

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#873 Post by fredx181 »

Max Headroom wrote:G'day Fred, Happy 2018, ( Perhaps Even More if yoU'Re a Hacker Who could eXploit Meltdown or Spectre ! ) ! So could yoU Please Advize How Meltdown-Proof & Spectre-Proof this XenialDog ( Ubuntu 16.04 'Xenial Xerus' LTS, 32-bit) is? Looks like it's Running 4.4.0.78 Ke*nel According 2 Conky & I've Checked in Synaptic Package Manager 4 Any Ke*nel Updates, Nuthing....

No Worries then?!?

:)K
Hi Max, happy 2018 too !!, all I can say is that there's a patch for Meltdown in latest 4.4.0 kernel release, they say.
So on a frugal install only (not when boot from cd or with isobooter) you can run from Menu > System > Upgrade-Kernel and it will update to version 4.4.0-109, so then after reboot with save it would be:

Code: Select all

root@xenial:~# uname -a
Linux xenial 4.4.0-109-generic #132-Ubuntu SMP Tue Jan 9 19:52:07 UTC 2018 i686 i686 i686 GNU/Linux
For the rest I cannot advice because my knowledge is too little about these matters.

Fred

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#874 Post by backi »

Hi

Now using Kernel 4.4.0-59-generic .
Tried to upgrade kernel with installed Upgrade-Programm .
No success :

dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-4.4.0-112-generic
linux-image-extra-4.4.0-112-generic
linux-image-generic
W: Can't drop privileges for downloading as file '/var/cache/apt/archives/partial/linux-image-4.4.0-112-generic_4.4.0-112.135_i386.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nothing has been installed or something unexpected occurred
Will restore back to previous state now..
Press any key to close . . .

Any Ideas ?

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#875 Post by keniv »

Hello Fred,
I also got an error message when trying to update the kernel using the method you suggested above. However, it disappears off of the screen too quickly to copy it as a screen capture.

Regards,

Ken.

Post Reply