[+] Openmediavault 2.x instalacja Zolid Mini DVB-T USB

Wszystko związane z jądrem systemowym, sterownikami, sprzętem itp.
Mefu
Posty: 36
Rejestracja: 18 sierpnia 2017, 16:51

[+] Openmediavault 2.x instalacja Zolid Mini DVB-T USB

Post autor: Mefu »

Witam.
Jeżeli umieściłem post w złym miejscu bardzo przepraszam ale wydaje mi się że to tu powinienem napisać.
Postawiłem domowy serwer NAS na OpenMediaVault ver. 2.2.14.
Postanowiłem go wzbogacić w streming tv. Zakupiłem na alle dekoder DVB-T USB współdziałający z Linux.
Podpoiłem pod USB doinstalowałem DVR ver 1.2. niestety okazało się że to nie Windows 7 i trzeba zainstalować sterowniki.
OMV nie dopuszcza mnie do dysku systemowego, wgrałem pliki dostarczone z urządzeniem na dysk udostępniany.
Ani sposób podany w instrukcji ani inne nie pozwalają mi zainstalować sterownika urządzenia.
Każda próba kończy się komunikatem że nie można odnaleźć pliku IT9135.tar
Próba szukania programów kończy się komunikatem:
w_scan version 20121111 (compiled for DVB API 5.4)
using settings for POLAND
DVB aerial
DVB-T Europe
scan type TERRESTRIAL, channellist 4
output format vdr-1.7
WARNING: could not guess your codepage. Falling back to 'UTF-8'
output charset 'UTF-8', use -C <charset> to override
Info: using DVB adapter auto detection.
main:3220: FATAL: ***** NO USEABLE TERRESTRIAL CARD FOUND. *****
Please check wether dvb driver is loaded and
verify that no dvb application (i.e. vdr) is running.
Zrobione ...
W konsoli po wpisaniu
lsusb
Dostaje taką odpowiedź
root@hh:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0bc2:2300 Seagate RSS LLC Expansion Portable
Bus 002 Device 004: ID 048d:9135 Integrated Technology Express, Inc. Zolid Mini DVB-T Stick
Bus 003 Device 002: ID 0b38:0003 Gear Head Keyboard
Bus 007 Device 002: ID 1038:1384 Ideazon, Inc.
Jak zainstalować ten nieszczęsny DVB-T żeby to chodziło ?

Moderowano: Tytuł wątku lepiej opisujący problem.
Ostatnio zmieniony 19 sierpnia 2017, 16:37 przez Mefu, łącznie zmieniany 1 raz.
Awatar użytkownika
dedito
Moderator
Posty: 3512
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: Openmediavault instalacja sterowników dvb-t usb

Post autor: dedito »

Mefu pisze: 18 sierpnia 2017, 20:41 Podpoiłem pod USB doinstalowałem DVR ver 1.2. niestety okazało się że to nie Windows 7 i trzeba zainstalować sterowniki.
W Windows 7 też trzeba zainstalować sterowniki.
Mefu pisze: 18 sierpnia 2017, 20:41 Ani sposób podany w instrukcji ani inne nie pozwalają mi zainstalować sterownika urządzenia.
Każda próba kończy się komunikatem że nie można odnaleźć pliku IT9135.tar
Zdradź nam o jaką instrukcję chodzi i o jakie sposoby.
Mefu pisze: 18 sierpnia 2017, 20:41 Jak zainstalować ten nieszczęsny DVB-T żeby to chodziło ?
Twój tuner widoczny jest w wyniku lsusb

Kod: Zaznacz cały

Bus 002 Device 004: ID 048d:9135 Integrated Technology Express, Inc. Zolid Mini DVB-T Stick
Warto co nieco poczytać na tej stronie https://www.linuxtv.org/wiki/index.php/ITE_IT9135

Zdradź nam jeszcze co nieco na temat Twojego systemu i metody instalacji OMV.
Mefu
Posty: 36
Rejestracja: 18 sierpnia 2017, 16:51

Re: Openmediavault instalacja sterowników dvb-t usb

Post autor: Mefu »

