Re: [linux-dvb] How to use scan-s2?
In message 1233017978.3061.2.ca...@palomino.walls.org, Andy Walls wrote: LO On Mon, 2009-01-26 at 22:31 +0200, Alex Betis wrote: On Mon, Jan 26, 2009 at 10:20 PM, Darron Broad dar...@kewl.org wrote: In message c74595dc0901261130k6bdb6882lfb18c650cbca4...@mail.gmail.com, Alex Betis wrote: On Mon, Jan 26, 2009 at 7:32 PM, Darron Broad dar...@kewl.org wrote: In message c74595dc0901260753x8b9185fu33f2a96ffbe13...@mail.gmail.com, Alex Betis wrote: lo snip The bug is in S2API that doesn't return ANY error message at all :) Aside from Darron's observation, doesn't the result field of any particular S2API property return with a non-0 value on failure? (Sorry, I missed the original thread on the S2API return values.) The actual tuning occurs within a thread and not when issuing the tuning IOCTL. The only means to determine whether tuning worked or not is inspection of the frontend events generated within that thread. So, if the params are wrong, the IOCTL can fail, but that's not the problem Alex is experiencing where the params are correctly formed yet not supported in the driver. I did look at a means to expose supported params a while ago but it's ugly so I haven't gone forward with it. Bye -- // / {:)==={ Darron Broad dar...@kewl.org \\ \ -- 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: [linux-dvb] How to use scan-s2?
As an owner of cx24116 device you should know that it doesn't allow any AUTO settings, so you have to create an INI file with all parameters explicitly specifed (FEC, modulation, rolloff). I believe this is the main problem. Also, please take the latest scan-s2, I've done some changes especily for cx24116 cards. Thanks for the hint, I will try to investigate this more. I didn't know this because the old scan from dvb-apps have seemed to find channels even with this simpler Satellite scan data that comes withing dvb-apps for Astra. Could you or somebody else give me an example from the satellite conf file where all those fields are filled in? I am little confused from those parameters. How about the channel data generated by the scan-s2 or scan with -o vdr option. Should I also make some changes to those manually? I think there must however be a bug either in scan-s2 or hvr-4000 S2API driver, if it's will start scanning even if the given input data is invalid. I mean that I think the driver and S2API should hide away the differences between different S/S2 chipsets in a way that same data given by the user space application should be acceptable for any card/s2-driver. Is the bug in the scan-s2 not handling the error message from the driver about using AUTO values, or is the bug in the driver not correctly returning the error when all data needed is not set? Mika -- 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: [linux-dvb] How to use scan-s2?
In message c74595dc0901260753x8b9185fu33f2a96ffbe13...@mail.gmail.com, Alex Betis wrote: lo snip The bug is in S2API that doesn't return ANY error message at all :) So the tuner is left locked on previous channel. There are many things that can be done in driver to improve the situation, but I'll leave it to someone who has card with cx24116 chips. When tuning the event status should change to 0 and if it stays that way the tuning operation failed. If you read the frontend status directly then you will retrieve the state of the previous tuning operation that suceeded. If this the above is not true then it needs investigation. cya -- 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: [linux-dvb] How to use scan-s2?
In message c74595dc0901261130k6bdb6882lfb18c650cbca4...@mail.gmail.com, Alex Betis wrote: On Mon, Jan 26, 2009 at 7:32 PM, Darron Broad dar...@kewl.org wrote: In message c74595dc0901260753x8b9185fu33f2a96ffbe13...@mail.gmail.com, Alex Betis wrote: lo snip The bug is in S2API that doesn't return ANY error message at all :) So the tuner is left locked on previous channel. There are many things that can be done in driver to improve the situation, but I'll leave it to someone who has card with cx24116 chips. When tuning the event status should change to 0 and if it stays that way the tuning operation failed. If you read the frontend status directly then you will retrieve the state of the previous tuning operation that suceeded. What do you call an event status and what direct status? scan-s2 uses FE_READ_STATUS that always success and indicates channel lock, even if cx24116 driver returned an error due to AUTO parameters. refer to FE_SET_FRONTEND: http://www.linuxtv.org/docs/dvbapi/DVB_Frontend_API.html#SECTION00328000 and, FE_GET_EVENT http://www.linuxtv.org/docs/dvbapi/DVB_Frontend_API.html#SECTION00321 l8r -- // / {:)==={ Darron Broad dar...@kewl.org \\ \ -- 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: [linux-dvb] How to use scan-s2?
Hi, Jens Krehbiel-Gräther schrieb: Artem Makhutov schrieb: Hello, I am wondering on how to use scan-s2. When running scan-s2 like this I am only getting 13 services: scan-s2 -a 2 -o zap /usr/share/dvb/dvb-s/Astra-19.2E channels.conf when running scan-s2 -a 2 -n -o zap /usr/share/dvb/dvb-s/Astra-19.2E channels.conf then I am getting 152 services. When running the old dvbscan application I am getting 1461 services: dvbscan -a 2 -o zap /usr/share/dvb/dvb-s/Astra-19.2E channels.conf Have I missed a parameter in scan-s2 or what else could be the problem? Thanks, Artem Hi Artem! I had the same problem.When add no options I am only getting a few services. When I add the -n option I get some more services but all services I only get, when I am adding -n -5. the -5 means: multiply all filter timeouts by factor 5 for non-DVB-compliant section repitition rates The scan takes a long time then, but I get 1476 services (Astra 19.2). My device is a Pinnacle PCTV 452e (USB). Perhaps this switch is working with your device, too? I just tried it out. It does not work :( I am getting 217 services now. So I am still missing ~1200 services. I have run the scan using a TeVii S650. Now I have run then same using my SkyStar HD and I got 1467 services. So there is something not working using the TeVii S650... Any ideas? Regards, Artem -- 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: [linux-dvb] How to use scan-s2?
If you have a stb0899 device, don't forget to add -k 3. Oh. Can someone say what's different about the stb0899 here, and how -k 3 helps ? Thanks, Hans -- Release early, release often. Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger -- 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: [linux-dvb] How to use scan-s2?
On Sun, Jan 25, 2009 at 4:41 PM, Hans Werner hwern...@gmx.de wrote: If you have a stb0899 device, don't forget to add -k 3. Oh. Can someone say what's different about the stb0899 here, and how -k 3 helps ? Since I've added it, I'll try to defend it :) stb0899 driver (or maybe the chip?) has some buffers inside that are not reset between tunnings. In that case messages from *previous* channel will arrive after the tunning to new channel is complete. Those messages will create a big mess in the results, such as channels without names, duplicate channels on different transponders. -k option specifies how many messages should be ignored before processing it. I couldn't think of a more elegant way to ignore messages from previously tuned channel. I use -k 3 by myself, but after playing around with -k 2 saw that its also working. -k 1 was still not enough. The proper way is to have an option to reset that buffer in the driver after tunning. Since I don't know how it can be done and how it will affect tunning of channels for viewing, I didn't want to go that way and solve it in scan-s2. Regards, Alex. OK, thanks, I will check if I see that problem. Which card(s) did you see this with? Hans -- Release early, release often. Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger -- 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: [linux-dvb] How to use scan-s2?
I have run the scan using a TeVii S650. Now I have run then same using my SkyStar HD and I got 1467 services. So there is something not working using the TeVii S650... have you any duplicates channels in channels list after of scan with tevii ? could you have a look on debug logs of cx24116 during of scan ? have you any messages like these unsupported rolloff selected (3) Goga -- 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