You are not logged in.

#1 2013-02-13 10:15:57

dave00
Member
Registered: 2010-01-03
Posts: 24

[Solved] mythtv-setup DVB (could not get card info/No such device)

Update: Solution in post #4.



----------------

I'm building a new Arch server which will replace my existing mythtv backend using a HP microserver. Other than my old machine not being updated in some time, the only difference is new box is 64bit. I have 2x Sony PlayTV USB DVB's and have left one plugged into each system.

[root@oldserver ~]# uname -a
Linux oldserver 3.5.4-1-ARCH #1 SMP PREEMPT Sat Sep 15 13:04:04 UTC 2012 i686 GNU/Linux
[root@microserver ~]# uname -a
Linux microserver 3.7.6-1-ARCH #1 SMP PREEMPT Mon Feb 4 09:15:13 CET 2013 x86_64 GNU/Linux

While trying to add my tuners to the new box from mythtv-setup I get the following error in the log and "could not get card info" on the screen in setup:

2013-02-13 20:27:47.629155 I  Current MythTV Schema Version (DBSchemaVer): 1307
2013-02-13 20:28:18.498767 E  FE_GET_INFO ioctl failed (/dev/dvb/adapter0/frontend0)
                        eno: No such device (19)
2013-02-13 20:28:18.537457 E  FE_GET_INFO ioctl failed (/dev/dvb/adapter0/frontend0)
                        eno: No such device (19)

To me this is either permissions of the device, which match on both systems (except for the + on the oldserver which I think is ACL but output of getfacl are identical?)

[root@microserver ~]# ls -ld /dev/dvb/adapter*{,/*}
drwxr-xr-x 2 root root      120 Feb 13 17:22 /dev/dvb/adapter0
crw-rw---- 1 root video 212,  4 Feb 13 17:22 /dev/dvb/adapter0/demux0
crw-rw---- 1 root video 212,  5 Feb 13 17:22 /dev/dvb/adapter0/dvr0
crw-rw---- 1 root video 212,  3 Feb 13 17:22 /dev/dvb/adapter0/frontend0
crw-rw---- 1 root video 212,  7 Feb 13 17:22 /dev/dvb/adapter0/net0
drwxr-xr-x 2 root root      120 Feb 13 17:22 /dev/dvb/adapter1
crw-rw---- 1 root video 212, 68 Feb 13 17:22 /dev/dvb/adapter1/demux0
crw-rw---- 1 root video 212, 69 Feb 13 17:22 /dev/dvb/adapter1/dvr0
crw-rw---- 1 root video 212, 67 Feb 13 17:22 /dev/dvb/adapter1/frontend0
crw-rw---- 1 root video 212, 71 Feb 13 17:22 /dev/dvb/adapter1/net0
[root@oldserver ~]# ls -ld /dev/dvb/adapter*{,/*}
drwxr-xr-x  2 root root      120 Jan  7 21:48 /dev/dvb/adapter0
crw-rw----+ 1 root video 212,  4 Jan  7 21:48 /dev/dvb/adapter0/demux0
crw-rw----+ 1 root video 212,  5 Jan  7 21:48 /dev/dvb/adapter0/dvr0
crw-rw----+ 1 root video 212,  3 Jan  7 21:48 /dev/dvb/adapter0/frontend0
crw-rw----+ 1 root video 212,  7 Jan  7 21:48 /dev/dvb/adapter0/net0
drwxr-xr-x  2 root root      120 Jan  7 21:48 /dev/dvb/adapter1
crw-rw----+ 1 root video 212, 68 Jan  7 21:48 /dev/dvb/adapter1/demux0
crw-rw----+ 1 root video 212, 69 Jan  7 21:48 /dev/dvb/adapter1/dvr0
crw-rw----+ 1 root video 212, 67 Jan  7 21:48 /dev/dvb/adapter1/frontend0
crw-rw----+ 1 root video 212, 71 Jan  7 21:48 /dev/dvb/adapter1/net0

The users have correct group status, even tried as root.

[root@oldserver ~]# id media
uid=1001(media) gid=100(users) groups=100(users),91(video),998(mythtv)
[root@microserver ~]# id media
uid=1000(media) gid=100(users) groups=100(users),10(wheel),91(video),92(audio),93(optical),999(mythtv)

[root@oldserver ~]# id mythtv
uid=998(mythtv) gid=998(mythtv) groups=998(mythtv),91(video),92(audio),93(optical)
[root@microserver ~]# id mythtv
uid=999(mythtv) gid=999(mythtv) groups=999(mythtv),10(wheel),91(video),92(audio),93(optical),100(users)

or missing firmware which is identical bar obviously 64bit libs

[root@microserver ~]# ls -l /usr/lib*/firmware/dvb-usb-dib0700-1.20.fw
-rw-r--r-- 1 root root 33768 Oct 31 07:36 /usr/lib64/firmware/dvb-usb-dib0700-1.20.fw
-rw-r--r-- 1 root root 33768 Oct 31 07:36 /usr/lib/firmware/dvb-usb-dib0700-1.20.fw
[root@oldserver ~]# ls -l /usr/lib*/firmware/dvb-usb-dib0700-1.20.fw
-rw-r--r-- 1 root root 33768 Jun 15  2012 /usr/lib/firmware/dvb-usb-dib0700-1.20.fw

[root@microserver ~]# ls -l /lib*/firmware/dvb-usb-dib0700-1.20.fw
-rw-r--r-- 1 root root 33768 Oct 31 07:36 /lib64/firmware/dvb-usb-dib0700-1.20.fw
-rw-r--r-- 1 root root 33768 Oct 31 07:36 /lib/firmware/dvb-usb-dib0700-1.20.fw
[root@oldserver ~]# ls -l /lib*/firmware/dvb-usb-dib0700-1.20.fw
-rw-r--r-- 1 root root 33768 Jun 15  2012 /lib/firmware/dvb-usb-dib0700-1.20.fw