Obraz ISO ze strony https://www.openmediavault.org/download.html wgrałem na pendrive i z niego zainstalowałem OMV
jak już wspomniałem wersja 2.1.14
Na płytce dołączonej do urządzenia są sterowniki do Linuxa

Co do sposobów instalacji to na pierwszy plan poszedł
apt-get install /dev/.....
Jak wspomniałem wgrałem całą zawartość folderu Linux na dysk udostępniany i podawałem tu ścieżki do pliku IT9135.tar oraz IT9135.tar.gz oraz it9135_installer.i686.sh
rezultat był taki
root@hh:~# root@hh:~# apt-get install it9135_installer.i686.sh
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
E: Nie udało się odnaleźć pakietu it9135_installer.i686.sh
E: Nie udało się znaleźć żadnego pakietu według wyrażenia regularnego "it9135_installer.i686.sh"
root@hh:~#
Potem spróbowałem tak
dd if=dvb-usb-it9135.fw ibs=1 skip=64 count=8128 of=dvb-usb-it9135-01.fw
rezultat jak wyżej
Na końcu jak w pliku read.me
a. Install driver with source code
Alternatively, you may compile and install the driver source code manually,

1) In the folder 'IT9135_SRC', type the following command to compile & install it9135 DVB-T driver dvb-usb-it9135.ko.
# make clean
# make
# make install

2) Plug in the device and check the message to make sure the driver is work normally.
# cat /var/log/messages

log messages:

dvb-usb: found a 'ITEtech USB2.0 DVB-T Recevier' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
dvb-usb: ITEtech USB2.0 DVB-T Recevier successfully initialized and connected.

#lsmod|more

Module info:

Module Size Used by

dvb_usb_it9135 ----- 0
dvb_usb ----- 1 dvb_usb_it9135
dvb_core ----- 1 dvb_usb
dvb_pll ----- 1 dvb_usb
Jak widać moja znajomość Linuxa poraża. OMV wgrałem na dysk flash 2G po instalacji jest to dysk systemowy do którego nie mam dostępu czyli nie mogę nic dograć. Dlatego pliki są na innym dysku, zastanawiam się czy to jest powodem tego że dostaje komunikat o braku pliku.
Jest jeszcze jedno wytłumaczenie - robię to źle.
Awatar użytkownika
dedito
Moderator
Posty: 3512
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: Openmediavault instalacja sterowników dvb-t usb

Post autor: dedito »

Proponuję od nowa wgrać OMV, bo nie wiadomo co się tam narobiło.
Dostęp do dysku systemowego powinieneś mieć.
Powinieneś móc się zalogować na ten komputer tak samo jak na każdy inny.
Hasło root'a zapewne ustaliłeś na etapie instalacji, poza tym powinieneś mieć dostęp przez stronę www do ustawień systemowych.

Jeszcze się zastanawiam, czy wybór obrazu do instalacji był całkowicie świadomy?
Mefu
Posty: 36
Rejestracja: 18 sierpnia 2017, 16:51

Re: Openmediavault instalacja sterowników dvb-t usb

Post autor: Mefu »

Nie no wybór obrazu był całkowicie świadomy, myślę że nie jest ze mną tak źle jak by to wynikało z tego co napisałeś.
Muszę się z tobą jednak zgodzić co do uwagi odnośnie komend, masz rację. Niestety poza dwoma razami gdy podnosiłem router nigdy nie używałem konsoli.
Komendy te odnalazłem w czeluściach internetu gdzie kilku dobrych ludzi dzieliło się wiedzą jak instalowało sterowniki.
Co do braku dostępu to może źle się wyraziłem.
Dostęp do konta root mam bez problemu na samym serwerze jak i na konsoli do samego serwera mam pełen dostęp wszystkie usługi takie jak ownCloud, dlna działają.
Awatar użytkownika
dedito
Moderator
Posty: 3512
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: Openmediavault instalacja sterowników dvb-t usb

Post autor: dedito »

To przydadzą się wyniki z tej konsoli na temat systemu:

Kod: Zaznacz cały

uname -a

Kod: Zaznacz cały

lsb_release -a

