All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-dvb] dvbloopback:
@ 2008-11-05 23:48 Torgeir Veimo
  2008-11-06  9:36 ` Jelle De Loecker
  0 siblings, 1 reply; 5+ messages in thread
From: Torgeir Veimo @ 2008-11-05 23:48 UTC (permalink / raw)
  To: linux-dvb

Am trying to use dvbloopback in a setup with two cards, but it seems  
to fail, I get these errors;

Nov  6 09:30:30.151 frontend: Could not open /dev/dvb/adapter2/ 
frontend1. Error was: 14
Open failed
: Bad address
Nov  6 09:30:30.151 demux: Could not open /dev/dvb/adapter2/demux1.  
Error was: 14
Open failed
: Bad address

Looking in /var/log/messages, I see the errors;

Nov  6 09:30:30 htpc kernel: Failed to find private data during open

Looking into the dvbloopback kernel module source, it looks like it's  
not able to retrieve its private member variables;

lbdev = (struct dvblb_devinfo *)dvbdev->priv;
if (lbdev == NULL) {
   printk("Failed to find private data during open\n");
   return -EFAULT;
}

This would indicate something serious is happening with the kernel  
module loading? I am using kernel 2.6.26, am not sure if there are any  
incompatibilities there, as the compile script seems to support up to  
2.6.25 only?

Is the dvbloopback module author subscribed to this list?

-- 
Torgeir Veimo
torgeir@pobox.com





_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-dvb] dvbloopback:
  2008-11-05 23:48 [linux-dvb] dvbloopback: Torgeir Veimo
@ 2008-11-06  9:36 ` Jelle De Loecker
  2008-11-06 10:38   ` Torgeir Veimo
  2008-11-06 10:41   ` Per Heldal
  0 siblings, 2 replies; 5+ messages in thread
From: Jelle De Loecker @ 2008-11-06  9:36 UTC (permalink / raw)
  To: Torgeir Veimo, LinuxTV DVB Mailing

Torgeir Veimo schreef:
> Am trying to use dvbloopback in a setup with two cards, but it seems  
> to fail, I get these errors;
>
> Nov  6 09:30:30.151 frontend: Could not open /dev/dvb/adapter2/ 
> frontend1. Error was: 14
> Open failed
> : Bad address
> Nov  6 09:30:30.151 demux: Could not open /dev/dvb/adapter2/demux1.  
> Error was: 14
> Open failed
> : Bad address
>
> Looking in /var/log/messages, I see the errors;
>
> Nov  6 09:30:30 htpc kernel: Failed to find private data during open
>
> Looking into the dvbloopback kernel module source, it looks like it's  
> not able to retrieve its private member variables;
>
> lbdev = (struct dvblb_devinfo *)dvbdev->priv;
> if (lbdev == NULL) {
>    printk("Failed to find private data during open\n");
>    return -EFAULT;
> }
>
> This would indicate something serious is happening with the kernel  
> module loading? I am using kernel 2.6.26, am not sure if there are any  
> incompatibilities there, as the compile script seems to support up to  
> 2.6.25 only?
>
> Is the dvbloopback module author subscribed to this list?
>   
Hi Torgeir,

First of all, I admire your courage for asking help about dvbloopback on 
this list.
Dvbloopback (and so sasc-ng) is kind of taboo on most MLs.

Unjust, in my opinion.
Sure, the software can be abused for signal "piracy" or whatever you 
want to call it, but in the same way can you abuse Azureus, Gift, ... 
for illegal downloading. In the same way is watching a dvd in America 
some silly patent infringment thing or what-ever.

So, to anyone, I use sasc-ng (and a couple of my friends, too) so that 
we can use 1 smartcard for several tuners.
This is in no way illegal (at least not here in Belgium). However, it 
could be a breach of contract, but that's not any worry of this list. 
(And since my provider supports settop-boxes with multiple tuners I'm 
not worried, too)

And after ALL that, just talking about using and compiling the progrem 
certainly isn't illegal.

I know nobody has said anything about "don't mention sasc-ng on this 
list" yet, I'm just preparing.

