You are not logged in.

#26 2012-12-08 02:23:55

snoxu
Member
Registered: 2010-01-24
Posts: 141

Re: USB DVB Avermedia Volar HD

It doesn't take much to get DVB-T dongles working. I recall trying a few dongles and getting firmwares from AUR, getting a channels.conf file or making my own, and opening it with VLC.

That's pretty much it. Forgot the name of the app for making a channels.conf

One drawback to USB dongles they all run extremely hot.

HTH

Last edited by snoxu (2012-12-08 02:24:24)

Offline

#27 2012-12-23 21:38:04

ttouch
Member
From: /dev/null
Registered: 2012-05-27
Posts: 129
Website

Re: USB DVB Avermedia Volar HD

What do I have to modprobe to make the dongle work? I downloaded the firmware (in /lib/firmware), but nothing happens... sad
linux 3.6.10

Last edited by ttouch (2012-12-23 21:38:18)

Offline

#28 2012-12-23 21:45:20

Gusar
Member
Registered: 2009-08-25
Posts: 3,413

Re: USB DVB Avermedia Volar HD

Nothing, everything should load automatically. What's the output of dmesg when you plug the device in?

Offline

#29 2012-12-26 15:33:45

ttouch
Member
From: /dev/null
Registered: 2012-05-27
Posts: 129
Website

Re: USB DVB Avermedia Volar HD

[10797.559171] usb 3-1.4: new high-speed USB device number 7 using ehci_hcd
maybe modprobe bttv?

Offline

#30 2012-12-26 19:21:18

agapito
Member
From: Spain
Registered: 2008-11-13
Posts: 495

Re: USB DVB Avermedia Volar HD

ttouch wrote:

What do I have to modprobe to make the dongle work? I downloaded the firmware (in /lib/firmware), but nothing happens... sad
linux 3.6.10

Correct path is /usr/lib/firmware

Can you post your lsusb output?


Excuse my poor English.

Offline

#31 2012-12-26 21:58:04

ttouch
Member
From: /dev/null
Registered: 2012-05-27
Posts: 129
Website

Re: USB DVB Avermedia Volar HD

/lib is symlinked to /usr/lib
lsusb:
Bus 003 Device 004: ID 07ca:3835 AVerMedia Technologies, Inc. AVerTV Volar Green HD (A835B)

Offline

#32 2012-12-26 22:15:46

agapito
Member
From: Spain
Registered: 2008-11-13
Posts: 495

Re: USB DVB Avermedia Volar HD

A835B models of Volar Green HD are not supported by mainline kernel yet, but there is a patch to make it work.

https://patchwork.kernel.org/patch/1905731/


Excuse my poor English.

Offline

#33 2012-12-26 23:14:57

ttouch
Member
From: /dev/null
Registered: 2012-05-27
Posts: 129
Website

Re: USB DVB Avermedia Volar HD

can you explain me please how and where I will use the patch? should I patch the kernel?

Offline

#34 2012-12-26 23:52:49

Gusar
Member
Registered: 2009-08-25
Posts: 3,413

Re: USB DVB Avermedia Volar HD

Yep, you need to compile your own kernel with the patch applied.

Offline

#35 2012-12-27 21:46:12

ttouch
Member
From: /dev/null
Registered: 2012-05-27
Posts: 129
Website

Re: USB DVB Avermedia Volar HD

I can't patch the kernel, I get error that files does not exist, and then when I fixed the paths, I got errors that lines where not found. Any help please?

Offline

#36 2012-12-27 22:15:50

Gusar
Member
Registered: 2009-08-25
Posts: 3,413

Re: USB DVB Avermedia Volar HD

The patch is simple enough so you could've applied it manually. But here you go, this one applies perfectly to linux-3.7.1

--- linux-3.7.1/drivers/media/dvb-core/dvb-usb-ids.h.orig	2012-12-27 23:10:35.000000000 +0100
+++ linux-3.7.1/drivers/media/dvb-core/dvb-usb-ids.h	2012-12-27 23:13:50.049680727 +0100
@@ -233,6 +233,10 @@
 #define USB_PID_AVERMEDIA_A815M				0x815a
 #define USB_PID_AVERMEDIA_A835				0xa835
 #define USB_PID_AVERMEDIA_B835				0xb835
