Welcome to GOFASTMOTORSPORTS.com ... ... ... Green Flag - Green Flag - Go Go Go ... ... Brought to you by Ricks Satellite - Where the Big Dish Rules!

Ricks Satellite Wildfeed and Backhaul Forum
Register Latest Topics
 
 
 


Reply
  Author   Comment   Page 3 of 10      Prev   1   2   3   4   5   6   Next   »
mountaineer

Avatar / Picture

Registered:
Posts: 2,609
Reply with quote  #31 
I have worked with basic, TI basic, dos, turbo pascal etc. Just got away from me and have never really worked with linux...got too busy in the mid to late nineties and windows was too "easy" to not use with limited time  (four kids, three dogs, job etc etc etc)
I can learn and use... just need to get the gist of it with help from others.

__________________
3 Edison OS mini's, 3 Openbox S10s, 2 Openbox S9's, NFusion HD, 2 Prof 7500's, Genpix Skywalker 1, 2 Optibox Anacondas, Azbox me, Azbox minime, 2 Jynxboxes, ismart m100, izzibox, TBS 6982, Vigica C60s, Optibox Raptor, azbox Bravissimo, TBS 5922SE, TBS 5980 (Broke), and TBS 6902.
 36" KU Dish Linear, 10 ft prime focus Mesh, 7.5ft prime focus mesh dish C and KU.
7 Stationary KU dishes.
majortom

Avatar / Picture

Registered:
Posts: 4,826
Reply with quote  #32 
I hear ya.... My suggestion, if ya really wanna get the hang of living in a linux environment, would be to whack your windows machine(s) entirely, repartition for linux only and cut all ties to windows. That will force you to learn how to do things the linux way, get used to using the shell, moving around, deal with scripts compile some simple programs so on.

In my house, even my wife's PC is running linux. She doesn't care what it is, as long as she can get online, do some online shopping once in awhile, read her email,so on...So for her it makes no difference what OS it runs.

first step for what you ultimately wanna do would be to determine the target CPU you need to cross compile for.
find one of your working kernel modules on the STB,and run for example, 'file somemodulename.ko' to see what architecture
that kernel module was compiled for. and don't forget the uname -r to determine the linux kernel version which is currently running on the STB.  Because you'll probably have to backport one or more of the current modules to that particular version of the kernel.
Not a straight forward /simple task either.



__________________
Perfect 10 7.5' mesh Chapparal C/Ku Co-Rotor feed, Norsat 8115 CBAND, Norsat 4106A Ku Thomson Saginaw Actuator, Vbox positioner,
Home Brew Polarotor683 Servo circuit. Openbox S9, Prof7500, v4l-updatelee linux drivers installed.
mountaineer

Avatar / Picture

Registered:
Posts: 2,609
Reply with quote  #33 
This is the sigma stuff I found.... all credit to satsupreme.com and the author WAHID
What follows is from there:




Recently, I was playing with my new AZBox, a Linux-powered DVB-S receiver. It is a MIPS platform with a Sigma processor. AZBox's official site provides SDK and here for programming together with a simple example plugin. Since setting up the compiling environment on my Ubuntu 9.04 was not so straightforward, I have written this post. So, the goal is to compile, install and run the provided example plugin on the AZBox. (This HOWTO is based on Geordy's blog post and Jorgen's comments. Thanks!)

1. Make sure you have installed all important pre-requisites:
Code:
sudo apt-get install flex genromfs bison libncurses5-dev ncurses-base gcc-3.4
2. Download and extract official toolchain of Sigma:
3. Download and extract AZBox-SDK:
Code:
wget http://www.azupd.com/Plugins-SDK.tgz      tar -xzf Plugins-SDK.tgz
4. Continue with preparing the toolchain:
Code:
cd smp86xx_toolchain.20080505      export CC=gcc-3.4      make menuconfig
You don't need to change anything in the configuration, just select "exit".

5. Next, start the toolchain compilation. It will last for some time and some stuff will be automatically downloaded from the Internet:
Code:
make
If everything went right, you are now prepared to compile for your AZBox.

6. Load environment variables needed for cross-compilations:
Code:
source toolchain-path.env
7. Now move to the directory of the AZBox's sample plugin, "mwkeytest":
Code:
cd ../azbox-sdk/ExternTarget/samples
8. Compile the sample plugin:
Code:
make install
9. Two files, mwkeytest.plugin and plugins.lst would be created. Copy them via FTP to your AZBox's /tmp directory.