Kod: Zaznacz cały

fdisk -l

Kod: Zaznacz cały

parted -l
Ostatnie linijki po podłączeniu dvb-t uzyskane z

Kod: Zaznacz cały

dmesg
Sama instrukcja instalacji jest tu https://www.linuxtv.org/wiki/index.php/ ... structions
Robisz te firmware zgodnie z instrukcjami i wrzucasz do /lib/firmware.
Restartujesz maszynę i powinno zacząć działać.

Możesz też obrać alternatywnę metodę z pobraniem firmware, opisane tutaj http://www.manta.info.pl/forum/dvbtusb0 ... na-ubuntu/
W skrócie:

Kod: Zaznacz cały

wget http://www.ite.com.tw/uploads/firmware/v3.6.0.0/dvb-usb-it9135.zip
unzip dvb-usb-it9135.zip
dd if=dvb-usb-it9135.fw ibs=1 skip=64 count=8128 of=dvb-usb-it9135-01.fw
dd if=dvb-usb-it9135.fw ibs=1 skip=12866 count=5817 of=dvb-usb-it9135-02.fw
su -c 'cp dvb-usb-it9135-0* /lib/firmware/'
Mefu
Posty: 36
Rejestracja: 18 sierpnia 2017, 16:51

Re: Openmediavault instalacja sterowników dvb-t usb

Post autor: Mefu »

A więc poszedłem za radą i zainstalowałem od nowa OMV
root@Julka:~# uname -a
Linux Julka 3.2.0-4-686-pae #1 SMP Debian 3.2.68-1+deb7u2 i686 GNU/Linux
root@Julka:~# lsb_release -a
-bash: lsb_release: nie znaleziono polecenia
fdisk -l

Disk /dev/sda: 2048 MB, 2048385024 bytes
255 heads, 63 sectors/track, 249 cylinders, total 4000752 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009ec35

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 3729407 1863680 83 Linux
/dev/sda2 3731454 3999743 134145 5 Extended
/dev/sda5 3731456 3999743 134144 82 Linux swap / Solaris
root@Julka:~# parted -l
Model: ATA 2GB ATA Flash Di (scsi)
Disk /dev/sda: 2048MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 1909MB 1908MB primary ext4 boot
2 1911MB 2048MB 137MB extended
5 1911MB 2048MB 137MB logical linux-swap(v1)
odpowiedź na
dmesg
[ 960.538828] usb 1-1: USB disconnect, device number 2
[ 964.548079] usb 1-1: new high-speed USB device number 3 using ehci_hcd
[ 964.682425] usb 1-1: New USB device found, idVendor=048d, idProduct=9135
[ 964.682439] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 964.683919] it913x: Chip Version=02 Chip Type=9135
[ 964.686399] it913x: Dual mode=0 Remote=5 Tuner Type=b
[ 964.687644] dvb-usb: found a 'ITE 9135 Generic' in cold state, will try to load a firmware
[ 964.698856] usb 1-1: firmware: agent aborted loading dvb-usb-it9137-01.fw (not found?)
[ 964.699286] it913x: DEV it913x Error
Ponieważ ostatnio w systemie nie było unzip to sobie go doinstalowałem poleceniem
sudo apt-get install unzip
i postąpiłem według instrukcji
wget http://www.ite.com.tw/uploads/firmware/ ... it9135.zip
unzip dvb-usb-it9135.zip
dd if=dvb-usb-it9135.fw ibs=1 skip=64 count=8128 of=dvb-usb-it9135-01.fw
dd if=dvb-usb-it9135.fw ibs=1 skip=12866 count=5817 of=dvb-usb-it9135-02.fw
sudo cp dvb-usb-it9135-0* /lib/firmware/


po resecie włożyłem dvb-t
dmesg :


[ 107.755794] it913x: Chip Version=02 Chip Type=9135
[ 107.758402] it913x: Dual mode=0 Remote=5 Tuner Type=4a
[ 107.759639] dvb-usb: found a 'ITE 9135 Generic' in cold state, will try to load a firmware
[ 107.770773] usb 1-1: firmware: agent aborted loading dvb-usb-it9137-01.fw (not found?)
[ 107.771204] it913x: DEV it913x Error
Awatar użytkownika
dedito
Moderator
Posty: 3512
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: Openmediavault instalacja sterowników dvb-t usb