+#define USB_PID_AVERMEDIA_A835B_1835			0x1835
+#define USB_PID_AVERMEDIA_A835B_2835			0x2835
+#define USB_PID_AVERMEDIA_A835B_3835			0x3835
+#define USB_PID_AVERMEDIA_A835B_4835			0x4835
 #define USB_PID_AVERMEDIA_1867				0x1867
 #define USB_PID_AVERMEDIA_A867				0xa867
 #define USB_PID_AVERMEDIA_TWINSTAR			0x0825
--- linux-3.7.1/drivers/media/usb/dvb-usb-v2/it913x.c.orig	2012-12-27 23:10:35.000000000 +0100
+++ linux-3.7.1/drivers/media/usb/dvb-usb-v2/it913x.c	2012-12-27 23:13:49.000693841 +0100
@@ -773,6 +773,18 @@
 	{ DVB_USB_DEVICE(USB_VID_ITETECH, USB_PID_ITETECH_IT9135_9006,
 		&it913x_properties, "ITE 9135(9006) Generic",
 			RC_MAP_IT913X_V1) },
+	{ DVB_USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A835B_1835,
+		&it913x_properties, "Avermedia A835B(1835)",
+			RC_MAP_IT913X_V2) },
+	{ DVB_USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A835B_2835,
+		&it913x_properties, "Avermedia A835B(2835)",
+			RC_MAP_IT913X_V2) },
+	{ DVB_USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A835B_3835,
+		&it913x_properties, "Avermedia A835B(3835)",
+			RC_MAP_IT913X_V2) },
+	{ DVB_USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A835B_4835,
+		&it913x_properties, "Avermedia A835B(4835)",
+			RC_MAP_IT913X_V2) },
 	{}		/* Terminating entry */
 };
 

Edit: Heh, it looks exactly the same as the patch from that link. But for some reason that one didn't apply, so I made this one. Edit2: Ok, I know where the deal is - that page has spaces, but the actual code in the kernel is indented with tabs.

Last edited by Gusar (2012-12-27 22:24:40)

Offline

#37 2012-12-28 21:04:13

ttouch
Member
From: /dev/null
Registered: 2012-05-27
Posts: 129
Website

Re: USB DVB Avermedia Volar HD

Is there any other way so I won't recompile the kernel? It takes ages to compile and it needs update almost twice a week.

Offline

#38 2012-12-28 22:14:36

Gusar
Member
Registered: 2009-08-25
Posts: 3,413

Re: USB DVB Avermedia Volar HD

No one is forcing you to update when an update is available. Beyond that, in theory it should be possible to compile just the one module and then copy it to /usr/lib/modules/<kernel>/extramodules followed by a depmod -a. I've never done that though, so no idea how to do it in practice.

Offline

#39 2012-12-29 22:32:41

ttouch
Member
From: /dev/null
Registered: 2012-05-27
Posts: 129
Website

Re: USB DVB Avermedia Volar HD

I can't recompile the kernel. I try to compile linux-lqx but I get:
CC [M]  drivers/gpu/drm/drm_mm.o
drivers/gpu/drm/drm_mm.c: In function ‘drm_mm_scan_remove_block’:
drivers/gpu/drm/drm_mm.c:612:3: error: implicit declaration of function ‘__drm_mm_hole_node_end’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[3]: *** [drivers/gpu/drm/drm_mm.o] Error 1
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

I just added in PKGBUILD:
patch -p1 -i /media/files/Linux/avermedia.patch
in the build section.

Offline

#40 2013-01-01 18:01:05

ttouch
Member
From: /dev/null
Registered: 2012-05-27
Posts: 129
Website

Re: USB DVB Avermedia Volar HD

bump

Offline

#41 2013-04-13 20:50:20

robegrassi
Member
Registered: 2011-11-19
Posts: 13

Re: USB DVB Avermedia Volar HD

