Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dkms driver install fails on ubuntu 22.04 with kernel 5.19 #6

Closed
stulluk opened this issue Oct 3, 2023 · 2 comments
Closed

dkms driver install fails on ubuntu 22.04 with kernel 5.19 #6

stulluk opened this issue Oct 3, 2023 · 2 comments

Comments

@stulluk
Copy link

stulluk commented Oct 3, 2023

Hi, not sure if this is a bug or if I am missing a step. I got a brand new DTU-315 and tested under windows, just works fine.
Then I wanted to try it under ubuntu. Here is my experience with my cmdline:

[   62.793005] usb 1-2: new high-speed USB device number 5 using xhci_hcd
[   63.029537] usb 1-2: New USB device found, idVendor=1297, idProduct=030f, bcdDevice= 1.00
[   63.029544] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   63.029547] usb 1-2: Product: WestBridge 
[   63.029550] usb 1-2: Manufacturer: Cypress
[   63.029551] usb 1-2: SerialNumber: 0000000004BE
[  701.548201] usb 1-2: USB disconnect, device number 5
[  704.375505] usb 1-2: new high-speed USB device number 6 using xhci_hcd
[  704.612328] usb 1-2: New USB device found, idVendor=1297, idProduct=030f, bcdDevice= 1.00
[  704.612335] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  704.612339] usb 1-2: Product: WestBridge 
[  704.612341] usb 1-2: Manufacturer: Cypress
[  704.612343] usb 1-2: SerialNumber: 0000000004BE
[  738.593150] usb 1-2: USB disconnect, device number 6
[  749.467280] usb 3-2: USB disconnect, device number 3
[  752.919224] usb 3-2: new high-speed USB device number 4 using xhci_hcd
[  753.069652] usb 3-2: New USB device found, idVendor=1297, idProduct=030f, bcdDevice= 1.00
[  753.069660] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  753.069663] usb 3-2: Product: WestBridge 
[  753.069665] usb 3-2: Manufacturer: Cypress
[  753.069667] usb 3-2: SerialNumber: 0000000004BE
^C
stulluk ~ $  ^C
stulluk ~ $  sudo apt install --reinstall ./dektec-dkms_2023.08.0_all.deb 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'dektec-dkms' instead of './dektec-dkms_2023.08.0_all.deb'
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 7 not upgraded.
Need to get 0 B/5.287 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /home/stulluk/dektec-dkms_2023.08.0_all.deb dektec-dkms all 2023.08.0 [5.287 kB]
(Reading database ... 269365 files and directories currently installed.)
Preparing to unpack .../dektec-dkms_2023.08.0_all.deb ...
Unpacking dektec-dkms (2023.08.0) over (2023.08.0) ...
Setting up dektec-dkms (2023.08.0) ...

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
'make' KERNELDIR=/lib/modules/5.19.0-50-generic/build............................................
Signing module:
 - /var/lib/dkms/dektec/2023.08.0/5.19.0-50-generic/x86_64/module/Dtu.ko
 - /var/lib/dkms/dektec/2023.08.0/5.19.0-50-generic/x86_64/module/DtPcieNw.ko
 - /var/lib/dkms/dektec/2023.08.0/5.19.0-50-generic/x86_64/module/DtaNw.ko
 - /var/lib/dkms/dektec/2023.08.0/5.19.0-50-generic/x86_64/module/Dta.ko
 - /var/lib/dkms/dektec/2023.08.0/5.19.0-50-generic/x86_64/module/DtPcie.ko
Secure Boot not enabled on this system.
cleaning build area...

Dta.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.19.0-50-generic/updates/dkms/

DtaNw.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.19.0-50-generic/updates/dkms/

Dtu.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.19.0-50-generic/updates/dkms/

DtPcie.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.19.0-50-generic/updates/dkms/

DtPcieNw.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.19.0-50-generic/updates/dkms/

