Moderator Control Panel ]

V4L2 multistream support

Re: V4L2 multistream support

Postby lash » Sat Jul 20, 2013 6:17 pm

CrazyCat, I tried applying your patch "manually" against s2-liplianin-v37 driver, but your patch is for the old driver and there some differences[1].
Since some of the changes you mentioned in your patch already exist in newer drivers, do you know if it is needed to add them all?
Do you have a newer patch for more new and stable drivers?

Any advice would be appreciated.


[1] These are some of the changes
- static int stv090x_set_mis already exist in stv090x.c
- state->search_range value has changed in the newer driver
- c->layer[i].interleaving and c->layer[i].segment_count are now equal to 0 so I am wondering if i should:
c->isdbs_ts_id = c->dvbt2_plp_id = 0;
- and a more differences...
lash
 
Posts: 7
Joined: Sat Jul 13, 2013 5:25 pm

Re: V4L2 multistream support

Postby crazycat » Sun Jul 21, 2013 2:19 am

now my multistream + pls patches integrated in my V4L driver repositories:
based on latest TBS V4L - https://bitbucket.org/CrazyCat/linux-tbs-drivers (with experimental BBFrame filtering suport in bbf branch)
based on s2-liplianin-v37-UDL (with blindscan, spectrum scan, constellation monitoring for stv090x, stv0900) - https://bitbucket.org/CrazyCat/s2-liplianin-v37-udl
crazycat
 
Posts: 526
Joined: Mon Jan 31, 2011 2:46 am
Location: Ukraine, Kharkov

Re: V4L2 multistream support

Postby lash » Sun Jul 21, 2013 2:44 pm

I installed the modified version of liplianin driver you provide, but now when I try "dvbsnoop -s feinfo" I get:
Code: Select All Code
Error(95): frontend ioctl: Operation not supported


Added to "linux/drivers/media/dvb/dvb-core/dvb_frontend.c" 's "dvb_frontend_ioctl_legacy" function just before the switch cases:
Code: Select All Code
dprintk("%s cmd: (%d) %d\n", __func__, cmd, FE_GET_INFO);

And monitoring the "dmesg" for 61 which as far as I know is for getting frontend info I get:
Code: Select All Code
[ 1884.402709] dvb_frontend_open
[ 1884.402731] dvb_frontend_ioctl (61)
[ 1884.402734] dvb_frontend_ioctl_legacy cmd: (-2136445123) -2135920835


I am suspecting since "cmd" and "FE_GET_INFO" are different (as kprint prints them out) I cannot get to the switch case, and it returns in one of the if clauses above the switch case, or maybe it is because of "FE_GET_INFO" being legacy and I should write a get property function in api5 style?!
lash
 
Posts: 7
Joined: Sat Jul 13, 2013 5:25 pm

Re: V4L2 multistream support

Postby updatelee » Sun Jul 21, 2013 10:56 pm

As stated on another forum, recompile dvbsnoop from source

UDL
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: V4L2 multistream support

Postby lash » Tue Jul 23, 2013 8:56 pm

gonna stop posting to the other forum to avoid duplicate posts.
re-compiled dvbsnoop, still have the problem, re-installed OS, re-installed your driver and installed snoop and problem still exists!
scan-s2 gives me
Code: Select All Code
main:2748: FATAL: FE_GET_INFO failed: 95 Operation not supported

Can something be wrong with my card? help me get out of this please!
lash
 
Posts: 7
Joined: Sat Jul 13, 2013 5:25 pm

Re: V4L2 multistream support

Postby updatelee » Wed Jul 24, 2013 7:22 am

Im going to guess that you didnt recompile dvbsnoop against the crazcat drivers. You need to point it to those src, usually in the ./configure command

UDL
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: V4L2 multistream support

Postby GMethod » Thu Nov 07, 2013 7:57 pm

special thanks to crazycat for all help yuo giving us ;). everything works fine, i can lock and dmx let say "gse" stream. but what i cant understand is why when i read from dvr i can get only first 188 bytes of every gse packet. also not every packet starts with header. the sequence is ok, but cant get all information of the packet.
Does someone has any idea about that..? and how can i fix this? And crazcat do you think that i should change something into driver?
I get latest drivers from crazycat repo these with BBFrame support, no problem during make & make install.
GMethod
 
Posts: 15
Joined: Fri Jan 13, 2012 12:07 am

Re: V4L2 multistream support

Postby GMethod » Thu Nov 07, 2013 7:59 pm

Just to correct myself, i mean BB frame not GSE packet and header?
GMethod
 
Posts: 15
Joined: Fri Jan 13, 2012 12:07 am

Re: V4L2 multistream support

Postby joolzg » Fri May 09, 2014 4:14 am

Found a little bugett

scan.c:2599
/* Check PLS CODE 0-262143 */
if (pls_mode<0 || pls_mode>262143)
pls_code = 0;

Should this not be

/* Check PLS CODE 0-262143 */
if (pls_code<0 || pls_code>262143)
pls_code = 0;

joolz
ps What are the defines for pls_mode 0,1,2 which is Root and which is Gold
joolzg
 
Posts: 33
Joined: Fri Aug 12, 2011 6:18 am

Previous

Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest

cron