Author Topic: Whats wrong with my DVB-T tuning?-Kworld 399U  (Read 9365 times)

geekyhawkes

  • Guru
  • ****
  • Posts: 230
    • View Profile
Whats wrong with my DVB-T tuning?-Kworld 399U
« on: June 17, 2009, 08:01:28 pm »
I think i have (finally) got my Kworld usb U399 working in 810 (guide to follow if i can get it tuned), but I cannot get it to tune to Belmont or uk-Waltham which is also near by each time i get


WARNING: >>> tuning failed with the
tune to: return above it. 

I have tried this for both masts and a bit stuck how to go forward with the fault diagnostics.  (I guess at least i dont have a blank /dev/dvb0/ directory any more now the latest V4l is installed!)
« Last Edit: June 28, 2009, 08:23:20 pm by geekyhawkes »

geekyhawkes

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: Whats wrong with my DVB-T tuning?
« Reply #1 on: June 17, 2009, 08:33:08 pm »
HAving run dmesg after the attempted tune i have found the following;

af9015 : command failed:2
af9013: IC2 read failed reg:d330


A bit higher up the dmesg output the card seems to have been id'd correctly;

DVB: registering adapter 1 front end 0 (afatech AF9013 DVB-T)
MXL5005S:Attached at address 0xc6
dvb-usb:schedule remote query interval 150ms
dvb-usb: Kworld PLusTV Dual DVB-T Stick (DVB-T 399U) successfully initialized and connected.

I am a bit out of my depth now as to how to take this forward to get the card tuning as the system seems to have loaded the card and firmware for the chipset correctly??

usbcore: registered new interface driver dvb_usb_af9015
usbcore: registered new interface driver prism54usb

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Whats wrong with my DVB-T tuning?
« Reply #2 on: June 17, 2009, 11:38:08 pm »
I think i have (finally) got my Kworld usb U399 working in 810 (guide to follow if i can get it tuned), but I cannot get it to tune to Belmont or uk-Waltham which is also near by each time i get


WARNING: >>> tuning failed with the
tune to: return above it. 

I have tried this for both masts and a bit stuck how to go forward with the fault diagnostics.  (I guess at least i dont have a blank /dev/dvb0/ directory any more now the latest V4l is installed!)

Do you have the firmware file for the af9015 installed?

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

geekyhawkes

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: Whats wrong with my DVB-T tuning?
« Reply #3 on: June 18, 2009, 10:02:18 pm »
I believe so, I have a dvb-usb-af9015.fw file in my libs/firmware directory. Do i need it anywhere else or do i have to force it to load somehow?  dmesg seems to show that kubuntu is now identifying the card correctly.

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Whats wrong with my DVB-T tuning?
« Reply #4 on: June 19, 2009, 01:22:07 am »
I believe so, I have a dvb-usb-af9015.fw file in my libs/firmware directory. Do i need it anywhere else or do i have to force it to load somehow?  dmesg seems to show that kubuntu is now identifying the card correctly.

No thats the correct .fw files and its in the correct place too.

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

niz23

  • Guru
  • ****
  • Posts: 361
    • View Profile
Re: Whats wrong with my DVB-T tuning?
« Reply #5 on: June 19, 2009, 10:30:44 am »
One thing.

Judging form the output you pasted above it seems that the driver is somehow unable to communicate correctly with the tuner (i2c).
I have seen similar behavior with other usb tuners and often it work on another computer leading me to beleive that there are bugs in some usb chip implementations.

You dont´t happen to have another motherboard to test it on just to verify?

Have you searched in linuxtv.org mailinglists re the kworld 399u tuner?
Dont´t have on myself so I don´t know if you will find anything useful on the net about it.
As a start, http://www.linuxtv.org/wiki/index.php/KWorld_399U_Dual_DVB-T_USB_tuner
Seems there are know issues with this unit. At least in dual tuner mode.

/niz23

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Whats wrong with my DVB-T tuning?
« Reply #6 on: June 19, 2009, 10:51:48 am »
One thing.

Judging form the output you pasted above it seems that the driver is somehow unable to communicate correctly with the tuner (i2c).
I have seen similar behavior with other usb tuners and often it work on another computer leading me to beleive that there are bugs in some usb chip implementations.

You dont´t happen to have another motherboard to test it on just to verify?

Have you searched in linuxtv.org mailinglists re the kworld 399u tuner?
Dont´t have on myself so I don´t know if you will find anything useful on the net about it.
As a start, http://www.linuxtv.org/wiki/index.php/KWorld_399U_Dual_DVB-T_USB_tuner
Seems there are know issues with this unit. At least in dual tuner mode.

/niz23


