Re: Order of dvb devices

2010-01-15 Thread Mika Laitio

True, the ordering is not exactly the same everytime. One will need to
provide PCI Bus related info also to a practical udev configuration to
get things sorted out in a sane way, rather than anything else.


At least in Mandriva, the order and naming of network adapters are 
handled by using a this kind of udev rule which prevents for example eth0 
and eth1 to swap between boots:


[lam...@iiris rules.d]$ cat 70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# Drakx-net rule for eth0 (00:24:e8:9e:66:13)
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, 
ATTR{address}==00:11:22:33:44:55, ATTR{type}==1, KERNEL==eth*, 
NAME=eth0


# PCI device 0x8086:0x4232 (iwlagn)
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, 
ATTR{address}==11:22:33:44:55:66, ATTR{type}==1, KERNEL==wlan*, 
NAME=wlan0


I am not sure whether udev rules itself can originally generate this file 
or whether it's mandriva's own tools/scripts that will generate this file 
and add all new adapters it finds that are not yet in the file.


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] Acoustical mode for femon

2009-12-28 Thread Mika Laitio

The monitoring application produces a sound indicating the signal quality. The
higher the beep the better the signal quality.
This is useful while mounting the antenna for finding the best position without
having to look at the monitor or without even having a monitor.


Thank you for this!  Very useful since it's hard to be outside aiming
and inside looking at a monitor at the same time.  :)


While I was trying to locate astra on last year by rotating the dish I 
used both the cheap (10 euro) beeper that was but in the satellite cable 
end to find out the abbroximately dish direction. Fine tuning was done by 
starring the laptop screen szap output to find out when it started to 
printout LOCKED output. (I used ssh from the laptop to dvb card computer 
where I had put the channel info for one astra channel and tried to szap 
for that one. That of course meant that I needed the correct channel info 
for one channel in satellite even before I could try to scan channels from 
that satellite...)


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: Can't load firmware - HVR4000

2009-03-29 Thread Mika Laitio

The firmware loads correctly now!


Which devices requires i2c-dev module? I mean if I want to buy new dvb 
devices in addition of hvr-4000 and hvr-1300, should I then avoid some 
devices...


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: The right way to interpret the content of SNR, signal strength and BER from HVR 4000 Lite

2009-03-24 Thread Mika Laitio

That said, the solution takes the approach of revolutionary as
opposed to evolutionary, which always worries me.  While providing a
much more powerful interface, it also means all of the applications
will have to properly support all of the various possible
representations of the data, increasing the responsibility in userland
considerably.


Not necessarily, the application can simply chose to support what
the driver provides as is, thereby doing no translations at all.


From the end user point of view it is not very usefull if he has 2 
different cards and application can not show any usefull signal goodness 
info in a way that would be easy to compare. So I think the attempt to 
standardize to db is good.


Maybe there could then in addition be some other optional method for also 
getting data in some hw specific format in a way that Manu suggested.
But there should anyway be mandatory to have this one standard goodness 
value in a way that does not require apps to make any complicate 
comparisons... (I bet half of those apps would be broken for years)


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] Broken Tuning on Wintv Nova HD S2

2009-01-29 Thread Mika Laitio

Edgar (gimli) Hucek


Does simple patch work ?
I need your Acked-by :)


Hi, I have only saw one version of your patch in mailing list,
did you send the simpler version somewhere?

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?

2009-01-26 Thread Mika Laitio

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: kernel soft lockup on boot loading cx2388x based DVB-S card (TeVii S420)

2009-01-15 Thread Mika Laitio

Firstly i built the v4l from: http://linuxtv.org/hg/v4l-dvb (hg clone) as the 
card was not detected.
On first reboot after new modules are installed i get a kernel soft lockup
cx88[0]/2: cx2388x based DVB/ATSC card
BUG: soft lockup - CPU#0 stuck for 11s! [modprobe:1767]


I just merged on http://linuxtv.org/hg/v4l-dvb a patch for fixing this bug. 
Please test.


Works now ok for me, vdr-1.6.0 is able to show the dvb-t channels 
by using hvr-1300 and dvb-s channels by using the hvr-4000.


vdr-1.7.3 works for me only for dvb-t channels but dvb-s/s2 channels with 
hvr-4000 does not tune.


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