dahdi-tools icon indicating copy to clipboard operation
dahdi-tools copied to clipboard

dahdi_genconf: spantype: No such file or directory

Open Turbid opened this issue 2 years ago • 11 comments

# dahdi_genconf -vvvv
Default parameters from /etc/dahdi/genconf_parameters
Generating /etc/dahdi/assigned-spans.conf
cut: '/sys/bus/dahdi_devices/devices/pci:0000:1b:08.0/spantype': No such file or directory
Generating /etc/dahdi/system.conf
Generating /etc/asterisk/dahdi-channels.conf
# ls -1 /sys/bus/dahdi_devices/devices/pci:0000:1b:08.0/
assign_span
auto_assign
dahdi_registration_time
dahdi_spantype
hardware_id
location
manufacturer
power
span-1
span-2
span-3
span-4
span-5
span-6
span-7
span-8
span_count
subsystem
type
uevent
unassign_span
#
# dahdi_hardware 
pci:0000:1b:08.0     wct4xxp+     d161:1820 Wildcard TE820 (5th Gen)

DAHDI: dahdi-linux-complete-3.2.0+3.2.0 OS: Debian 11 Bullseye Kernel: 5.10.0-19-amd64

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935582 https://salsa.debian.org/pkg-voip-team/dahdi-tools/-/blob/master/debian/patches/dahdi_spantypes.patch

https://issues.asterisk.org/jira/browse/DAHTOOL-82

Turbid avatar Nov 17 '22 09:11 Turbid