We have it working here on several systems...and we have a few customers with them installed too. We feel its possibly the best dual tuner DVB-T USB stick todate...that is not to say though that you are wrong about it possibly not working as well when used in combination with some motherboards. Tested here on the followoing motherboards under 0710;

Gigabyte i945 motherboard
ASUS P5N7A-VM
ASUS Eee Top
ASUS P5E-VM HDMI

All the best

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

geekyhawkes

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: Whats wrong with my DVB-T tuning?
« Reply #7 on: June 20, 2009, 02:36:43 pm »
I will give it a go with my vaio laptop to see if its working.  I guess it could be a dodgy card but i dont have a windows machine to test it on. 

Andrew, have you guys looked at getting the Kworld Usb working with 810?  I realise you are really busy but i would be interested to see if you have any success or not, especially if you get chance to look with a motherboard you know the card works with under 710. 


niz23

  • Guru
  • ****
  • Posts: 361
    • View Profile
Re: Whats wrong with my DVB-T tuning?
« Reply #8 on: June 20, 2009, 05:21:34 pm »
totallymaxed,
One thing.

Judging form the output you pasted above it seems that the driver is somehow unable to communicate correctly with the tuner (i2c).
I have seen similar behavior with other usb tuners and often it work on another computer leading me to beleive that there are bugs in some usb chip implementations.

You dont´t happen to have another motherboard to test it on just to verify?

Have you searched in linuxtv.org mailinglists re the kworld 399u tuner?
Dont´t have on myself so I don´t know if you will find anything useful on the net about it.
As a start, http://www.linuxtv.org/wiki/index.php/KWorld_399U_Dual_DVB-T_USB_tuner
Seems there are know issues with this unit. At least in dual tuner mode.

/niz23


We have it working here on several systems...and we have a few customers with them installed too. We feel its possibly the best dual tuner DVB-T USB stick todate...that is not to say though that you are wrong about it possibly not working as well when used in combination with some motherboards. Tested here on the followoing motherboards under 0710;

Gigabyte i945 motherboard
ASUS P5N7A-VM
ASUS Eee Top
ASUS P5E-VM HDMI

All the best

Andrew

Was only trying to give some hints how to nail down what is wrong as the error message he sees have something to do with the driver being unable to communicate with the tuner correctly.

/niz23

geekyhawkes

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: Whats wrong with my DVB-T tuning?
« Reply #9 on: June 22, 2009, 11:08:59 am »
niz, any input on this issue is welcome as its new territory for me and im running out of ways forward! any hint as to a way forwards is well received.

I am struggling to understand how to enable/disable dual tuner mode form the post linked above?! 

Andrew can you confirm if you are using dual tuner mode under 0710 and where this is set?

I am just going through the system log files and I am in dual tuner mode (with both adapters listed in /dev/dvb/adapter0 and 1).  From the output of my dmesg log everything seems to be loaded and working, although i am a bit confused with the following line;

dvb-usb: Kwolrd PlusTV Dual DVB-T Stick (DVB-T 399U) successfully initialized and connected.
input: Afatech DVB-T 2 as /devices/pci0000:00/0000:00:04/1/usb4/4-3/4-3:1.1/input/input10
input,hidraw1: USB HID v1.01 keyboard [Afatech DVB-T 2] on usb-0000:00:04.1-3

Am i missing something or is somehow part of the dvb being loaded as a keyboard?

Are you able to post the (relevant) returns from an lsmod on a system with the card working so i can ensure all of the right modules are loading on my machine ( i think they are but worth checking). 

I have recomplied and installed v4l today and moved it to a different usb port but get the same response as detailed above when i try to tune it. Very frustrating!
« Last Edit: June 22, 2009, 01:01:30 pm by geekyhawkes »

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Whats wrong with my DVB-T tuning?
« Reply #10 on: June 22, 2009, 02:32:19 pm »
niz, any input on this issue is welcome as its new territory for me and im running out of ways forward! any hint as to a way forwards is well received.

I am struggling to understand how to enable/disable dual tuner mode form the post linked above?! 

Andrew can you confirm if you are using dual tuner mode under 0710 and where this is set?

I am just going through the system log files and I am in dual tuner mode (with both adapters listed in /dev/dvb/adapter0 and 1).  From the output of my dmesg log everything seems to be loaded and working, although i am a bit confused with the following line;

dvb-usb: Kwolrd PlusTV Dual DVB-T Stick (DVB-T 399U) successfully initialized and connected.
input: Afatech DVB-T 2 as /devices/pci0000:00/0000:00:04/1/usb4/4-3/4-3:1.1/input/input10
input,hidraw1: USB HID v1.01 keyboard [Afatech DVB-T 2] on usb-0000:00:04.1-3

