Quantcast
Channel: Armbian news
Viewing all articles
Browse latest Browse all 486

[BPi 1)I'm an idiot who cant recompile a kernel for a DVB-S patch )= (Bounty inside)

$
0
0

I'm sorry if I come across as incompetent but I have limited skills in linux and I really dont know where else to turn to.  :(

 

I recently bought a DVB-S reciever to plug into my SBC (banana Pi M1) to use with tvheadend, as opposed to getting a dedicated chinese box. I just cant seem to get it to work!

This is the Tuner I bought: https://www.linuxtv.org/wiki/index.php/Geniatech_HD_Star_DVB-S2_USB2.0

Apparently I have revision 3 of the board: http://imgur.com/3IhpuGG

This is the comparison between the lsusb in the wiki, and my board: http://imgur.com/iHN3R5R

 

This is the output of dmesg:

[    7.847279] sun4i-ss 1c15000.crypto-engine: Die ID 0
[    7.911683] dw2102: su3000_identify_state

[    7.911711] dvb-usb: found a 'SU3000HD DVB-S USB2.0' in warm state.
[    7.911733] dw2102: su3000_power_ctrl: 1, initialized 0

[    7.919512] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[    7.920151] DVB: registering new adapter (SU3000HD DVB-S USB2.0)
[    7.931083] dvb-usb: MAC address: 00:af:78:66:2b:cf
[    8.002739] Registered IR keymap rc-empty
[    8.003442] input: sunxi-ir as /devices/platform/soc@01c00000/1c21800.ir/rc/rc0/input1
[    8.003487] rc rc0: sunxi-ir as /devices/platform/soc@01c00000/1c21800.ir/rc/rc0
[    8.021047] sunxi-ir 1c21800.ir: initialized sunXi IR driver
[    8.025796] lirc_dev: IR Remote Control driver registered, major 246 
[    8.034635] rc rc0: lirc_dev: driver ir-lirc-codec (sunxi-ir) registered at minor = 0
[    8.034663] IR LIRC bridge handler initialized
[    8.084644] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    8.300174] DS3000 chip version: 0.208 attached.
[    8.456265] ts2020 2-0060: Montage Technology TS2022 successfully identified
[    8.456359] dw2102: Attached DS3000/TS2020!

[    8.456387] usb 1-1: DVB: registering adapter 0 frontend 0 (Montage Technology DS3000)...
[    8.457379] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
[    8.523385] Registered IR keymap rc-su3000
[    8.523992] input: IR-receiver inside an USB DVB receiver as /devices/platform/soc@01c00000/1c14000.usb/usb1/1-1/rc/rc1/input2
[    8.524650] rc rc1: IR-receiver inside an USB DVB receiver as /devices/platform/soc@01c00000/1c14000.usb/usb1/1-1/rc/rc1
[    8.524674] dvb-usb: schedule remote query interval to 150 msecs.
[    8.524691] dw2102: su3000_power_ctrl: 0, initialized 1

[    8.524700] dvb-usb: SU3000HD DVB-S USB2.0 successfully initialized and connected.
[    8.524875] usbcore: registered new interface driver dw2102
[    8.790118] Adding 131068k swap on /var/swap.  Priority:-1 extents:1 across:131068k SSFS
[   10.156341] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   10.371942] systemd-journald[233]: Received request to flush runtime journal from PID 1
[   10.919515]  RX IPC Checksum Offload disabled
[   10.919550]  No MAC Management Counters available
[   10.919937] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   13.225766] random: nonblocking pool is initialized
[   13.851099] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[   13.852131] NFSD: starting 90-second grace period (net c0e92c80)
[   16.903720] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   16.903812] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   18.533280] dw2102: su3000_power_ctrl: 1, initialized 1

