b-rad-NDi / Ubuntu-media-tree-kernel-builder

Slip stream the latest LinuxTV.org media drivers into an installable Ubuntu kernel package
97 stars 9 forks source link

No channels found on latest Ubuntu Jammy RPi drivers #154

Closed ghost closed 1 year ago

ghost commented 1 year ago

I installed the latest RPi drivers for Jammy (thank you!) but when I went to set up tvheadend, it wouldn't find any channels with my WinTV-quadHD. It wouldn't even scan for muxes, just said immediately the scan was finished with 0 muxes and 0 services found. I tried again with w_scan and got these results:

w_scan -fa -c PR 
w_scan version 20170107 (compiled for DVB API 5.11)
using settings for PUERTO RICO
Country identifier PR not defined. Using defaults.
scan type TERRCABLE_ATSC, channellist 1
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 -> TERRCABLE_ATSC "MaxLinear MxL692 VSB tuner-demodulator": good :-)
    /dev/dvb/adapter1/frontend0 -> TERRCABLE_ATSC "MaxLinear MxL692 VSB tuner-demodulator": good :-)
    /dev/dvb/adapter2/frontend0 -> TERRCABLE_ATSC "MaxLinear MxL692 VSB tuner-demodulator": good :-)
    /dev/dvb/adapter3/frontend0 -> TERRCABLE_ATSC "MaxLinear MxL692 VSB tuner-demodulator": good :-)
Using TERRCABLE_ATSC frontend (adapter /dev/dvb/adapter0/frontend0)
-_-_-_-_ Getting frontend capabilities-_-_-_-_ 
Using DVB API 5.11
frontend 'MaxLinear MxL692 VSB tuner-demodulator' supports
INVERSION_AUTO
8VSB
FREQ (54.00MHz ... 858.00MHz)
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 
57000: 8VSB(time: 00:00.687) 
63000: 8VSB(time: 00:03.735) 
69000: 8VSB(time: 00:06.739) 
79000: 8VSB(time: 00:09.791) 
85000: 8VSB(time: 00:12.795) 
177000: 8VSB(time: 00:15.843) 
183000: 8VSB(time: 00:18.895) 
189000: 8VSB(time: 00:21.947) 
195000: 8VSB(time: 00:24.951) 
201000: 8VSB(time: 00:28.003) 
207000: 8VSB(time: 00:31.007) 
213000: 8VSB(time: 00:34.059) 
473000: 8VSB(time: 00:37.107) 
479000: 8VSB(time: 00:40.111) 
485000: 8VSB(time: 00:43.115) 
491000: 8VSB(time: 00:46.163) 
497000: 8VSB(time: 00:49.167) 
503000: 8VSB(time: 00:52.171) 
509000: 8VSB(time: 00:55.175) 
515000: 8VSB(time: 00:58.179) 
521000: 8VSB(time: 01:01.183) 
527000: 8VSB(time: 01:04.230) 
533000: 8VSB(time: 01:07.282) 
539000: 8VSB(time: 01:10.290) 
545000: 8VSB(time: 01:13.294) 
551000: 8VSB(time: 01:16.298) 
557000: 8VSB(time: 01:19.350) 
563000: 8VSB(time: 01:22.402) 
569000: 8VSB(time: 01:25.454) 
575000: 8VSB(time: 01:28.498) 
581000: 8VSB(time: 01:31.546) 
587000: 8VSB(time: 01:34.550) 
593000: 8VSB(time: 01:37.602) 
599000: 8VSB(time: 01:40.654) 
605000: 8VSB(time: 01:43.702) 
611000: 8VSB(time: 01:46.706) 
617000: 8VSB(time: 01:49.758) 
623000: 8VSB(time: 01:52.806) 
629000: 8VSB(time: 01:55.858) 
635000: 8VSB(time: 01:58.862) 
641000: 8VSB(time: 02:01.910) 
647000: 8VSB(time: 02:04.961) 
653000: 8VSB(time: 02:08.013) 
659000: 8VSB(time: 02:11.017) 
665000: 8VSB(time: 02:14.069) 
671000: 8VSB(time: 02:17.073) 
677000: 8VSB(time: 02:20.125) 
683000: 8VSB(time: 02:23.129) 
689000: 8VSB(time: 02:26.133) 
695000: 8VSB(time: 02:29.177) 
701000: 8VSB(time: 02:32.185) 
707000: 8VSB(time: 02:35.237) 
713000: 8VSB(time: 02:38.289) 
719000: 8VSB(time: 02:41.341) 
725000: 8VSB(time: 02:44.345) 
731000: 8VSB(time: 02:47.397) 
737000: 8VSB(time: 02:50.449) 
743000: 8VSB(time: 02:53.453) 
749000: 8VSB(time: 02:56.501) 
755000: 8VSB(time: 02:59.505) 
761000: 8VSB(time: 03:02.557) 
767000: 8VSB(time: 03:05.600) 
773000: 8VSB(time: 03:08.604) 
779000: 8VSB(time: 03:11.656) 
785000: 8VSB(time: 03:14.708) 
791000: 8VSB(time: 03:17.760) 
797000: 8VSB(time: 03:20.764) 
803000: 8VSB(time: 03:23.812) 

