Ztdummy won't load

I’m using Slackware 10.2 with a stock kernel, which I’m pretty sure has usb compiled as a module and Asterisk 1.2.6. I’m trying to get ztdummy to load.

lsmod shows
uhci 24284 0 (unused)
usbcore 59148 1 [uhci]

cat /proc/interrupts shows
0: 1859480 XT-PIC timer
1: 3 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 843656 XT-PIC eth1
7: 0 XT-PIC usb-uhci
8: 1 XT-PIC rtc
10: 1752085 XT-PIC eth0
11: 12290 XT-PIC YMFPCI
12: 0 XT-PIC PS/2 Mouse
14: 42470 XT-PIC ide0

but if I try modprobe ztdummy, I get:

/lib/modules/2.4.31/kernel/drivers/usb/host/usb-uhci.o.gz: init_module: No such device
/lib/modules/2.4.31/kernel/drivers/usb/host/usb-uhci.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.31/kernel/drivers/usb/host/usb-uhci.o.gz: insmod /lib/modules/2.4.31/kernel/drivers/usb/host/usb-uhci.o.gz failed
/lib/modules/2.4.31/kernel/drivers/usb/host/usb-uhci.o.gz: insmod ztdummy failed

Can anyone provide a hint?


to use ZTDummy with the 2.4 kernel you need to have uhci USB hardware and drivers loaded for it… it looks like (from reading the output here) that you do not have the needed USB chipset to load ztdummy. ztdummy in the .2.4.x series kernels need that USB chipset to providing timing.

Switching to a 2.6 kernel does not require any special hardware as it has better high res timers that can be used for ztdummy.