× Questions about G400/G410 Cards.

openvox g400p installation error

1 month 3 weeks ago #11854 by malinkalive
Hi all,
after system upgrade my gsm card is no more available on my system:
Asterisk 11
Centos 7
lspci -vvvv
        08:00.0 Unassigned class [ff00]: OpenVox Communication Co. Ltd. Device 0100 (rev 01)
	Subsystem: OpenVox Communication Co. Ltd. Device 0104
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 7
	Region 0: Memory at fbff0000 (32-bit, non-prefetchable) [size=64K]
Installing OpenVox G400P driver ...     			[ OK ]
===========================================================================

make -C linux all
make[1]: Wejście do katalogu `/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Wejście do katalogu `/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/firmware'
make[2]: Opuszczenie katalogu `/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/firmware'
make -C /lib/modules/3.10.0/build SUBDIRS=/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[2]: Wejście do katalogu `/usr/src/kernels/linux-3.10'
  CC [M]  /usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx/base.o
make[2]: Opuszczenie katalogu `/usr/src/kernels/linux-3.10'
make[1]: Opuszczenie katalogu `/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux'


    int length=0;
        ^
/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx/base.c: In function ‘g4_ioctl’:
/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx/base.c:2309:16: warning: unused variable ‘flags’ [-Wunused-variable]
  unsigned long flags=0;
                ^
/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx/base.c: At top level:
/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx/base.c:2457:2: warning: initialization from incompatible pointer type [enabled by default]
  .spanconfig = g4_spanconfig,
  ^
/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx/base.c:2457:2: warning: (near initialization for ‘g4_span_ops.spanconfig’) [enabled by default]
/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx/base.c:2458:2: warning: initialization from incompatible pointer type [enabled by default]
  .chanconfig = g4_chanconfig,
  ^
/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx/base.c:2458:2: warning: (near initialization for ‘g4_span_ops.chanconfig’) [enabled by default]
/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx/base.c:2459:2: warning: initialization from incompatible pointer type [enabled by default]
  .startup= g4_startup,
  ^
/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx/base.c:2459:2: warning: (near initialization for ‘g4_span_ops.startup’) [enabled by default]
/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx/base.c: In function ‘g4_init_span’:
/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx/base.c:2479:15: error: ‘struct dahdi_span’ has no member named ‘manufacturer’
   myspan->span.manufacturer = "OpenVox";
               ^
/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx/base.c:2510:14: error: ‘struct dahdi_span’ has no member named ‘irq’
  myspan->span.irq = g4->pcidev->irq; 
              ^
In file included from include/linux/mmzone.h:9:0,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx/base.c:20:
/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx/base.c:2516:35: error: ‘struct dahdi_span’ has no member named ‘maintq’
  init_waitqueue_head(&myspan->span.maintq);
                                   ^
include/linux/wait.h:69:26: note: in definition of macro ‘init_waitqueue_head’
   __init_waitqueue_head((q), #q, &__key); \
                          ^
/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx/base.c:2543:2: error: implicit declaration of function ‘dahdi_register’ [-Werror=implicit-function-declaration]
  if (dahdi_register(&myspan->span,0)) {
  ^
/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx/base.c: In function ‘g4_remove’:
/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx/base.c:2783:5: error: implicit declaration of function ‘dahdi_unregister’ [-Werror=implicit-function-declaration]
     dahdi_unregister(&myspan->span);
     ^
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx/base.o] Błąd 1
make[3]: *** [/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/opvxg4xx] Błąd 2
make[2]: *** [_module_/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi] Błąd 2
make[1]: *** [modules] Błąd 2
make: *** [all] Błąd 2
===========================================================================
Installing /usr/src/dahdi-linux-complete-2.11.1+2.11.1: make ...[ Failure ]
===========================================================================
1 month 3 weeks ago #11855 by hua
Hello,

About dahdi install error issue you can give us remote access , We can check it. By the way if you want to make your G400 card work , I think you need to change your system kernel version , chan_extra not support kernel-3.10 .
You can give us your skype , We will add you .

Best regards
upper.hua
1 month 3 weeks ago #11858 by malinkalive
Thank U for quick replay,
I took chan_extra from github.com/Onyx47/chan_extra . (maybe here is the problem)
Can you provide me URL to chan_extra download site? (www.chan_extra.org - not responding) Which kernel version is recommended for chan_extra. I will make downgrade.
1 month 3 weeks ago #11859 by hua
Hello,

This is the link www.openvox.cn/pub/misc/GSM/chan_extra-2.0.8.tar.gz
You can use kernel 2.6.32
Time to create page: 0.020 seconds
Powered by Kunena Forum