depmod...
N: Download is performed unsandboxed as root as file '/home/stulluk/dektec-dkms_2023.08.0_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
stulluk ~ $  uname -a
Linux u22 5.19.0-50-generic #50-Ubuntu SMP PREEMPT_DYNAMIC Mon Jul 10 18:24:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
stulluk ~ $  
stulluk ~ $  
stulluk ~ $  ls -lah /lib/modules/5.19.0-50-generic/updates/dkms/
total 14M
drwxr-xr-x 2 root root 4,0K Eki  3 17:04 .
drwxr-xr-x 3 root root 4,0K Eki  3 17:04 ..
-rw-r--r-- 1 root root 1,9M Eki  3 17:04 Dta.ko
-rw-r--r-- 1 root root  78K Eki  3 17:04 DtaNw.ko
-rw-r--r-- 1 root root 2,5M Eki  3 17:04 DtPcie.ko
-rw-r--r-- 1 root root  95K Eki  3 17:04 DtPcieNw.ko
-rw-r--r-- 1 root root 8,6M Eki  3 17:04 Dtu.ko
stulluk ~ $  lsmod | grep -i dtu
stulluk ~ $  sudo modprobe Dtu 
modprobe: ERROR: could not insert 'Dtu': Exec format error
stulluk ~ $  file //lib/modules/5.19.0-50-generic/updates/dkms/Dtu.ko 
//lib/modules/5.19.0-50-generic/updates/dkms/Dtu.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), BuildID[sha1]=6fdd89ad1db515500ab5ca097ef7bcaa38f9a8fd, not stripped
stulluk ~ $  
stulluk ~ $  dpkg -l | grep -i linux-headers
ii  linux-headers-5.19.0-50-generic                   5.19.0-50.50                                amd64        Linux kernel headers for version 5.19.0 on 64 bit x86 SMP
stulluk ~ $  

So, do I need to rebuild the DEB package from scratch ? Or, is there a bug somewhere ?

@lelegard
Copy link
Member

lelegard commented Oct 3, 2023

Hi,

There is no need to rebuild the deb package. If you are not familiar with dkms, the purpose of such a package is to install the source code of the driver somewhere in the system, only once. This source code is automatically recompiled each time the kernel is upgraded. And of course compiled the first time during installation of the package. From your logs, we can see that the driver was correctly recompiled. Then, it failed to load.

Without such a dkms package, you are obliged to manually recompile the driver from the Dektec-provided LinuxSDK.

The deb package in this project is just repackaging of the Dektec source code and build procedure into the dkms infrastructure.

Here, you build the Dektec driver and it fails to load. This is a problem to be addressed by Dektec. Since you purchased a DTU-315, you are a Dektec customer and may ask for support.

@stulluk
Copy link
Author

stulluk commented Oct 3, 2023

Mr Lelegard,

Thank you so much for your kindness and quick response.

Before contacting Dektec, here is what I did tonight (If it helps to someone else):

stulluk ~ $  sudo apt install linux-image-6.2.0-
linux-image-6.2.0-1003-nvidia      linux-image-6.2.0-1008-aws         linux-image-6.2.0-1009-lowlatency  linux-image-6.2.0-1011-azure-fde   linux-image-6.2.0-1012-lowlatency  linux-image-6.2.0-32-generic
linux-image-6.2.0-1005-aws         linux-image-6.2.0-1008-azure       linux-image-6.2.0-1009-nvidia      linux-image-6.2.0-1011-gcp         linux-image-6.2.0-1013-gcp         linux-image-6.2.0-33-generic
linux-image-6.2.0-1005-azure       linux-image-6.2.0-1008-azure-fde   linux-image-6.2.0-1010-aws         linux-image-6.2.0-1011-lowlatency  linux-image-6.2.0-1013-lowlatency  
linux-image-6.2.0-1006-aws         linux-image-6.2.0-1008-lowlatency  linux-image-6.2.0-1010-gcp         linux-image-6.2.0-1012-aws         linux-image-6.2.0-1014-gcp         
linux-image-6.2.0-1006-azure       linux-image-6.2.0-1009-aws         linux-image-6.2.0-1010-nvidia      linux-image-6.2.0-1012-azure       linux-image-6.2.0-25-generic       
linux-image-6.2.0-1007-aws         linux-image-6.2.0-1009-azure-fde   linux-image-6.2.0-1011-aws         linux-image-6.2.0-1012-azure-fde   linux-image-6.2.0-26-generic       
linux-image-6.2.0-1007-azure       linux-image-6.2.0-1009-gcp         linux-image-6.2.0-1011-azure       linux-image-6.2.0-1012-gcp         linux-image-6.2.0-31-generic       
stulluk ~ $  sudo apt install linux-image-6.2.0-33-generic linux-headers-6.2.0-33-generic linux-modules-6.2.0-33-generic linux-modules-extra-6.2.0-33-generic 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  linux-hwe-6.2-headers-6.2.0-33
Suggested packages:
  fdutils linux-doc | linux-hwe-6.2-source-6.2.0 linux-hwe-6.2-tools