[   18.553986] ds3000_firmware_ondemand: Waiting for firmware upload (dvb-fe-ds3000.fw)...
[   18.557242] ds3000_firmware_ondemand: Waiting for firmware upload(2)...
[   19.645835] usb 1-1: DVB: adapter 0 frontend 0 frequency 0 out of range (950000..2150000)
[   19.649659] dw2102: su3000_power_ctrl: 0, initialized 1

[   19.654783] dw2102: su3000_power_ctrl: 1, initialized 1

[   19.674284] ds3000_firmware_ondemand: Waiting for firmware upload (dvb-fe-ds3000.fw)...
[   19.674555] ds3000_firmware_ondemand: Waiting for firmware upload(2)...

This is the output of lsusb: 

bpi@bananapitv:~/DVB-S_FW$ lsusb -s 002 -v

Bus 001 Device 002: ID 1f4d:3000 G-Tek Electronics Group 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x1f4d G-Tek Electronics Group
  idProduct          0x3000 
  bcdDevice            0.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          219
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x13f2  3x 1010 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       2
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x12d6  3x 726 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       3
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x12ae  3x 686 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       4
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x03ca  1x 970 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       5
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x02ac  1x 684 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       6
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x03ac  1x 940 bytes
        bInterval               1

I even downloaded the firmwares and placed them in /lib/firmware : 

bpi@bananapitv:~/DVB-S_FW$ ls /lib/firmware/ | grep "dvb"
dvb-demod-mn88472-02.fw
dvb-fe-ds3000.fw
dvb-fe-xc4000-1.4.1.fw
dvb-fe-xc5000-1.6.114.fw
dvb-fe-xc5000c-4.1.30.7.fw
dvb-usb-dib0700-1.20.fw
dvb-usb-dw2102.fw
dvb-usb-it9135-01.fw
dvb-usb-it9135-02.fw
dvb-usb-tbs5520.fw
dvb-usb-terratec-h5-drxk.fw
dvb_nova_12mhz.inp
dvb_nova_12mhz_b0.inp
sms1xxx-hcw-55xxx-dvbt-02.fw
sms1xxx-nova-a-dvbt-01.fw
sms1xxx-nova-b-dvbt-01.fw
sms1xxx-stellar-dvbt-01.fw

 

What happens is that I login to the web interface, set up a mux, enable the receiver, and associlate it with the mux I made, but it never seems to work? All my scans fail. Im fairly sure that my line is alright since the cheap chinese box I had beforehand picked up the signals perfectly fine.
 
 
I went to the great and glorious google to try to look for an answer, I found out that for my revision of the tuner, a patch has been developed: 
 
 
 
I've read that you need to recompile the kernel to patch it. 
 
This is the current kernel I am on: 
 
bpi@bananapitv:~$ cat /proc/version 
Linux version 4.6.3-sunxi (root@pluton) (gcc version 5.3.1 20160413 (Ubuntu/Linaro 5.3.1-14ubuntu2) ) #7 SMP Tue Jul 5 16:23:41 CEST 2016


bpi@bananapitv:~$ uname -a
Linux bananapitv 4.6.3-sunxi #7 SMP Tue Jul 5 16:23:41 CEST 2016 armv7l GNU/Linux

I edited /etc/apt/sources.list and uncommented "deb-src" and then did apt-get update and tried: 

bpi@bananapitv:/media/bpiDrive/KERNEL$ sudo apt-get source linux-image-$(uname -r)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to find a source package for linux-image-4.6.3-sunxi

Soooo now I'm stuck. I dunno what to do ):

This is waaaay above my current skillset.

 

Since I cant get it done myself, I really don't mind paying somebody who will has the skills to be able to do it. I dont see anything wrong with compensating them for their time/expertise.

 

How much would be reasonable for a kernel patching/recompile? USD10? USD20? I really have no idea what the going rate is, so I'm sorry if anybody takes offence to my offers. 


Anyways, thanks for all your time and reading my drivel. I tried to be as detailed as I could, and include any important details.  

 


Viewing all articles
Browse latest Browse all 486

Trending Articles