Post autor: dedito »

System pragnie dvb-usb-it9137-01.fw, a ten poradnik alternatywny buduje dvb-usb-it9135-01.fw, nie zauważyłem sorki.

Zrób zgodnie z tą pierwszą/oficjalną, masz już gotowe komendy poniżej:

Kod: Zaznacz cały

wget http://kworld.server261.com/kworld/CD/ITE_TiVme/V1.00/Driver_V10.323.1.0412.100412.zip
unzip Driver_V10.323.1.0412.100412.zip
dd if=Driver_V10.323.1.0412.100412/Data/x86/IT9135BDA.sys ibs=1 skip=69632 count=5731 of=dvb-usb-it9137-01.fw
cp dvb-usb-it9137-01.fw /lib/firmware/
reboot
Mefu
Posty: 36
Rejestracja: 18 sierpnia 2017, 16:51

Re: Openmediavault instalacja sterowników dvb-t usb

Post autor: Mefu »


[ 219.723738] it913x: Chip Version=02 Chip Type=9135
[ 219.726227] it913x: Dual mode=0 Remote=5 Tuner Type=4a
[ 219.727477] dvb-usb: found a 'ITE 9135 Generic' in cold state, will try to load a firmware
[ 219.741913] usb 1-1: firmware: agent loaded dvb-usb-it9137-01.fw into memory
[ 219.742858] it913x: FRM Starting Firmware Download
[ 220.236076] it913x: FRM Firmware Download Failed (ffffffed)
[ 220.436258] it913x: Chip Version=6f Chip Type=0203
[ 221.272271] it913x: DEV it913x Error
niestety nic nie pomogło.
Na CD do DVB-T
są dwa katalogi dla linux
v10.12.30.1
Read.me

ITEtech IT9135 DVB-T USB Linux TV Driver Installation Guide
2010/12/30
Copyright (C) 2007-2010 ITE Technologies, INC.

1. Release note

This software package release.
Driver component version information:
DRIVER_RELEASE_VERSION : v10.12.30.1
FW_RELEASE_VERSION : v1_0_25_5
API_RELEASE_VERSION : 201.20101007.3
The driver is for ITEtech 9135 based USB TV module and operates
on Linux platform.
This release supports x86 32bit and 64bit CPU families in Linux kernel 2.6.36.

2. Install Driver

To compile the driver against running kernel, simply invoke "make" in the source
code directory. Please make sure the build environment is prepared for an
out-of-tree module compilation. To do this, check the following folders:

# ls -al /lib/modules/`uname -r`/build

The source folder must contain kernel source code for driver to compile.

1)In this folder, type the following command to install driver.

In x86 32bit CPU families in Linux.
# sh IT9135_Installer_i686.sh

In x86 64bit CPU families in Linux.
# sh IT9135_Installer_x64.sh

2)Plug in the device and check the message to make sure the driver is work normally.
# cat /var/log/messages

log messages:

dvb-usb: found a 'ITEtech USB2.0 DVB-T Recevier' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
dvb-usb: ITEtech USB2.0 DVB-T Recevier successfully initialized and connected.

#lsmod|more

Module info:

Module Size Used by

dvb_usb_it9135 ----- 0
dvb_usb ----- 1 dvb_usb_it9135
dvb_core ----- 1 dvb_usb

3. Feature descriptions
IT9135 Linux driver is implemented with the video for Linux (V4L) interface
that greatly simplifies software integration. It performed the tasks such as
initialization, channel bandwidth selection, channel scanning and acquisition,
, and PID filter setting. Users also have access to all the relevant
signal statistic information generated by the IC, post-Viterbi bit error
rate(BER), uncorrectable Reed-Solomon (RS) packet count, signal strength,
and signal quality indicator.

One sample program with source codes are included in the driver package.
The sample program demonstrate how to access the V4L and the device in
DVB-T mode.