ERROR: Sorry - i couldn't get any working frequency/transponder
 Nothing to scan!!

As you can see, the tuner itself seems to be recognised without issue, but nothing is found.

Saentist commented 1 year ago

Attach DMESG output

dmesg | egrep "firmware|dvb|frontend|usb"
ghost commented 1 year ago

Attach DMESG output

Here you go. I forgot to mention, this issue is with the WinTV-quadHD. I just tried scanning with my WinTV-dualHD and had no issues, but quadHD is still giving me the same problem.

$ sudo dmesg | egrep "firmware|dvb|frontend|usb"
[ 5779.205859] usb 1-1.1: USB disconnect, device number 3
[ 5779.205890] usb 1-1.1.1: USB disconnect, device number 4
[ 5779.227593] usb 1-1.1.3: USB disconnect, device number 5
[ 5836.750515] usb 1-1.1: new high-speed USB device number 6 using xhci_hcd
[ 5836.851421] usb 1-1.1: New USB device found, idVendor=2040, idProduct=826d, bcdDevice= 1.00
[ 5836.851457] usb 1-1.1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[ 5836.851473] usb 1-1.1: Product: 955D
[ 5836.851488] usb 1-1.1: Manufacturer: HCW
[ 5836.851502] usb 1-1.1: SerialNumber: 0014115250
[ 5838.202521] em28xx 1-1.1:1.0: dvb set to bulk mode.
[ 5839.547067] em28xx 1-1.1:1.0: dvb ts2 set to bulk mode.
[ 5839.804906] dvbdev: DVB: registering new adapter (1-1.1:1.0)
[ 5839.804917] em28xx 1-1.1:1.0: DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3306A VSB/QAM Frontend)...
[ 5839.804930] dvbdev: dvb_create_media_entity: media entity 'LG Electronics LGDT3306A VSB/QAM Frontend' registered.
[ 5839.806149] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
[ 5839.831075] dvbdev: DVB: registering new adapter (1-1.1:1.0)
[ 5839.831089] em28xx 1-1.1:1.0: DVB: registering adapter 1 frontend 0 (LG Electronics LGDT3306A VSB/QAM Frontend)...
[ 5839.831104] dvbdev: dvb_create_media_entity: media entity 'LG Electronics LGDT3306A VSB/QAM Frontend' registered.
[ 5839.832580] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
[ 5839.902850] rc rc0: Hauppauge WinTV-dualHD 01595 ATSC/QAM as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.0/rc/rc0
[ 5839.903087] input: Hauppauge WinTV-dualHD 01595 ATSC/QAM as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.0/rc/rc0/input0
[ 5892.313264] si2157 26-0060: Using ROM firmware.
[ 5892.365540] si2157 26-0060: firmware version: 3.0.5
[ 5892.437550] si2157 27-0062: Using ROM firmware.
[ 5892.488597] si2157 27-0062: firmware version: 3.0.5
[ 6130.860415] usb 1-1.1: USB disconnect, device number 6
[ 6139.634803] usb 1-1.1: new high-speed USB device number 7 using xhci_hcd
[ 6139.735257] usb 1-1.1: New USB device found, idVendor=04e2, idProduct=0404, bcdDevice= 1.11
[ 6139.735297] usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 6139.735314] usb 1-1.1: Product: USB 2.0 Hub
[ 6140.022810] usb 1-1.1.1: new high-speed USB device number 8 using xhci_hcd
[ 6140.123578] usb 1-1.1.1: New USB device found, idVendor=2040, idProduct=846d, bcdDevice= 1.00
[ 6140.123616] usb 1-1.1.1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[ 6140.123631] usb 1-1.1.1: Product: quadHD-A
[ 6140.123643] usb 1-1.1.1: Manufacturer: HCW
[ 6140.123654] usb 1-1.1.1: SerialNumber: 0014156253
[ 6141.490869] em28xx 1-1.1.1:1.0: dvb set to bulk mode.
[ 6142.866863] em28xx 1-1.1.1:1.0: dvb ts2 set to bulk mode.
[ 6143.075080] dvbdev: DVB: registering new adapter (1-1.1.1:1.0)
[ 6143.075092] em28xx 1-1.1.1:1.0: DVB: registering adapter 0 frontend 0 (MaxLinear MxL692 VSB tuner-demodulator)...
[ 6143.075112] dvbdev: dvb_create_media_entity: media entity 'MaxLinear MxL692 VSB tuner-demodulator' registered.
[ 6143.076358] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
[ 6143.102633] dvbdev: DVB: registering new adapter (1-1.1.1:1.0)
[ 6143.102644] em28xx 1-1.1.1:1.0: DVB: registering adapter 1 frontend 0 (MaxLinear MxL692 VSB tuner-demodulator)...
[ 6143.102665] dvbdev: dvb_create_media_entity: media entity 'MaxLinear MxL692 VSB tuner-demodulator' registered.
[ 6143.104209] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
[ 6143.146842] usb 1-1.1.3: new high-speed USB device number 9 using xhci_hcd
[ 6143.247665] usb 1-1.1.3: New USB device found, idVendor=2040, idProduct=846d, bcdDevice= 1.00
[ 6143.247697] usb 1-1.1.3: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[ 6143.247710] usb 1-1.1.3: Product: quadHD-A
[ 6143.247720] usb 1-1.1.3: Manufacturer: HCW
[ 6143.247730] usb 1-1.1.3: SerialNumber: 0014156253
[ 6144.582900] em28xx 1-1.1.3:1.0: dvb set to bulk mode.
[ 6144.676999] usb 1-1.1: USB disconnect, device number 7
[ 6144.762899] em28xx 1-1.1.3:1.0: dvb ts2 set to bulk mode.
[ 6144.965140] usb 1-1.1.1: USB disconnect, device number 8
[ 6144.970637] dvbdev: DVB: registering new adapter (1-1.1.3:1.0)
[ 6144.970650] em28xx 1-1.1.3:1.0: DVB: registering adapter 2 frontend 0 (MaxLinear MxL692 VSB tuner-demodulator)...
[ 6144.970668] dvbdev: dvb_create_media_entity: media entity 'MaxLinear MxL692 VSB tuner-demodulator' registered.
[ 6144.972640] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
[ 6144.987207] dvbdev: DVB: registering new adapter (1-1.1.3:1.0)
[ 6144.987220] em28xx 1-1.1.3:1.0: DVB: registering adapter 3 frontend 0 (MaxLinear MxL692 VSB tuner-demodulator)...
[ 6144.987241] dvbdev: dvb_create_media_entity: media entity 'MaxLinear MxL692 VSB tuner-demodulator' registered.
[ 6144.988568] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
[ 6145.004854] usb 1-1.1.3: USB disconnect, device number 9
[ 6145.246858] usb 1-1.1: new high-speed USB device number 10 using xhci_hcd
[ 6146.307391] usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
[ 6146.390949] usb 1-1.1: new high-speed USB device number 11 using xhci_hcd
[ 6146.471271] usb 1-1.1: Device not responding to setup address.
[ 6146.679065] usb 1-1.1: Device not responding to setup address.
[ 6146.886909] usb 1-1.1: device not accepting address 11, error -71
[ 6146.893440] usb 1-1-port1: attempt power cycle
[ 6147.702912] usb 1-1.1: new high-speed USB device number 12 using xhci_hcd
[ 6147.723339] usb 1-1.1: New USB device found, idVendor=04e2, idProduct=0404, bcdDevice= 1.11
[ 6147.723369] usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 6147.723382] usb 1-1.1: Product: USB 2.0 Hub
[ 6148.010952] usb 1-1.1.1: new high-speed USB device number 13 using xhci_hcd
[ 6148.011732] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.017244] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.022753] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.028187] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.033655] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.038826] usb 1-1.1-port1: Cannot enable. Maybe the USB cable is bad?
[ 6148.045823] usb 1-1.1-port1: cannot disable (err = -71)
[ 6148.051768] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.057187] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.062601] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.068011] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.073425] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.078606] usb 1-1.1-port1: Cannot enable. Maybe the USB cable is bad?
[ 6148.085596] usb 1-1.1-port1: cannot disable (err = -71)
[ 6148.091092] usb 1-1.1-port1: attempt power cycle
[ 6148.091360] usb 1-1.1-port1: failed to disable port power
[ 6148.091708] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.097111] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.102533] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.107947] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.113363] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.118522] usb 1-1.1-port1: Cannot enable. Maybe the USB cable is bad?
[ 6148.125531] usb 1-1.1-port1: cannot disable (err = -71)
[ 6148.131440] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.136856] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.142253] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.147648] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.153044] usb 1-1.1-port1: cannot reset (err = -71)
[ 6148.158216] usb 1-1.1-port1: Cannot enable. Maybe the USB cable is bad?
[ 6148.165202] usb 1-1.1-port1: cannot disable (err = -71)
[ 6148.170680] usb 1-1.1-port1: unable to enumerate USB device
[ 6148.176620] usb 1-1.1-port1: cannot disable (err = -71)
[ 6148.189140] usb 1-1.1: Failed to suspend device, error -71
[ 6148.261086] usb 1-1.1: USB disconnect, device number 12
[ 6148.490927] usb 1-1.1: new high-speed USB device number 17 using xhci_hcd
[ 6149.347417] usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
[ 6150.207479] usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
[ 6150.214435] usb 1-1-port1: attempt power cycle
[ 6151.379233] usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
[ 6152.235496] usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
[ 6152.242452] usb 1-1-port1: unable to enumerate USB device
[ 6153.719002] usb 1-1.1: new high-speed USB device number 21 using xhci_hcd
[ 6154.027538] usb 1-1.1: New USB device found, idVendor=04e2, idProduct=0404, bcdDevice= 1.11
[ 6154.027572] usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 6154.027586] usb 1-1.1: Product: USB 2.0 Hub
[ 6154.089521] usb 1-1.1: USB disconnect, device number 21
[ 6155.503557] usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
[ 6155.591022] usb 1-1.1: new high-speed USB device number 23 using xhci_hcd
[ 6155.691593] usb 1-1.1: New USB device found, idVendor=04e2, idProduct=0404, bcdDevice= 1.11
[ 6155.691630] usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 6155.691647] usb 1-1.1: Product: USB 2.0 Hub
[ 6155.979031] usb 1-1.1.1: new high-speed USB device number 24 using xhci_hcd
[ 6156.079827] usb 1-1.1.1: New USB device found, idVendor=2040, idProduct=846d, bcdDevice= 1.00
[ 6156.079860] usb 1-1.1.1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[ 6156.079875] usb 1-1.1.1: Product: quadHD-A
[ 6156.079887] usb 1-1.1.1: Manufacturer: HCW
[ 6156.079898] usb 1-1.1.1: SerialNumber: 0014156253
[ 6157.459071] em28xx 1-1.1.1:1.0: dvb set to bulk mode.
[ 6158.835126] em28xx 1-1.1.1:1.0: dvb ts2 set to bulk mode.
[ 6159.048690] dvbdev: DVB: registering new adapter (1-1.1.1:1.0)
[ 6159.048703] em28xx 1-1.1.1:1.0: DVB: registering adapter 0 frontend 0 (MaxLinear MxL692 VSB tuner-demodulator)...
[ 6159.048725] dvbdev: dvb_create_media_entity: media entity 'MaxLinear MxL692 VSB tuner-demodulator' registered.
[ 6159.049987] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
[ 6159.062379] dvbdev: DVB: registering new adapter (1-1.1.1:1.0)
[ 6159.062398] em28xx 1-1.1.1:1.0: DVB: registering adapter 1 frontend 0 (MaxLinear MxL692 VSB tuner-demodulator)...
[ 6159.062419] dvbdev: dvb_create_media_entity: media entity 'MaxLinear MxL692 VSB tuner-demodulator' registered.
[ 6159.064496] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
[ 6159.119068] usb 1-1.1.3: new high-speed USB device number 25 using xhci_hcd
[ 6159.220174] usb 1-1.1.3: New USB device found, idVendor=2040, idProduct=846d, bcdDevice= 1.00
[ 6159.220206] usb 1-1.1.3: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[ 6159.220220] usb 1-1.1.3: Product: quadHD-A
[ 6159.220230] usb 1-1.1.3: Manufacturer: HCW
[ 6159.220240] usb 1-1.1.3: SerialNumber: 0014156253
[ 6160.599189] em28xx 1-1.1.3:1.0: dvb set to bulk mode.
[ 6161.971180] em28xx 1-1.1.3:1.0: dvb ts2 set to bulk mode.
[ 6162.187409] dvbdev: DVB: registering new adapter (1-1.1.3:1.0)
[ 6162.187420] em28xx 1-1.1.3:1.0: DVB: registering adapter 2 frontend 0 (MaxLinear MxL692 VSB tuner-demodulator)...
[ 6162.187440] dvbdev: dvb_create_media_entity: media entity 'MaxLinear MxL692 VSB tuner-demodulator' registered.
[ 6162.188805] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
[ 6162.204689] dvbdev: DVB: registering new adapter (1-1.1.3:1.0)
[ 6162.204702] em28xx 1-1.1.3:1.0: DVB: registering adapter 3 frontend 0 (MaxLinear MxL692 VSB tuner-demodulator)...
[ 6162.204725] dvbdev: dvb_create_media_entity: media entity 'MaxLinear MxL692 VSB tuner-demodulator' registered.
[ 6162.206031] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
[ 6212.920381] mxl692 23-0060: Direct firmware load for dvb-demod-mxl692.fw failed with error -2
[ 6213.059959] mxl692 25-0063: Direct firmware load for dvb-demod-mxl692.fw failed with error -2
[ 6213.192023] mxl692 27-0060: Direct firmware load for dvb-demod-mxl692.fw failed with error -2
[ 6213.332080] mxl692 29-0063: Direct firmware load for dvb-demod-mxl692.fw failed with error -2
[ 6213.473856] mxl692 23-0060: Direct firmware load for dvb-demod-mxl692.fw failed with error -2
Saentist commented 1 year ago

