TV card

OP
B

balanga

Son of Beastie

Reaction score: 217
Messages: 4,024

I've already done a scan under Linux and that found 1400 channels. Only swapped the disk in the system from one booting Linux to one booting FreeBSD. Nothing else changed.
 

Tieks

Active Member

Reaction score: 64
Messages: 150

I've already done a scan under Linux and that found 1400 channels. Only swapped the disk in the system from one booting Linux to one booting FreeBSD. Nothing else changed.
So that part works too. AFAICS your device is the one described on this page: https://www.linuxtv.org/wiki/index.php/Pinnacle_PCTV_DVB-S2_Stick_(461e). According to this page, you need two firmware files. Do you have these files and are they identical to the files on your Linux machine (somewhere under /lib iirc)?
 

hselasky@

Active Member
Developer

Reaction score: 22
Messages: 100

Could you try to run w_scan2 via ktrace -d. Then afterwards run kdump ?

Do you have a SAT head switch on the cable?
 
OP
B

balanga

Son of Beastie

Reaction score: 217
Messages: 4,024

So that part works too. AFAICS your device is the one described on this page: https://www.linuxtv.org/wiki/index.php/Pinnacle_PCTV_DVB-S2_Stick_(461e). According to this page, you need two firmware files. Do you have these files and are they identical to the files on your Linux machine (somewhere under /lib iirc)?
On the Linux machine there is dvb-demod-m88ds3103.fw which is identical, but I saw no sign of dvb-fe-tda10071.fw

There were a couple of other files, although not sure if related

Code:
-rwxr-xr-x  1 root  wheel  13388 Aug 16  2015 carl9170-1.fw
-rwxr-xr-x  1 root  wheel   8192 Jun 29  2018 dvb-demod-m88ds3103.fw
-rwxr-xr-x  1 root  wheel   1770 Aug 16  2015 usbdux_firmware.bin
-rwxr-xr-x  1 root  wheel    999 Aug 16  2015 usbduxfast_firmware.bin
-rwxr-xr-x  1 root  wheel   8192 Aug 16  2015 usbduxsigma_firmware.bin

Is there any way to tell if the fw files are getting loaded?
 
OP
B

balanga

Son of Beastie

Reaction score: 217
Messages: 4,024

OP
B

balanga

Son of Beastie

Reaction score: 217
Messages: 4,024

I found a couple of differences in the output from Linux v. FreeBSD. Have no idea how significant it is...

EEPROM ID

Code:
[  724.892094] em28xx: New device PCTV PCTV 461 @ 480 Mbps (2013:0258, interface 0, class 0)                     
[  724.892096] em28xx: DVB interface 0 found: isoc                                                                                             
[  724.892574] em28xx: chip ID is em28178                                                                                                           
[  725.281080] em28178 #0: EEPROM ID = 26 00 01 00, EEPROM hash = 0x793c73a0                                       
[  725.281085] em28178 #0: EEPROM info:                                                                                                           
[  725.281088] em28178 #0: <--->microcode start address = 0x0004, boot configuration = 0x01                       
[  725.289432] em28178 #0: <--->AC97 audio (5 sample rates)                                                                             [  725.289434] em28178 #0: <--->500mA max power                                                                                           
[  725.289437] em28178 #0: <--->Table at offset 0x27, strings=0x148c, 0x1874, 0x0a6a

Code:
webcamd 1083 - - INFO: : New device PCTV PCTV 461 @ 480 Mbps (2013:0258, interface 0, class 0)                   
webcamd 1083 - - INFO: : DVB interface 0 found: isoc                                                                                             
webcamd 1083 - - INFO: : chip ID is em28178                                                                                                         
webcamd 1083 - - INFO: : EEPROM ID = 0x801066000h, EEPROM hash = 0x793c73a0                                         
webcamd 1083 - - INFO: : EEPROM info:                                                                                                                 
webcamd 1083 - - INFO: :     microcode start address = 0x0004, boot configuration = 0x01                                 
webcamd 1083 - - INFO: :     AC97 audio (5 sample rates)                                                                                       
webcamd 1083 - - INFO: :     500mA max power                                                                                                     
webcamd 1083 - - INFO: :     Table at offset 0x27, strings=0x148c, 0x1874, 0x0a6a