4. Revision history
-----------------------
v10.12.30.1
-----------------------
- Update FW to V1_0_25_5.
- Update the tuner scripts
- Improve USB suspend/resume issue.
- Improve 4 bytes loss of PIP mode (Write F99D to 1).
- Support Linux kernel to 2.6.36.

-----------------------
9130.linux.PC.dvb-tV9.12.18.1

Read.me


ITEtech IT9135 DVB-T USB Linux TV Driver Installation Guide
2009/12/18
Copyright (C) 2007-2009 ITE Technologies, INC.

1. Release note
This software package release is version 9.12.18.1.
Driver component version information:
1. Firmware : v1_0_12_0
2. API : 2.0.20091116.0

The driver is for ITEtech 9135 based USB TV module and operates
on Linux platform.

This release supports x86 32bit and 64bit CPU families in Linux.

2. Revision history
Features added and bugs fixed in v9.12.18.1,
(1) First release.



3. File and folder descriptions

\32bit\IT9135_SRC.tgz ITE9135 USB device driver source code package for 32 bit CPU
\64bit\IT9135_SRC.tgz ITE9135 USB device driver source code package for 64 bit CPU

4. Feature descriptions
IT9135 Linux driver is implemented with the video for Linux (V4L) interface
that greatly simplifies software integration. It performed the tasks such as
initialization, channel bandwidth selection, channel scanning and acquisition,
, and PID filter setting. Users also have access to all the relevant
signal statistic information generated by the IC, post-Viterbi bit error
rate(BER), uncorrectable Reed-Solomon (RS) packet count, signal strength,
and signal quality indicator.

One sample program with source codes are included in the driver package.
The sample program demonstrate how to access the V4L and the device in
DVB-T mode.

For users who are not familiar with Linux & LinuxTV, please refer to 'User Guide Linux FC6-3' which
details package & player installation step-by-step.

5. Package Installation for Linux

a. Install driver with source code
Alternatively, you may compile and install the driver source code manually,

1) In the folder 'IT9135_SRC', type the following command to compile & install it9135 DVB-T driver dvb-usb-it9135.ko.
# make clean
# make
# make install

2) Plug in the device and check the message to make sure the driver is work normally.
# cat /var/log/messages

log messages:

dvb-usb: found a 'ITEtech USB2.0 DVB-T Recevier' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
dvb-usb: ITEtech USB2.0 DVB-T Recevier successfully initialized and connected.

#lsmod|more

Module info:

Module Size Used by

dvb_usb_it9135 ----- 0
dvb_usb ----- 1 dvb_usb_it9135
dvb_core ----- 1 dvb_usb
dvb_pll ----- 1 dvb_usb

6. Driver uninstall
To remove ITE's driver, input
make remove

To delete .ko files, input
make clean

7. Remote Controller support
To enable IR Remote Controller, the configuration settings in EEPROM should be set properly
The IR type supported is NEC or RC-5, the configuration is set in EEPROM.
By default, The IR type for the Remote Controller shipped with 9135 USB dongle, is
consistent with EEPROM setting.

If the RC is acquired elsewhere, you should run ITE's EEPROMEdiotr in Windows to program the
IR type field properly.

RC key mapping table,
The RC key mapping table is stored in af35irtbl.bin.
A "Windows" tool IR_Editor.exe from Afa is available for users to customize the key mapping table.


8. Known problems & limitations
a.CPU architecture:
Currently only x86 architecture is supported.
b.USB support:
Awatar użytkownika
dedito
Moderator
Posty: 3512
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: Openmediavault instalacja sterowników dvb-t usb

Post autor: dedito »

No to spróbuj z firmware z OpenElec:

Kod: Zaznacz cały

wget https://github.com/OpenELEC/dvb-firmware/blob/master/firmware/dvb-usb-it9137-01.fw
cp dvb-usb-it9137-01.fw /lib/firmware/
reboot
Powyższe firmware znalazłem w tym wątku http://forum.linux.pl/index.php/topic,1 ... #msg129578 , mają tą samą kartę co Ty więc powinno to w końcu ruszyć.
Zablokowany