Skip to contentSkip to conversation

Avermedia A312 wiki page

linux-dvb Devin Heitmueller 2 participants 4 messages Dec 10, 2008 – Dec 11, 2008 2 messages not in the archive Media (V4L/DVB)

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 71 lines · Daniel Perzynski

Hi Devin,

Which repository should I use then?
I do understand that USB bridge (CY7C68013A) has to be activated. As far as I'm aware that bridge is supported in v4l-dvb drivers but not as a standalone module but rather as a part of other 'main' modules like cx88. The question is if my components are generally supported why are not recognized during modprobe 'modulename' process?
Maybe I have to modify the source and add USB id of my card to certain modules?

I would like to start with analog first.

Regards,

-----Original Message-----
From: Devin Heitmueller [mailto:[email protected]]
Sent: Monday, December 08, 2008 11:22 PM
To: daniel. perzynski
Cc: [email protected]
Subject: Re: [linux-dvb] Fw: Re: Avermedia A312 wiki page

Quoted 23 lines · daniel. perzynski

Hi,

I'm asking again for more help as I haven't received any response to my previous e-mail pasted below. I've tried to run SniffUSB-x64-2.0.0006.zip but is not working under vista :( I've also found that card is using merlinb.rom and merlinc.rom (they are listed in device manager in windows vista)

Quoted 16 lines

I've tried to load all v4l modules (one by one) in 2.6.27.4 kernel - nothing in syslog :( I've then compiled and tried to load lgdt330x, cx25840,tuner-xc2028 and
wm8739 from http://linuxtv.org/hg/v4l-dvb mercurial repository - nothing in syslog :(

At the end I've used http://linuxtv.org/hg/v4l-dvb-experimental
repository and when doing:

insmod em28xx_cx25843, I've received :) Nov 30 21:43:54 h3xu5 cx25843.c: starting probe for adapter SMBus
I801
adapter at 1200 (0x40004)

Nov 30 21:43:54 h3xu5 cx25843.c: detecting cx25843 client on address

0x88

Quoted 6 lines
Quoted 4 lines

It is a small progress and I need even more help here. There is a question if I'm doing everything right? Do I need to load the modules with parameters? Why I need to do next to help in creation of working solution for that A312 card?

Regards,

Hello Daniel,

Don't use http://linuxtv.org/hg/v4l-dvb-experimental, that's a very old repository.

Just loading the modules does nothing. They won't do anything unless they know about your hardware.

I would start with the bridge: CY7C68013A

You need to get the bridge working before you can get any of the peripherals working (such as the lgdt3304 demod, the 3028 tuner, or the cx25843 decoder).

Once you have the bridge working, you can set the GPIOs to bring the other chips out of reset and then do i2c enumeration and device registration.

Quoted 8 lines

Do you plan on doing analog support first or digital?

Devin

--
Devin J. Heitmueller
http://www.devinheitmueller.com
AIM: devinheitmueller

Hello Daniel,

Please don't top post - it's a violation of list policy.

You should use the v4l-dvb repository as your base. The other repositories are temporary clones of that repository that developers used (or are using) to develop support for some new chipset.

You need to put your USB ID into the driver for the ez-usb fx2 driver, so that driver will know to associate with your device.

Despite the various chips being supported, you still need to tell the driver that your device contains these chips. This is done by registering your device's USB ID in the bridge driver, and then having a profile within the bridge driver that tells the kernel which other chips are used in your product. This is the same regardless of whether you're talking about a USB bridge like the Cyprus or a device that includes a PCI bridge like the cx88.

Let's look at an example: The HVR-950:

The HVR-950 includes an em2883 USB bridge, an xc3028 tuner, a tvp5150 analog decoder, and an lgdt3303 digital demodulator. In order to make that work, you would add an entry to em28xx-cards.c including the hvr-950's USB ID, and in the device profile you would indicate that it contains the tvp5150 and xc3028. You would also have to configure any GPIOs so that the em2883 can bring the other chips out of reset. For digital support, you would need to change em28xx-dvb.c to indicate that the HVR-950 contains an lgdt3303 and provide the required configuration parameters for how that chip is wired up in that product.