Code:
[725.365875] i2c i2c-9: Added multiplexed i2c bus 10
Code:
webcamd 1083 - - INFO: i2c-129: Added multiplexed i2c bus 130

No idea how significant any of this is.
 

Tieks

Active Member

Reaction score: 64
Messages: 150

balanga said:
On the Linux machine there is dvb-demod-m88ds3103.fw which is identical, but I saw no sign of dvb-fe-tda10071.fw
The former seems correct, but isn't the latter meant for the 460 instead of the 461? The USB part works, tuning seems to be the problem. The simplest way to find out which files are actually used on Linux is by removing them, then reboot and see if it works. A quick glance in my webcamd sources show that both .fw en .bin files may be used.

A sat head switch is what you need when you have more than one LNB on a single dish. It switches from one lnb to the other. I think hselasky@ suspects a problem there. Try w_scan2 via ktrace -d.
 
OP
B

balanga

Son of Beastie

Reaction score: 217
Messages: 4,024

The former seems correct, but isn't the latter meant for the 460 instead of the 461? The USB part works, tuning seems to be the problem. The simplest way to find out which files are actually used on Linux is by removing them, then reboot and see if it works. A quick glance in my webcamd sources show that both .fw en .bin files may be used.

A sat head switch is what you need when you have more than one LNB on a single dish. It switches from one lnb to the other. I think hselasky@ suspects a problem there. Try w_scan2 via ktrace -d.
I only came across dvb-fe-tda10071.fw here https://wiki.freebsd.org/WebcamCompat which mentions the 460e. Seems like an old abandoned guide - no mention of the 461 there.

What should I remove on Linux? BTW I have Kaffeine working there - a much better app than the Windows thing you get included with the device.

I have a single dish with a single LNB although there are four ports on it.

I will try w_scan2 via ktrace -d, although not sure how, never used it before... How does this look:- ?

ktrace -d w_scan2 -f s -c GB -s S13E0
 
OP
B

balanga

Son of Beastie

Reaction score: 217
Messages: 4,024

On Linux I removed dvb-demod-m88ds3103.fw and w_scan wouldn't work. How do I check if it is getting loaded in FreeBSD?

I use w_scan because it is installed, I know that w_scan is broken on FreeBSD, but maybe w_scan2 doesn't work either...
 

Tieks

Active Member

Reaction score: 64
Messages: 150

balanga said:
I only came across dvb-fe-tda10071.fw here https://wiki.freebsd.org/WebcamCompat which mentions the 460e. Seems like an old abandoned guide - no mention of the 461 there.
That page looks a bit old indeed, that's why I looked at the Linux wiki. See type 460 and type 461. File dvb-fe-tda10071 is needed for the 460. That's why it is missing on your Linux. File dvb-demod-m88ds3103.fw is, according to that page, needed for the 461. Which is why Linux won't work when you remove it.
I think you need that trace to find out what is going wrong. Another firmware file needed (mine needs 3) or something else? Use w_scan2 for it, it will show what goes wrong. However, do expect some output from it.
 
OP
B

balanga

Son of Beastie

Reaction score: 217
Messages: 4,024

When I run, it says webcamd 1105 - - Attached to ugen6.2[0]

and a ktrace.out is produced which I will attempt to attach as ktrace.tar.gz... let's see if it works... Just found I can only upload zips, BUT zip isn't in the base build.
 

Attachments

  • ktrace.zip
    9.6 KB · Views: 19

hselasky@

Active Member
Developer

Reaction score: 22
Messages: 100

Hi,
There should be a print by webcamd when loading the firmware. If it doesn't do that maybe some driver is missing.
The I2C address shouldn't matter that much I suspect.

BTW: There is a new version of webcamd available. Maybe want to try that?

--HPS
 

hselasky@

Active Member
Developer

Reaction score: 22
Messages: 100

When I run, it says webcamd 1105 - - Attached to ugen6.2[0]

and a ktrace.out is produced which I will attempt to attach as ktrace.tar.gz... let's see if it works... Just found I can only upload zips, BUT zip isn't in the base build.

You need to trace w_scan2, not webcamd, and use -d flag to trace descendants :)
 
OP
B

balanga

Son of Beastie

Reaction score: 217
Messages: 4,024

