Tested with chan_extra-2.0.7.tar.gz, chan_extra-2.0.6.tar.gz, chan_extra-2.0.5.tar.gz
Kernel version: Linux version 2.6.32-358.23.2.el6.x86_64 (This email address is being protected from spambots. You need JavaScript enabled to view it.) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Wed Oct 16 18:37:12 UTC 2013
Installation method:
1. Enable virtual TTY in install.sh,
2. Source code install,
3. Download and install dahdi-linux-complete-2.6.1+2.6.1.tar.gz [Default installation],
4. Asterisk: Skip the step
dmesg:
dahdi: Telephony Interface Registered on major 196dahdi: Version: 2.5.0opvxg4xx 0000:03:00.0: PCI INT A -> GSI 24 (level, low) -> IRQ 24Found an OpenVox G400P: Version 1.1card 0 opvxg4xx: slot 0 is Installedcard 0 opvxg4xx: slot 1 is Installedcard 0 opvxg4xx: slot 2 is Installedcard 0 opvxg4xx: slot 3 is Emptyopvxg4xx: card 0 slot 0 is ttymodeopvxg4xx: card 0 slot 1 is ttymodeopvxg4xx: card 0 slot 2 is ttymodeopvxg4xx: card 0 Powering up all spans...GSM tty install
dmesg when try to open /dev/GSMx
Enable tty model failed(0),open functionEnable tty model failed(1),open functionEnable tty model failed(2),open function
I have the same problem:
socat - /dev/ttyGSM0
2014/09/23 17:49:33 socat[2240] E open("/dev/ttyGSM0", 02002, 0666): Operation not permitted
Dmesg shows:
Found an OpenVox G400P: Version 1.1
card 0 opvxg4xx: slot 0 is Installed
card 0 opvxg4xx: slot 1 is Empty
card 0 opvxg4xx: slot 2 is Empty
card 0 opvxg4xx: slot 3 is Empty
opvxg4xx: card 0 slot 0 is ttymode
opvxg4xx: card 0 Powering up all spans...
/proc/gsm_module_power_key-0 is created
GSM tty install
alloc irq_desc for 18 on node -1
alloc kstat_irqs on node -1
alloc irq_2_iommu on node -1
[..]
Enable tty model failed(0),open function
Please prepare remote ssh for checking. And please add my skype to your contact list. My contact info is shown as below. I'll contact you tomorrow as soon as-8 I get work at 9:00 O'clock UTF-8.
email: This email address is being protected from spambots. You need JavaScript enabled to view it.
skype: linda.li258
9 years 6 months ago - 9 years 6 months ago#9976by psiriders2
I got help from Tim June and with the newest 2.0.8 after 2 days everything worked. I've reinstalled the machine - and now - still the same...
still E open("/dev/ttyGSM0", 02002, 0666): Operation not permitted
chan_extra-2.0.8
dahdi-linux-complete-2.9.2+2.9.2
and asterisk 11
Mon Sep 29 16:20:45 CEST 2014 : Please select ttymode: 2
Mon Sep 29 16:20:45 CEST 2014 : Choose spans for MUX tty mode ...
Mon Sep 29 16:20:47 CEST 2014 : Please input span ids for MUX ttymode: 1
and now again in dmesg:
Sep 29 17:00:59 kernel: dahdi: Version: 2.9.2
Sep 29 17:00:59 kernel: dahdi: Telephony Interface Registered on major 196
Sep 29 17:00:59 'dahdi_handle_device'[1901]: D: Running '/usr/share/dahdi/handle_device.d/10-span-types'
Sep 29 17:00:59 'dahdi_handle_device'[1901]: D: Running '/usr/share/dahdi/handle_device.d/20-span-assignments'
Sep 29 17:00:59 kernel: dahdi_transcode: Loaded.
Sep 29 17:00:59 kernel: xpp: Unknown symbol dahdi_get_auto_assign_spans
Sep 29 17:00:59 kernel: opvxg4xx 0000:02:00.0: enabling device (0000 -> 0002)
Sep 29 17:00:59 kernel: opvxg4xx 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Sep 29 17:00:59 kernel: Found an OpenVox G400P: Version 1.1
Sep 29 17:00:59 kernel: card 0 opvxg4xx: slot 0 is Installed
Sep 29 17:00:59 kernel: card 0 opvxg4xx: slot 1 is Empty
Sep 29 17:00:59 kernel: card 0 opvxg4xx: slot 2 is Empty
Sep 29 17:00:59 kernel: card 0 opvxg4xx: slot 3 is Empty
Sep 29 17:00:59 kernel: opvxg4xx: card 0 slot 0 is ttymode(gsm0710)
Sep 29 17:00:59 kernel: dahdi: Warning: Span opvxg4xx/0/1 didn't specify a spantype. Please fix driver!
Sep 29 17:00:59 kernel: opvxg4xx: card 0 Powering up all spans...
Sep 29 17:00:59 'dahdi_handle_device'[1928]: add: /devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/pci:0000:02:00.0
Sep 29 17:00:59 'dahdi_handle_device'[1931]: auto_assign_spans=1. Skip /devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/pci:0000:02:00.0
Sep 29 17:00:59 'dahdi_span_config'[1939]: add: /devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/pci:0000:02:00.0/span-1
Sep 29 17:00:59 'dahdi_span_config'[1941]: auto_assign_spans=1. Skip /devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/pci:0000:02:00.0/span-1
Sep 29 17:01:09 kernel: GSM tty install
Sep 29 17:01:09 kernel: dahdi_devices pci:0000:02:00.0: local span 1 is already assigned span 1
Sep 29 17:01:17 kernel: Enable tty model failed(0),open function
Sep 29 17:02:22 kernel: dahdi_echocan_mg2: Registered echo canceler 'MG2'
Sep 29 17:03:15 kernel: Enable tty model failed(0),open function
Sep 29 17:03:15 kernel: Enable tty model failed(0),open function
Sep 29 17:03:16 kernel: Enable tty model failed(0),open function
Sep 29 17:03:16 kernel: Enable tty model failed(0),open function
Sep 29 17:03:16 kernel: Enable tty model failed(0),open function
Sep 29 17:03:16 kernel: Enable tty model failed(0),open function
Sep 29 17:03:17 kernel: Enable tty model failed(0),open function
Sep 29 17:03:17 kernel: Enable tty model failed(0),open function
Sep 29 17:03:17 kernel: Enable tty model failed(0),open function
Sep 29 17:03:17 kernel: Enable tty model failed(0),open function
Sep 29 17:03:18 kernel: Enable tty model failed(0),open function
Sep 29 17:10:26 kernel: Enable tty model failed(0),open function
OK. I've removed everything once again manually (asterisk, dahdi modules etc) and made it working... You should have options like in asterisk (make uninstall-all)....