DTV server, RRi DTV 'Hat' not seen?

Hi all,

I've just got a DTV 'Hat' for my Raspberry Pi 3B+, downloaded, installed and updated Rasbian and installed the tvheadend software. However, during the setup Wizard it's supposed to show the 'Sony' DVT module but doesn't? ;-(

I can access tvheadend from another PC on the LAN so that's all working ok etc.

So, I installed lshw and ran that but that doesn't show it either but I'm not sure if it would?

I was just wondering if any of the RPi owners here had also got the DTV module / hat and did it work for you? Would you expect lshw to show something on the GPIO interface (or how else might I see if the hardware has been 'seen'?)

Cheers, T i m

Reply to
T i m
Loading thread data ...

It wouldn't show up - the CXD2880 is attached via SPI and that doesn't have a discovery mechanism (unlike, say, USB). The HAT system has a discovery mechanism (an EEPROM on the board) but that's something specific to the Pi and so won't appear in generic tools like lshw.

You need to have i2c enabled in config.txt, and the i2c-dev kernel module loaded, and then you can use i2cdetect to look for the HAT EEPROM:

formatting link
(should show up at 0x50)

eepromutils will dump the contents of the EEPROM (which should tell you what kind of HAT it is, etc).

Seems you can also look in /proc/device-tree/hat

dmesg should also say something about the CXD2880 detected - but you might have to 'modprobe cxd2880' first

Theo

Reply to
Theo

On Sun, 21 Oct 2018 23:15:07 +0100, Theo wrote:

Started to check / edit the files bit needed to launch the text editor (or file manager) as sudo and need to look that up.

Couldn't find that in the software packages or apt-get (probably looking at the same repo)? I'll check it out later.

Couldn't find that. ;-(

Ok, that profuced quite a bit but nothing relating to the DTV module that I could see?

Thanks for your help so far Theo.

Cheers, T i m (posted from the RPi)