For those who are interested, these are my instructions to build a patched module for A835B (07ca:3835):

1. Download kernel sources (for version 3.8.6, https://www.kernel.org/pub/linux/kernel … 8.6.tar.xz) and extract the following files to the working dir:
drivers/media/usb/dvb-usb-v2/dvb_usb.h
drivers/media/dvb-core/dvb-usb-ids.h
drivers/media/usb/dvb-usb-v2/it913x.c

2. Apply the patch reported in previous posts. You can use the following

--- dvb-usb-ids.h.orig	2012-12-27 23:10:35.000000000 +0100
+++ dvb-usb-ids.h	2012-12-27 23:13:50.049680727 +0100
@@ -233,6 +233,10 @@
 #define USB_PID_AVERMEDIA_A815M				0x815a
 #define USB_PID_AVERMEDIA_A835				0xa835
 #define USB_PID_AVERMEDIA_B835				0xb835
+#define USB_PID_AVERMEDIA_A835B_1835			0x1835
+#define USB_PID_AVERMEDIA_A835B_2835			0x2835
+#define USB_PID_AVERMEDIA_A835B_3835			0x3835
+#define USB_PID_AVERMEDIA_A835B_4835			0x4835
 #define USB_PID_AVERMEDIA_1867				0x1867
 #define USB_PID_AVERMEDIA_A867				0xa867
 #define USB_PID_AVERMEDIA_TWINSTAR			0x0825
--- it913x.c.orig	2012-12-27 23:10:35.000000000 +0100
+++ it913x.c	2012-12-27 23:13:49.000693841 +0100
@@ -773,6 +773,18 @@
 	{ DVB_USB_DEVICE(USB_VID_ITETECH, USB_PID_ITETECH_IT9135_9006,
 		&it913x_properties, "ITE 9135(9006) Generic",
 			RC_MAP_IT913X_V1) },
+	{ DVB_USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A835B_1835,
+		&it913x_properties, "Avermedia A835B(1835)",
+			RC_MAP_IT913X_V2) },
+	{ DVB_USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A835B_2835,
+		&it913x_properties, "Avermedia A835B(2835)",
+			RC_MAP_IT913X_V2) },
+	{ DVB_USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A835B_3835,
+		&it913x_properties, "Avermedia A835B(3835)",
+			RC_MAP_IT913X_V2) },
+	{ DVB_USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A835B_4835,
+		&it913x_properties, "Avermedia A835B(4835)",
+			RC_MAP_IT913X_V2) },
 	{}		/* Terminating entry */
 };
 

with the command:
$ patch -p0 < <patch-name>

3. Create a Makefile:

dvb-usb-it913x-objs := it913x.o
obj-m += dvb-usb-it913x.o

ccflags-y += -I/usr/src/linux-$(shell uname -r)/drivers/media/dvb-core
ccflags-y += -I/usr/src/linux-$(shell uname -r)/drivers/media/dvb-frontends
ccflags-y += -I/usr/src/linux-$(shell uname -r)/drivers/media/tuners

all:
	make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules

clean:
	make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

4. Build and install the module:
$ make
$ gzip dvb-usb-it913x.ko
# cp dvb-usb-it913x.ko.gz /lib/modules/$(uname -r)/kernel/drivers/media/usb/dvb-usb-v2/
# depmod -a

5. Download the firmware archive from http://www.ite.com.tw/uploads/firmware/ … it9135.zip. Extract and install the firmware for chip version 1:
$ dd if=dvb-usb-it9135.fw ibs=1 skip=64 count=8128 of=dvb-usb-it9135-01.fw
#cp dvb-usb-it9135-01.fw /usr/lib/firmware/

6. Reboot.

Offline

#42 2013-04-15 15:48:16

ttouch
Member
From: /dev/null
Registered: 2012-05-27
Posts: 129
Website

Re: USB DVB Avermedia Volar HD

I managed to create a customizepkg script:

replace#global#.*DEFAULT_CONSOLE_LOGLEVEL.*#patch -p1 -i \"\\/media\\/files\\/Linux\\/a835.patch\"

Offline

Board footer

Powered by FluxBB