Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

PogoPlug E02 - Connect USB Modem -WebCam and DVB-T (11 replies)

$
0
0
Dears

I have got PogoPlug E02 and finally after many problem i have installed Debian with Help of bodhi .

Now i can FTP and download-upload the HDD normally and after some tried i have successfully connect my MF190S ZTE USB Modem to it and can connect to internet.

Now i need to integrate WebCam and DVB-T to it.

Yesterday i have installed some DVB-APP to it and tried with some help and instruction from here (http://ubuntuforums.org/showthread.php?t=1898046&p=11862272#post11862272) but have the following problem

this is my DVB-T

Bus 002 Device 005: ID 048d:9135 Integrated Technology Express, Inc. Zolid Mini DVB-T Stick

During Build I got the following Errors



1970-01-01 04:16:06 (59.7 KB/s) - `linux-media.tar.bz2' saved [4979453/4979453]

make: Leaving directory `/v4l/media_build/linux'
make: Entering directory `/v4l/media_build/linux'
make: Warning: File `linux-media.tar.bz2' has modification time 1.4e+09 s in the future
tar xfj linux-media.tar.bz2
tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
make: *** [untar] Error 2
make: Leaving directory `/v4l/media_build/linux'
Untar failed at ./build line 473.

and here is the complete Logs

root@debian:/v4l/media_build# ./build
Checking if the needed tools for Debian GNU/Linux 7 \n \l are available
ERROR: please install "lsdiff", otherwise, build won't work.
You should run:
        sudo apt-get install  patchutils
Build can't procceed as 1 dependency is missing at ./build line 266.
root@debian:/v4l/media_build# apt-get install  patchutils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  patchutils
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 100 kB of archives.
After this operation, 203 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  patchutils
Install these packages without verification [y/N]? y
Get:1 http://ftp.us.debian.org/debian/ wheezy/main patchutils armel 0.3.2-1.1 [100 kB]
Fetched 100 kB in 2s (48.0 kB/s)     
Selecting previously unselected package patchutils.
(Reading database ... 43023 files and directories currently installed.)
Unpacking patchutils (from .../patchutils_0.3.2-1.1_armel.deb) ...
Processing triggers for man-db ...
fopen: Permission denied
Setting up patchutils (0.3.2-1.1) ...
root@debian:/v4l/media_build# ./build
Checking if the needed tools for Debian GNU/Linux 7 \n \l are available
Needed package dependencies are met.

************************************************************
* This script will download the latest tarball and build it*
* Assuming that your kernel is compatible with the latest  *
* drivers. If not, you'll need to add some extra backports,*
* ./backports/<kernel> directory.                          *
* It will also update this tree to be sure that all compat *
* bits are there, to avoid compilation failures            *
************************************************************
************************************************************
* All drivers and build system are under GPLv2 License     *
* Firmware files are under the license terms found at:     *
* http://www.linuxtv.org/downloads/firmware/               *
* Please abort in the next 5 secs if you don't agree with  *
* the license                                              *
************************************************************

Not aborted. It means that the licence was agreed. Proceeding...

****************************
Updating the building system
****************************
From git://linuxtv.org/media_build
 * branch            master     -> FETCH_HEAD
Already up-to-date.
make: Entering directory `/v4l/media_build/linux'
wget http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5 -O linux-media.tar.bz2.md5.tmp
--1970-01-01 04:14:44--  http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5
Resolving linuxtv.org (linuxtv.org)... 130.149.80.248
Connecting to linuxtv.org (linuxtv.org)|130.149.80.248|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 93 [application/x-bzip2]
Saving to: `linux-media.tar.bz2.md5.tmp'

100%[==============================================================================================================================>] 93          --.-K/s   in 0s      

1970-01-01 04:14:45 (2.85 MB/s) - `linux-media.tar.bz2.md5.tmp' saved [93/93]

cat: linux-media.tar.bz2.md5: No such file or directory
--1970-01-01 04:14:45--  http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2
Resolving linuxtv.org (linuxtv.org)... 130.149.80.248
Connecting to linuxtv.org (linuxtv.org)|130.149.80.248|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4979453 (4.7M) [application/x-bzip2]
Saving to: `linux-media.tar.bz2'

100%[==============================================================================================================================>] 4,979,453   59.3K/s   in 81s     

1970-01-01 04:16:06 (59.7 KB/s) - `linux-media.tar.bz2' saved [4979453/4979453]

make: Leaving directory `/v4l/media_build/linux'
make: Entering directory `/v4l/media_build/linux'
make: Warning: File `linux-media.tar.bz2' has modification time 1.4e+09 s in the future
tar xfj linux-media.tar.bz2
tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
make: *** [untar] Error 2
make: Leaving directory `/v4l/media_build/linux'
Untar failed at ./build line 473.

then i have neglect this and continue the instruction :

root@debian:/v4l/media_build# make install
make -C /v4l/media_build/v4l install
make[1]: Entering directory `/v4l/media_build/v4l'
No version yet, using 3.13.1-kirkwood-tld-2
make[1]: Leaving directory `/v4l/media_build/v4l'
make[1]: Entering directory `/v4l/media_build/v4l'
scripts/make_makefile.pl
make[1]: Leaving directory `/v4l/media_build/v4l'
make[1]: Entering directory `/v4l/media_build/v4l'

Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/gspca/m5602:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/dvb/dvb-usb:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/zoran:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/saa7164:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/dvb/ddbridge:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/marvell-ccic:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/cx18:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/cpia2:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/dvb/b2c2:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/ivtv:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/hdpvr:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/dvb/mantis:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/common/tuners:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/sn9c102:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/dvb/dvb-core:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/cx23885:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/dvb/firewire:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/dvb/bt8xx:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/cx25840:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/dvb/siano:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/dvb/ttusb-dec:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/dvb/ngene:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/dvb/dm1105:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/cx231xx:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/saa7134:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/dvb/ttpci:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/gspca/gl860:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/dvb/frontends:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/bt8xx:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/cx88:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/gspca:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/tm6000:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/dvb/pluto2:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/cx25821:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/usbvision:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/gspca/stv06xx:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/common:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/em28xx:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/pvrusb2:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/tlg2300:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/dvb/pt1:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/uvc:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/dvb/ttusb-budget:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/pwc:


Removing obsolete files from /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/video/au0828:

Installing kernel modules under /lib/modules/3.13.1-kirkwood-tld-2/kernel/drivers/media/:
/sbin/depmod -a 3.13.1-kirkwood-tld-2 
make -C firmware install
make[2]: Entering directory `/v4l/media_build/v4l/firmware'
make[2]: *** No rule to make target `../../linux/firmware/ihex2fw.c', needed by `ihex2fw'.  Stop.
make[2]: Leaving directory `/v4l/media_build/v4l/firmware'
make[1]: *** [firmware_install] Error 2
make[1]: Leaving directory `/v4l/media_build/v4l'
make: *** [install] Error 2
root@debian:/v4l/media_build# cd ..
root@debian:/v4l# wget http://www.ite.com.tw/uploads/firmware/v3.6.0.0/dvb-usb-it9135.zip
--1970-01-01 04:19:21--  http://www.ite.com.tw/uploads/firmware/v3.6.0.0/dvb-usb-it9135.zip
Resolving www.ite.com.tw (www.ite.com.tw)... 103.17.8.31
Connecting to www.ite.com.tw (www.ite.com.tw)|103.17.8.31|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9981 (9.7K) [application/x-zip-compressed]
Saving to: `dvb-usb-it9135.zip'

100%[==============================================================================================================================>] 9,981       15.0K/s   in 0.6s    

1970-01-01 04:19:24 (15.0 KB/s) - `dvb-usb-it9135.zip' saved [9981/9981]

root@debian:/v4l# unzip dvb-usb-it9135.zip
-bash: unzip: command not found
root@debian:/v4l# tar dvb-usb-it9135.zip
tar: Old option `b' requires an argument.
Try `tar --help' or `tar --usage' for more information.
root@debian:/v4l# tar help
tar: invalid option -- 'e'
Try `tar --help' or `tar --usage' for more information.
root@debian:/v4l# unzip unzip dvb-usb-it9135.zip
-bash: unzip: command not found
root@debian:/v4l# zip aaa 
-bash: zip: command not found
root@debian:/v4l# apt-get install  unzip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  zip
The following NEW packages will be installed:
  unzip
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 193 kB of archives.
After this operation, 358 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  unzip
Install these packages without verification [y/N]? y
Get:1 http://ftp.us.debian.org/debian/ wheezy/main unzip armel 6.0-8 [193 kB]
Fetched 193 kB in 6s (27.7 kB/s)                                                                                                                                       
Selecting previously unselected package unzip.
(Reading database ... 43060 files and directories currently installed.)
Unpacking unzip (from .../archives/unzip_6.0-8_armel.deb) ...
Processing triggers for man-db ...
fopen: Permission denied
Processing triggers for mime-support ...
Setting up unzip (6.0-8) ...
root@debian:/v4l# unzip dvb-usb-it9135.zip
Archive:  dvb-usb-it9135.zip
  inflating: dvb-usb-it9135.fw       
root@debian:/v4l# dd if=dvb-usb-it9135.fw ibs=1 skip=64 count=8128 of=dvb-usb-it9135-01.fw
8128+0 records in
15+1 records out
8128 bytes (8.1 kB) copied, 0.019679 s, 413 kB/s
root@debian:/v4l# dd if=dvb-usb-it9135.fw ibs=1 skip=12866 count=5817 of=dvb-usb-it9135-02.fw
5817+0 records in
11+1 records out
5817 bytes (5.8 kB) copied, 0.0143097 s, 407 kB/s
root@debian:/v4l# cp dvb-usb-it9135-0* /lib/firmware/
root@debian:/v4l# dmesg |grep it913x
[ 4353.649647] it913x: Chip Version=02 Chip Type=9135
[ 4353.655020] it913x: Dual mode=0 Tuner Type=38it913x: Unknown tuner ID applying default 0x60
[ 4353.731727] dvb_usb_it913x: probe of 1-1.3:1.0 failed with error -2
[ 4353.740941] usbcore: registered new interface driver dvb_usb_it913x
root@debian:/v4l# reboot 

Broadcast message from root@debian (pts/0) (Thu Jan  1 04:28:28 1970):

The system is going down for reboot NOW!
root@debian:/v4l# 

The remote system refused the connection.


and then make a reboot to the system.

but when tried to dvbscan for the device i got this message

dvbscan Unable to open frontend.

how can i solve this problem.

BR

Viewing all articles
Browse latest Browse all 3247

Trending Articles