Если увеличить это число - адресов будет больше.
Отредактировать маску.
$date1 = new DateTime("23:55");
$date2 = new DateTime("01:22");
$interval = $date1->diff($date2);
$result = (new DateTime($interval->format("%H:%I")))->diff(new DateTime("23:59"));
echo $result->format("%H"), ":", intval($result->format("%I")) + 1;
chown -R root:root /dev/dvb
chmod -R 600 /dev/dvb
root@astra:~# udevadm info -a -n /dev/dvb
device node not found
root@astra:~# udevadm info -a -n /dev/dvb/adapter0
device node not found
root@astra:~# udevadm info -a -n /dev/dvb/adapter0/demux0
Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:01.0/0000:01:00.0/dvb/dvb0.demux0':
KERNEL=="dvb0.demux0"
SUBSYSTEM=="dvb"
DRIVER==""
looking at parent device '/devices/pci0000:00/0000:00:01.0/0000:01:00.0':
KERNELS=="0000:01:00.0"
SUBSYSTEMS=="pci"
DRIVERS=="SAA716x TBS"
ATTRS{irq}=="16"
ATTRS{subsystem_vendor}=="0x6985"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x048000"
ATTRS{driver_override}=="(null)"
ATTRS{consistent_dma_mask_bits}=="64"
ATTRS{dma_mask_bits}=="64"
ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003"
ATTRS{device}=="0x7160"
ATTRS{enable}=="1"
ATTRS{msi_bus}==""
ATTRS{local_cpulist}=="0-1"
ATTRS{vendor}=="0x1131"
ATTRS{subsystem_device}=="0x0002"
ATTRS{numa_node}=="-1"
ATTRS{d3cold_allowed}=="1"
looking at parent device '/devices/pci0000:00/0000:00:01.0':
KERNELS=="0000:00:01.0"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
ATTRS{irq}=="40"
ATTRS{subsystem_vendor}=="0x1462"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x060400"
ATTRS{driver_override}=="(null)"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{dma_mask_bits}=="32"
ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003"
ATTRS{device}=="0x0151"
ATTRS{enable}=="1"
ATTRS{msi_bus}=="1"
ATTRS{local_cpulist}=="0-1"
ATTRS{vendor}=="0x8086"
ATTRS{subsystem_device}=="0x7751"
ATTRS{numa_node}=="-1"
ATTRS{d3cold_allowed}=="0"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
SUBSYSTEM=="dvb", GROUP="video"