For your product, you need to do basically the same thing.

Signature · 8 lines
Devin J. Heitmueller
http://www.devinheitmueller.com
AIM: devinheitmueller

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
#2 lore raw

-----Original Message-----
From: Devin Heitmueller [mailto:[email protected]]
Sent: Wednesday, December 10, 2008 10:22 PM
To: Daniel Perzynski
Cc: [email protected]
Subject: Re: [linux-dvb] Fw: Re: Avermedia A312 wiki page

Quoted 5 lines · Daniel Perzynski

Hi Devin,

Which repository should I use then?
I do understand that USB bridge (CY7C68013A) has to be activated. As far as I'm aware that bridge is supported in v4l-dvb drivers but not as

a

Quoted 54 lines

standalone module but rather as a part of other 'main' modules like cx88. The question is if my components are generally supported why are not recognized during modprobe 'modulename' process?
Maybe I have to modify the source and add USB id of my card to certain modules?

I would like to start with analog first.

Regards,

-----Original Message-----
From: Devin Heitmueller [mailto:[email protected]]
Sent: Monday, December 08, 2008 11:22 PM
To: daniel. perzynski
Cc: [email protected]
Subject: Re: [linux-dvb] Fw: Re: Avermedia A312 wiki page

Quoted 23 lines · daniel. perzynski

Hi,

I'm asking again for more help as I haven't received any response to my previous e-mail pasted below. I've tried to run SniffUSB-x64-2.0.0006.zip but is not working under vista :( I've also found that card is using merlinb.rom and merlinc.rom (they are listed in device manager in windows vista)

Quoted 16 lines

I've tried to load all v4l modules (one by one) in 2.6.27.4 kernel - nothing in syslog :( I've then compiled and tried to load lgdt330x, cx25840,tuner-xc2028 and
wm8739 from http://linuxtv.org/hg/v4l-dvb mercurial repository - nothing in syslog :(

At the end I've used http://linuxtv.org/hg/v4l-dvb-experimental
repository and when doing:

insmod em28xx_cx25843, I've received :) Nov 30 21:43:54 h3xu5 cx25843.c: starting probe for adapter SMBus
I801
adapter at 1200 (0x40004)

Nov 30 21:43:54 h3xu5 cx25843.c: detecting cx25843 client on address

0x88

Quoted 6 lines
Quoted 4 lines

It is a small progress and I need even more help here. There is a question if I'm doing everything right? Do I need to load the modules with parameters? Why I need to do next to help in creation of working solution for that A312 card?

Regards,

Hello Daniel,

Don't use http://linuxtv.org/hg/v4l-dvb-experimental, that's a very old repository.

Quoted 6 lines

Just loading the modules does nothing. They won't do anything unless they know about your hardware.

I would start with the bridge: CY7C68013A

You need to get the bridge working before you can get any of the

peripherals

Quoted 47 lines

working (such as the lgdt3304 demod, the 3028 tuner, or the cx25843 decoder).

Once you have the bridge working, you can set the GPIOs to bring the other chips out of reset and then do i2c enumeration and device registration.

Do you plan on doing analog support first or digital?

Devin

--
Devin J. Heitmueller
http://www.devinheitmueller.com
AIM: devinheitmueller

Hello Daniel,

Please don't top post - it's a violation of list policy.

You should use the v4l-dvb repository as your base. The other repositories are temporary clones of that repository that developers used (or are using) to develop support for some new chipset.

You need to put your USB ID into the driver for the ez-usb fx2 driver, so that driver will know to associate with your device.

Despite the various chips being supported, you still need to tell the driver that your device contains these chips. This is done by registering your device's USB ID in the bridge driver, and then having a profile within the bridge driver that tells the kernel which other chips are used in your product. This is the same regardless of whether you're talking about a USB bridge like the Cyprus or a device that includes a PCI bridge like the cx88.

Let's look at an example: The HVR-950:

