You are not logged in.
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
What do I have to modprobe to make the dongle work? I downloaded the firmware (in /lib/firmware), but nothing happens...
linux 3.6.10
Last edited by ttouch (2012-12-23 21:38:18)
GitHub | Git Server | Blog
Offline
Nothing, everything should load automatically. What's the output of dmesg when you plug the device in?
Offline
[10797.559171] usb 3-1.4: new high-speed USB device number 7 using ehci_hcd
maybe modprobe bttv?
GitHub | Git Server | Blog
Offline
What do I have to modprobe to make the dongle work? I downloaded the firmware (in /lib/firmware), but nothing happens...
linux 3.6.10
Correct path is /usr/lib/firmware
Can you post your lsusb output?
Excuse my poor English.
Offline
/lib is symlinked to /usr/lib
lsusb:
Bus 003 Device 004: ID 07ca:3835 AVerMedia Technologies, Inc. AVerTV Volar Green HD (A835B)
GitHub | Git Server | Blog
Offline
A835B models of Volar Green HD are not supported by mainline kernel yet, but there is a patch to make it work.
Excuse my poor English.
Offline
can you explain me please how and where I will use the patch? should I patch the kernel?
GitHub | Git Server | Blog
Offline
Yep, you need to compile your own kernel with the patch applied.
Offline
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?
GitHub | Git Server | Blog
Offline
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
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.
GitHub | Git Server | Blog
Offline
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
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.
GitHub | Git Server | Blog
Offline
Offline
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
I managed to create a customizepkg script:
replace#global#.*DEFAULT_CONSOLE_LOGLEVEL.*#patch -p1 -i \"\\/media\\/files\\/Linux\\/a835.patch\"
GitHub | Git Server | Blog
Offline