Request/Bounty: Compile Linux Driver for DVB-Stick, get 50€ for your time


Abaddon666

Member
Joined
Aug 31, 2006
Messages
348
Hi there,


I have a big request and I am willing to pay for this since I lack the knowledge (and the time needed to gain it) to achieve this by myself. My request:


I want this DVB-T-Stick to work on my Pandora (Super Saxxon Beta 5, 3.2 Kernel):


http://www.pctvsyste...DE/Default.aspx


A Linux driver is available here (seems to work for some people at least):


http://linuxtv.org/w...V_picoStick_74e


A year ago I had my own attempts to achieve this, but I had to learn that I'm not as young as I used to be back then when I had the time and the motivation to learn programming in windows. You can read about it here although its not really worth the time I think:http://boards.openpa...__fromsearch__1


I just want the files/instructions to watch TV on my Pandora using this neat little DVB-T-Device. It must be easy for me and I am absolutely willing to pay 50€ for this convenience (Paypal-Account required). I think that this should be a simple task for anyone involved in developing software on/for the Pandora so this should be a reasonable bounty. Maybe some more people jump in and rise the reward as this stick is imho perfect for keeping the Pandora as mobile as possible.


I'd love to receive files and instructions by some helpful and motivated user as soon as possible as the european soccer championship has already started and I am on the go quite often.


Thx in advance and the best of luck!
 
Last edited by a moderator:

Abaddon666

Member
Joined
Aug 31, 2006
Messages
348
Hmmm, is it me, underestimating the problem or is it you being to busy or is it the issue being of too less excitement?
 
Last edited by a moderator:

clop

Member
Joined
Aug 17, 2010
Messages
176
First post went under my radar :/


I'll check it for sure, dunno if I will be able to make it work.
 

clop

Member
Joined
Aug 17, 2010
Messages
176
Hi again,


I checked the given links and here's my conclusions. The driver you mention has been merged in staging in the kernel, the module dvb-as102 is present in SZB5 (I just modprobe'd it on my Pandora).


Please do the following:


* open a shell and go to root ( "sudo -s" )


* type "modprobe dvb-as102"


* plug your device


* wait a moment moment, then type "dmesg"


If you got errors about missing firmware, follow the firmware instructions here: http://linuxtv.org/wiki/index.php/PCTV_picoStick_74e and uplug / replug your device


* Type "dmesg" and post the result here.


Clop'
 

Abaddon666

Member
Joined
Aug 31, 2006
Messages
348
Hi again,


I checked the given links and here's my conclusions. The driver you mention has been merged in staging in the kernel, the module dvb-as102 is present in SZB5 (I just modprobe'd it on my Pandora).


Please do the following:


* open a shell and go to root ( "sudo -s" )


* type "modprobe dvb-as102"


* plug your device


* wait a moment moment, then type "dmesg"


If you got errors about missing firmware, follow the firmware instructions here: http://linuxtv.org/w...V_picoStick_74e and uplug / replug your device


* Type "dmesg" and post the result here.


Clop'
Hi Clop and thx for your help. Following your instructions I get the following:


[ 154.813873] dvb_as102: module is from the staging directory, the quality is unknown, you have been warned.


[ 154.823486] usbcore: registered new interface driver Abilis Systems as10x usb driver


h-openpandora:~#


This sound quite promising, but when I open ME-TV I get the error message "There are no DVB devices available".


What am I missing?
 

mcobit

Advanced Member
Joined
Jul 28, 2008
Messages
6,910
Me tv doesn't work (at least not the pnd version).


You have to create a channels.conf with dvbtools and use vlc to view it.


More instructions can be fount in my old thread about dvb-t on pandora.
 

Abaddon666

Member
Joined
Aug 31, 2006
Messages
348
I get errors using scan, I don't even have a "dvb"-entry under /dev. Do I have to register it as device and if so, how can I do that?
 

mcobit

Advanced Member
Joined
Jul 28, 2008
Messages
6,910
Is there any other device in /dev that looks like your dvbt stick? Could be something like v4l device or such.
 

mcobit

Advanced Member
Joined
Jul 28, 2008
Messages
6,910
What is the scan command you used exactly? Which error gives it?
 

mcobit

Advanced Member
Joined
Jul 28, 2008
Messages
6,910
Of course ;) I should stop assuming that everybody knows that he has to activate usbhost, if he wants to use usbhost...
 

