Hi all,
I have installed xbian 1.0a5 and an "avertv volar green hd model a835" (id vendor: 07ca id product 3835 ). (usb-tv-tuner not supported )
I try to modify the module "dvb-usb-it913x.ko" with some changes in "dvb-usb-ids.h" and "it913x.c" (get from "wget
https://github.com/raspberrypi/linux/archive/rpi-3.6.y.tar.gz")
The dvb-usb-it913x.ko generated don't work, dmesg says : "[12907.518097] dvb_usb_it913x: disagrees about version of symbol module_layout"
If you need the steps how I make the dvb-usb-it913x.ko let me know .. but i think it's wrong from the very beggining
Any help would be appreciated, thanks in advanced
Another try (like the " DVB-T kernel module for: RTL2838" thread")
but with no success
Code:
sudo su
git clone https://github.com/xbianonpi/xbian-package-kernel.git
cd xbian-package-kernel/content
rm -rf DEBIAN
cp -R * /
mv /boot/kernel3_8_13.img /boot/kernel.img
reboot
sudo su
wget https://github.com/xbianonpi/xbian-package-kernel/blob/master/content/lib/modules/3.8.13%2B/kernel/drivers/media/usb/dvb-usb-v2/dvb-usb-it913x.ko
mv dvb-usb-it913x.ko /lib/modules/3.8.13+/kernel/drivers/media/usb/dvb-usb-v2/dvb-usb-it913x.ko
depmod -a
ERROR: failed to load symbols from /lib/modules/3.8.13+/kernel/drivers/media/usb/dvb-usb-v2/dvb-usb-it913x.ko: Exec format error
modprobe dvb-usb-it913x
ERROR: could not insert 'dvb_usb_it913x': Exec format error
i've got also an it_9135 usb tnt,
i've done a push request few days ago to add firmawre,
but do not check for defaut module, i've recompiles v4l drivers on pi,
and now, it is detected, i can 'nearly use it', just now, it don't find any channel,
but have the same problem on ubuntu, and may be it's due to my small antenna,
but hardware is recognised for the pi.
i can post later when i'm at home the module i've compiled, if you want to try.
Pull request merged, carlosi please redo the instructions.
(29th May, 2013 09:05 PM)belese Wrote: [ -> ]i've got also an it_9135 usb tnt,
i've done a push request few days ago to add firmawre,
but do not check for defaut module, i've recompiles v4l drivers on pi,
and now, it is detected, i can 'nearly use it', just now, it don't find any channel,
but have the same problem on ubuntu, and may be it's due to my small antenna,
but hardware is recognised for the pi.
i can post later when i'm at home the module i've compiled, if you want to try.
Thanks! it would be appreciated.
Now i'm trying to compile the kernel driver modules for V4L-DVB devices (git clone git://linuxtv.org/media_build.git) but it takes me a while ..
The kernel is already compiled, the only thing you need to do is installing it.
Instructions:
Code:
sudo su
cd /home/xbian
git clone --depth 5 https://github.com/xbianonpi/xbian-package-kernel.git
cd xbian-package-kernel/content
rm -rf DEBIAN
cp -R * /
depmod -a
cp /boot/kernel3_8_13.img /boot/kernel.img
(31st May, 2013 02:57 AM)Koenkk Wrote: [ -> ]The kernel is already compiled, the only thing you need to do is installing it.
Instructions:
Code:
sudo su
cd /home/xbian
git clone --depth 5 https://github.com/xbianonpi/xbian-package-kernel.git
cd xbian-package-kernel/content
rm -rf DEBIAN
cp -R * /
depmod -a
cp /boot/kernel3_8_13.img /boot/kernel.img
Hi again,
I follow the instructions and reboot the raspberry but my "avertv volar green hd model a835" is detected (as always) but not try to load the firmware ..
Need this kernel to apply a patch to make this usb-tv-tuner works?
some patch like this ..
Code:
diff --git a/drivers/media/dvb-core/dvb-usb-ids.h
b/drivers/media/dvb-core/dvb-usb-ids.h
index 26c4481..84d7759 100644
--- a/drivers/media/dvb-core/dvb-usb-ids.h
+++ b/drivers/media/dvb-core/dvb-usb-ids.h
@@ -231,6 +231,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
diff --git a/drivers/media/usb/dvb-usb-v2/it913x.c
b/drivers/media/usb/dvb-usb-v2/it913x.c
index 1ca8fea..b2e9b87 100644
--- a/drivers/media/usb/dvb-usb-v2/it913x.c
+++ b/drivers/media/usb/dvb-usb-v2/it913x.c
@@ -773,6 +773,18 @@ static const struct usb_device_id it913x_id_table[] = {
{ 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 */
};
--
Thanks
(31st May, 2013 08:12 PM)carlosi Wrote: [ -> ]I follow the instructions and reboot the raspberry but my "avertv volar green hd model a835" is detected (as always) but not try to load the firmware ..
post output of "dmesg" command, you can cut the part where it starts to load the relevant module.
(1st Jun, 2013 06:06 AM)mk01 Wrote: [ -> ] (31st May, 2013 08:12 PM)carlosi Wrote: [ -> ]I follow the instructions and reboot the raspberry but my "avertv volar green hd model a835" is detected (as always) but not try to load the firmware ..
post output of "dmesg" command, you can cut the part where it starts to load the relevant module.
Hi mk01,
This is the output when i plug in the usb-tv-tuner
Code:
usb 1-1.2.2: USB disconnect, device number 7
usb 1-1.2.2: new high-speed USB device number 9 using dwc_otg
usb 1-1.2.2: New USB device found, idVendor=07ca, idProduct=3835
usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.2.2: Product: A835B
usb 1-1.2.2: Manufacturer: AVerMedia TECHNOLOGIES, Inc.
usb 1-1.2.2: SerialNumber: 305940600137
Thanks
(1st Jun, 2013 04:22 PM)carlosi Wrote: [ -> ]
Code:
usb 1-1.2.2: USB disconnect, device number 7
usb 1-1.2.2: new high-speed USB device number 9 using dwc_otg
usb 1-1.2.2: New USB device found, idVendor=07ca, idProduct=3835
usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.2.2: Product: A835B
usb 1-1.2.2: Manufacturer: AVerMedia TECHNOLOGIES, Inc.
usb 1-1.2.2: SerialNumber: 305940600137
Thanks
look into xbian-package-kernel - branch testing. the module there is patched
(2nd Jun, 2013 08:22 AM)mk01 Wrote: [ -> ]look into xbian-package-kernel - branch testing. the module there is patched
I download the testing branch, but then my raspberry/xbian doesn't work
Code:
sudo su
cd /home/xbian
git clone -b testing --depth 5 https://github.com/xbianonpi/xbian-package-kernel.git
cd xbian-package-kernel/content
rm -rf DEBIAN
cp -R * /
depmod -a
cp /boot/kernel.img-3.8.13+ /boot/kernel.img
Any idea what's happening?
Thanks
(3rd Jun, 2013 03:34 AM)carlosi Wrote: [ -> ]Any idea what's happening?
Thanks
ah, you used the "manual" approach. it will not work. after recovery clone xbian-package-kernel (you have already), xbian-package-initramfs-tools and xbian-package-splash
but generate .deb packages with running gen.package.sh and then install them with dpkg -i pkg1 pkg2 pkg3
and to recover, just take /boot/kernel3_8_13.img from master branch and copy it as /boot/kernel.img ... then you should be able to boot.
then proceed with installing the debs.
sorry for inconvenience.
(3rd Jun, 2013 04:03 AM)mk01 Wrote: [ -> ]ah, you used the "manual" approach. it will not work. after recovery clone xbian-package-kernel (you have already), xbian-package-initramfs-tools and xbian-package-splash
but generate .deb packages with running gen.package.sh and then install them with dpkg -i pkg1 pkg2 pkg3
Sorry mk01, i'm a little confused now ..
I install a 'clean' version of xbian 1.0a5
then ..
Code:
sudo su
apt-get update
apt-get upgrade
apt-get install fakeroot
git clone https://github.com/xbianonpi/xbian-package-kernel.git
git clone https://github.com/xbianonpi/xbian-package-initramfs-tools.git
git clone https://github.com/xbianonpi/xbian-package-splash.git
cd xbian-package-kernel
./gen.package.sh
cd ../xbian-package-initramfs-tools
./gen.package.sh
cd ../xbian-package-splash
cd ..
dpkg -i xbian-package-kernel/xbian-package-kernel1.1.deb xbian-package-initramfs/xbian-package-initramfs-tools1.0-0.2.deb xbian-package-splash/xbian-package-splash1.0-0.4.deb
The output of dkpg was ..
Code:
Selecting previously unselected package xbian-package-kernel.
(Reading database ... 29246 files and directories currently installed.)
Unpacking xbian-package-kernel (from .../xbian-package-kernel1.1.deb) ...
Selecting previously unselected package xbian-package-initramfs-tools.
dpkg: regarding .../xbian-package-initramfs-tools1.0-0.2.deb containing xbian-package-initramfs-tools, pre-dependency problem:
xbian-package-initramfs-tools pre-depends on initramfs-tools
initramfs-tools is not installed.
dpkg: error processing xbian-package-initramfs/xbian-package-initramfs-tools1.0-0.2.deb (--install):
pre-dependency problem - not installing xbian-package-initramfs-tools
Selecting previously unselected package xbian-package-splash.
Unpacking xbian-package-splash (from .../xbian-package-splash1.0-0.4.deb) ...
Replacing files in old package xbian-update ...
dpkg: dependency problems prevent configuration of xbian-package-kernel:
xbian-package-kernel depends on xbian-package-initramfs-tools (>= 1.0); however:
Package xbian-package-initramfs-tools is not installed.
xbian-package-kernel depends on xbian-package-firmware (>= 1.4); however:
Version of xbian-package-firmware on system is 1.3.
dpkg: error processing xbian-package-kernel (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of xbian-package-splash:
xbian-package-splash depends on xbian-package-initramfs-tools (>= 1.0); however:
Package xbian-package-initramfs-tools is not installed.
dpkg: error processing xbian-package-splash (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
xbian-package-initramfs/xbian-package-initramfs-tools1.0-0.2.deb
xbian-package-kernel
xbian-package-splash
So i decided to install "initramfs-tools" (apt-get install initramfs-tools) but the ouptut was ..
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
initramfs-tools : Depends: klibc-utils (>= 2.0-1~) but it is not going to be installed
Recommends: busybox (>= 1:1.01-3) but it is not going to be installed or
busybox-initramfs but it is not installable or
busybox-static but it is not going to be installed
xbian-package-kernel : Depends: xbian-package-initramfs-tools (>= 1.0) but it is not installable
Depends: xbian-package-firmware (>= 1.4) but 1.3 is to be installed
xbian-package-splash : Depends: xbian-package-initramfs-tools (>= 1.0) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Can you help me to do the steps to installs all the stuff (to makes the usb-tv-tuner works)?
Thanks in advance
(3rd Jun, 2013 08:51 PM)carlosi Wrote: [ -> ]initramfs-tools : Depends: klibc-utils (>= 2.0-1~) but it is not going to be installed
Recommends: busybox (>= 1:1.01-3) but it is not going to be installed or
busybox-initramfs but it is not installable or
busybox-static but it is not going to be installed
xbian-package-kernel : Depends: xbian-package-initramfs-tools (>= 1.0) but it is not installable
Depends: xbian-package-firmware (>= 1.4) but 1.3 is to be installed
xbian-package-splash : Depends: xbian-package-initramfs-tools (>= 1.0) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
[/code]
Can you help me to do the steps to installs all the stuff (to makes the usb-tv-tuner works)?
Thanks in advance
it wasn't needed to reflash, but for the this steps you are doing fine. I'm just thinking whether after installing all the dependencies you will not end up with beta1
but yes, you will need kernel, splash, firmware and initramfs. the last named will require busybox, klibc-tools, initrd-tools.