Upup Raring 3.9.9.2 with non-PAE 3.9.9 kernel. 13 July 2013

A home for all kinds of Puppy related projects
Message
Author
User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#181 Post by pemasu »

Yeah. atsc seems to be different protocol. I just dont know anything about US channels. In Finland we have digital aerial ie dvb-t tuner or cable ie dvb-c tuner possibilities.

Try dvb-apps package. And again....first thing is that you have dvb usb bridge back, so that the dvb-t tuner is back online.

To be continued tomorrow. Time to take brake.

w_scan -ft -c US -L > /root/vlc.xspf does not scan atsc channels. It scan dvb-t channels. So...I cant understand the error message.

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#182 Post by edoc »

dvd-apps has a problem, same as dvd-tools, no apps or tools just documents:

In /usr/share/lintian/overrides is a file with this line repeated:
dvd-apps: sharedobject-in-library-directory-missing-soname usr/lib/
Here's the list of what's at the end of that line:
libucsi.so
libdvdapi.so
libdvdben50221.so
libdvdsec.so
libdvdbcfg.so
libesg.so
I have no idea what this is all trying to tell me - I've not seen this before.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#183 Post by pemasu »

Edoc. w_scan provides raw channels probing. I have liked that. Dvbscan relies to the preconfigured tv broadcast definition files.
Dvb-apps definitively provides dvbscan commandline binary which produces the channels.conf file from that preconfigured file.
There are hundreds of those files in /usr/share/dvb/* for dvb-c, dvb-t and for atsc for several countries.

http://www.chinavasion.com/digital-tv-explained.html

The whole USA has been coloured to use atsc standard, not dvb-t which is the standard your stick has inside.

Try google: atsc stick usa >>>> and you see a lot hits.

Now comes the real question. How are you going to find channels and watch them from comp with your Sinergy stick when it has dvb-t enabled chip inside ?

Code: Select all

[   16.290297] DVB: registering new adapter (TerraTec Cinergy T Stick+)
[   16.507140] usb 1-1: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))...
Are there dvb-t standard using broadcasts ?
For me it looks like you would need atsc stick in USA, dvb-t looks like to be useless there.

If you cant correct me that there really is dvb-t standard using TV stations, it will be pointless now to try to teach you to create channels.conf or vlc.xspf file.

Your stick is good as RF tuner, but atm I think it is useless for TV watching in your country, unless you visit dvb-t standard using country, like Finland.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#184 Post by pemasu »

Barry Kauler found the culprit .deb for non-US keyboard layout bug.
It is libX11-6 package update.

Reverting to use this: https://launchpad.net/ubuntu/+source/li ... 2_i386.deb

fixes the non sticking layout problem which happened for non-US keyboard layout with first usage of application.

And...it seems the bug has been spread to the debian side also. Latest sid .deb has the same bug.

Now....I would have stuff to create update of Upup Raring, I just need comp to do that. I have now used this crappy acer 3610 which is slow for heavy usage and also touchpad and left-right click buttons are unresponsive. It is hard to use this. I have also diskless amd turion64 laptop, which I also got free, which has broken left click button, but good for browsing. Youtube videos though are not fluent. And displayless work horse, which is connected by hdmi to my LCD TV, and reading far away with my agesight is painful and prone to errors because I cant see terminal text properly. I could increase the font or dpi, but I just dont like to work like that.

I will wait my new laptop.....

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#185 Post by charlie6 »

Hi Pemasu,
glad that the culprit be found ... and possibly tar poured and feathers covered ?
...i'd thought it also would fix the gnumeric-freeze-panes issue i reported earlier but no hope !
Then perhaps another new culprit to find ... inside this raring ...as gnumeric-1.12.1 works as expected on Precise .
I tried various cut and try debs + binaries + etc.. exchanges, without success.
Hope you'll find a solution to your comp problem :(
Cheers, Charlie

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#186 Post by pemasu »

Charlie6. Well, I dont have a clue what causes the problem. I dont use Gnumeric almost at all. LibreOffice is my Office Suite. Not sure should the bug be hunt from libgtk-3 direction, glib incompatible ( I use unpatched own compile so that pup-volume-monitor works ) or from Gnumeric itself.

I decided to dig out my old Apple Airport Express module. I have now wireless printing configured through it to my old HP Laserjet 1020. It prints wirelessly now. Also I got near eth0 plug in hub through it. I configured AAE so that it joins my existing wireless network. The main reason is, that I like to make it my wireless sound-music streamer. I can listen music wirelessly through it. The audio plug will be connected to it and other end to my stereos and stream music wirelessly from my laptop to it. Pulseaudio has straight plugins for that. Pmusic netradios to full usage. Lol. If Pmusic works in some ubuntu distro. If not, then other netbased radio app,.

When I get my new laptop, I am going to swipe win8 out. Then I format the hdd to mbr - legacy format from gpt which it probably comes with, and I have full hdd for linux. I will install some ubuntu pulseaudio smaller distro. Getting pulseaudio to work in Puppy is possible, but tedious. Ready distro in hdd for music is easier. So....full hdd for linux, 2-3 partitions for full distro testing, this wireless streaming music distro included. And the rest for Puppy, compile, woof, whatever.
I might first test my scenario by swapping the existing hdd out and fix the uefi -secure boot first. I think I switch to use legacy bios if possible. Then boot that swapped hdd. If it is ok, I continue with the new hdd. I believe I dont miss win 8.

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#187 Post by edoc »

I was following the tv channel thing as a test but it sounds as though it's more of a hassle.

My real interest is in the radio side of the device.

How do I test that, please?

Headed off to church and a lunch visit with some friends so will check for posts late afternoon.

Have a good day.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#188 Post by pemasu »

Edoc. Yeah. Forget dvb-t in USA unless someone more experienced tell something else.

About that RF-tuner. I think that you need to contact some radio amateur forums for real usage. The tests show that the RF-tuner has been found and it is usable. Also basic application should be able to take in use. Maybe. But how to use it. It is absolutely out of my league. I think there are a lot pages what to do with it. I have already gathered some url links. But I did it as starting points. Not so that I will start to be radio amateur. I know nothing about that kind hobby. You should contact real users next.

I believe that there isnt much successful discussion about that rtl2832U Rf-tuner property in murga-forum. I believe in fact that we have established the first successful test in Puppy with it.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#189 Post by pemasu »

I have uploaded gnuradio-3.6.5 megapack. I included into it all the needed libs. It has also qt libs ready. I will add gqrx into it later. But it was atm under compiling process in launchpad....so it have to wait.

Anyway, gnuradio-companion should launch without installing anything else. What to do with gnuradio. I have no idea.....lol.
This megapack has support for RTL2832U chip.
And as tested before, I have e4000.ko Elonics RF-tuner kernel driver module included. rtl_test is the command to test if the rf-tuner has been found and usable.

It is in the Upup Raring repo as pet and sfs. My repo link is in the first page.

Here is the gqrx lauchpad repo url link:
https://launchpad.net/~gqrx/+archive/sn ... /+packages

Then..it starts to be as far as I can go when I have included gqrx in to the megapack.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#190 Post by pemasu »

gqrx will be compiled for pulseaudio in launchpad. Does not work in Puppies. I tested the gqrx compile. The source code needs a lot editing due to change development headers names in gnuradio. And I couldnt get past the other audio selection. There just wasnt the needed development header for sink.h. I quit.

The megapack has probably unneeded qt libs included. I will tidy it later. Otherwise I stop now. Thats it.

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#191 Post by edoc »

I have been away from computer and home all day - just returned 30 minutes ago.

Thanks for all that you have accomplished - I will stand by for your tweaked megapack.

I have 3 other devices which have been gathering dust here which may also finally become useful as a result of your efforts:

Silicon Dust TV-Network Tuner
Hauppauge analog-digital converter
SIIG analog-digital converter
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#192 Post by pemasu »

I got new laptop. Getting accustomed with it. Posting from it now.

What I have done so far. I created Supervisor password in BIOS, which enabled me to disable Secureboot and switch to use Legacy Bios.

No bootable media found. Yeah. Win8 is quite inferior os.

Then I booted usb stick upup raring.

Gparted. I removed all existing partitions. Then I created new partition table which is the legacy msdos format. Bye bye win8.

I dont need that kind inferior os called win8 which does not recognize valid Legacy BIOS. 500 Gb for linux.

Then I created swap, primary and logical partitions as ext4. Whole hdd for linux operating systems.

I installed grub4dos and boot code to the mbr. Frugal Upup Raring in the folder. That is where I am now. But...I have to think this evening the partition scheming again. I am not quite sure yet how I would like it to be. I dont know how much mainstream linux os takes space nowadays. I need to check specs.

Anyway. Laptop works, hw has been recognized. The nvidia graphics is not in use yet. I have used the intel integrated graphics. Yeah, this is again dual graphics comp, this time with nvida optimus ie nvidia geforce 710M. I dont know how the graphics switching should work. I have read about bumblebee.

I will check first can I disable nvidia so that it wont use watts. And so on...this will take some time....

EDIT: acpi_call.ko turns nvidia graphics off. Great. 13.7 watts when writing this.

tony
Posts: 334
Joined: Sat 14 Jan 2006, 10:52
Location: Montreal.ca

#193 Post by tony »

Hi,

I have been trying to use Usb 3.0 memory devices in this distro.

It boots up using them but I can't connect to wi-fi.

dmesg shows that driver xhci_hcd cannot be found. There is a lot of stuff in the kernel related to xhci but no .ko files.

Will this file have to compiled and if so how?

Regards Tony.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#194 Post by pemasu »

usb 3.0 support has been compiled in, not as module. It is always available and so...you can boot from usb 3.0 hdd.

CONFIG_USB_XHCI_HCD=y

I think wifi problem is unrelated. Or...do you mean that usb wireless stick in usb 3.0 port is not recognized.

Or...do you mean that wifi is not working at all.

If it is the last, pdiag tar ball would help. In console: pdiag

Latest tests. Hdmi works with integrated intel. Nvidia is a lot more problematic to take in use. This optimus seems to be hard bit. Bumblebee in Puppy seems to need work. Switching nvidia graphics off is trivial but using it is not. Lol.

I wish Nvidia would upload optimus switching mechanism enabled driver. But there is none in the near future. So I will have to try to create bumblebee for Puppy at some time. Probably best way would be to compile all stuff from source and include bbswitch kernel module which works like acpi_call for switching nvidia off.

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#195 Post by edoc »

pemasu wrote:I have uploaded gnuradio-3.6.5 megapack.

It is in the Upup Raring repo as pet and sfs. My repo link is in the first page.

Here is the gqrx lauchpad repo url link:
https://launchpad.net/~gqrx/+archive/sn ... /+packages

Then..it starts to be as far as I can go when I have included gqrx in to the megapack.
I just got a chance to download your megapack - what I did before via PPM was supposed to be complete but one never knows ... I'll get it copied over to the 32-bit laptop and see what happens.

Might these "changes" files from https://launchpad.net/~gqrx/+archive/sn ... /+packages include anything of value?
gnuradio - 3.7.0+1git20130729-g5eaeaa42-0ubuntu0~gqrx~raring5 (changes file) alexc 2013-07-29

gqrx - 2.1.0+2git20130804-g1ee3d787-0ubuntu0~raring1 (changes file) alexc 2013-08-04
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#196 Post by pemasu »

Edoc. That gqrx has been compiled to use pulseaudio as audio backend. It is not compatible with Puppy without quite a work. Done that once. It would mean that you abandon using alsa which Puppies use as chosen audio backend.

I am not going to hassle with pulseaudio. But if you dont need audio...then it is no problem. I just think audio is quite important with SDR.

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#197 Post by edoc »

Audio is critical to my needs.

Does Barry have a strategy to transition to Pulseaudio or ??

Do we at some point hit a wall with ALSA-dependency - or will both ALSA and PulseAudio be necessary for a long time to come?

https://wiki.ubuntu.com/PulseAudio

I see PulseAudio is up to v. 4.0 here:
http://freedesktop.org/software/pulseaudio/releases/
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#198 Post by edoc »

"rtl_test -t" tells me I have no PLL lock at
51000000, 2206000000, 1104000000, or 124300000 Hz
.

It also tells me:
EK4 Range: 52 - 2205MHz
EK4 L-Band Gap: 1104 - 1243 MHz
It reads the same in either HF or VHF/UHF position of the switch.


I tried

Code: Select all

/usr/bin/./rtl_sdr /tmp/capture.bin -s 3.0e6 -f 144.390e6
Got back:
Found 1 Device(s)

0: Realtek, RTL2838UHIDIR, SN000000001

Using device 0: Terratec T Stick PLUS
Found Elonics E4000 Tuner
Exact sample rate is: 3000000.178814 Hz
Tuned to 144390000 Hz
Reading samples in async mode ...
Short write, samples lost, exitin!

Library error 0, exiting ...
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#199 Post by edoc »

Would this fill a gap in the bundle you are building?

gr-scan is built upon GNU Radio, rtl-sdr, and the OsmoSDR Source Block and is intended to scan a range of frequencies and print a list of discovered signals.

http://www.techmeology.co.uk/gr-scan/

Could this Radio Scanner utility be added to your bundle, please?

https://github.com/EarToEarOak/RTLSDR-Scanner

I stumbled upon another GUI app for RTL-SDR here (only 64-bit for Linux):

http://www.sdr-j.tk/index.html

And, I found the following here: http://superkuh.com/rtlsdr.html#installing
patchvonbraun (Marcus Leech)'s multimode:

AM, FM, USB, LSB , WFM. TV-FM, PAL-FM. Very nice, easy to use (screenshots: main, scanning). It has an automated scanning and spectral zoom features with callbacks to click on the spectrogram or panorama to tune to the frequency of interest. There's a toggle for active gain control too. The way to get it is,

Code: Select all

svn co https://www.cgran.org/svn/projects/multimode
then instead of using GRC, just run the multimode.py as is.

Code: Select all

make install
    python multimode.py
If you run it outside of the svn created directory you might need to append ~/bin to pythonpath to find the helper script. If you used build-gnuradio it'll tell you what this is at the end of the install.

Alternately set it in your ~/.bashrc. If you do the below make sure to reload in the terminal by "source ~/.bashrc")

Code: Select all

 PYTHONPATH=/usr/local/lib/python2.6/dist-packages:~/bin
    export PYTHONPATH;
When setting the sample rate it is rounded-down to a multiple of 200 Ksps so the decimation math works out.

Code: Select all

    python multimode.py --srate=2.4M # use normal mode with 2.4 MHz bandwidth
    ./multimode.py --devinfo="rtl=0,direct_samp=1" # use direct sample mode
    python multimode.py --help
If you have overruns like "OOOOoo..." then try reducing the sample rate or pausing the waterfall or spectrum displays.

"The audio subsystem uses 'a' as the identifier, and UHD uses 'u'. With RTLSDR, it'll issue 'O' when it experiences an overrun. Which means that your machine isn't keeping up with the data stream. Sometimes buffering helps, but only if your machine is right on the edge of working properly. If it really can't, on average "keep up", no amount of buffering will help."

If you have overruns like "aUaUaUaUa" or just "aaa" then the audio system is asking for samples at a higher rate than the DSP flow can provide (44vs48Khz, etc). Use "aplay -l" to get a list of the devices on your system.

Code: Select all

aplay -l
The hw:X,Y comes from this mapping of your hardware -- in this case, X is the card number, while Y is the device number. Or you can use "pulse" for pulseaudio. Try specifying,

Code: Select all

python multimode.py--ahw hw:0,0
gqrx:

Written by Alexandru Csete OZ9AEC "gqrx is an experimental AM, FM and SSB software defined receiver". The original version did not have librtlsdr support so changes were made by a number of others to add it. A couple weeks later Csete added gr-osmosdr support to the original. Dekar established a non-pulseaudio port of gqrx for Mac OSX. GNU Radio 3.7 has recently been released and it is not exactly backwards compatible. patchvonbraun's build-gnuradio.sh pulls 3.6.5 by default since many useful modules are targeted for it. You might need to pull 3.7 with build-gnuradio's "-m" switch for the most recent gqrx.

Code: Select all

git clone https://github.com/csete/gqrx.git
    cd gqrx
    # on Ubuntu/Debian, sudo apt-get install qtcreator , if you don't have it.
    qtcreator gqrx.pro 	# press the build button (the hammer)
    # or avoid qtcreator and do it manually.
    qmake
    make
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

tony
Posts: 334
Joined: Sat 14 Jan 2006, 10:52
Location: Montreal.ca

Usb 3.0 problem.

#200 Post by tony »

Hi pemasu,

sorry I have not been clear with my usb 3.0 problem.

I have this distro installed in a USB 3.0 stick.

If I mount this stick in a usb 2.0 port it uses the internal broadcom chip with wl driver to connect to my wi-fi router with no problem.

If I mount this stick in a USB 3.0 port the internal broadcom wireless will not connect and badly affects my router.

If I then put a Belcom external USB wi-fi into the USB 2.0 port, I can connect to my router. Again with no problem. This with the stick still mounted in the USB 3.0 port.

Perhaps Frisbee needs a sleep command inserted somewhere to make USB 3.0 compatible?

Regards Tony.

Post Reply