Anyway!

Are you using S2API and the S2API patch found on open-sasc-ng's trac?
Because I have the same problem ("error 14", I don't get the "private 
data" bit, though) with kernel 2.6.26 (which came with Debian Lenny) AND 
with my own compiled 2.6.27

In my case it must be an S2API thing, because when I was using 
Multiproto everything worked fine.

Or maybe it's a regression in the latest revision (r53?) I should find 
out ...

Greetings,
Jelle De Loecker

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-dvb] dvbloopback:
  2008-11-06  9:36 ` Jelle De Loecker
@ 2008-11-06 10:38   ` Torgeir Veimo
  2008-11-06 10:41   ` Per Heldal
  1 sibling, 0 replies; 5+ messages in thread
From: Torgeir Veimo @ 2008-11-06 10:38 UTC (permalink / raw)
  To: Jelle De Loecker; +Cc: linux-dvb


On 6 Nov 2008, at 19:36, Jelle De Loecker wrote:

> Are you using S2API and the S2API patch found on open-sasc-ng's trac?
> Because I have the same problem ("error 14", I don't get the  
> "private data" bit, though) with kernel 2.6.26 (which came with  
> Debian Lenny) AND with my own compiled 2.6.27
>
> In my case it must be an S2API thing, because when I was using  
> Multiproto everything worked fine.


I am using a pretty recent version of the hg code yes. DVB version is  
set to 5. I guess I need to find a less recent version.

-- 
Torgeir Veimo
torgeir@pobox.com





_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-dvb] dvbloopback:
  2008-11-06  9:36 ` Jelle De Loecker
  2008-11-06 10:38   ` Torgeir Veimo
@ 2008-11-06 10:41   ` Per Heldal
  2008-11-06 12:57     ` Torgeir Veimo
  1 sibling, 1 reply; 5+ messages in thread
From: Per Heldal @ 2008-11-06 10:41 UTC (permalink / raw)
  To: Jelle De Loecker; +Cc: LinuxTV DVB Mailing

On Thu, 2008-11-06 at 10:36 +0100, Jelle De Loecker wrote:
> In my case it must be an S2API thing, because when I was using 
> Multiproto everything worked fine.
> 
> Or maybe it's a regression in the latest revision (r53?) I should find 
> out ...

dvbloopback copies a number of functions from the dvb source which
aren't exported through the API of which some may have been altered, nor
is it afics prepared to carry the additional tuning attributes. It is
thus a fair assumption that it may need a bit of attention to fully
support tuning via DVB-API v5.

//per




_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-dvb] dvbloopback:
  2008-11-06 10:41   ` Per Heldal
@ 2008-11-06 12:57     ` Torgeir Veimo
  0 siblings, 0 replies; 5+ messages in thread
From: Torgeir Veimo @ 2008-11-06 12:57 UTC (permalink / raw)
  To: linux-dvb


On 6 Nov 2008, at 20:41, Per Heldal wrote:

> On Thu, 2008-11-06 at 10:36 +0100, Jelle De Loecker wrote:
>> In my case it must be an S2API thing, because when I was using
>> Multiproto everything worked fine.
>>
>> Or maybe it's a regression in the latest revision (r53?) I should  
>> find
>> out ...
>
> dvbloopback copies a number of functions from the dvb source which
> aren't exported through the API of which some may have been altered,  
> nor
> is it afics prepared to carry the additional tuning attributes. It is
> thus a fair assumption that it may need a bit of attention to fully
> support tuning via DVB-API v5.


Using the hg sources from around end of September fixed the problem  
for me.

I guess dvbloopback would need to be updated to current DVB v5 with  
S2API support eventually..

-- 
Torgeir Veimo
torgeir@pobox.com





_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-11-06 12:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-05 23:48 [linux-dvb] dvbloopback: Torgeir Veimo
2008-11-06  9:36 ` Jelle De Loecker
2008-11-06 10:38   ` Torgeir Veimo
2008-11-06 10:41   ` Per Heldal
2008-11-06 12:57     ` Torgeir Veimo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.