10. Take AZBox's remote control, go to the Plugins menu and select installation of the new plugin "mwkeytest" from /tmp.

11. Now run your new plugin "mwkeytest"! It is a simple application that displays key-press events that it receives.

Enjoy! [wink]

Thanks Beerda





__________________
3 Edison OS mini's, 3 Openbox S10s, 2 Openbox S9's, NFusion HD, 2 Prof 7500's, Genpix Skywalker 1, 2 Optibox Anacondas, Azbox me, Azbox minime, 2 Jynxboxes, ismart m100, izzibox, TBS 6982, Vigica C60s, Optibox Raptor, azbox Bravissimo, TBS 5922SE, TBS 5980 (Broke), and TBS 6902.
 36" KU Dish Linear, 10 ft prime focus Mesh, 7.5ft prime focus mesh dish C and KU.
7 Stationary KU dishes.
bluzee

Registered:
Posts: 2,183
Reply with quote  #34 
You could also look at buildroot.  http://buildroot.uclibc.org/ 
andyinyakima

Avatar / Picture

Registered:
Posts: 1,519
Reply with quote  #35 
mountaineer,

Item number 3 in the list forwards to a for sale URL.

The SDK indicates it's a Software Developement Kit which is really handy to have.
Do you have that SDK?

Item number 2, I down loaded and extracted.

I looked for driver modules(not really hard) and did not find any. Did anyone else find the driver modules.

I did find the "frontend.h" in the include folder so it's step in the right direction.

Would like to see what's in that SDK and find the driver modules.

__________________
andyinyakima
-----------------------------------
Recs: TBS6983, TBS5925 __ Ant: 90cm on SG6100__OSes: Linux with v4l-updatelee drivers __ RPi2 with v4l-updatelee drivers

Open Book, Open Source, You have to Open it to Know what's in it!
mountaineer

Avatar / Picture

Registered:
Posts: 2,609
Reply with quote  #36 
Go here and if you are a member downloaD...IF NOT MAYBE JOIN...i'LL KEEP LOOKING

hxxp://www.sat-universe.com/showthread.php?t=140830


EVEN better go here: no join

hxxp://www.satdir.com/downloadfile.php?filename=Plugins-SDK-0.1.1.tgz&directory=AzBox/Developer%20Tools&PHPSESSID=675b0e04b1c8dc627efeb253ccf96c0c

__________________
3 Edison OS mini's, 3 Openbox S10s, 2 Openbox S9's, NFusion HD, 2 Prof 7500's, Genpix Skywalker 1, 2 Optibox Anacondas, Azbox me, Azbox minime, 2 Jynxboxes, ismart m100, izzibox, TBS 6982, Vigica C60s, Optibox Raptor, azbox Bravissimo, TBS 5922SE, TBS 5980 (Broke), and TBS 6902.
 36" KU Dish Linear, 10 ft prime focus Mesh, 7.5ft prime focus mesh dish C and KU.
7 Stationary KU dishes.
andyinyakima

Avatar / Picture

Registered:
Posts: 1,519
Reply with quote  #37 
mountaineer,

I downloaded both sites but have not located any drivers,
will keep looking though.

I don't know much about the AZ box either, but as I look through these files I will hopefully gain some knowledge.

I went to the second site you listed.

http://www.satdir.com/downloadfile.php?filename=Plugins-SDK-0.1.1.tgz&directory=AzBox/Developer%20Tools&PHPSESSID=675b0e04b1c8dc627efeb253ccf96c0c

I will try and go through  the WAHID list and see what happens. May be awhile.

__________________
andyinyakima
-----------------------------------
Recs: TBS6983, TBS5925 __ Ant: 90cm on SG6100__OSes: Linux with v4l-updatelee drivers __ RPi2 with v4l-updatelee drivers

Open Book, Open Source, You have to Open it to Know what's in it!
mountaineer

Avatar / Picture

Registered:
Posts: 2,609
Reply with quote  #38 
Still working on getting the TBS 5922 SE   into the mips environment and onto Azminime as second tuner.


Some progress....I compiled drivers using unbuntu on 86 machine. I know these need to be cross compiled in sigma/mips environment...I am still working and learning.....but there was no tas2101 in any drivers anywhere...before or after compiling. Nor as there av2101.