The following NEW packages will be installed:
  linux-headers-6.2.0-33-generic linux-hwe-6.2-headers-6.2.0-33 linux-image-6.2.0-33-generic linux-modules-6.2.0-33-generic linux-modules-extra-6.2.0-33-generic
0 upgraded, 5 newly installed, 0 to remove and 7 not upgraded.
Need to get 129 MB of archives.
After this operation, 698 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-hwe-6.2-headers-6.2.0-33 all 6.2.0-33.33~22.04.1 [13,0 MB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-headers-6.2.0-33-generic amd64 6.2.0-33.33~22.04.1 [3.382 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-modules-6.2.0-33-generic amd64 6.2.0-33.33~22.04.1 [25,6 MB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-image-6.2.0-33-generic amd64 6.2.0-33.33~22.04.1 [13,6 MB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-modules-extra-6.2.0-33-generic amd64 6.2.0-33.33~22.04.1 [73,6 MB]                                                                          
Fetched 129 MB in 13s (10,2 MB/s)                                                                                                                                                                                 
Selecting previously unselected package linux-hwe-6.2-headers-6.2.0-33.
(Reading database ... 269365 files and directories currently installed.)
Preparing to unpack .../linux-hwe-6.2-headers-6.2.0-33_6.2.0-33.33~22.04.1_all.deb ...
Unpacking linux-hwe-6.2-headers-6.2.0-33 (6.2.0-33.33~22.04.1) ...
Selecting previously unselected package linux-headers-6.2.0-33-generic.
Preparing to unpack .../linux-headers-6.2.0-33-generic_6.2.0-33.33~22.04.1_amd64.deb ...
Unpacking linux-headers-6.2.0-33-generic (6.2.0-33.33~22.04.1) ...
Selecting previously unselected package linux-modules-6.2.0-33-generic.
Preparing to unpack .../linux-modules-6.2.0-33-generic_6.2.0-33.33~22.04.1_amd64.deb ...
Unpacking linux-modules-6.2.0-33-generic (6.2.0-33.33~22.04.1) ...
Selecting previously unselected package linux-image-6.2.0-33-generic.
Preparing to unpack .../linux-image-6.2.0-33-generic_6.2.0-33.33~22.04.1_amd64.deb ...
Unpacking linux-image-6.2.0-33-generic (6.2.0-33.33~22.04.1) ...
Selecting previously unselected package linux-modules-extra-6.2.0-33-generic.
Preparing to unpack .../linux-modules-extra-6.2.0-33-generic_6.2.0-33.33~22.04.1_amd64.deb ...
Unpacking linux-modules-extra-6.2.0-33-generic (6.2.0-33.33~22.04.1) ...
Setting up linux-hwe-6.2-headers-6.2.0-33 (6.2.0-33.33~22.04.1) ...
Setting up linux-modules-6.2.0-33-generic (6.2.0-33.33~22.04.1) ...
Setting up linux-headers-6.2.0-33-generic (6.2.0-33.33~22.04.1) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.2.0-33-generic

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
'make' KERNELDIR=/lib/modules/6.2.0-33-generic/build..............................................
Signing module:
 - /var/lib/dkms/dektec/2023.08.0/6.2.0-33-generic/x86_64/module/Dtu.ko
 - /var/lib/dkms/dektec/2023.08.0/6.2.0-33-generic/x86_64/module/DtPcieNw.ko
 - /var/lib/dkms/dektec/2023.08.0/6.2.0-33-generic/x86_64/module/DtaNw.ko
 - /var/lib/dkms/dektec/2023.08.0/6.2.0-33-generic/x86_64/module/Dta.ko
 - /var/lib/dkms/dektec/2023.08.0/6.2.0-33-generic/x86_64/module/DtPcie.ko
Secure Boot not enabled on this system.
cleaning build area...

Dta.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.2.0-33-generic/updates/dkms/

DtaNw.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.2.0-33-generic/updates/dkms/

Dtu.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.2.0-33-generic/updates/dkms/

DtPcie.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.2.0-33-generic/updates/dkms/

DtPcieNw.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.2.0-33-generic/updates/dkms/

depmod...
   ...done.
Setting up linux-image-6.2.0-33-generic (6.2.0-33.33~22.04.1) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.2.14-060214-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-6.2.14-060214-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-6.2.0-33-generic
I: /boot/initrd.img is now a symlink to initrd.img-6.2.0-33-generic
Setting up linux-modules-extra-6.2.0-33-generic (6.2.0-33.33~22.04.1) ...
Processing triggers for linux-image-6.2.0-33-generic (6.2.0-33.33~22.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.2.0-33-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.2.0-33-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.2.14-060214-generic
Found initrd image: /boot/initrd.img-6.2.14-060214-generic
Found linux image: /boot/vmlinuz-6.2.0-33-generic
Found initrd image: /boot/initrd.img-6.2.0-33-generic
Found linux image: /boot/vmlinuz-5.19.0-50-generic
Found initrd image: /boot/initrd.img-5.19.0-50-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
stulluk ~ $  uname -a
Linux u22 5.19.0-50-generic #50-Ubuntu SMP PREEMPT_DYNAMIC Mon Jul 10 18:24:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
stulluk ~ $  sudo reboot

.... After a reboot ...

stulluk /lib/modules/6.2.0-33-generic $  sudo modprobe Dtu 
stulluk /lib/modules/6.2.0-33-generic $  lsmod | grep -i Dtu
Dtu                  8830976  0
stulluk /lib/modules/6.2.0-33-generic $ dmesg -w
...
[  129.932455] Dtu: The Dtu driver V4.15.4.92 has loaded successfully.
[  129.932482] usbcore: registered new interface driver Dtu
[  150.964009] usb 1-2: new high-speed USB device number 5 using xhci_hcd
[  151.200372] usb 1-2: New USB device found, idVendor=1297, idProduct=030f, bcdDevice= 1.00
[  151.200378] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  151.200381] usb 1-2: Product: WestBridge 
[  151.200384] usb 1-2: Manufacturer: Cypress
[  151.200385] usb 1-2: SerialNumber: 0000000004BE
[  153.165406] usb 1-2: USB disconnect, device number 5
[  153.452810] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd
[  153.474660] usb 2-2: LPM exit latency is zeroed, disabling LPM.
[  153.477161] usb 2-2: New USB device found, idVendor=1297, idProduct=030f, bcdDevice= 0.00
[  153.477164] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  153.477165] usb 2-2: Product: DTU-315
[  153.477166] usb 2-2: Manufacturer: DekTec
[ 2384.540584] usb 3-1: reset high-speed USB device number 2 using xhci_hcd
...
stulluk ~ $  tsdektec -a -d
tsdektec: Debug: debug level set to 1
tsdektec: Debug: ====> tsdektec -a -d

DTAPI: 5.51.8.212, Dtu: 4.15.4.92

* Device 0: DTU-315 (Universal modulator)
  Physical ports: 1
  Channels: input: 0, output: 1
  Output 0: DTU-315 port 1, Modulator (L-band 950-2150MHz, VHF-band 47-470MHz,
      UHF-band 400-862MHz, Uni-directional output, MPEG-2 transport stream,
      Modulator output, High-quality modulation, Low-power mode, ATSC 8-VSB
      modulation, DVB-S modulation, DVB-S2 modulation, DVB-T modulation, QAM-A
      modulation, QAM-B modulation, QAM-C modulation, DVB-T2 single PLP
      modulation, Adjustable output level, Continuous wave, DVB carrier ID, Mute
      RF output signal, Adjustable roll-off factor, DVB-S2 16-APSK/32-APSK,
      Internal RF clock reference, Internal TS rate clock reference)
  Subsystem id: 0x0000 (DTU-315)
  Subsystem vendor id: 0x0000
  Device id: 0x030F
  Vendor id: 0x1297
  Serial number: 00000000XXXXXX
  Firmware version: 1 (0x00000001)
  Firmware variant: 0 (0x00000000)
  USB address: 0
  Customer id: XXXXXX
  Engineering change level: Rev 4
  Manufacture id: 03
  Production date: 2023.06
  Part number: DTU-315
  Serial number: XXXXX

stulluk ~ $ 

stulluk ~ $  tsp -I file --infinite input.ts -O dektec --modulation DVB-S2-QPSK --satellite-frequency 966000000 --lnb 9750,10600,11700 --convolutional-rate 3/4 --symbol-rate 27500000
* Error: file: cannot detect TS file format
stulluk ~ $  tsp -I file input.ts -O dektec --modulation DVB-S2-QPSK --satellite-frequency 966000000 --lnb 9750,10600,11700 --convolutional-rate 3/4 --symbol-rate 27500000
* Error: file: cannot detect TS file format
stulluk ~ $  file input.ts 
input.ts: data
stulluk ~ $  tsresync input.ts | tsanalyze 

===============================================================================
|  TRANSPORT STREAM ANALYSIS REPORT                                           |
|=============================================================================|
|  Transport Stream Id: ...... 16521 (0x4089)  |  Services: .............. 8  |
|  Bytes: ........................... 592,012  |  PID's: Total: ......... 33  |
|  TS packets: ........................ 3,149  |         Clear: ......... 33  |
|     With invalid sync: .................. 0  |         Scrambled: ...... 0  |
|     With transport error: ............... 0  |         With PCR's: ..... 7  |
|     Suspect and ignored: ................ 0  |         Unreferenced: .. 18  |
|-----------------------------------------------------------------------------|
|  Transport stream bitrate, based on ....... 188 bytes/pkt    204 bytes/pkt  |
|  User-specified: ................................... None             None  |
|  Estimated based on PCR's: ............... 40,214,649 b/s   43,637,172 b/s  |
|  Selected reference bitrate: ............. 40,214,649 b/s   43,637,172 b/s  |
|-----------------------------------------------------------------------------|
|  Broadcast time: ..................................... 0 sec (0 min 0 sec)  |
|-----------------------------------------------------------------------------|
|  Srv Id  Service Name                              Access          Bitrate  |
|  0x4440  (unknown) .................................... C       12,771 b/s  |
|  0x4484  (unknown) .................................... C       12,771 b/s  |
|  0x44C9  (unknown) .................................... C    6,615,176 b/s  |
|  0x4500  (unknown) .................................... C       12,771 b/s  |
|  0x4540  (unknown) .................................... C       12,771 b/s  |
|  0x4680  (unknown) .................................... C       51,082 b/s  |
............

... Then I decided to fix the stream ( which was perfectly playable with StreamXpress :( ) .....

stulluk ~ $  tsresync -c input.ts -o new_input.ts 
stulluk ~ $  ls -lah new_input.ts input.ts 
-rw-rw-r-- 1 stulluk stulluk 1,5G Eki  4 01:06 input.ts
-rw-rw-r-- 1 stulluk stulluk 1,5G Eki  4 01:41 new_input.ts

..... And finally, I have been able to play my fancy TS file with DTU-315 , and scan for channels on my STB, and watch TV...

stulluk ~ $  tsp --verbose -I file --infinite new_input.ts -O dektec --modulation DVB-S2-QPSK --satellite-frequency 11750000000 --lnb 9750,10600,11700 --convolutional-rate 3/4 --symbol-rate 27500000
* file: initial input bitrate is 40,214,653 b/s
* dektec: using Dektec device 0, output channel 0 (DTU-315 port 1)
* dektec: setting output TS bitrate to 40,905,509 b/s
* dektec: setting output carrier frequency to 1,150,000,000 Hz
* dektec: output fifo size: 16,777,216 bytes, max: 16,777,216 bytes, typical: 16,777,216 bytes
* dektec: initial output bitrate: 40,905,509 b/s
* dektec: Will preload FIFO before starting transmission. Preload FIFO size: 13,421,696 bytes.
* dektec: DTU-315 output FIFO load is 13,421,696 bytes, starting transmission
...

... WORKED perfectly....

So the original issue seems to be resolved, thank you so much, and I will close it.

For other readers, my personal lessons learned:

  1. Don't trust your kernel, try with other kernels ( Looking at you my ex company )

  2. RTFM (https://tsduck.io/download/docs/tsduck.pdf )

  3. tsresync stops at first sync failure, thats why we need "-c / --continue" . Check filesizes after fixing sync.

  4. Notice the satellite-frequency is in Hz , but Symbol Rate is in symbols/second. This was quite confusing unless you RTFM.

  5. When selecting the modulation frequency, it is quite different than what you see in Streamxpress. In the StreamXpress, modulation frequency is selected as 966000 , which corresponds to intermediate frequency ( 9750 + 966 = 10716 Mhz ) , but in TSP, you can directly write 11750 Mhz because you can define LNB as well. It seems to calculate corresponding IF automatically .

  6. TODOs: try all DVB-S/T/C modulation options , try RF Level adjustments, check if there is a progressbar in tsp, recompile tsduck from scratch to get rid of this libsrt issue.

  7. Finally, I should write a blog post named "How to use DTU-315 with TSduck for dummies like me",
    Thank you again,
    Best.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants