Need help with AverMedia306 driver on linux system.
A message that is not in the archive (sent off-list or not yet received): [email protected]
:)
Also,
by the time I redo the patch,
You must have seen how i have reached this point,
I have actually started by insering the module with card=39 as an option,
So you can for now, add theses line to
gpunk@gpunk-Aspire-8930:~$cat /etc/modprobe.d/video-tv.conf
options tuner-xc2028 firmware_name=xc3028-v27.fw
options cx23885 card=39
I called my file this way ... it's arbitrary, please check the man modprobe of your ditribution/kernel .
Best regards
Rémi
Quoted 61 lines
Le 21 septembre 2013 à 19:43, "[email protected]" <[email protected]> a écrit :
Hi Remi!
I got my card but i have not finish to install driver. I follow your patch on linuxtv.org but i am not successful. it makes some mistake: "malform" and "hunk" errors.
=======================
root@ty-debian:/usr/local/src/linuxtv# patch -p1 < ./cx23885.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- drivers/media/pci/cx23885/cx23885.h 2013-03-25 05:45:50.000000000 +0100
|+++ drivers/media/pci/cx23885/cx23885.h 2013-08-21 13:55:20.010625134 +0200
--------------------------
File to patch: ./drivers/media/pci/cx23885/cx23885.h
patching file ./drivers/media/pci/cx23885/cx23885.h
patch: **** malformed patch at line 4: #define CX23885_BOARD_PROF_8000 37
==========================
root@ty-debian:/usr/local/src/linuxtv# patch -p1 < ./cx23885-video.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------|--- drivers/media/pci/cx23885/cx23885-video.c 2013-08-02 05:45:59.000000000 +0200 |+++ drivers/media/pci/cx23885/cx23885-video.c 2013-08-21 13:55:20.017625046 |+0200--------------------------
File to patch: ./drivers/media/pci/cx23885/cx23885-video.c
patching file ./drivers/media/pci/cx23885/cx23885-video.c
Hunk #1 FAILED at 511.
Hunk #2 FAILED at 1888.
2 out of 2 hunks FAILED -- saving rejects to file ./drivers/media/pci/cx23885/cx23885-video.c.rej
============================
root@ty-debian:/usr/local/src/linuxtv# patch -p1 < ./cx23885-cards.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------|--- drivers/media/pci/cx23885/cx23885-cards.c 2012-12-28 00:04:05.000000000 +0100 |+++ drivers/media/pci/cx23885/cx23885-cards.c 2013-08-21 14:15:54.173195979 |+0200--------------------------
File to patch: ./drivers/media/pci/cx23885/cx23885-cards.c
patching file ./drivers/media/pci/cx23885/cx23885-cards.c
Hunk #1 FAILED at 604.
Hunk #2 FAILED at 841.
Hunk #3 FAILED at 1069.
Hunk #4 FAILED at 1394.
Hunk #5 FAILED at 1623.
Hunk #6 FAILED at 1758.
6 out of 6 hunks FAILED -- saving rejects to file ./drivers/media/pci/cx23885/cx23885-cards.c.rej
===============================
If you don't mind, i need your support to get my card works well. Thank you very much!
----------------------------------------------------------
Yahoo: minhhoang1004 + Google: minhhoang1004 + Skype: minhhoang1004 + MSN: tydaikho
----------------------------------------------------------
(http://tydaikho.com) VS (http://vnluser.net)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Oh, I am not the person who wrote the driver ... :(
I merly cloned the HC81r, gave it the proper PCI ID, and the correct firmware ,
I also have no DVB either,
Unless I get time to learn V4L API, or the mainter of the "xc2028" finds more infos too ...
we are prety much at this stage, some analog, but no dvb ...
at my knowlodge .
Best regards
Rémi
Quoted 104 lines
Le 27 septembre 2013 à 12:46, Nguyễn Minh Hoàng <[email protected]> a écrit :
Thank you for your relying. I know that your patch is not same my revision, i can't apply it. I think i should find and add your patches manually, but there are so much code to do. I am on phone now. I will send you some more detail when i am back to my computer. Pls help me. Ps: i used "option=39" before, my system got it as video and vbi device, not dvb device. Maybe i need some patches in this case as your suggestion today.
Thank you again!
Sent from my iPhone
> On Sep 27, 2013, at 3:24 PM, remi <[email protected]> wrote:
>
> :)
>
> Also,
>
>
> by the time I redo the patch,
>
>
> You must have seen how i have reached this point,
>
> I have actually started by insering the module with card=39 as an option,
>
>
> So you can for now, add theses line to
>
> gpunk@gpunk-Aspire-8930:~$cat /etc/modprobe.d/video-tv.conf
>
>
> options tuner-xc2028 firmware_name=xc3028-v27.fw
> options cx23885 card=39
>
>
> I called my file this way ... it's arbitrary, please check the man modprobe of
> your ditribution/kernel .
>
>
> Best regards
>
> Rémi
>
>
>
>> Le 21 septembre 2013 à 19:43, "[email protected]" <[email protected]> a écrit :
>>
>>
>> Hi Remi!
>> I got my card but i have not finish to install driver. I follow your patch on linuxtv.org but i am not successful. it makes some mistake: "malform" and "hunk" errors.
>> =======================
>> root@ty-debian:/usr/local/src/linuxtv# patch -p1 < ./cx23885.patch
>> can't find file to patch at input line 3
>> Perhaps you used the wrong -p or --strip option?
>> The text leading up to this was:
>> --------------------------
>> |--- drivers/media/pci/cx23885/cx23885.h 2013-03-25 05:45:50.000000000 +0100
>> |+++ drivers/media/pci/cx23885/cx23885.h 2013-08-21 13:55:20.010625134 +0200
>> --------------------------
>> File to patch: ./drivers/media/pci/cx23885/cx23885.h
>> patching file ./drivers/media/pci/cx23885/cx23885.h
>> patch: **** malformed patch at line 4: #define CX23885_BOARD_PROF_8000 37
>> ==========================
>> root@ty-debian:/usr/local/src/linuxtv# patch -p1 < ./cx23885-video.patch
>> can't find file to patch at input line 4
>> Perhaps you used the wrong -p or --strip option?
>> The text leading up to this was:
>> -------------------------->> |--- drivers/media/pci/cx23885/cx23885-video.c 2013-08-02 05:45:59.000000000 +0200 >> |+++ drivers/media/pci/cx23885/cx23885-video.c 2013-08-21 13:55:20.017625046 >> |+0200>> --------------------------
>> File to patch: ./drivers/media/pci/cx23885/cx23885-video.c
>> patching file ./drivers/media/pci/cx23885/cx23885-video.c
>> Hunk #1 FAILED at 511.
>> Hunk #2 FAILED at 1888.
>> 2 out of 2 hunks FAILED -- saving rejects to file ./drivers/media/pci/cx23885/cx23885-video.c.rej >> ============================
>> root@ty-debian:/usr/local/src/linuxtv# patch -p1 < ./cx23885-cards.patch
>> can't find file to patch at input line 4
>> Perhaps you used the wrong -p or --strip option?
>> The text leading up to this was:
>> -------------------------->> |--- drivers/media/pci/cx23885/cx23885-cards.c 2012-12-28 00:04:05.000000000 +0100 >> |+++ drivers/media/pci/cx23885/cx23885-cards.c 2013-08-21 14:15:54.173195979 >> |+0200>> --------------------------
>> File to patch: ./drivers/media/pci/cx23885/cx23885-cards.c
>> patching file ./drivers/media/pci/cx23885/cx23885-cards.c
>> Hunk #1 FAILED at 604.
>> Hunk #2 FAILED at 841.
>> Hunk #3 FAILED at 1069.
>> Hunk #4 FAILED at 1394.
>> Hunk #5 FAILED at 1623.
>> Hunk #6 FAILED at 1758.
>> 6 out of 6 hunks FAILED -- saving rejects to file ./drivers/media/pci/cx23885/cx23885-cards.c.rej >> ===============================
>>
>> If you don't mind, i need your support to get my card works well. Thank you very much! >>
>>
>> ----------------------------------------------------------
>> Yahoo: minhhoang1004 + Google: minhhoang1004 + Skype: minhhoang1004 + MSN: tydaikho >> ----------------------------------------------------------
>>
>> (http://tydaikho.com) VS (http://vnluser.net)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Good news, and thank you for the feedback
Must be because I am in Paris/FRANCE, they went all TNT (dvb)
I thaught they left a channel or two in the hertzerian analog but not :( or my reception is really bad ...
And you have the right cables if it's in it's original laptop !! :)
Thnx again for your help !!
Quoted 135 lines
Le 27 septembre 2013 à 13:20, Nguyễn Minh Hoàng <[email protected]> a écrit :
Yes, you are so smart, buddy. I know you are not developer of these card driver. But you got the way to make this card worked well. So i wrote to you. I am not successful with your 306 patches because i use other revision of linuxtv driver, i tried modprobe option with card=39 too and as you say, it works as analog - no dvb. This card is hybridge, not single analog or dvb. If you get the way, help me with your way :) thank you.
Sent from my iPhone
> On Sep 27, 2013, at 6:06 PM, remi <[email protected]> wrote:
>
> Oh, I am not the person who wrote the driver ... :(
>
>
> I merly cloned the HC81r, gave it the proper PCI ID, and the correct firmware ,
>
> I also have no DVB either,
>
> Unless I get time to learn V4L API, or the mainter of the "xc2028" finds more
> infos too ...
>
> we are prety much at this stage, some analog, but no dvb ...
>
> at my knowlodge .
>
>
> Best regards
>
> Rémi
>
>
>
>
>> Le 27 septembre 2013 à 12:46, Nguyễn Minh Hoàng <[email protected]> a écrit :
>>
>>
>> Thank you for your relying. I know that your patch is not same my revision, i can't apply it. I think i should find and add your patches manually, but there are so much code to do. I am on phone now. I will send you some more detail when i am back to my computer. Pls help me.
>> Ps: i used "option=39" before, my system got it as video and vbi device, not dvb device. Maybe i need some patches in this case as your suggestion today.
>> Thank you again!
>>
>> Sent from my iPhone
>>
>> > On Sep 27, 2013, at 3:24 PM, remi <[email protected]> wrote:
>> >
>> > :)
>> >
>> > Also,
>> >
>> >
>> > by the time I redo the patch,
>> >
>> >
>> > You must have seen how i have reached this point,
>> >
>> > I have actually started by insering the module with card=39 as an option,
>> >
>> >
>> > So you can for now, add theses line to
>> >
>> > gpunk@gpunk-Aspire-8930:~$cat /etc/modprobe.d/video-tv.conf
>> >
>> >
>> > options tuner-xc2028 firmware_name=xc3028-v27.fw
>> > options cx23885 card=39
>> >
>> >
>> > I called my file this way ... it's arbitrary, please check the man modprobe of
>> > your ditribution/kernel .
>> >
>> >
>> > Best regards
>> >
>> > Rémi
>> >
>> >
>> >
>> >> Le 21 septembre 2013 à 19:43, "[email protected]" <[email protected]> a écrit :
>> >>
>> >>
>> >> Hi Remi!
>> >> I got my card but i have not finish to install driver. I follow your patch on linuxtv.org but i am not successful. it makes some mistake: "malform" and "hunk" errors.
>> >> =======================
>> >> root@ty-debian:/usr/local/src/linuxtv# patch -p1 < ./cx23885.patch
>> >> can't find file to patch at input line 3
>> >> Perhaps you used the wrong -p or --strip option?
>> >> The text leading up to this was:
>> >> --------------------------
>> >> |--- drivers/media/pci/cx23885/cx23885.h 2013-03-25 05:45:50.000000000 +0100
>> >> |+++ drivers/media/pci/cx23885/cx23885.h 2013-08-21 13:55:20.010625134 +0200
>> >> --------------------------
>> >> File to patch: ./drivers/media/pci/cx23885/cx23885.h
>> >> patching file ./drivers/media/pci/cx23885/cx23885.h
>> >> patch: **** malformed patch at line 4: #define CX23885_BOARD_PROF_8000 37
>> >> ==========================
>> >> root@ty-debian:/usr/local/src/linuxtv# patch -p1 < ./cx23885-video.patch
>> >> can't find file to patch at input line 4
>> >> Perhaps you used the wrong -p or --strip option?
>> >> The text leading up to this was:
>> >> -------------------------->> >> |--- drivers/media/pci/cx23885/cx23885-video.c 2013-08-02 05:45:59.000000000 +0200 >> >> |+++ drivers/media/pci/cx23885/cx23885-video.c 2013-08-21 13:55:20.017625046 >> >> |+0200>> >> --------------------------
>> >> File to patch: ./drivers/media/pci/cx23885/cx23885-video.c
>> >> patching file ./drivers/media/pci/cx23885/cx23885-video.c
>> >> Hunk #1 FAILED at 511.
>> >> Hunk #2 FAILED at 1888.
>> >> 2 out of 2 hunks FAILED -- saving rejects to file ./drivers/media/pci/cx23885/cx23885-video.c.rej >> >> ============================
>> >> root@ty-debian:/usr/local/src/linuxtv# patch -p1 < ./cx23885-cards.patch
>> >> can't find file to patch at input line 4
>> >> Perhaps you used the wrong -p or --strip option?
>> >> The text leading up to this was:
>> >> -------------------------->> >> |--- drivers/media/pci/cx23885/cx23885-cards.c 2012-12-28 00:04:05.000000000 +0100 >> >> |+++ drivers/media/pci/cx23885/cx23885-cards.c 2013-08-21 14:15:54.173195979 >> >> |+0200>> >> --------------------------
>> >> File to patch: ./drivers/media/pci/cx23885/cx23885-cards.c
>> >> patching file ./drivers/media/pci/cx23885/cx23885-cards.c
>> >> Hunk #1 FAILED at 604.
>> >> Hunk #2 FAILED at 841.
>> >> Hunk #3 FAILED at 1069.
>> >> Hunk #4 FAILED at 1394.
>> >> Hunk #5 FAILED at 1623.
>> >> Hunk #6 FAILED at 1758.
>> >> 6 out of 6 hunks FAILED -- saving rejects to file ./drivers/media/pci/cx23885/cx23885-cards.c.rej >> >> ===============================
>> >>
>> >> If you don't mind, i need your support to get my card works well. Thank you very much! >> >>
>> >>
>> >> ----------------------------------------------------------
>> >> Yahoo: minhhoang1004 + Google: minhhoang1004 + Skype: minhhoang1004 + MSN: tydaikho >> >> ----------------------------------------------------------
>> >>
>> >> (http://tydaikho.com) VS (http://vnluser.net)
Sorry
I need clarify one thing,
For the DVB, it's not the xc3028 here,
It's the AF9013
I have read the phrase "available C API" in the datasheet" , I googled it and found this thread for example :
http://forum.stmlabs.com/showthread.php?tid=3404
It's for raspberry and the likes linux-toy-SBC/SOC ,
I will go thru it , and keep you informed .
The datasheet shows that it's accessible by i2c too, so it must be linked to the cx23885 by I2c ,
I think it's at the address 0x66,
once it's "linked up" I should be able to port their code .
Best regards
Rémi .
Quoted 159 lines
Le 27 septembre 2013 à 22:11, remi <[email protected]> a écrit :
Good news, and thank you for the feedback
Must be because I am in Paris/FRANCE, they went all TNT (dvb)
I thaught they left a channel or two in the hertzerian analog but not :( or my
reception is really bad ...
And you have the right cables if it's in it's original laptop !! :)
Thnx again for your help !!
> Le 27 septembre 2013 à 13:20, Nguyễn Minh Hoàng <[email protected]> a écrit :
>
>
> Yes, you are so smart, buddy. I know you are not developer of these card driver. But you got the way to make this card worked well. So i wrote to you. I am not successful with your 306 patches because i use other revision of linuxtv driver, i tried modprobe option with card=39 too and as you say, it works as analog - no dvb. This card is hybridge, not single analog or dvb. If you get the way, help me with your way :) thank you. >
> Sent from my iPhone
>
> > On Sep 27, 2013, at 6:06 PM, remi <[email protected]> wrote:
> >
> > Oh, I am not the person who wrote the driver ... :(
> >
> >
> > I merly cloned the HC81r, gave it the proper PCI ID, and the correct firmware ,
> >
> > I also have no DVB either,
> >
> > Unless I get time to learn V4L API, or the mainter of the "xc2028" finds more
> > infos too ...
> >
> > we are prety much at this stage, some analog, but no dvb ...
> >
> > at my knowlodge .
> >
> >
> > Best regards
> >
> > Rémi
> >
> >
> >
> >
> >> Le 27 septembre 2013 à 12:46, Nguyễn Minh Hoàng <[email protected]> a écrit :
> >>
> >>
> >> Thank you for your relying. I know that your patch is not same my revision, i can't apply it. I think i should find and add your patches manually, but there are so much code to do. I am on phone now. I will send you some more detail when i am back to my computer. Pls help me.
> >> Ps: i used "option=39" before, my system got it as video and vbi device, not dvb device. Maybe i need some patches in this case as your suggestion today.
> >> Thank you again!
> >>
> >> Sent from my iPhone
> >>
> >> > On Sep 27, 2013, at 3:24 PM, remi <[email protected]> wrote:
> >> >
> >> > :)
> >> >
> >> > Also,
> >> >
> >> >
> >> > by the time I redo the patch,
> >> >
> >> >
> >> > You must have seen how i have reached this point,
> >> >
> >> > I have actually started by insering the module with card=39 as an option,
> >> >
> >> >
> >> > So you can for now, add theses line to
> >> >
> >> > gpunk@gpunk-Aspire-8930:~$cat /etc/modprobe.d/video-tv.conf
> >> >
> >> >
> >> > options tuner-xc2028 firmware_name=xc3028-v27.fw
> >> > options cx23885 card=39
> >> >
> >> >
> >> > I called my file this way ... it's arbitrary, please check the man modprobe of
> >> > your ditribution/kernel .
> >> >
> >> >
> >> > Best regards
> >> >
> >> > Rémi
> >> >
> >> >
> >> >
> >> >> Le 21 septembre 2013 à 19:43, "[email protected]" <[email protected]> a écrit :
> >> >>
> >> >>
> >> >> Hi Remi!
> >> >> I got my card but i have not finish to install driver. I follow your patch on linuxtv.org but i am not successful. it makes some mistake: "malform" and "hunk" errors.
> >> >> =======================
> >> >> root@ty-debian:/usr/local/src/linuxtv# patch -p1 < ./cx23885.patch
> >> >> can't find file to patch at input line 3
> >> >> Perhaps you used the wrong -p or --strip option?
> >> >> The text leading up to this was:
> >> >> --------------------------
> >> >> |--- drivers/media/pci/cx23885/cx23885.h 2013-03-25 05:45:50.000000000 +0100
> >> >> |+++ drivers/media/pci/cx23885/cx23885.h 2013-08-21 13:55:20.010625134 +0200
> >> >> --------------------------
> >> >> File to patch: ./drivers/media/pci/cx23885/cx23885.h
> >> >> patching file ./drivers/media/pci/cx23885/cx23885.h
> >> >> patch: **** malformed patch at line 4: #define CX23885_BOARD_PROF_8000 37
> >> >> ==========================
> >> >> root@ty-debian:/usr/local/src/linuxtv# patch -p1 < ./cx23885-video.patch
> >> >> can't find file to patch at input line 4
> >> >> Perhaps you used the wrong -p or --strip option?
> >> >> The text leading up to this was:
> >> >> --------------------------> >> >> |--- drivers/media/pci/cx23885/cx23885-video.c 2013-08-02 05:45:59.000000000 +0200 > >> >> |+++ drivers/media/pci/cx23885/cx23885-video.c 2013-08-21 13:55:20.017625046 > >> >> |+0200> >> >> --------------------------
> >> >> File to patch: ./drivers/media/pci/cx23885/cx23885-video.c
> >> >> patching file ./drivers/media/pci/cx23885/cx23885-video.c
> >> >> Hunk #1 FAILED at 511.
> >> >> Hunk #2 FAILED at 1888.
> >> >> 2 out of 2 hunks FAILED -- saving rejects to file ./drivers/media/pci/cx23885/cx23885-video.c.rej > >> >> ============================
> >> >> root@ty-debian:/usr/local/src/linuxtv# patch -p1 < ./cx23885-cards.patch
> >> >> can't find file to patch at input line 4
> >> >> Perhaps you used the wrong -p or --strip option?
> >> >> The text leading up to this was:
> >> >> --------------------------> >> >> |--- drivers/media/pci/cx23885/cx23885-cards.c 2012-12-28 00:04:05.000000000 +0100 > >> >> |+++ drivers/media/pci/cx23885/cx23885-cards.c 2013-08-21 14:15:54.173195979 > >> >> |+0200> >> >> --------------------------
> >> >> File to patch: ./drivers/media/pci/cx23885/cx23885-cards.c
> >> >> patching file ./drivers/media/pci/cx23885/cx23885-cards.c
> >> >> Hunk #1 FAILED at 604.
> >> >> Hunk #2 FAILED at 841.
> >> >> Hunk #3 FAILED at 1069.
> >> >> Hunk #4 FAILED at 1394.
> >> >> Hunk #5 FAILED at 1623.
> >> >> Hunk #6 FAILED at 1758.
> >> >> 6 out of 6 hunks FAILED -- saving rejects to file ./drivers/media/pci/cx23885/cx23885-cards.c.rej > >> >> ===============================
> >> >>
> >> >> If you don't mind, i need your support to get my card works well. Thank you very much! > >> >>
> >> >>
> >> >> ----------------------------------------------------------
> >> >> Yahoo: minhhoang1004 + Google: minhhoang1004 + Skype: minhhoang1004 + MSN: tydaikho > >> >> ----------------------------------------------------------
> >> >>
> >> >> (http://tydaikho.com) VS (http://vnluser.net)
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html