There was however TBS 5922se.ko and dvb-usb-tbs5923 and dvb-usb-tbsqbox22.ko.
All reference to the 5922se and are in the correct places where av2101 and tas2101 should be. 
Anyway I loaded those and the firmaware into Azminime and it did not recognize the tuner..not surprised because it was compiled in wrong environment....but is it do to that or no av2101.ko or tas2101.ko.

i cant find any refence to those in the TBS blobs/driver downloads.

Any help is appreciated.

__________________
3 Edison OS mini's, 3 Openbox S10s, 2 Openbox S9's, NFusion HD, 2 Prof 7500's, Genpix Skywalker 1, 2 Optibox Anacondas, Azbox me, Azbox minime, 2 Jynxboxes, ismart m100, izzibox, TBS 6982, Vigica C60s, Optibox Raptor, azbox Bravissimo, TBS 5922SE, TBS 5980 (Broke), and TBS 6902.
 36" KU Dish Linear, 10 ft prime focus Mesh, 7.5ft prime focus mesh dish C and KU.
7 Stationary KU dishes.
bluzee

Registered:
Posts: 2,183
Reply with quote  #39 
Won't work unless it's compiled for the correct architecture and compiled for the exact same kernel that is running on the AZ.  

I see av201x.ko under  /lib/modules/3.13.0-37-generic/kernel/drivers/media/tuners
I see /lib/modules/3.13.0-37-generic/kernel/drivers/media/dvb-frontends/tas2101.ko

Probably the only way to do  this is to get the kernel source for your AZ box kernel, patch all the necessary drivers for the 5922se into that source and then cross compile it for MIPS.   Then you should be able to copy the necessary driver modules to your AZ box.  Not a simple task. 



mountaineer

Avatar / Picture

Registered:
Posts: 2,609
Reply with quote  #40 
Thanks bluzee.
i have unbuntu loaded.

in unbuntu I have lib/modules     3.13.0-32-generic      3.13.0-62-generic  3.13.0-63  and 3.13.0-65

I went in to each of them  and none of them have the two files. Also searches show nothing.
Tuners the first one is e400 r something like that. and the frontends have no tas.

Any thoughts?   Different linux image needed?

__________________
3 Edison OS mini's, 3 Openbox S10s, 2 Openbox S9's, NFusion HD, 2 Prof 7500's, Genpix Skywalker 1, 2 Optibox Anacondas, Azbox me, Azbox minime, 2 Jynxboxes, ismart m100, izzibox, TBS 6982, Vigica C60s, Optibox Raptor, azbox Bravissimo, TBS 5922SE, TBS 5980 (Broke), and TBS 6902.
 36" KU Dish Linear, 10 ft prime focus Mesh, 7.5ft prime focus mesh dish C and KU.
7 Stationary KU dishes.
bluzee

Registered:
Posts: 2,183
Reply with quote  #41 
Driver is not installed.

Which drivers did you compile in Ubuntu?  For an x86 machine either the TBS driver package or the ljalves open source driver should work OK.  

The mainline kernel won't have this driver so you will have to compile and install one of these and then reboot.  Instructions should be in a README. TBS driver installs into your existing kernel and I think ljalves https://github.com/ljalves/linux_media is a complete new kernel same as what UDL does with his tree.  I have those two drivers from UDL's tree, but last I checked he doesn't have tbs5922se in his tree.
mountaineer

Avatar / Picture

Registered:
Posts: 2,609
Reply with quote  #42 
 I used the tbs driver package. All the tbs drivers/firmware are in there but the two needed. I followed these instructions and everything went fine...but no two files needed....