And the device is found, with not issues scanning channels using linuxtv-dvb-apps.....

[root@microserver ~]# dmesg | grep dvb
[   11.892891] dvb-usb: found a 'Sony PlayTV' in cold state, will try to load a firmware
[   12.044667] dvb-usb: downloading firmware from file 'dvb-usb-dib0700-1.20.fw'
[   12.754034] dvb-usb: found a 'Sony PlayTV' in warm state.
[   12.754171] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[   13.214473] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[   13.666764] dvb-usb: schedule remote query interval to 50 msecs.
[   13.666779] dvb-usb: Sony PlayTV successfully initialized and connected.
[   13.667106] usbcore: registered new interface driver dvb_usb_dib0700

[root@microserver ~]# scan /usr/share/dvb/dvb-t/au-Melbourne
scanning /usr/share/dvb/dvb-t/au-Melbourne
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 226500000 1 3 9 3 1 1 0
initial transponder 177500000 1 3 9 3 1 1 0
initial transponder 191625000 1 3 9 3 1 1 0
initial transponder 219500000 1 3 9 3 1 1 0
initial transponder 536625000 1 2 9 3 1 2 0
>>> tune to: 226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE
0x0000 0x0230: pmt_pid 0x0102 ABC -- ABC News 24 (running)
[shrink output]
Network Name 'ABC Melbourne'
[shrink output]
dumping lists (29 services)
[shrink output]
Done.

Hopefully someone wiser than I can spot the problem here and I can get this build finished smile

Edit: I should add that I did a trial install of Ubuntu 12.04, upto date as of few days ago and it worked perfectly though I didn't note down what kernel version (was 64bit). Nothing has changed hardware wise.

Last edited by dave00 (2013-02-23 22:57:54)

Offline

#2 2013-02-15 01:28:13

dave00
Member
Registered: 2010-01-03
Posts: 24

Re: [Solved] mythtv-setup DVB (could not get card info/No such device)

Before I rebuild the microserver as i686 like my existing machine to see if 64bit has something to do with it, does anyone have any suggestions to try first?

Offline

#3 2013-02-19 08:32:21

dave00
Member
Registered: 2010-01-03
Posts: 24

Re: [Solved] mythtv-setup DVB (could not get card info/No such device)

So i686 rebuild here we go......

Edit: same thing, no idea what to do next

Last edited by dave00 (2013-02-19 10:13:12)

Offline

#4 2013-02-21 21:23:49

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 201

Re: [Solved] mythtv-setup DVB (could not get card info/No such device)

Try femon -H -a0 while trying to add card in mythtv-setup. Explanation here: http://code.mythtv.org/trac/ticket/10830#comment:7

It seems to affect dvb usb devices. I didn't see any evidence of this patch http://patchwork.linuxtv.org/patch/13563/ in current kernels, but it may have been rewritten. I haven't had to change my card setup and don't have usb tuners, so I haven't hit this problem.

Edit: Found it, ha, just went out yesterday, will be in 3.9: (search for Juergen) http://patchwork.linuxtv.org/patch/16925/

Last edited by fphillips (2013-02-21 21:30:49)

Offline

#5 2013-02-23 22:55:25

dave00
Member
Registered: 2010-01-03
Posts: 24

Re: [Solved] mythtv-setup DVB (could not get card info/No such device)

fphillips wrote:

Try femon -H -a0 while trying to add card in mythtv-setup. Explanation here: http://code.mythtv.org/trac/ticket/10830#comment:7

It seems to affect dvb usb devices. I didn't see any evidence of this patch http://patchwork.linuxtv.org/patch/13563/ in current kernels, but it may have been rewritten. I haven't had to change my card setup and don't have usb tuners, so I haven't hit this problem.

Edit: Found it, ha, just went out yesterday, will be in 3.9: (search for Juergen) http://patchwork.linuxtv.org/patch/16925/

That worked great.

I did stumble upon the femon thing at some point but I didn't see any explanation for it and all my googling for femon resulted in a plugin for VDR which totally had me stumped. After your post a tried a slightly different google string and found it was in the linuxtv-dvb-apps package. In hindsight a "pacman -Qo femon" would have given me the answer...

Thanks for your efforts fphillips.

Offline

#6 2013-07-02 11:36:39

daehenoc
Member
Registered: 2013-07-02
Posts: 1

Re: [Solved] mythtv-setup DVB (could not get card info/No such device)

Hi,

I've got exactly this problem and I've tried kernel 3.9.8-030908-generic with Ubuntu 13.04.  Femon fails when mythtv-backend is not running:

$ sudo femon -H -a 0
FE: DiBcom 7000PC (DVBT)
Problem retrieving frontend information: Resource temporarily unavailable
status S     | signal   0% | snr   0% | ber 0 | unc 14 | 
Problem retrieving frontend information: Resource temporarily unavailable
status S     | signal   0% | snr   0% | ber 0 | unc 14 | 
Problem retrieving frontend information: Resource temporarily unavailable
status S     | signal   0% | snr   0% | ber 0 | unc 14 |

I've been working on this server for two days now and I'm going to have to go back to Ubuntu 12.xx, /cry!

Edit: well, I'm going to try to install kernel 3.2 on Ubuntu 13.04 which I know does work, if that doesn't solve the problem, or introduce more problems (what could possibly go wrong?), then I'll go back to Ubuntu 12.04LTS

Edit edit: funny that, kernel 3.2 didn't boot.  Oh well, cashing out while I'm still behind and reinstalling 12.04LTS!

Last edited by daehenoc (2013-07-03 04:38:22)

Offline

Board footer

Powered by FluxBB