pi@raspberrypi:~ $ sudo modprobe cxd2880 pi@raspberrypi:~ $ sudo dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.71-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1145 SMP Fri Sep 21 15:38:35 BST 2018 [ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Plus Rev 1.3 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 8 MiB at 0x3ac00000 [ 0.000000] On node 0 totalpages: 242688 [ 0.000000] free_area_init_node: node 0, pgdat 80c85280, node_mem_map ba39f000 [ 0.000000] Normal zone: 2133 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 242688 pages, LIFO batch:31 [ 0.000000] percpu: Embedded 17 pages/cpu @ba348000 s38720 r8192 d22720 u69632 [ 0.000000] pcpu-alloc: s38720 r8192 d22720 u69632 alloc=17*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 240555 [ 0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1024 bcm2708_fb.fbheight=768 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=d69ebd8b-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 940232K/970752K available (7168K kernel code, 576K rwdata, 2076K rodata, 1024K init, 698K bss, 22328K reserved, 8192K cma-reserved) [ 0.000000] Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xbb800000 - 0xff800000 (1088 MB) lowmem : 0x80000000 - 0xbb400000 ( 948 MB) modules : 0x7f000000 - 0x80000000 ( 16 MB) .text : 0x80008000 - 0x80800000 (8160 kB) .init : 0x80b00000 - 0x80c00000 (1024 kB) .data : 0x80c00000 - 0x80c9017c ( 577 kB) .bss : 0x80c97f10 - 0x80d468b0 ( 699 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 25273 entries in 75 pages [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles:

0x46d987e47, max_idle_ns: 440795202767 ns [ 0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns [ 0.000019] Switching to timer-based delay loop, resolution 52ns [ 0.000272] Console: colour dummy device 80x30 [ 0.000289] console [tty1] enabled [ 0.000314] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000) [ 0.000330] pid_max: default: 32768 minimum: 301 [ 0.000644] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000658] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001597] Disabling memory control group subsystem [ 0.001673] CPU: Testing write buffer coherency: ok [ 0.002088] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.002490] Setting up static identity map for 0x100000 - 0x10003c [ 0.002612] Hierarchical SRCU implementation. [ 0.003296] smp: Bringing up secondary CPUs ... [ 0.004079] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.004927] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.005756] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.005862] smp: Brought up 1 node, 4 CPUs [ 0.005873] SMP: Total of 4 processors activated (153.60 BogoMIPS). [ 0.005878] CPU: All CPU(s) started in HYP mode. [ 0.005882] CPU: Virtualization extensions available. [ 0.006766] devtmpfs: initialized [ 0.017177] random: get_random_u32 called from bucket_table_alloc+0xfc/0x24c with crng_init=0 [ 0.017951] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4 [ 0.018174] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.018191] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.018749] pinctrl core: initialized pinctrl subsystem [ 0.019489] NET: Registered protocol family 16 [ 0.022230] DMA: preallocated 1024 KiB pool for atomic coherent allocations [ 0.027194] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.027201] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.027401] Serial: AMBA PL011 UART driver [ 0.029071] bcm2835-mbox 3f00b880.mailbox: mailbox enabled [ 0.029532] uart-pl011 3f201000.serial: could not find pctldev for node /soc/ gpio@7e200000/uart0_pins, deferring probe [ 0.061388] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb813000, dmachans=0x1 [ 0.062802] SCSI subsystem initialized [ 0.063030] usbcore: registered new interface driver usbfs [ 0.063083] usbcore: registered new interface driver hub [ 0.063166] usbcore: registered new device driver usb [ 0.070087] raspberrypi-firmware soc:firmware: Attached to firmware from 2018-09-21 15:43 [ 0.071498] clocksource: Switched to clocksource arch_sys_counter [ 0.148657] VFS: Disk quotas dquot_6.6.0 [ 0.148737] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.148921] FS-Cache: Loaded [ 0.149107] CacheFiles: Loaded [ 0.157113] NET: Registered protocol family 2 [ 0.157829] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.157939] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.158124] TCP: Hash tables configured (established 8192 bind 8192) [ 0.158251] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.158295] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.158519] NET: Registered protocol family 1 [ 0.158989] RPC: Registered named UNIX socket transport module. [ 0.158995] RPC: Registered udp transport module. [ 0.159000] RPC: Registered tcp transport module. [ 0.159005] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.160681] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available [ 0.163462] workingset: timestamp_bits=14 max_order=18 bucket_order=4 [ 0.171664] FS-Cache: Netfs 'nfs' registered for caching [ 0.172273] NFS: Registering the id_resolver key type [ 0.172303] Key type id_resolver registered [ 0.172309] Key type id_legacy registered [ 0.172324] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.174250] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 0.174383] io scheduler noop registered [ 0.174389] io scheduler deadline registered (default) [ 0.174671] io scheduler cfq registered [ 0.174678] io scheduler mq-deadline registered [ 0.174684] io scheduler kyber registered [ 0.176975] BCM2708FB: allocated DMA memory fad00000 [ 0.177001] BCM2708FB: allocated DMA channel 0 @ bb813000 [ 0.199300] Console: switching to colour frame buffer device 128x48 [ 0.213292] bcm2835-rng 3f104000.rng: hwrng registered [ 0.213417] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB) [ 0.213866] vc-sm: Videocore shared memory driver [ 0.214138] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000 [ 0.221522] NOHZ: local_softirq_pending 80 [ 0.223815] brd: module loaded [ 0.232607] loop: module loaded [ 0.232620] Loading iSCSI transport class v2.0-870. [ 0.233276] libphy: Fixed MDIO Bus: probed [ 0.233375] usbcore: registered new interface driver lan78xx [ 0.233429] usbcore: registered new interface driver smsc95xx [ 0.233444] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) [ 0.261337] dwc_otg 3f980000.usb: base=0xf0980000 [ 0.401495] NOHZ: local_softirq_pending 80 [ 0.421494] NOHZ: local_softirq_pending 80 [ 0.441494] NOHZ: local_softirq_pending 80 [ 0.461595] Core Release: 2.80a [ 0.461603] Setting default values for core params [ 0.461634] Finished setting default values for core params [ 0.661878] Using Buffer DMA mode [ 0.661884] Periodic Transfer Interrupt Enhancement - disabled [ 0.661890] Multiprocessor Interrupt Enhancement - disabled [ 0.661897] OTG VER PARAM: 0, OTG VER FLAG: 0 [ 0.661907] Dedicated Tx FIFOs mode [ 0.662249] WARN::dwc_otg_hcd_init:1046: FIQ DMA bounce buffers: virt = 0xbad14000 dma = 0xfad14000 len=9024 [ 0.662274] FIQ FSM acceleration enabled for : Non-periodic Split Transactions Periodic Split Transactions High-Speed Isochronous Endpoints Interrupt/Control Split Transaction hack enabled [ 0.662281] dwc_otg: Microframe scheduler enabled [ 0.662334] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x805e9c5c [ 0.662346] WARN::hcd_init_fiq:460: FIQ ASM at 0x805e9fc4 length 36 [ 0.662358] WARN::hcd_init_fiq:486: MPHI regs_base at 0xf0006000 [ 0.662413] dwc_otg 3f980000.usb: DWC OTG Controller [ 0.662443] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1 [ 0.662473] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000 [ 0.662521] Init: Port Power? op_state=1 [ 0.662526] Init: Power Port (0) [ 0.662728] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.662739] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.662748] usb usb1: Product: DWC OTG Controller [ 0.662756] usb usb1: Manufacturer: Linux 4.14.71-v7+ dwc_otg_hcd [ 0.662764] usb usb1: SerialNumber: 3f980000.usb [ 0.663378] hub 1-0:1.0: USB hub found [ 0.663418] hub 1-0:1.0: 1 port detected [ 0.663954] dwc_otg: FIQ enabled [ 0.663959] dwc_otg: NAK holdoff enabled [ 0.663964] dwc_otg: FIQ split-transaction FSM enabled [ 0.663974] Module dwc_common_port init [ 0.664211] usbcore: registered new interface driver usb-storage [ 0.664379] mousedev: PS/2 mouse device common for all mice [ 0.664449] IR NEC protocol handler initialized [ 0.664454] IR RC5(x/sz) protocol handler initialized [ 0.664460] IR RC6 protocol handler initialized [ 0.664465] IR JVC protocol handler initialized [ 0.664470] IR Sony protocol handler initialized [ 0.664475] IR SANYO protocol handler initialized [ 0.664481] IR Sharp protocol handler initialized [ 0.664486] IR MCE Keyboard/mouse protocol handler initialized [ 0.664490] IR XMP protocol handler initialized [ 0.665151] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer [ 0.665404] bcm2835-cpufreq: min=600000 max=1400000 [ 0.665746] sdhci: Secure Digital Host Controller Interface driver [ 0.665750] sdhci: Copyright(c) Pierre Ossman [ 0.666098] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe [ 0.666411] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe [ 0.666499] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.667917] ledtrig-cpu: registered to indicate activity on CPUs [ 0.668062] hidraw: raw HID events driver (C) Jiri Kosina [ 0.668216] usbcore: registered new interface driver usbhid [ 0.668220] usbhid: USB HID core driver [ 0.668819] vchiq: vchiq_init_state: slot_zero = bad80000, is_master = 0 [ 0.670250] [vc_sm_connected_init]: start [ 0.679139] [vc_sm_connected_init]: end - returning 0 [ 0.679713] Initializing XFRM netlink socket [ 0.679738] NET: Registered protocol family 17 [ 0.679834] Key type dns_resolver registered [ 0.680372] Registering SWP/SWPB emulation handler [ 0.680957] registered taskstats version 1 [ 0.686860] uart-pl011 3f201000.serial: cts_event_workaround enabled [ 0.686931] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2 [ 0.688800] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0 [ 0.688810] mmc-bcm2835 3f300000.mmc: DMA channel allocated [ 0.752126] sdhost: log_buf @ bad13000 (fad13000) [ 0.789979] mmc1: queuing unknown CIS tuple 0x80 (2 bytes) [ 0.791556] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 0.793106] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 0.795881] mmc1: queuing unknown CIS tuple 0x80 (7 bytes) [ 0.831520] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1) [ 0.832549] of_cfs_init [ 0.832630] of_cfs_init: OK [ 0.833174] Waiting for root device PARTUUID=d69ebd8b-02... [ 0.874022] random: fast init done [ 0.881244] mmc1: new high speed SDIO card at address 0001 [ 0.881752] Indeed it is in host mode hprt0 = 00021501 [ 1.011719] mmc0: host does not support reading read-only switch, assuming write- enable [ 1.015880] mmc0: new high speed SDXC card at address aaaa [ 1.016336] mmcblk0: mmc0:aaaa SB64G 59.5 GiB [ 1.018695] mmcblk0: p1 p2 [ 1.046534] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem [ 1.046542] EXT4-fs (mmcblk0p2): write access will be enabled during recovery [ 1.086060] NOHZ: local_softirq_pending 40 [ 1.091528] usb 1-1: new high-speed USB device number 2 using dwc_otg [ 1.091655] Indeed it is in host mode hprt0 = 00001101 [ 1.170617] NOHZ: local_softirq_pending 40 [ 1.176985] NOHZ: local_softirq_pending 40 [ 1.183360] NOHZ: local_softirq_pending 40 [ 1.189741] NOHZ: local_softirq_pending 40 [ 1.196105] NOHZ: local_softirq_pending 40 [ 1.331778] usb 1-1: New USB device found, idVendor=0424, idProduct=2514 [ 1.331790] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 1.332483] hub 1-1:1.0: USB hub found [ 1.332559] hub 1-1:1.0: 4 ports detected [ 1.651574] usb 1-1.1: new high-speed USB device number 3 using dwc_otg [ 1.738633] EXT4-fs (mmcblk0p2): recovery complete [ 1.740350] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 1.740409] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 1.742205] devtmpfs: mounted [ 1.745176] Freeing unused kernel memory: 1024K [ 1.781836] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514 [ 1.781850] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 1.782448] hub 1-1.1:1.0: USB hub found [ 1.782523] hub 1-1.1:1.0: 3 ports detected [ 2.101544] usb 1-1.1.3: new full-speed USB device number 4 using dwc_otg [ 2.123521] systemd[1]: System time before build time, advancing clock. [ 2.233537] usb 1-1.1.3: New USB device found, idVendor=0557, idProduct=8021 [ 2.233551] usb 1-1.1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2.234376] hub 1-1.1.3:1.0: USB hub found [ 2.234889] hub 1-1.1.3:1.0: 4 ports detected [ 2.239958] NET: Registered protocol family 10 [ 2.241001] Segment Routing with IPv6 [ 2.251961] ip_tables: (C) 2000-2006 Netfilter Core Team [ 2.269409] random: systemd: uninitialized urandom read (16 bytes read) [ 2.274561] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN) [ 2.275141] systemd[1]: Detected architecture arm. [ 2.282962] systemd[1]: Set hostname to . [ 2.322264] random: systemd: uninitialized urandom read (16 bytes read) [ 2.354001] random: systemd-cryptse: uninitialized urandom read (16 bytes read) [ 2.561575] usb 1-1.1.1: new high-speed USB device number 5 using dwc_otg [ 2.692055] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800 [ 2.692071] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2.746001] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 2.746929] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 2.747232] systemd[1]: Listening on udev Kernel Socket. [ 2.747602] systemd[1]: Listening on Journal Socket. [ 2.747883] systemd[1]: Listening on udev Control Socket. [ 2.748630] systemd[1]: Created slice User and Session Slice. [ 2.748883] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 2.792015] usb 1-1.1.3.1: new full-speed USB device number 6 using dwc_otg [ 2.868457] i2c /dev entries driver [ 2.956687] usb 1-1.1.3.1: New USB device found, idVendor=04d9, idProduct=1503 [ 2.956703] usb 1-1.1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.956712] usb 1-1.1.3.1: Product: USB Keyboard [ 2.956724] usb 1-1.1.3.1: Manufacturer: [ 2.975335] input: USB Keyboard as /devices/platform/soc/3f980000.usb/ usb1/1-1/1-1.1/1-1.1.3/1-1.1.3.1/1-1.1.3.1:1.0/0003:04D9:1503.0001/input/input0 [ 2.984219] libphy: lan78xx-mdiobus: probed [ 3.042631] hid-generic 0003:04D9:1503.0001: input,hidraw0: USB HID v1.10 Keyboard [ USB Keyboard] on usb-3f980000.usb-1.1.3.1/input0 [ 3.064656] input: USB Keyboard as /devices/platform/soc/3f980000.usb/ usb1/1-1/1-1.1/1-1.1.3/1-1.1.3.1/1-1.1.3.1:1.1/0003:04D9:1503.0002/input/input1 [ 3.131860] hid-generic 0003:04D9:1503.0002: input,hidraw1: USB HID v1.10 Device [ USB Keyboard] on usb-3f980000.usb-1.1.3.1/input1 [ 3.145453] input: USB Keyboard as /devices/platform/soc/3f980000.usb/ usb1/1-1/1-1.1/1-1.1.3/1-1.1.3.1/1-1.1.3.1:1.2/0003:04D9:1503.0003/input/input2 [ 3.145926] hid-generic 0003:04D9:1503.0003: input,hidraw2: USB HID v1.10 Mouse [ USB Keyboard] on usb-3f980000.usb-1.1.3.1/input2 [ 3.241557] usb 1-1.1.3.2: new low-speed USB device number 7 using dwc_otg [ 3.377806] usb 1-1.1.3.2: New USB device found, idVendor=045e, idProduct=0040 [ 3.377826] usb 1-1.1.3.2: New USB device strings: Mfr=1, Product=3, SerialNumber=0 [ 3.377835] usb 1-1.1.3.2: Product: Microsoft 3-Button Mouse with IntelliEye(TM) [ 3.377846] usb 1-1.1.3.2: Manufacturer: Microsoft [ 3.386546] input: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) as / devices/platform/soc/3f980000.usb/ usb1/1-1/1-1.1/1-1.1.3/1-1.1.3.2/1-1.1.3.2:1.0/0003:045E:0040.0004/input/input3 [ 3.387075] hid-generic 0003:045E:0040.0004: input,hidraw3: USB HID v1.10 Mouse [Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)] on usb-3f980000.usb-1.1.3.2/input0 [ 3.492636] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 3.581386] systemd-journald[89]: Received request to flush runtime journal from PID 1 [ 4.319016] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned. [ 4.332293] bcm2835_alsa bcm2835_alsa: card created with 8 channels [ 4.491846] brcmfmac: F1 signature read @0x18000000=0x15264345 [ 4.503010] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455- sdio.bin for chip 0x004345(17221) rev 0x000006 [ 4.503478] usbcore: registered new interface driver brcmfmac [ 4.740261] random: crng init done [ 4.740283] random: 7 urandom warning(s) missed due to ratelimiting [ 4.889754] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04 [ 4.891096] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09 18:56:28 [ 5.667200] uart-pl011 3f201000.serial: no DMA platform data [ 6.335045] lan78xx 1-1.1.1:1.0 eth0: kevent 4 may have been dropped [ 6.335326] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 6.354283] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 7.333331] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS [ 12.329668] Bluetooth: Core ver 2.22 [ 12.329723] NET: Registered protocol family 31 [ 12.329726] Bluetooth: HCI device and connection manager initialized [ 12.329742] Bluetooth: HCI socket layer initialized [ 12.329749] Bluetooth: L2CAP socket layer initialized [ 12.329770] Bluetooth: SCO socket layer initialized [ 12.344241] Bluetooth: HCI UART driver ver 2.3 [ 12.344250] Bluetooth: HCI UART protocol H4 registered [ 12.344252] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 12.344376] Bluetooth: HCI UART protocol Broadcom registered [ 12.641718] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 12.641728] Bluetooth: BNEP filters: protocol multicast [ 12.641745] Bluetooth: BNEP socket layer initialized [ 12.699251] Bluetooth: RFCOMM TTY layer initialized [ 12.699276] Bluetooth: RFCOMM socket layer initialized [ 12.699302] Bluetooth: RFCOMM ver 1.11 [ 13.087668] fuse init (API version 7.26) [ 151.552404] usb 1-1.1.3.2: USB disconnect, device number 7 [ 184.640869] usb 1-1.1.3.2: new low-speed USB device number 8 using dwc_otg [ 184.776787] usb 1-1.1.3.2: New USB device found, idVendor=045e, idProduct=0040 [ 184.776802] usb 1-1.1.3.2: New USB device strings: Mfr=1, Product=3, SerialNumber=0 [ 184.776811] usb 1-1.1.3.2: Product: Microsoft 3-Button Mouse with IntelliEye(TM) [ 184.776820] usb 1-1.1.3.2: Manufacturer: Microsoft [ 184.782959] input: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) as / devices/platform/soc/3f980000.usb/ usb1/1-1/1-1.1/1-1.1.3/1-1.1.3.2/1-1.1.3.2:1.0/0003:045E:0040.0005/input/input4 [ 184.788704] hid-generic 0003:045E:0040.0005: input,hidraw3: USB HID v1.10 Mouse [Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)] on usb-3f980000.usb-1.1.3.2/input0 [ 346.104160] usb 1-1.1.3.2: USB disconnect, device number 8 [ 396.992422] usb 1-1.1.3.2: new low-speed USB device number 9 using dwc_otg [ 397.128536] usb 1-1.1.3.2: New USB device found, idVendor=045e, idProduct=0040 [ 397.128552] usb 1-1.1.3.2: New USB device strings: Mfr=1, Product=3, SerialNumber=0 [ 397.128561] usb 1-1.1.3.2: Product: Microsoft 3-Button Mouse with IntelliEye(TM) [ 397.128569] usb 1-1.1.3.2: Manufacturer: Microsoft [ 397.141363] input: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) as / devices/platform/soc/3f980000.usb/ usb1/1-1/1-1.1/1-1.1.3/1-1.1.3.2/1-1.1.3.2:1.0/0003:045E:0040.0006/input/input5 [ 397.144206] hid-generic 0003:045E:0040.0006: input,hidraw3: USB HID v1.10 Mouse [Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)] on usb-3f980000.usb-1.1.3.2/input0 pi@raspberrypi:~ $
Reply to
T i m