r headers
and build tools are already installed in your Linux system.
Most of the steps require root access to and basic knowledge of Linux system.
Create directory, for example /root/tbs and copy the following file to it:
- linux-tbs-drivers.tar.bz2 (S2API Linix driver for TurboSight TBS 5921)
- dvb-usb-tbsqbox-id5921.fw (QBOXS3 USB firmware file)
- szap-s2.tar.bz2 (szap tool compatible with new DVB-S2 aware S2 API for Linux)
- scan-s2.tar.bz2 (scan tool compatible with new DVB-S2 aware S2 API for Linux)
- astra_szap-s2.conf (example configuration file for szap-s2)
- astra_scan-s2.conf (example configuration file for scan-s2)
- v4l-cx23885-avcore-01.fw (CX23885 AV core firmware, not needed for USB box)
I.0 install the QBOXS3 USB firmware file "dvb-usb-tbsqbox-id5921.fw" /lib/firmware/:
mv dvb-usb-tbsqbox-id5921.fw /lib/firmware/
I.1 extract linux-tbs-drivers.tar.bz2 archive:
# tar xjvf linux-tbs-drivers.tar.bz2
I.2 go to driver package directory:
# cd linux-tbs-drivers
I.3 depending on your kernel version and if the kernel is x86 or
x86_64 (check output of 'uname -a') do:
- for x86 kernel 3.x (x86 32 bit installations of kernel 3.x):
# ./v4l/tbs-x86_r3.sh
- for x86 kernel 2.6.x (x86 32 bit installations of kernel 2.6.x):
# ./v4l/tbs-x86.sh
- for any x86_64 kernel (x86 64 bit installations of Linux):
# ./v4l/tbs-x86_64.sh
I.4 build and install the driver:
# make && make install


__________________
3 Edison OS mini's, 3 Openbox S10s, 2 Openbox S9's, NFusion HD, 2 Prof 7500's, Genpix Skywalker 1, 2 Optibox Anacondas, Azbox me, Azbox minime, 2 Jynxboxes, ismart m100, izzibox, TBS 6982, Vigica C60s, Optibox Raptor, azbox Bravissimo, TBS 5922SE, TBS 5980 (Broke), and TBS 6902.
 36" KU Dish Linear, 10 ft prime focus Mesh, 7.5ft prime focus mesh dish C and KU.
7 Stationary KU dishes.
bluzee

Registered:
Posts: 2,183
Reply with quote  #43 
It's possible they use different named modules in the TBS drivers package.  Not entirely familiar with their drivers.  They should work more or less OK though. 

One quirk I remember is I believe you need to be root to compile their package. 

In a terminal run the command....

tail -f /var/log/kern.log

Now plug in your 5922.   If the driver is installed OK you should see it spit out a bunch of log messages for stuff like loading firmware, registering adapter etc.  If you look in the /dev/dvb/ directory you should see a new adapter(x) directory populated with things like frontend0, dvr0 etc.

Edit:
FYI in case I forgot to mention this earlier you cannot cross compile the TBS driver package do to their insistence on keeping part of the drivers in a pre-compiled binary blob.
majortom

Avatar / Picture

Registered:
Posts: 4,826
Reply with quote  #44 
I thought we came to the conclusion that the TBS 5922 = tbs qbox22 ??
If so it's in UDL's kernel. When you plug in the device, what is the usb id reported in dmesg?
running after plugging in the device
lsusb -v
outta provide some more insight also I think

according to this, the tbs5922 and tbs5922se also appear to be supported by these other open source drivers:
https://github.com/ljalves/linux_media/wiki

Attached Images
Click image for larger version - Name: tbs_qbox22.png, Views: 15, Size: 175.79 KB  Click image for larger version - Name: tbs_qbox22_drivers.png, Views: 33, Size: 99.43 KB 

__________________
Perfect 10 7.5' mesh Chapparal C/Ku Co-Rotor feed, Norsat 8115 CBAND, Norsat 4106A Ku Thomson Saginaw Actuator, Vbox positioner,
Home Brew Polarotor683 Servo circuit. Openbox S9, Prof7500, v4l-updatelee linux drivers installed.

bluzee

Registered:
Posts: 2,183
Reply with quote  #45 
Yah, 5922 is tbs-qbox22 0x5922.  Mountaineer is working on 5922se.  AFAICT should be tbs5922se  0x5923  Don't see that one in UDL's tree.

ljalves tree is the only open source I know of for 5922se.  
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Fellow Members, your posts are welcome here! Do not worry about posting everything perfect. Different receivers and LNB's will give you different Frequencies and Symbol Rates. Some set top boxes, PCI cards and USB receivers, Do Not Require all of the same information that others may need. It is not Required to post everything that others may need to tune in a feed. It is just most important to share the find. We can always adjust the Frequency and Symbol Rates and try the various Modulations and FEC's on our own receivers until we get a lock and then give a polite reply with what works for your receiver, as that information might help others as well. We all appreciate the efforts and energy of the Posters!

Thank You for Visiting GOFASTMOTORSPORTS.com - Keep Your Eyes on the Sky and the Track!