Am i missing something or is somehow part of the dvb being loaded as a keyboard?

Are you able to post the (relevant) returns from an lsmod on a system with the card working so i can ensure all of the right modules are loading on my machine ( i think they are but worth checking). 

I have recomplied and installed v4l today and moved it to a different usb port but get the same response as detailed above when i try to tune it. Very frustrating!

There is no explicit 'twin tuner' mode they are just both automatically detected. See my lsmod output below...this system has a 399U plus two other DVB cards by the way;

Code: [Select]
lsmod | grep dvb
dvb_bt8xx              19076  14
bt878                  12344  1 dvb_bt8xx
bttv                  129044  2 dvb_bt8xx,bt878
dvb_usb_af9015         27552  31
dvb_usb                23564  1 dvb_usb_af9015
dvb_core               90524  2 dvb_bt8xx,dvb_usb
i2c_core               26112  12 nvidia,mt352,mxl5005s,saa7134,af9013,dvb_bt8xx,bttv,i2c_algo_bit,v4l2_common,dvb_usb_af9015,dvb_usb,tveeprom
usbcore               138632  7 dvb_usb_af9015,dvb_usb,lirc_mceusb2,usbhid,uhci_hcd,ehci_hcd

All the best

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

geekyhawkes

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: Whats wrong with my DVB-T tuning?
« Reply #11 on: June 22, 2009, 04:58:53 pm »
Ah ok, I dont suppose anyone has a machine with just a kworld 399U in it?  I have compared andrews output to mine but obviously it quite different as Ive only got the 1 card.


Also, can someone give me a steer as to how I might go forward from here.  I am running out of avenues to pursue as the Kworld is listed in the v4l wiki as fully working?????

Thanks.
« Last Edit: June 22, 2009, 05:02:13 pm by geekyhawkes »

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Whats wrong with my DVB-T tuning?
« Reply #12 on: June 22, 2009, 06:33:01 pm »
Ah ok, I dont suppose anyone has a machine with just a kworld 399U in it?  I have compared andrews output to mine but obviously it quite different as Ive only got the 1 card.


Also, can someone give me a steer as to how I might go forward from here.  I am running out of avenues to pursue as the Kworld is listed in the v4l wiki as fully working?????

Thanks.

Here is another system with just a 399U stick installed;

Code: [Select]
lsmod | grep dvb
dvb_usb_af9015         27552  36
dvb_usb                23564  1 dvb_usb_af9015
dvb_core               90524  1 dvb_usb
i2c_core               26112  5 mxl5005s,af9013,nvidia,dvb_usb_af9015,dvb_usb
usbcore               138632  9 pl2303,usbserial,dvb_usb_af9015,dvb_usb,lirc_mceusb2,usbhid,ehci_hcd,ohci_hcd

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

geekyhawkes

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: Whats wrong with my DVB-T tuning?
« Reply #13 on: June 22, 2009, 07:11:49 pm »
Thanks, I will compare that to my system, hopefully that will give me a clue!

If not where else should i be looking for a clue?  Ive ran out of "google" advice on getting this damn thing working now!
« Last Edit: June 22, 2009, 07:58:14 pm by geekyhawkes »

geekyhawkes

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: Whats wrong with my DVB-T tuning?
« Reply #14 on: June 26, 2009, 05:38:22 pm »
Right i might be getting somewhere.  I have manually modprobe loaded the dvb_usb_af9015 and mxl5005s modules.

When i try and tune the following is reported back;

Initial transponder 4900000000 0 2 1 3 0 0 0
Initial transponder 5140000000 0 2 1 3 0 0 0
Initial transponder 5700000000 0 2 1 3 0 0 0
ETC

>>tune to 490000: I999B8 ETC
-tune-to-transponder:I491: ERROR: FE_READ_STATUS failed : 121 Remote I/O error

this is repeated for each of the transponder tunes with the 121 Remote I/O error.

Dmesg returns the following:

mxl5005s I2C write failed
af9015: bulk message failed:-22 (8/70)
af9013: I2C read failed reg d:417


repeated several times with slightly different values for the reg d but the same theme.

Anyone have any ideas? This seems a step forwards slightly.

As an aside the wiki here

http://www.linuxtv.org/wiki/index.php/KWorld_399U_Dual_DVB-T_USB_tuner

States the card works with kernel 2.6.30 but  UNAME -A shows that the 810 alpha kernel is only 2.6.27-14-generic.

Could this be the issue, or is the kernel version a bit of a smoke screen?

If it is kernel related am i likely to break anything in MCE by upgrading my kernel myself? 
« Last Edit: June 26, 2009, 05:43:35 pm by geekyhawkes »