From discussions elsewhere, the tuner chip isn't presented to the Pi in the same way as it would be if there was e.g. a PCI bus involved, it's just hooked to some GPIO pins, so the it won't be seen as a device like USB or ethernet.

Reply to
Andy Burns

"T i m" wrote in message news: snipped-for-privacy@4ax.com...

Does the HAT device show up as a device in /dev/dvb and are there diagnostic lines produced by "dmesg" which relate to the device?

My R Pi has a couple of USB DVB-T devices and I see:

/dev/dvb: total 0 drwxr-xr-x 2 root root 120 Oct 21 12:21 adapter0 drwxr-xr-x 2 root root 120 Oct 21 12:21 adapter1

/dev/dvb/adapter0: total 0 crw-rw----+ 1 root video 212, 4 Oct 21 12:21 demux0 crw-rw----+ 1 root video 212, 5 Oct 21 12:21 dvr0 crw-rw----+ 1 root video 212, 3 Oct 21 12:21 frontend0 crw-rw----+ 1 root video 212, 7 Oct 21 12:21 net0

/dev/dvb/adapter1: total 0 crw-rw----+ 1 root video 212, 68 Oct 21 12:21 demux0 crw-rw----+ 1 root video 212, 69 Oct 21 12:21 dvr0 crw-rw----+ 1 root video 212, 67 Oct 21 12:21 frontend0 crw-rw----+ 1 root video 212, 71 Oct 21 12:21 net0