Abaddon666

Member
Joined
Aug 31, 2006
Messages
348
What is the scan command you used exactly? Which error gives it?
I used "scan -o zap /usr/share/dvb/dvb-t/de-Hamburg >~/channels.conf"


Is it normal that this takes long time without any noticable progress? He initialized the transponders and did a tune to [...] and now there seems no further progress for a longer period of time.
 
Last edited by a moderator:

mcobit

Advanced Member
Joined
Jul 28, 2008
Messages
6,910
It takes a lot of time. Give it half an hour at least.
 
Last edited by a moderator:

Abaddon666

Member
Joined
Aug 31, 2006
Messages
348
Okay, since the scan seems to hang on the first frequency already I did a dmesg and got the following:


[ 117.479675] ------------[ cut here ]------------


[ 117.479705] kernel BUG at /home/notaz/dev/pnd/kernel/pandora-kernel-tip/arch/arm/include/asm/dma-mapping.h:321!


[ 117.479736] Internal error: Oops - undefined instruction: 0 [#1]


[ 117.479736] Modules linked in: dvb_as102© dvb_core ehci_hcd bluetooth omaplfb(O) pvrsrvkm(O) zram© snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss ipv6 fuse ads7846 hwmon


[ 117.479827] CPU: 0 Tainted: G C O (3.2.17 #649)


[ 117.479858] PC is at usb_hcd_map_urb_for_dma+0x238/0x350


[ 117.479888] LR is at usb_hcd_submit_urb+0x61c/0x730


[ 117.479888] pc : [<c02119b8>] lr : [<c02120ec>] psr: 20000013


[ 117.479919] sp : c7495d18 ip : c0010280 fp : 00000020


[ 117.479919] r10: 00000002 r9 : c8d7b000 r8 : c8d70c00


[ 117.479949] r7 : c8d7b000 r6 : 00000000 r5 : c8d70c08 r4 : 00000000


[ 117.479949] r3 : c04c1e48 r2 : 00000200 r1 : ffd78000 r0 : d0000000


[ 117.479980] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user


[ 117.479980] Control: 10c5387d Table: 874ac019 DAC: 00000015


[ 117.480010] Process scan (pid: 2006, stack limit = 0xc74942f0)


[ 117.480041] Stack: (0xc7495d18 to 0xc7496000)


[ 117.480041] 5d00: c8d7b000 c8d70c00


[ 117.480072] 5d20: 00000020 00000020 c8d70c08 00000000 c8d7b000 c8d70c00 d0be5070 c8d80dec


[ 117.480102] 5d40: bf115e64 c02120ec 0000026a c04aa558 c8eda94c 000002d2 00000001 000002d2


[ 117.480133] 5d60: 000000d2 ffffffff 00000000 c8d80dec c04aab08 c00835bc 00000000 00000041


[ 117.480133] 5d80: c04aa558 00000000 f8000000 00000000 00000010 000202d2 00000000 00000000


[ 117.480163] 5da0: c04aab0c 00000022 c7451900 0000024f 0000024f c7495dfc 00000002 bf1158a8


[ 117.480194] 5dc0: 000000d2 ffffffff d0be5070 c8d80800 c8d80800 00000000 c8d80e2c c8d80db0


[ 117.480224] 5de0: d0be5070 c8d80dec bf115e64 bf132bac c8d80800 c8d80800 00000000 bf132c14


[ 117.480255] 5e00: d0eef000 c8d80800 00000000 bf13148c c8d80bbc d0eef000 00000000 c8d80d94


[ 117.480285] 5e20: c8d80db0 bf1171cc d0eef000 d0be5000 00000000 c7495e78 c8d80db0 bf115ab8


[ 117.480285] 5e40: c7495ea8 d0be500c d0be5000 c7495e78 00000010 bf1160ec 0000003c c7495e78


[ 117.480316] 5e60: 403c6f2b bef4f77c 00000000 c8da1080 00000001 bf114408 00000000 00000000


[ 117.480346] 5e80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000


[ 117.480377] 5ea0: 00000000 00000000 00000000 00000000 00000005 00000000 5a05c05d 0000001b


[ 117.480407] 5ec0: c8d7a400 ce4c9540 cebcac00 00000000 c7495f78 00000001 ffffff9c cd419000


[ 117.480407] 5ee0: c7495ef8 c7494000 cd419000 c00b5578 00000041 00000817 ce4c9540 00000004


[ 117.480438] 5f00: c8da1080 00000004 c8da1080 bef4f77c c7494000 00000000 bef50b78 c00b62a4


[ 117.480468] 5f20: 00000004 c00b6974 0000c350 00000001 c8da1088 c00a60c4 00000004 00000000


[ 117.480499] 5f40: 00000000 00000000 cdc09904 00000020 00000020 c744b020 c8da1088 c8da1080


[ 117.480529] 5f60: 00000004 c7494000 00000004 bef4f77c 403c6f2b c8da1080 c0012fa8 c7494000


[ 117.480560] 5f80: 00000000 c00b69e8 00000004 00000000 bef4f77c 00000000 bef504f8 0009dafc


[ 117.480560] 5fa0: 00000036 c0012e00 00000000 bef504f8 00000004 403c6f2b bef4f77c 0000fffe


[ 117.480590] 5fc0: 00000000 bef504f8 0009dafc 00000036 ffffffff 000a0f88 bef500a0 bef50b78


[ 117.480621] 5fe0: 0009d0d0 bef4f770 000088e4 00025abc a0000010 00000004 00000000 00000000


[ 117.480651] [<c02119b8>] (usb_hcd_map_urb_for_dma+0x238/0x350) from [<c02120ec>] (usb_hcd_submit_urb+0x61c/0x730)


[ 117.480712] [<c02120ec>] (usb_hcd_submit_urb+0x61c/0x730) from [<bf132bac>] (as102_submit_urb_stream+0x48/0x98 [dvb_as102])


[ 117.480804] [<bf132bac>] (as102_submit_urb_stream+0x48/0x98 [dvb_as102]) from [<bf132c14>] (as102_usb_start_stream+0x18/0x44 [dvb_as102])


[ 117.480834] [<bf132c14>] (as102_usb_start_stream+0x18/0x44 [dvb_as102]) from [<bf13148c>] (as102_dvb_dmx_start_feed+0x98/0xf4 [dvb_as102])


[ 117.480926] [<bf13148c>] (as102_dvb_dmx_start_feed+0x98/0xf4 [dvb_as102]) from [<bf1171cc>] (dmx_section_feed_start_filtering+0xe8/0x128 [dvb_core])


[ 117.481018] [<bf1171cc>] (dmx_section_feed_start_filtering+0xe8/0x128 [dvb_core]) from [<bf115ab8>] (dvb_dmxdev_filter_start+0x248/0x32c [dvb_core])


[ 117.481079] [<bf115ab8>] (dvb_dmxdev_filter_start+0x248/0x32c [dvb_core]) from [<bf1160ec>] (dvb_demux_do_ioctl+0x288/0x4e4 [dvb_core])


[ 117.481140] [<bf1160ec>] (dvb_demux_do_ioctl+0x288/0x4e4 [dvb_core]) from [<bf114408>] (dvb_usercopy+0xc8/0x154 [dvb_core])


[ 117.481201] [<bf114408>] (dvb_usercopy+0xc8/0x154 [dvb_core]) from [<c00b62a4>] (vfs_ioctl+0x20/0x3c)


[ 117.481231] [<c00b62a4>] (vfs_ioctl+0x20/0x3c) from [<c00b6974>] (do_vfs_ioctl+0x4dc/0x51c)


[ 117.481262] [<c00b6974>] (do_vfs_ioctl+0x4dc/0x51c) from [<c00b69e8>] (sys_ioctl+0x34/0x54)


[ 117.481292] [<c00b69e8>] (sys_ioctl+0x34/0x54) from [<c0012e00>] (ret_fast_syscall+0x0/0x30)


[ 117.481323] Code: e59f3114 e5930000 e1510000 3a000001 (e7f001f2)


[ 117.481384] ---[ end trace a09a6b82ea126878 ]---


Any ideas?
 

clop

Member
Joined
Aug 17, 2010
Messages
176
Wooh, things has moved fast.


For your kernel oops, there seems to be a patch: http://patchwork.lin...org/patch/9878/


I checked kernel sources and it's not in there. I'm off to work now (already late :/), but i'll try to send you a new module tonight.


Clop'
 
Top