Did you run ktrace -d webcamd instead of ktrace -d w_scan2?
Oops! I guess you know the answer :). I'm running the correct thing now but the scan goes on for a long time. Do I need to wait for it to finish, or can you glean enough if I stop it after a minute?

Sorry about the mix up.
 

hselasky@

Active Member
Developer

Reaction score: 22
Messages: 100

> I'll run what you suggest if you give me the command line.
ktrace -d w_scan2 -f s -c GB -s S13E0
 
OP
B

balanga

Son of Beastie

Reaction score: 217
Messages: 4,024

Hi,
There should be a print by webcamd when loading the firmware. If it doesn't do that maybe some driver is missing.
The I2C address shouldn't matter that much I suspect.

BTW: There is a new version of webcamd available. Maybe want to try that?

--HPS
Thanks, I'll give that a try.
 
OP
B

balanga

Son of Beastie

Reaction score: 217
Messages: 4,024

> I'll run what you suggest if you give me the command line.
ktrace -d w_scan2 -f s -c GB -s S13E0

I'm running that now but it may take as much as half an hour. Would you be able to glean enough from a minute's activity?
 
OP
B

balanga

Son of Beastie

Reaction score: 217
Messages: 4,024

The latest version is 5.13.2.4, it was last updated on June 6th.
I've just run that now and it went on for around 30 mins and found 1359 services.

How do I make use of them?

I got a lot of output msgs which I don't understand and don't know what I should do about them.

The first part of the output suggests everything is OK:-

Code:
Command: w_scan2 -f s -c GB -s S13E0

w_scan2-1.0.12 (compiled for DVB API 5.11)
https://github.com/stefantalpalaru/w_scan2

using settings for Satellite at 13 EAST
scan type SATELLITE, channellist 8
output format vdr-2.0
WARNING: could not guess your codepage. Falling back to 'UTF-8'
output charset 'UTF-8', use -C <charset> to override
Info: using DVB adapter auto detection.
<------>/dev/dvb/adapter0/frontend0 -> SATELLITE "Montage Technology M88DS3103": very good :-))

Using SATELLITE frontend (adapter /dev/dvb/adapter0/frontend0)
-_-_-_-_ Getting frontend capabilities-_-_-_-_.
Using DVB API 5.11
frontend 'Montage Technology M88DS3103' supports
INVERSION_AUTO
DVB-S
DVB-S2
FREQ (0.95GHz ... 2.15GHz)
SRATE (1.000MSym/s ... 45.000MSym/s)
using LNB "UNIVERSAL"
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_.

I get a lot of msgs like this which I don't understand:-

Code:
11137: skipped (already known transponder)
trying 'S2 f = 11158 kHz V SR = 27500  3/4 0,35  8PSK  (0:0:0)'
(time: 00:20.983)         signal ok:<-->S2 f = 11158 kHz V SR = 27500  3/4 0,35  8PSK  (0:0:0)
        S2 f = 11158 kHz V SR = 27500  3/4 0,35  8PSK  (0:0:0) : updating network_id -> (0:113:0)
        already known: (S2 f = 10834 kHz V SR = 27500  3/4 0,35  8PSK  (318:318:11600)), but not found by pids
        already known: (S2 f = 11117 kHz V SR = 27500  3/4 0,35  8PSK  (318:318:13000)), but not found by pids
        already known: (S2 f = 11075 kHz V SR = 30000  3/4 0,35  8PSK  (318:318:12800)), but not found by pids
        already known: (S  f = 10992 kHz V SR = 27500  2/3 0,35  QPSK  (318:318:12400)), but not found by pids


How do I get to watch something like this:-

Code:
STARS.TV;Cyfrowy Polsat S.A.:10758:vC34M5O35S1:S13E:27500:291=27:0;547:0:0:17023:318:11200:0

That is one station which isn't scrambled. Is there any way to identify which are FTA?

To decipher the others I guess I would need to install OSCAM...
 
OP
B

balanga

Son of Beastie

Reaction score: 217
Messages: 4,024

Just came across this video showing how use the output from w_scan to watch TV channels via VLC. Haven't tried it myself yet, just wondered if anyone had come across anything similar....

Should I be able to use something like Kaffeine on FreeBSD ?
 
Top