Re: stk1160 linux driver
- Subject: Re: stk1160 linux driver
- From: Ezequiel Garcia <elezegarcia@xxxxxxxxx>
- Date: Sat, 23 Jun 2012 13:01:59 -0300
- Cc: linux-media <linux-media@xxxxxxxxxxxxxxx>
- In-reply-to: <CACK0K0j4mSG=EtU1R-VvvoF_5ZCxrTk4p3niyHBt4tAGVdqLVA@mail.gmail.com>
Hi Gianluca,
On Sat, Jun 23, 2012 at 10:51 AM, Gianluca Bergamo
<gianluca.bergamo@xxxxxxxxx> wrote:
> You are using :
>
> module_usb_driver(stk1160_usb_driver);
>
> That has been introduced in kernel 3.3 and so in my kernel 3.0.8 it does not
> give compiler error (I don't know why) but the probe method is never called.
> I've added the init and exit methods by myself and the probe now works.
>
I think you might want to take a look to media_build:
http://git.linuxtv.org/media_build.git
http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers
This allows latest drivers to be built against old kernels.
A "backward-compatible" solution for stk1160 wouldn't be accepted mainline,
but feel free to use (in a personal fashion)
your patched driver and/or ask me to review your patch.
Unfortunately, you'll have to patch yourself each time I release a new
driver version,
so you may wan to try media_build as I previously suggested.
Hope this helps,
Ezequiel.
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Input]
[Video for Linux]
[Mplayer Users]
[Linux USB Devel]
[Linux Audio Users]
[Photos]
[Yosemite Photos]
[Linux Kernel]
[Linux SCSI]
[XFree86]
[Devices]
[Yosemite Backpacking]