and (for devices PCTV 292e and Hauppauge Nova T-stick)

... [ 5.349387] em28xx 1-1.2:1.0: New device PCTV PCTV 292e @ 480 Mbps (2013:025f, interface 0, class 0) [ 5.349404] em28xx 1-1.2:1.0: DVB interface 0 found: isoc [ 5.350115] em28xx 1-1.2:1.0: chip ID is em28178 [ 5.462567] dvb-usb: found a 'Hauppauge Nova-T Stick' in cold state, will try to load a firmware [ 5.462706] random: crng init done [ 5.462720] random: 7 urandom warning(s) missed due to ratelimiting [ 5.469714] dvb-usb: downloading firmware from file 'dvb-usb-dib0700-1.20.fw' [ 5.568004] dib0700: firmware started successfully. [ 5.707651] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb

27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04 [ 5.708246] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09 18:56:28 [ 6.081786] dvb-usb: found a 'Hauppauge Nova-T Stick' in warm state. [ 6.082231] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 6.082368] dvbdev: DVB: registering new adapter (Hauppauge Nova-T Stick) [ 6.389507] usb 1-1.1.3: DVB: registering adapter 0 frontend 0 (DiBcom 7000PC)... [ 6.657522] dib0070: DiB0070: successfully identified [ 6.657606] Registered IR keymap rc-dib0700-rc5 [ 6.677753] rc rc0: IR-receiver inside an USB DVB receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.3/rc/rc0 [ 6.687061] input: IR-receiver inside an USB DVB receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.3/rc/rc0/input0 [ 6.687112] dvb-usb: schedule remote query interval to 50 msecs. [ 6.687132] dvb-usb: Hauppauge Nova-T Stick successfully initialized and connected. [ 6.701473] usbcore: registered new interface driver dvb_usb_dib0700 [ 6.858055] uart-pl011 3f201000.serial: no DMA platform data [ 7.421007] em28xx 1-1.2:1.0: EEPROM ID = 26 00 01 00, EEPROM hash = 0xc013f904 [ 7.421023] em28xx 1-1.2:1.0: EEPROM info: [ 7.421033] em28xx 1-1.2:1.0: microcode start address = 0x0004, boot configuration = 0x01 [ 7.429936] em28xx 1-1.2:1.0: AC97 audio (5 sample rates) [ 7.429953] em28xx 1-1.2:1.0: 500mA max power [ 7.429978] em28xx 1-1.2:1.0: Table at offset 0x27, strings=0x146a, 0x1888, 0x0a7e [ 7.430482] em28xx 1-1.2:1.0: Identified as PCTV tripleStick (292e) (card=94) [ 7.430496] em28xx 1-1.2:1.0: dvb set to isoc mode. [ 7.434584] usbcore: registered new interface driver em28xx [ 7.457984] em28xx 1-1.2:1.0: Binding DVB extension [ 7.558124] i2c i2c-10: Added multiplexed i2c bus 11 [ 7.558147] si2168 10-0064: Silicon Labs Si2168-B40 successfully identified [ 7.558156] si2168 10-0064: firmware version: B 4.0.2 [ 7.582064] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS [ 7.606117] si2157 11-0060: Silicon Labs Si2147/2148/2157/2158 successfully attached [ 7.606245] dvbdev: DVB: registering new adapter (1-1.2:1.0) [ 7.606262] em28xx 1-1.2:1.0: DVB: registering adapter 1 frontend 0 (Silicon Labs Si2168)... [ 7.607945] em28xx 1-1.2:1.0: DVB extension successfully initialized [ 7.607962] em28xx: Registered (Em28xx dvb Extension) extension [ 7.682613] em28xx 1-1.2:1.0: Registering input extension [ 7.683161] Registered IR keymap rc-pinnacle-pctv-hd [ 7.683684] rc rc1: 1-1.2:1.0 IR as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/rc/rc1 [ 7.683898] input: 1-1.2:1.0 IR as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/rc/rc1/input1 [ 7.684236] em28xx 1-1.2:1.0: Input extension successfully initialized [ 7.684245] em28xx: Registered (Em28xx Input Extension) extension [ 8.663982] lan78xx 1-1.1.1:1.0 eth0: kevent 4 may have been dropped [ 8.664165] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 8.683171] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 10.163119] si2168 10-0064: downloading firmware from file 'dvb-demod-si2168-b40-01.fw' [ 10.442320] si2168 10-0064: firmware version: B 4.0.11 [ 10.447357] si2157 11-0060: found a 'Silicon Labs Si2157-A30' [ 10.495863] si2157 11-0060: firmware version: 3.0.5 [ 10.495907] em28xx 1-1.2:1.0: DVB: adapter 1 frontend 0 frequency 0 out of range (42000000..870000000) [ 10.555471] usb 1-1.1.3: DVB: adapter 0 frontend 0 frequency 0 out of range (45000000..860000000) [ 12.481046] warning: process `colord-sane' used the deprecated sysctl system call with 8.1.2.

I'd expect the HAT to show up similarly.

Reply to
NY

So I understand Andy (Theo sneaked that info in earlier), but apparently there are ways of checking to 'see' the module but not that I have managed to get working yet.

Theo mentioned 'eepromutils' and I've since found, downloaded, un archived and attempted to install / use it but as is often the case with such Linuxy things, the readme assumes more knowledge than I have.

formatting link

'Make' seemed to do something, not sure what to do with the 'makefile' instruction (if that was what it was, from memory). It may have worked (something happened) and I simply don't know how to launch the program? Also, I was concerned I might do some damage to any PROM. ;-(

There was also suggestion of editing some config files but whilst I found the files and checked / edited / added the suggested text, I didn't have sufficient rights to be able to save those changes. Again, I'm guessing I need to launch the editor (or filemanager) as sudo but wasn't sure what the FM was called and didn't get as far as finding the name of the text editor (so I could launch it from the CLI with sudo)?

On a more practical note, I'm not sure if the issue is an electro - mechanical one as I'm not sure of the contact between the (supplied) Pi header extender and the socket on the DTV hat is particularly good. The 'socket' is on the top of the hat so the pins of the header extender have to pass though the hat PCB to make connection and they only just do so (you only feel resistance to the insertion over the last .5mm or so)?

Cheers, T i m

p.s. Do you happen to know when the std DTV / Freeview switchoff might happen as this experiment was partly to see DTV-T2 and the eventual replacement of our Toppy boxes?

Reply to
T i m

Normally (on a PC rather than SoC) tuner chips are tied into I2C ports on the PCI bus, I've built and tweaked various V4L drivers over the years.

Is there a special driver for the tuner which understands it's "behind" the GPIO pins, e.g. rpi-cxd2880.kz that you can modprobe?

normally you'd run 'make' but it's likely you're expected to cross-compile it on a PC, rather then on the Pi itself which would be rather slow.

The pressure will occur when the 700MHz bands are sold off (for 5G phones or whatever) the transmitters have been re-shuffling for the last year, and will continue next year, it's possible that COM7/COM8 will be allowed to live-on in the duplex gap between mobile RX and TX, or whoever buys the spetrum may have other ideas, and then I suspect arquiva would have to consider moving all (or maybe all bar one) muxes to DVB-T2 to maximize which channels could continue broadcasting

Reply to
Andy Burns

I doubt it would show, but lsdvb ought to (you might need to install dvb-apps or whatever package debian/raspbian calls it).

I know you said you updated the O/S, are you sure that went ok? presume only the very latest will include the tuner driver.

Reply to
Andy Burns

Did you see:

formatting link

Reply to
John Rumm

The editor "nano" is usually setup and ready to go on the pi.

So

nano filename

or

sudo nano filename

etc.

Reply to
John Rumm

There is also the "Text Editor" (as described in (Raspberry button) | Accessories) which is also known as Leafpad. Leafpad is more like Notepad on Windows: it supports click-and-drag to select parts of lines so they can be copied (Ctrl-C), cut (Ctrl-V) or pasted (Ctrl-V), as for Windows. Nano is a bit more clunky and it probably a skinned version of vi, the standard Unix editor.

The file manager is also in (Raspberry button) | Accessories, though I think as standard there's also a shortcut to it on the taskbar next to the Raspberry button.

Depending on the edits that you need to make, it *may* be easier to copy a protected file to your own home directory, edit it with Leafpad and then use "sudo cp" to copy it back over the top of the original file, rather than mastering nano.

Reply to
NY

Hi John and yes (thanks), that was the walk through that 1) gave me the confidence to but the Hat in the first place and 2) followed (to the letter) to try to set it up (and I've fired off a question to The Pi Hut where I got it from etc).

TBH, I haven't actually tried it near an aerial because at no point has the tuner showed itself ... and the wizard channel scan runs instantly ... so I assumed I would be wasting my time (but I still might). ;-(

Cheers, T i m

Reply to
T i m

I'm assuming there must be because I followed their tutorial (that looked like the Linux stuff shouldn't be an issue, even for me) but it just didn't work (as their tutorial suggested).

Everything, other than the tuner hat showing itself ... works, even the remote access (LAN).

I don't care about slow as long as it (eventually) works Andy. ;-)

Thanks ... so it's all happening but no deadlines as such?

Cheers, T i m

Reply to
T i m

Yeah, I am lightly familiar with nano but I don't prefer it over a basic notepad like text editor (as supplied with Rasbaian). It was also late, I was frustrated that it didn't 'just work' n the first place etc ... ;-(

But you first have to navigate to the relevant folders or include the path in the cli?

I would 'like' to be able to right click on a folder and open it as sudo (and therefore do what I like in there, as I have / can with Ubuntu / Mint) or run the Text editor from the menu as sudo and just do what I want when I've navigated to the file via the GUI.

I appreciate it's only a RPi (that's actually as fast as this old XP Mac Mini ) but it is 2018 after all! ;-)

Cheers, T i m

Reply to
T i m

Ah, so, had I issued 'sudo leafpad' I could have started it with decent rights and then navigated to the files using the GUI?

Yes, but I couldn't find the name of it in any 'About' etc to know how to launch it from the CLI as sudo? ;-(

Whilst I get the kludge and have used similar from the GUI, I am much pore likely to succeed / be productive / finish the job if I can do it all from the GUI. Ok, I might 'sudo apt-get install program' from the CLI rather than bothering to launch the package manager or install / run synaptic etc but that's about it (out of choice). ;-)

Cheers, T i m

Reply to
T i m

On Mon, 22 Oct 2018 09:05:45 +0100, NY wrote:

pi@raspberrypi:~ $ > ls -lR /dev/dvb bash: -lR: command not found

pi@raspberrypi:~ $ dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.71-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1145 SMP Fri Sep 21 15:38:35 BST 2018 [ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Plus Rev 1.3 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 8 MiB at 0x3ac00000 [ 0.000000] On node 0 totalpages: 242688 [ 0.000000] free_area_init_node: node 0, pgdat 80c85280, node_mem_map ba39f000 [ 0.000000] Normal zone: 2133 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 242688 pages, LIFO batch:31 [ 0.000000] percpu: Embedded 17 pages/cpu @ba348000 s38720 r8192 d22720 u69632 [ 0.000000] pcpu-alloc: s38720 r8192 d22720 u69632 alloc=17*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 240555 [ 0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1024 bcm2708_fb.fbheight=768 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=d69ebd8b-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 940232K/970752K available (7168K kernel code, 576K rwdata, 2076K rodata, 1024K init, 698K bss, 22328K reserved, 8192K cma-reserved) [ 0.000000] Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xbb800000 - 0xff800000 (1088 MB) lowmem : 0x80000000 - 0xbb400000 ( 948 MB) modules : 0x7f000000 - 0x80000000 ( 16 MB) .text : 0x80008000 - 0x80800000 (8160 kB) .init : 0x80b00000 - 0x80c00000 (1024 kB) .data : 0x80c00000 - 0x80c9017c ( 577 kB) .bss : 0x80c97f10 - 0x80d468b0 ( 699 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 25273 entries in 75 pages [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles:

0x46d987e47, max_idle_ns: 440795202767 ns [ 0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns [ 0.000018] Switching to timer-based delay loop, resolution 52ns [ 0.000267] Console: colour dummy device 80x30 [ 0.000285] console [tty1] enabled [ 0.000309] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000) [ 0.000324] pid_max: default: 32768 minimum: 301 [ 0.000637] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000652] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001588] Disabling memory control group subsystem [ 0.001662] CPU: Testing write buffer coherency: ok [ 0.002074] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.002480] Setting up static identity map for 0x100000 - 0x10003c [ 0.002603] Hierarchical SRCU implementation. [ 0.003282] smp: Bringing up secondary CPUs ... [ 0.004064] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.004912] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.005742] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.005847] smp: Brought up 1 node, 4 CPUs [ 0.005858] SMP: Total of 4 processors activated (153.60 BogoMIPS). [ 0.005864] CPU: All CPU(s) started in HYP mode. [ 0.005868] CPU: Virtualization extensions available. [ 0.006747] devtmpfs: initialized [ 0.017163] random: get_random_u32 called from bucket_table_alloc+0xfc/0x24c with crng_init=0 [ 0.017933] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4 [ 0.018155] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.018173] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.018726] pinctrl core: initialized pinctrl subsystem [ 0.019469] NET: Registered protocol family 16 [ 0.022218] DMA: preallocated 1024 KiB pool for atomic coherent allocations [ 0.027179] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.027186] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.027390] Serial: AMBA PL011 UART driver [ 0.029057] bcm2835-mbox 3f00b880.mailbox: mailbox enabled [ 0.029517] uart-pl011 3f201000.serial: could not find pctldev for node /soc/ gpio@7e200000/uart0_pins, deferring probe [ 0.061383] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb813000, dmachans=0x1 [ 0.062802] SCSI subsystem initialized [ 0.063029] usbcore: registered new interface driver usbfs [ 0.063081] usbcore: registered new interface driver hub [ 0.063165] usbcore: registered new device driver usb [ 0.070088] raspberrypi-firmware soc:firmware: Attached to firmware from 2018-09-21 15:43 [ 0.071503] clocksource: Switched to clocksource arch_sys_counter [ 0.148652] VFS: Disk quotas dquot_6.6.0 [ 0.148732] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.148917] FS-Cache: Loaded [ 0.149102] CacheFiles: Loaded [ 0.157109] NET: Registered protocol family 2 [ 0.157828] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.157938] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.158123] TCP: Hash tables configured (established 8192 bind 8192) [ 0.158250] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.158295] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.158518] NET: Registered protocol family 1 [ 0.158985] RPC: Registered named UNIX socket transport module. [ 0.158990] RPC: Registered udp transport module. [ 0.158996] RPC: Registered tcp transport module. [ 0.159001] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.160674] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available [ 0.163464] workingset: timestamp_bits=14 max_order=18 bucket_order=4 [ 0.171663] FS-Cache: Netfs 'nfs' registered for caching [ 0.172270] NFS: Registering the id_resolver key type [ 0.172302] Key type id_resolver registered [ 0.172308] Key type id_legacy registered [ 0.172323] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.174256] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 0.174389] io scheduler noop registered [ 0.174395] io scheduler deadline registered (default) [ 0.174672] io scheduler cfq registered [ 0.174679] io scheduler mq-deadline registered [ 0.174685] io scheduler kyber registered [ 0.176979] BCM2708FB: allocated DMA memory fad00000 [ 0.177005] BCM2708FB: allocated DMA channel 0 @ bb813000 [ 0.199300] Console: switching to colour frame buffer device 128x48 [ 0.213267] bcm2835-rng 3f104000.rng: hwrng registered [ 0.213392] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB) [ 0.213842] vc-sm: Videocore shared memory driver [ 0.214115] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000 [ 0.223825] brd: module loaded [ 0.232629] loop: module loaded [ 0.232642] Loading iSCSI transport class v2.0-870. [ 0.233316] libphy: Fixed MDIO Bus: probed [ 0.233413] usbcore: registered new interface driver lan78xx [ 0.233466] usbcore: registered new interface driver smsc95xx [ 0.233482] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) [ 0.261867] dwc_otg 3f980000.usb: base=0xf0980000 [ 0.401500] NOHZ: local_softirq_pending 80 [ 0.421499] NOHZ: local_softirq_pending 80 [ 0.441499] NOHZ: local_softirq_pending 80 [ 0.461499] NOHZ: local_softirq_pending 80 [ 0.462098] Core Release: 2.80a [ 0.462107] Setting default values for core params [ 0.462138] Finished setting default values for core params [ 0.662386] Using Buffer DMA mode [ 0.662392] Periodic Transfer Interrupt Enhancement - disabled [ 0.662397] Multiprocessor Interrupt Enhancement - disabled [ 0.662403] OTG VER PARAM: 0, OTG VER FLAG: 0 [ 0.662415] Dedicated Tx FIFOs mode [ 0.662753] WARN::dwc_otg_hcd_init:1046: FIQ DMA bounce buffers: virt = 0xbad14000 dma = 0xfad14000 len=9024 [ 0.662777] FIQ FSM acceleration enabled for : Non-periodic Split Transactions Periodic Split Transactions High-Speed Isochronous Endpoints Interrupt/Control Split Transaction hack enabled [ 0.662784] dwc_otg: Microframe scheduler enabled [ 0.662838] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x805e9c5c [ 0.662849] WARN::hcd_init_fiq:460: FIQ ASM at 0x805e9fc4 length 36 [ 0.662861] WARN::hcd_init_fiq:486: MPHI regs_base at 0xf0006000 [ 0.662914] dwc_otg 3f980000.usb: DWC OTG Controller [ 0.662946] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1 [ 0.662976] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000 [ 0.663024] Init: Port Power? op_state=1 [ 0.663028] Init: Power Port (0) [ 0.663233] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.663244] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.663252] usb usb1: Product: DWC OTG Controller [ 0.663261] usb usb1: Manufacturer: Linux 4.14.71-v7+ dwc_otg_hcd [ 0.663269] usb usb1: SerialNumber: 3f980000.usb [ 0.663880] hub 1-0:1.0: USB hub found [ 0.663920] hub 1-0:1.0: 1 port detected [ 0.664451] dwc_otg: FIQ enabled [ 0.664456] dwc_otg: NAK holdoff enabled [ 0.664461] dwc_otg: FIQ split-transaction FSM enabled [ 0.664471] Module dwc_common_port init [ 0.664721] usbcore: registered new interface driver usb-storage [ 0.664888] mousedev: PS/2 mouse device common for all mice [ 0.664959] IR NEC protocol handler initialized [ 0.664964] IR RC5(x/sz) protocol handler initialized [ 0.664969] IR RC6 protocol handler initialized [ 0.664974] IR JVC protocol handler initialized [ 0.664980] IR Sony protocol handler initialized [ 0.664985] IR SANYO protocol handler initialized [ 0.664990] IR Sharp protocol handler initialized [ 0.664995] IR MCE Keyboard/mouse protocol handler initialized [ 0.665001] IR XMP protocol handler initialized [ 0.665663] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer [ 0.665914] bcm2835-cpufreq: min=600000 max=1400000 [ 0.666256] sdhci: Secure Digital Host Controller Interface driver [ 0.666260] sdhci: Copyright(c) Pierre Ossman [ 0.666605] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe [ 0.666922] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe [ 0.667010] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.668430] ledtrig-cpu: registered to indicate activity on CPUs [ 0.668574] hidraw: raw HID events driver (C) Jiri Kosina [ 0.668725] usbcore: registered new interface driver usbhid [ 0.668729] usbhid: USB HID core driver [ 0.669327] vchiq: vchiq_init_state: slot_zero = bad80000, is_master = 0 [ 0.670742] [vc_sm_connected_init]: start [ 0.679657] [vc_sm_connected_init]: end - returning 0 [ 0.680231] Initializing XFRM netlink socket [ 0.680255] NET: Registered protocol family 17 [ 0.680347] Key type dns_resolver registered [ 0.680886] Registering SWP/SWPB emulation handler [ 0.681464] registered taskstats version 1 [ 0.687382] uart-pl011 3f201000.serial: cts_event_workaround enabled [ 0.687452] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2 [ 0.689315] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0 [ 0.689325] mmc-bcm2835 3f300000.mmc: DMA channel allocated [ 0.742127] sdhost: log_buf @ bad13000 (fad13000) [ 0.775739] mmc1: queuing unknown CIS tuple 0x80 (2 bytes) [ 0.777309] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 0.778879] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 0.781705] mmc1: queuing unknown CIS tuple 0x80 (7 bytes) [ 0.821523] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1) [ 0.822569] of_cfs_init [ 0.822654] of_cfs_init: OK [ 0.823219] Waiting for root device PARTUUID=d69ebd8b-02... [ 0.858102] random: fast init done [ 0.866937] mmc1: new high speed SDIO card at address 0001 [ 0.881703] Indeed it is in host mode hprt0 = 00021501 [ 0.981725] mmc0: host does not support reading read-only switch, assuming write- enable [ 0.985888] mmc0: new high speed SDXC card at address aaaa [ 0.986369] mmcblk0: mmc0:aaaa SB64G 59.5 GiB [ 0.988774] mmcblk0: p1 p2 [ 1.016559] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem [ 1.016568] EXT4-fs (mmcblk0p2): write access will be enabled during recovery [ 1.042515] NOHZ: local_softirq_pending 40 [ 1.048884] NOHZ: local_softirq_pending 40 [ 1.091583] usb 1-1: new high-speed USB device number 2 using dwc_otg [ 1.091702] Indeed it is in host mode hprt0 = 00001101 [ 1.195817] EXT4-fs (mmcblk0p2): recovery complete [ 1.197525] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 1.197583] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 1.199088] devtmpfs: mounted [ 1.202086] Freeing unused kernel memory: 1024K [ 1.217421] NOHZ: local_softirq_pending 40 [ 1.219404] NOHZ: local_softirq_pending 40 [ 1.226904] NOHZ: local_softirq_pending 40 [ 1.238784] NOHZ: local_softirq_pending 40 [ 1.331830] usb 1-1: New USB device found, idVendor=0424, idProduct=2514 [ 1.331845] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 1.332497] hub 1-1:1.0: USB hub found [ 1.332592] hub 1-1:1.0: 4 ports detected [ 1.581099] systemd[1]: System time before build time, advancing clock. [ 1.661546] usb 1-1.1: new high-speed USB device number 3 using dwc_otg [ 1.697346] NET: Registered protocol family 10 [ 1.698404] Segment Routing with IPv6 [ 1.709209] ip_tables: (C) 2000-2006 Netfilter Core Team [ 1.726278] random: systemd: uninitialized urandom read (16 bytes read) [ 1.731363] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN) [ 1.732009] systemd[1]: Detected architecture arm. [ 1.732919] systemd[1]: Set hostname to . [ 1.772494] random: systemd: uninitialized urandom read (16 bytes read) [ 1.792067] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514 [ 1.792088] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 1.792873] hub 1-1.1:1.0: USB hub found [ 1.792993] hub 1-1.1:1.0: 3 ports detected [ 1.801223] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read) [ 2.111592] usb 1-1.1.3: new full-speed USB device number 4 using dwc_otg [ 2.189707] systemd[1]: Listening on Journal Socket. [ 2.190130] systemd[1]: Reached target Swap. [ 2.190328] systemd[1]: Listening on fsck to fsckd communication Socket. [ 2.191075] systemd[1]: Created slice User and Session Slice. [ 2.191298] systemd[1]: Listening on udev Kernel Socket. [ 2.191687] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 2.192251] systemd[1]: Created slice System Slice. [ 2.253584] usb 1-1.1.3: New USB device found, idVendor=0557, idProduct=8021 [ 2.253599] usb 1-1.1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2.254609] hub 1-1.1.3:1.0: USB hub found [ 2.255188] hub 1-1.1.3:1.0: 4 ports detected [ 2.365320] i2c /dev entries driver [ 2.551627] usb 1-1.1.1: new high-speed USB device number 5 using dwc_otg [ 2.682024] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800 [ 2.682064] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2.782071] usb 1-1.1.3.1: new full-speed USB device number 6 using dwc_otg [ 2.904955] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 2.947217] usb 1-1.1.3.1: New USB device found, idVendor=04d9, idProduct=1503 [ 2.947235] usb 1-1.1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.947244] usb 1-1.1.3.1: Product: USB Keyboard [ 2.947253] usb 1-1.1.3.1: Manufacturer: [ 2.974014] input: USB Keyboard as /devices/platform/soc/3f980000.usb/ usb1/1-1/1-1.1/1-1.1.3/1-1.1.3.1/1-1.1.3.1:1.0/0003:04D9:1503.0001/input/input0 [ 2.976420] libphy: lan78xx-mdiobus: probed [ 2.996016] systemd-journald[101]: Received request to flush runtime journal from PID 1 [ 3.042828] hid-generic 0003:04D9:1503.0001: input,hidraw0: USB HID v1.10 Keyboard [ USB Keyboard] on usb-3f980000.usb-1.1.3.1/input0 [ 3.064920] input: USB Keyboard as /devices/platform/soc/3f980000.usb/ usb1/1-1/1-1.1/1-1.1.3/1-1.1.3.1/1-1.1.3.1:1.1/0003:04D9:1503.0002/input/input1 [ 3.132092] hid-generic 0003:04D9:1503.0002: input,hidraw1: USB HID v1.10 Device [ USB Keyboard] on usb-3f980000.usb-1.1.3.1/input1 [ 3.145663] input: USB Keyboard as /devices/platform/soc/3f980000.usb/ usb1/1-1/1-1.1/1-1.1.3/1-1.1.3.1/1-1.1.3.1:1.2/0003:04D9:1503.0003/input/input2 [ 3.146135] hid-generic 0003:04D9:1503.0003: input,hidraw2: USB HID v1.10 Mouse [ USB Keyboard] on usb-3f980000.usb-1.1.3.1/input2 [ 3.241583] usb 1-1.1.3.2: new low-speed USB device number 7 using dwc_otg [ 3.377862] usb 1-1.1.3.2: New USB device found, idVendor=045e, idProduct=0040 [ 3.377880] usb 1-1.1.3.2: New USB device strings: Mfr=1, Product=3, SerialNumber=0 [ 3.377889] usb 1-1.1.3.2: Product: Microsoft 3-Button Mouse with IntelliEye(TM) [ 3.377900] usb 1-1.1.3.2: Manufacturer: Microsoft [ 3.382964] input: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) as / devices/platform/soc/3f980000.usb/ usb1/1-1/1-1.1/1-1.1.3/1-1.1.3.2/1-1.1.3.2:1.0/0003:045E:0040.0004/input/input3 [ 3.383558] hid-generic 0003:045E:0040.0004: input,hidraw3: USB HID v1.10 Mouse [Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)] on usb-3f980000.usb-1.1.3.2/input0 [ 3.765271] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned. [ 3.773683] bcm2835_alsa bcm2835_alsa: card created with 8 channels [ 3.921744] brcmfmac: F1 signature read @0x18000000=0x15264345 [ 3.932211] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455- sdio.bin for chip 0x004345(17221) rev 0x000006 [ 3.932632] usbcore: registered new interface driver brcmfmac [ 4.185211] random: crng init done [ 4.185226] random: 7 urandom warning(s) missed due to ratelimiting [ 4.253643] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04 [ 4.257708] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09 18:56:28 [ 5.015272] uart-pl011 3f201000.serial: no DMA platform data [ 5.849448] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 6.128521] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 6.852451] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS [ 11.630437] Bluetooth: Core ver 2.22 [ 11.630492] NET: Registered protocol family 31 [ 11.630495] Bluetooth: HCI device and connection manager initialized [ 11.630509] Bluetooth: HCI socket layer initialized [ 11.630515] Bluetooth: L2CAP socket layer initialized [ 11.630532] Bluetooth: SCO socket layer initialized [ 11.649853] Bluetooth: HCI UART driver ver 2.3 [ 11.649861] Bluetooth: HCI UART protocol H4 registered [ 11.649866] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 11.649990] Bluetooth: HCI UART protocol Broadcom registered [ 11.895208] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 11.895217] Bluetooth: BNEP filters: protocol multicast [ 11.895236] Bluetooth: BNEP socket layer initialized [ 11.979407] Bluetooth: RFCOMM TTY layer initialized [ 11.979435] Bluetooth: RFCOMM socket layer initialized [ 11.979450] Bluetooth: RFCOMM ver 1.11 [ 12.621738] fuse init (API version 7.26) pi@raspberrypi:~ $

I did post similar elsewhere but there it is agan in case it's different? Nope, I can't spot anything like yours in mine? ;-(

Given the Pi is quite new, the DTV hat brand new, it was a fresh install on a 64GB 10x uSD and I had followed the walkthrough to the letter, I thought it was either faulty hardware (not impossible with a new product) or something was 'different' between the lasted version of Rasbian and whatever version they used / tested and wrote the walkthrough around. I recently had an issue (high CPU on a Dell laptop) which was down to a bug in the new kernel I just happened to get in the (latest) version I installed. ;-(

Cheers, T i m

Reply to
T i m

On Mon, 22 Oct 2018 09:49:05 +0100, Andy Burns wrote:

I think that's installed Andy:

"Applications and utilities geared towards the initial setup, testing and operation of an DVB device supporting the DVB-S, DVB-C, DVB-T, and ATSC standards. Main User Applications: . scan - Scan for channels on your digital TV device . dvbscan - Another frequency scanning tool . czap, szap, tzap - Tuning utilities for DVB-C, DVB-S, DVB-T . azap - Tuning utility for ATSC . gnutv - Tune, watch and stream your TV General Utilities: . dvbdate - Set your clock from digital TV . dvbnet - Control digital data network interfaces . dvbtraffic - Monitor traffic on a digital device . femon - Monitor the tuning on a digital TV device . zap - Just tunes a digital device . atsc_epg - Display ATSC Electronic Program Guide (next programs) . alevt - Teletext browser Hardware Specific Utilities: . util/av7110loadkeys - Load remote keys into an av7110 based card . util/dib3000-watch - Monitor DIB3000 demodulators . util/ dst-utils - Utilities for DST based cards . util/ttusbdec_reset - Reset a TechnoTrends TTUSB DEC device Libraries: . lib/libdvbapi - Interface library to digital TV devices . lib/libdvbcfg - Library to parse/create digital TV channel . lib/libdvbsec - Library for Satellite Equipment Control operations . lib/libucsi - Fast MPEG2 Transport Stream SI table parsing library . lib/libdvben50221- Implementation of a Cenelec EN 50221 CAM stack . lib/libdvbmisc - Miscellaneous utilities used by the other libraries"

Well, initially I used a fairly recent Rasbian install which I updated (as per the walkthrough) prior to installing tvheadend but also prior to getting the Hat. So I managed to purge tvheadend and re-install / configure but still it wouldn't see the tuner.

Then I started wth a fresh Rasbian download, image, boot and FS resize and it applies the update at that time. I also ran the update from the CLI, as per the walkthrough and it said there was little to do (probably updates to the updates etc).

This was just now:

pi@raspberrypi:~ $ sudo apt-get update Hit:1

formatting link
stretch InRelease Hit:2
formatting link
stretch InRelease Reading package lists... Done pi@raspberrypi:~ $ pi@raspberrypi:~ $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. pi@raspberrypi:~ $

Well, you couldn't have got much fresher ... unless they have dropped support for it again. ;-(

Cheers, T i m

Reply to
T i m

but no lsdvb available?

your earlier log showed kernel version 4.14.71 which seems right, but no mention of the TV hat in the release notes, and no mention of CXDnnnn tuner or other V4L drivers in your log.

I tried to install a new raspbian, so I cold see what modules might exist, but on this laptop that now involves a stack of adapters from USB3typeC->USB2->SDcard->TFcard and Etcher wasn't very impressed.

Reply to
Andy Burns

Yup... its fairly standard stuff, but its there on any version - even if running without the GUI. (I quite often use Pis in applications where there is no need for the GUI)

Much like dropping to root in the CLI...

Something else you may want to consider for this application are the range of HDHomerun network aware tuners from silicon dust. They are probably no more expensive than the pi + HAT, but "just work" out of the box and can talk to most software platforms... They have 2 and 4 tuner versions for DVBT/T2 and DVBS

formatting link

(ideally you still DIY your own recording setup in Kodi or plex or similar)

Reply to
John Rumm

Sorry, forgot to answer ..

pi@raspberrypi:~ $ lsdvb

lsdvb: Simple utility to list PCI/PCIe DVB devices Version: 0.0.4 Copyright (C) Manu Abraham ERROR: Opening /sys/class/dvb directory

Oh? (and thanks for looking). ;-(

Hehe (and thanks again).

I'm happy to try anything that might get me closer to a working machine (or reason why it isn't) so please keep asking. ;-)

Cheers, T i m

Reply to
T i m

HomeOwnersHub website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.