Re: [linux-dvb] Writing a new driver help please

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi. Maybe this code will help.
This driver registers new adapter, demux and frontend. It also
registers char devices /dev/dvbstubi[0-9]. This devices should be used
for writing raw TS stream. Stream will be processed by dvb-core
internals.
Module has one parameter - baudrate, to prevent overflows in DVR buffers.
Thereare no PCI or USB dependencies, but code has some problems, see FIXMEs ..

2009/4/5 Marc Murphy <marcmltd@xxxxxxxxxxx>:
> Hi All,
> I'm new to DVB and attempting to write a driver to use on an embedded
> platform that I am developing.
> I have used the current micronas demod with a kernel driver that I wrote to
> enable my system to tune and stream live TS.
>
> However I thought it would be good to bring my driver up to the spec of DVB
> and need a few pointers.  I have taken an example driver but they all seem
> to be working off either USB or PCI, my system uses neither.  I have the
> standard i2c for microcode initialisation and control but the TS comes
> directly into my micro.
>
> Is there a simple way to write a basic driver that uses the standard DVB
> framework so that I can register a device without having to use PCI or USB
> ?  What I have tried so far it to add an adaptor and then add a device.
>
> It seems to be working up to the point of the second call to sysfs to create
> the symbolic link to video0.
> I don't fully understand what is going on or whether there is anything I
> need to initialise before attempting to create the device but I can post
> code snippets if that would help.
>
> I hope somebody out there understands what I am going on about.
>
> Thanks
> Marc.
>
> _______________________________________________
> linux-dvb users mailing list
> For V4L/DVB development, please use instead linux-media@xxxxxxxxxxxxxxx
> linux-dvb@xxxxxxxxxxx
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>



-- 
Sergey

Attachment: dvbstub1.tar.bz2
Description: BZip2 compressed data


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux