Re: Structure of DiSEqC Command
On Thu, Aug 11, 2011 at 2:21 AM, DUBOST Brice wrote: > Hello > > I'm the upstream author of MuMuDVB (http://mumudvb.braice.net) > > The diseqc related code is here > http://gitweb.braice.net/gitweb?p=mumudvb;a=blob;f=src/tune.c > > On the document > > http://www.eutelsat.com/satellites/pdf/Diseqc/associated%20docs/applic_info_LNB_switchers.pdf > > Page 7 (page 10 of the PDF) the band is the LSB and the table > is organized in increasing binary data > > But in > http://www.eutelsat.com/satellites/pdf/Diseqc/associated%20docs/update_recomm_for_implim.pdf > > page 33 (35 in the PDF) > > The LSB SEEMS to be the polarization, but it's still the band, the table > is just organized in a strange way > > If you look deeply into the code of scan > http://www.linuxtv.org/hg/dvb-apps/file/36a084aace47/util/scan/diseqc.c > > You'll see that the table is organized as in the second document and the > code addresses the table for making the message but there is no mistake > in the real data since it's f0,f2,f1 etc ... > > So the difference is if the diseqc data is wrote directly (as in > MuMuDVB) or taken from a table organised as in the specification (as in > scan) > > Hope it's clear and it helps > > Regards > > -- > Brice > Thanks for the response. It really helped :) -- Nima Mohammadi -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Structure of DiSEqC Command
Hi folks, I was reading the source code of various dvb related utilities and I was wondering about forming up the message which instructs the DiSEqC switch. But I found out that different programs produce the command differently. The confusing thing is that according to the DiSEqC specification documents that I've read, the least significant bit (lsb) must indicate the band (low/high), not the polarity (ver/hor), but as you see it only applies to some of these programs: getstrean abd dvbstream: int i = 4 * switch_pos + 2 * hiband + (voltage_18 ? 1 : 0); szap and mplayer: (((sat_no * 4) & 0x0f) | (hi_lo ? 1 : 0) | (polv ? 0 : 2)); scan: 4 * switch_pos + 2 * hiband + (voltage_18 ? 1 : 0) gstdvbsrc: (((sat_no * 4) & 0x0f) | (tone == SEC_TONE_ON ? 1 : 0) | (voltage == SEC_VOLTAGE_13 ? 0 : 2)); -- Nima Mohammadi -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: SkyStar S2 on an embedded Linux
Sorry, my bad! You were right. The channels on FEC 3/4 and 8PSK modulation can't be locked. Is there any solution to this problem? I noticed you've quoted my email on a forum: http://linuxdvb.org.ru/wbb/index.php?page=Thread&postID=16173#post16173 On Wed, Aug 18, 2010 at 11:21 PM, Nima Mohammadi wrote: > On Wed, Aug 18, 2010 at 7:23 PM, Goga777 wrote: >> >> would you re-check please again - have you luck with 8PSK-FEC 3/4 dvb-s2 >> channels ? >> >> Goga > > Yes, except MTVNHD and Suisse HD (which use QPSK modulation), almost > all other HD channels on Hotbird are on 8PSK and I can watch them > without any problem. > > Actually, I managed to solve my problem. I was using a lightweight > implementation of udev called mdev. Today I tried installing udev on > my embedded system. And although it works fine now, I prefer to use > mdev and I'd be more than happy if anyone could point out what the > problem with mdev is. As the documentation of busybox states, mdev can > load firmwares from the /lib/firmware/ directory. > > -- Nima Mohammadi > -- Nima Mohammadi -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: SkyStar S2 on an embedded Linux
On Wed, Aug 18, 2010 at 7:23 PM, Goga777 wrote: > > would you re-check please again - have you luck with 8PSK-FEC 3/4 dvb-s2 > channels ? > > Goga Yes, except MTVNHD and Suisse HD (which use QPSK modulation), almost all other HD channels on Hotbird are on 8PSK and I can watch them without any problem. Actually, I managed to solve my problem. I was using a lightweight implementation of udev called mdev. Today I tried installing udev on my embedded system. And although it works fine now, I prefer to use mdev and I'd be more than happy if anyone could point out what the problem with mdev is. As the documentation of busybox states, mdev can load firmwares from the /lib/firmware/ directory. -- Nima Mohammadi -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: SkyStar S2 on an embedded Linux
On Tue, Aug 17, 2010 at 9:40 PM, Goga777 wrote: > did you patch something ? > did you test your card with dvb-s2 channels ? Yep! After I extracted the s2-liplianin archive, I patched the files using a file I've found on a Russian website. The link to the file (SVT-SkyStarS2-driver-install.run) can be found at the link below: http://www.forum.free-x.de/wbb/index.php?page=Thread&postID=8170#post8170 I'm currently using it and I can scan, tune and watch S2 transponders. The problem is that when I copy the /lib directory to the root fs of target system (an embedded system with the same kernel), the modules don't get loaded correctly. -- Nima Mohammadi -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
SkyStar S2 on an embedded Linux
ve 0xf08a b2c2_flexcop 27440 1 b2c2_flexcop_pci, Live 0xf088c000 cx24123 12630 1 b2c2_flexcop, Live 0xf0876000 cx24113 6965 1 b2c2_flexcop, Live 0xf0868000 dvb_core 86360 1 b2c2_flexcop, Live 0xf0843000 s5h1420 10592 1 b2c2_flexcop, Live 0xf0805000 On my working system: r...@nima-pc:~# lsmod b2c2_flexcop_pci5239 0 b2c2_flexcop 27440 1 b2c2_flexcop_pci dvb_core 86360 1 b2c2_flexcop cx2412312630 1 b2c2_flexcop cx24113 6965 1 b2c2_flexcop s5h142010592 1 b2c2_flexcop ... -- Nima Mohammadi -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: v4l-dvb does not compile with kernel 2.6.34
Last week I had the same problem. It gave me a headache trying to make it work! So here is the instruction: * First, follow the link below and download the .bz2 file. http://mercurial.intuxication.org/hg/s2-liplianin *Now, extract the files in the /usr/src/ directory and then, at the prompt, type the following command: wget "http://www.forum.free-x.de/wbb/index.php?page=Attachment&attachmentID=479&h=4f8e50d771ca4d3cd5d2fe38c7afe772c373313f"; -O SVT-SkyStarS2-driver-install.run.tar.bz2 *Extract the downloaded file and execute the ".run" file to patch the v4l-dvb source code which you've downloaded by the first command. ./SVT-SkyStarS2-driver-install.run Now, if it is patched correctly, you'll be able to run make and make install. And that's it! *You may encounter errors concerning a function named kzalloc. Let me know if the compiling error occurred for you. -- Yours sincerely, Nima Mohammadi -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html