I guess you are running bash < v3.0? On 6/11/06, Sven Geggus <[EMAIL PROTECTED]> wrote:
Hi there,while trying to install visdn I get the following error (Kernel 2.6.16.16, asterisk 1.2.7.1): [EMAIL PROTECTED]:~# visdn_configurator /usr/local/sbin/visdn_configurator: line 87: conditional binary operator expected /usr/local/sbin/visdn_configurator: line 87: syntax error near =~' /usr/local/sbin/visdn_configurator: line 87: if [[ $LINE =~ '</(.*)>' ]]; then' As far as I can see tell the driver is loading fine until there and devices in /dev/visdn/ have been created correctly: hfc-pci: HFC-S PCI A Driver loading PCI: Enabling device 0000:00:0c.0 (0000 -> 0003) ACPI: PCI Interrupt 0000:00:0c.0[A] -> GSI 17 (level, low) -> IRQ 177 hfc-pci: pci-0000:00:0c.0: resetting hfc-pci: pci-0000:00:0c.0: configured at mem 0xff6ffc00 (0xffffc20000078c00) IRQ 177 $ ls -l /dev/visdn/ total 0 crw-rw---- 1 root root 249, 0 Jun 11 22:27 ec-control crw-rw---- 1 root root 252, 0 Jun 11 22:27 netdev-control crw-rw---- 1 root root 250, 0 Jun 11 22:27 ppp crw-rw---- 1 root root 254, 1 Jun 11 22:27 router-control crw-rw---- 1 root root 251, 0 Jun 11 22:27 streamport lrwxrwxrwx 1 root root 13 Jun 11 22:27 timer -> timers/system drwxr-xr-x 2 root root 60 Jun 11 22:27 timers/ Unfortunately the Network device visdn0 has not yet been created at this stage however. I suppose I added support for my card in a corect way! Can anybody confirm, if the following patch is sufficient? Do I need to change something else? --- visdn-head/modules/hfc-pci/hfc-pci_main.c 2006-06-11 08:00:05.000000000 +0200 +++ visdn-head-new/modules/hfc-pci/hfc-pci_main.c 2006-06-11 22:22:09.660112365 +0200 @@ -75,6 +75,7 @@ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {PCI_VENDOR_ID_DIGI, PCI_DEVICE_ID_DIGI_DF_M_A, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, + {0x182d, 0x3069,PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {0,} }; Sven -- The source code is not comprehensible (found in bug section of man 8 telnetd on Redhat Linux) /me is [EMAIL PROTECTED], http://sven.gegg.us/ on the Web _______________________________________________ Visdn-hackers mailing list [email protected] https://mailman.uli.it/mailman/listinfo/visdn-hackers
_______________________________________________ Visdn-hackers mailing list [email protected] https://mailman.uli.it/mailman/listinfo/visdn-hackers