confirm existing of dvb-demod-mxl692.fw in /lib/firmware

ghost commented 1 year ago

confirm existing of dvb-demod-mxl692.fw in /lib/firmware

Nope, here are the dvb* ones I have:

$ ls -1 /lib/firmware/dvb*
/lib/firmware/dvb-fe-xc4000-1.4.1.fw
/lib/firmware/dvb-fe-xc5000-1.6.114.fw
/lib/firmware/dvb-fe-xc5000c-4.1.30.7.fw
/lib/firmware/dvb-usb-dib0700-1.20.fw
/lib/firmware/dvb-usb-it9135-01.fw
/lib/firmware/dvb-usb-it9135-02.fw
/lib/firmware/dvb-usb-terratec-h5-drxk.fw
Saentist commented 1 year ago

So install it, there is in repo firmware collection https://launchpad.net/~b-rad/+archive/ubuntu/kernel+mediatree+hauppauge

Then restart system or reload module's, with is faster for you ;)


This is most common error of skipping steps in installation.

ghost commented 1 year ago

The PPA doesn't have the Raspberry Pi builds, I installed it from here https://github.com/b-rad-NDi/Ubuntu-media-tree-kernel-builder/releases/tag/v0.5-RPi

Specifically, I installed all of the deb's in linux-raspi-jammy-5.15.0-arm64-23-02-28.zip and linux-raspi-jammy-tools-5.15.0-arm64-23-02-28.zip.

Saentist commented 1 year ago

OMG too much thinking... Get deb file, extract it, use content. Or find file online, and save it to /lib/firmware

https://ppa.launchpadcontent.net/b-rad/kernel+mediatree+hauppauge/ubuntu/pool/main/l/linux-firmware-hauppauge/linux-firmware-hauppauge_0.1.8+bionic.tar.gz linux-firmware-hauppauge_0.1.8+bionic.tar.gz\linux-firmware-hauppauge-0.1.8+bionic\install\0

ghost commented 1 year ago

That did the trick, I used the Jammy package, though (don't know if they're ultimately the same). Thanks.