The HVR-950 includes an em2883 USB bridge, an xc3028 tuner, a tvp5150 analog decoder, and an lgdt3303 digital demodulator. In order to make that work, you would add an entry to em28xx-cards.c including the hvr-950's USB ID, and in the device profile you would indicate that it contains the tvp5150 and xc3028. You would also have to configure any GPIOs so that the em2883 can bring the other chips out of reset. For digital support, you would need to change em28xx-dvb.c to indicate that the HVR-950 contains an lgdt3303 and provide the required configuration parameters for how that chip is wired up in that product.

Quoted 6 lines

For your product, you need to do basically the same thing.

Signature · 3 lines
Devin J. Heitmueller
http://www.devinheitmueller.com
AIM: devinheitmueller

Hi,

Sorry for top post :(

What is the name of the source file for ez-usb fx2 driver (to which as I understand I have to add my USB device id)?
'For your product, you need to do basically the same thing' - do you want me to add information about my card and its
device profile to em28xx-cards.c for analog TV and to em28xx-dvb.c for Digital?

Regards,

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#4 lore raw
In reply to a message not in the archive
Quoted 130 lines · Daniel Perzynski

-----Original Message-----
From: Devin Heitmueller [mailto:[email protected]]
Sent: Wednesday, December 10, 2008 10:22 PM
To: Daniel Perzynski
Cc: [email protected]
Subject: Re: [linux-dvb] Fw: Re: Avermedia A312 wiki page

Quoted 5 lines · Daniel Perzynski

Hi Devin,

Which repository should I use then?
I do understand that USB bridge (CY7C68013A) has to be activated. As far as I'm aware that bridge is supported in v4l-dvb drivers but not as

a

Quoted 54 lines

standalone module but rather as a part of other 'main' modules like cx88. The question is if my components are generally supported why are not recognized during modprobe 'modulename' process?
Maybe I have to modify the source and add USB id of my card to certain modules?

I would like to start with analog first.

Regards,

-----Original Message-----
From: Devin Heitmueller [mailto:[email protected]]
Sent: Monday, December 08, 2008 11:22 PM
To: daniel. perzynski
Cc: [email protected]
Subject: Re: [linux-dvb] Fw: Re: Avermedia A312 wiki page

Quoted 23 lines · daniel. perzynski

Hi,

I'm asking again for more help as I haven't received any response to my previous e-mail pasted below. I've tried to run SniffUSB-x64-2.0.0006.zip but is not working under vista :( I've also found that card is using merlinb.rom and merlinc.rom (they are listed in device manager in windows vista)

Quoted 16 lines

I've tried to load all v4l modules (one by one) in 2.6.27.4 kernel - nothing in syslog :( I've then compiled and tried to load lgdt330x, cx25840,tuner-xc2028 and
wm8739 from http://linuxtv.org/hg/v4l-dvb mercurial repository - nothing in syslog :(

At the end I've used http://linuxtv.org/hg/v4l-dvb-experimental
repository and when doing:

insmod em28xx_cx25843, I've received :) Nov 30 21:43:54 h3xu5 cx25843.c: starting probe for adapter SMBus
I801
adapter at 1200 (0x40004)

Nov 30 21:43:54 h3xu5 cx25843.c: detecting cx25843 client on address

0x88

Quoted 6 lines
Quoted 4 lines

It is a small progress and I need even more help here. There is a question if I'm doing everything right? Do I need to load the modules with parameters? Why I need to do next to help in creation of working solution for that A312 card?

Regards,

Hello Daniel,

Don't use http://linuxtv.org/hg/v4l-dvb-experimental, that's a very old repository.

Quoted 6 lines

Just loading the modules does nothing. They won't do anything unless they know about your hardware.

I would start with the bridge: CY7C68013A

You need to get the bridge working before you can get any of the

peripherals

Quoted 47 lines

working (such as the lgdt3304 demod, the 3028 tuner, or the cx25843 decoder).

Once you have the bridge working, you can set the GPIOs to bring the other chips out of reset and then do i2c enumeration and device registration.

Do you plan on doing analog support first or digital?

Devin

--
Devin J. Heitmueller
http://www.devinheitmueller.com
AIM: devinheitmueller

Hello Daniel,

Please don't top post - it's a violation of list policy.

You should use the v4l-dvb repository as your base. The other repositories are temporary clones of that repository that developers used (or are using) to develop support for some new chipset.

You need to put your USB ID into the driver for the ez-usb fx2 driver, so that driver will know to associate with your device.

Despite the various chips being supported, you still need to tell the driver that your device contains these chips. This is done by registering your device's USB ID in the bridge driver, and then having a profile within the bridge driver that tells the kernel which other chips are used in your product. This is the same regardless of whether you're talking about a USB bridge like the Cyprus or a device that includes a PCI bridge like the cx88.

Let's look at an example: The HVR-950:

The HVR-950 includes an em2883 USB bridge, an xc3028 tuner, a tvp5150 analog decoder, and an lgdt3303 digital demodulator. In order to make that work, you would add an entry to em28xx-cards.c including the hvr-950's USB ID, and in the device profile you would indicate that it contains the tvp5150 and xc3028. You would also have to configure any GPIOs so that the em2883 can bring the other chips out of reset. For digital support, you would need to change em28xx-dvb.c to indicate that the HVR-950 contains an lgdt3303 and provide the required configuration parameters for how that chip is wired up in that product.

Quoted 6 lines

For your product, you need to do basically the same thing.

--
Devin J. Heitmueller
http://www.devinheitmueller.com
AIM: devinheitmueller

Quoted 6 lines

Hi,

Sorry for top post :(

What is the name of the source file for ez-usb fx2 driver (to which as I understand I have to add my USB device id)?

I would have to look at the source and I don't have access to it right now. I would recommend you grep the tree for "Cyprus" or "fx2"

Quoted 5 lines

'For your product, you need to do basically the same thing' - do you want me to add information about my card and its
device profile to em28xx-cards.c for analog TV and to em28xx-dvb.c for Digital?

No, I was using that as an example. The em28xx is a different USB bridge. You would want to register your USB ID with the CY7C68013A driver.

Devin

Signature · 8 lines
Devin J. Heitmueller
http://www.devinheitmueller.com
AIM: devinheitmueller

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
#5 lore raw

-----Original Message-----
From: Devin Heitmueller [mailto:[email protected]]
Sent: Wednesday, December 10, 2008 10:51 PM
To: Daniel Perzynski
Cc: [email protected]
Subject: Re: [linux-dvb] Fw: Re: Avermedia A312 wiki page

Quoted 7 lines · Daniel Perzynski

-----Original Message-----
From: Devin Heitmueller [mailto:[email protected]]
Sent: Wednesday, December 10, 2008 10:22 PM
To: Daniel Perzynski
Cc: [email protected]
Subject: Re: [linux-dvb] Fw: Re: Avermedia A312 wiki page

Quoted 7 lines
Quoted 5 lines · Daniel Perzynski

Hi Devin,

Which repository should I use then?
I do understand that USB bridge (CY7C68013A) has to be activated. As far as I'm aware that bridge is supported in v4l-dvb drivers but not

as

Quoted 56 lines

a

Quoted 55 lines

standalone module but rather as a part of other 'main' modules like cx88. The question is if my components are generally supported why are not recognized during modprobe 'modulename' process?
Maybe I have to modify the source and add USB id of my card to certain modules?

I would like to start with analog first.

Regards,

-----Original Message-----
From: Devin Heitmueller [mailto:[email protected]]
Sent: Monday, December 08, 2008 11:22 PM
To: daniel. perzynski
Cc: [email protected]
Subject: Re: [linux-dvb] Fw: Re: Avermedia A312 wiki page

Quoted 23 lines · daniel. perzynski

Hi,

I'm asking again for more help as I haven't received any response to my previous e-mail pasted below. I've tried to run SniffUSB-x64-2.0.0006.zip but is not working under vista :( I've also found that card is using merlinb.rom and merlinc.rom (they are listed in device manager in windows vista)

Quoted 16 lines

I've tried to load all v4l modules (one by one) in 2.6.27.4 kernel - nothing in syslog :( I've then compiled and tried to load lgdt330x, cx25840,tuner-xc2028 and
wm8739 from http://linuxtv.org/hg/v4l-dvb mercurial repository - nothing in syslog :(

At the end I've used http://linuxtv.org/hg/v4l-dvb-experimental
repository and when doing:

insmod em28xx_cx25843, I've received :) Nov 30 21:43:54 h3xu5 cx25843.c: starting probe for adapter SMBus
I801
adapter at 1200 (0x40004)

Nov 30 21:43:54 h3xu5 cx25843.c: detecting cx25843 client on address

0x88

Quoted 6 lines
Quoted 4 lines

It is a small progress and I need even more help here. There is a question if I'm doing everything right? Do I need to load the modules with parameters? Why I need to do next to help in creation of working solution for that A312 card?

Regards,

Hello Daniel,

Don't use http://linuxtv.org/hg/v4l-dvb-experimental, that's a very old repository.

Just loading the modules does nothing. They won't do anything unless

they

Quoted 10 lines
Quoted 5 lines

know about your hardware.

I would start with the bridge: CY7C68013A

You need to get the bridge working before you can get any of the

peripherals

Quoted 4 lines

working (such as the lgdt3304 demod, the 3028 tuner, or the cx25843 decoder).

Once you have the bridge working, you can set the GPIOs to bring the

other

Quoted 50 lines
Quoted 43 lines

chips out of reset and then do i2c enumeration and device registration.

Do you plan on doing analog support first or digital?

Devin

--
Devin J. Heitmueller
http://www.devinheitmueller.com
AIM: devinheitmueller

Hello Daniel,

Please don't top post - it's a violation of list policy.

You should use the v4l-dvb repository as your base. The other repositories are temporary clones of that repository that developers used (or are using) to develop support for some new chipset.

You need to put your USB ID into the driver for the ez-usb fx2 driver, so that driver will know to associate with your device.

Despite the various chips being supported, you still need to tell the driver that your device contains these chips. This is done by registering your device's USB ID in the bridge driver, and then having a profile within the bridge driver that tells the kernel which other chips are used in your product. This is the same regardless of whether you're talking about a USB bridge like the Cyprus or a device that includes a PCI bridge like the cx88.

Let's look at an example: The HVR-950:

The HVR-950 includes an em2883 USB bridge, an xc3028 tuner, a tvp5150 analog decoder, and an lgdt3303 digital demodulator. In order to make that work, you would add an entry to em28xx-cards.c including the hvr-950's USB ID, and in the device profile you would indicate that it contains the tvp5150 and xc3028. You would also have to configure any GPIOs so that the em2883 can bring the other chips out of reset. For digital support, you would need to change em28xx-dvb.c to indicate that the HVR-950 contains an lgdt3303 and provide the required configuration parameters for how that chip is wired up in that product.

Quoted 6 lines

For your product, you need to do basically the same thing.

--
Devin J. Heitmueller
http://www.devinheitmueller.com
AIM: devinheitmueller

Quoted 6 lines

Hi,

Sorry for top post :(

What is the name of the source file for ez-usb fx2 driver (to which as I understand I have to add my USB device id)?

I would have to look at the source and I don't have access to it right now. I would recommend you grep the tree for "Cyprus" or "fx2"

Quoted 1 line

'For your product, you need to do basically the same thing' - do you want

me

Quoted 5 lines

to add information about my card and its
device profile to em28xx-cards.c for analog TV and to em28xx-dvb.c for Digital?

Quoted 10 lines

No, I was using that as an example. The em28xx is a different USB bridge. You would want to register your USB ID with the CY7C68013A driver.

Devin

Signature · 3 lines
Devin J. Heitmueller
http://www.devinheitmueller.com
AIM: devinheitmueller

Hi Devin,

There is no CY7C68013A driver. Cypress fx2 bus is mentioned for example in cxusb.c file. In dvb-usb-ids.h I probably need to add my card USB id and description.
Cxusb.c is including lgdt330x.h ( I have lgdt3304), tuner-xc2028.h (probably that driver is supporting xc3028 also) and cx25840 is mentioned in the code also. Looks like the proper candidate to modify that source to provide support for my card.

Please let me know if my thinking is correct.

Regards,

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb