Hi Daniele,
Finally now works for me the
http://www.visdn.org/download/snapshots/vstuff-devel-20070515.tar.bz2
snapshot on Debian Etch with custom kernel 2.6.20.3 with asterisk
1.2.18, udev 105
I removed the vgsm rules from udev and after I reboot the computer udev
creates /dev/vgsm_me0 ... /dev/vgsm_me62 files (I am testing now one
piece of VoiSmart Dual GSM 1 card)
When the vgsm modul is loading I still get kernel error into dmesg,
but in asterisk I can create call. Now I am starting to test with
another cards if there is any collision.
If you need any further info on this error, pleas tell me the way I can
help you.
testgsm*CLI>show vgsm modules gsm0
---- Module 'gsm0' ----
Device : /dev/vgsm_me0
Context: from-vgsm0
RX-gain: 255
TX-gain: 255
Set clock: YES
Power off on exit: YES
Status: READY
Route to sim: default
Reason:
Model: SIEMENS MC55
Version: REVISION 03.03
IMEI: 352021006559751
Supply voltage: 3806 mV
Power consumption: 17 mA
testgsm*CLI>show vgsm modules gsm0 network
Network:
Operator Selection: Automatic
Status: REGISTERED_HOME
Current network: 21630 (Westel - Hungary - GSM 900)
Serving cell
MCC MNC LAC ID BSIC ARFCN RxLev
216 30 001e 0bbe 46 117 -80 dBm
RxLev Sub: 0 dBm
RxLev Full: 0 dBm
RxQual: 0 (BER less than 0.1%)
RxQual Sub: 0 (BER less than 0.1%)
RxQual Full: 0 (BER less than 0.1%)
Timeslot: 0
TA: 1
RSSI: -79 dBm
BER: 99 (N/A)
Adjacent cells (6)
# MCC MNC LAC ID BSIC ARFCN RxLev
1: 216 30 001e 0000 23 746 -88 dBm
2: 216 30 001e 0c01 46 113 -92 dBm
3: 216 30 001e 23d5 43 112 -97 dBm
4: 216 30 001e 23d5 25 114 -99 dBm
5: 216 30 001e 0c02 21 105 -100 dBm
6: 216 30 001e 0c02 46 115 -99 dBm
testgsm*CLI>vgsm forwarding gsm0
Missing command
Usage: vgsm forwarding <module> <set|>
Set call forwarding for the specified module (not yet
implemented)
When will it be implemented ;) ?
Regards:
Csaba Lack
----DMESG----
SSDT (v001 COMPAQ GTF0 0x00000001 MSFT 0x0100000e) @ 0x000e9e73
ACPI: SSDT (v001 COMPAQ L08 0x00000001 MSFT 0x0100000e) @
0x000ea482
ACPI: SSDT (v001 COMPAQ FINIS 0x00000001 MSFT 0x0100000e) @
0x000ea87a
ACPI: DSDT (v001 COMPAQ DSDT 0x00000001 MSFT 0x0100000e) @
0x00000000
ACPI: PM-Timer IO Port: 0xf808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:1 APIC version 20
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] disabled)
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
ACPI: IOAPIC (id[0x08] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode: Flat. Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 10000000 (gap: 0f800000:ef400000)
Detected 1693.857 MHz processor.
Built 1 zonelists. Total pages: 62977
Kernel command line: root=/dev/hda2 ro
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 244228k/253888k available (1961k kernel code, 8988k reserved,
743k data, 176k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xfffb7000 - 0xfffff000 ( 288 kB)
vmalloc : 0xd0000000 - 0xfffb5000 ( 767 MB)
lowmem : 0xc0000000 - 0xcf7f0000 ( 247 MB)
.init : 0xc03a8000 - 0xc03d4000 ( 176 kB)
.data : 0xc02ea4f1 - 0xc03a4450 ( 743 kB)
.text : 0xc0100000 - 0xc02ea4f1 (1961 kB)
Checking if this processor honours the WP bit even in supervisor
mode... Ok.
Calibrating delay using timer specific routine.. 3389.15 BogoMIPS
(lpj=1694576)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 3febfbff 00000000 00000000 00000000
00000000 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 128K
CPU: After all inits, caps: 3febfbff 00000000 00000000 00003080
00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU0: Thermal monitoring enabled
Compat vDSO mapped to ffffe000.
CPU: Intel(R) Celeron(R) CPU 1.70GHz stepping 03
Checking 'hlt' instruction... OK.
ACPI: Core revision 20060707
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.20 entry at 0xeca9e, last bus=5
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 6 7 10 11 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 10 11 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 11 14 15) *0,
disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 *5 6 7 10 11 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 14 15) *0,
disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 14 15) *0,
disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 *5 6 7 10 11 14 15)
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
Boot video device is 0000:00:02.0
* The chipset may have PM-Timer Bug. Due to workarounds for a bug,
* this clock source is slow. If you are sure your timer does not have
* this bug, please use "acpi_pm_good" to disable the workaround
PCI quirk: region f800-f87f claimed by ICH4 ACPI/GPIO/TCO
PCI quirk: region fa00-fa3f claimed by ICH4 GPIO
PCI: Firmware left 0000:05:08.0 e100 interrupts enabled, disabling
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB_._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 14 devices
SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a
report
pnp: 00:0b: ioport range 0x4d0-0x4d1 has been reserved
pnp: 00:0c: ioport range 0x400-0x41f has been reserved
pnp: 00:0c: ioport range 0x420-0x43f has been reserved
pnp: 00:0c: ioport range 0x440-0x45f has been reserved
pnp: 00:0c: ioport range 0x460-0x47f could not be reserved
pnp: 00:0c: ioport range 0xf800-0xf81f could not be reserved
pnp: 00:0c: ioport range 0xf820-0xf83f could not be reserved
pnp: 00:0c: ioport range 0xf840-0xf85f has been reserved
pnp: 00:0c: ioport range 0xf860-0xf87f has been reserved
PCI: Ignore bogus resource 6 [0:0] of 0000:00:02.0
PCI: Bridge: 0000:00:1e.0
IO window: 1000-1fff
MEM window: fc500000-fc7fffff
PREFETCH window: disabled.
PCI: Setting latency timer of device 0000:00:1e.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 3599k freed
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered (default)
io scheduler cfq registered
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing
enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
ICH4: IDE controller at PCI slot 0000:00:1f.1
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 16
ICH4: chipset revision 1
ICH4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x24a0-0x24a7, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x24a8-0x24af, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: WDC WD200EB-11CPF0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
hda: max request size: 128KiB
hda: 39102336 sectors (20020 MB) w/2048KiB Cache, CHS=38792/16/63,
UDMA(100)
hda: cache flushes not supported
hda: hda1 hda2
3ware 9000 Storage Controller device driver for Linux v2.26.02.008.
PNP: PS/2 Controller [PNP0303:KBD,PNP0f0e:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
TCP cubic registered
Using IPI Shortcut mode
input: AT Translated Set 2 keyboard as /class/input/input0
ACPI: (supports S0 S1 S3<6>Time: tsc clocksource has been installed.
S4 S5)
Freeing unused kernel memory: 176k freed
NET: Registered protocol family 1
ACPI: Processor [CPU0] (supports 8 throttling states)
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:1d.0: irq 17, io base 0x00002440
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
e100: Intel(R) PRO/100 Network Driver, 3.5.17-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.1: irq 18, io base 0x00002460
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 3
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 19, io mem 0xfc480000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 6 ports detected
ACPI: PCI Interrupt 0000:05:08.0[A] -> GSI 20 (level, low) -> IRQ 20
e100: eth0: e100_probe: addr 0xfc501000, irq 20, MAC addr
00:0B:CD:38:54:F7
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 845G Chipset.
agpgart: Detected 8060K stolen memory.
agpgart: AGP aperture is 128M @ 0xf0000000
intel_rng: Firmware space is locked read-only. If you can't or
intel_rng: don't want to disable this in firmware setup, and if
intel_rng: you are certain that your system has a functional
intel_rng: RNG, try using the 'no_fwh_detect' option.
Real Time Clock Driver v1.12ac
kstreamer: loading
ACPI: PCI Interrupt 0000:05:04.0[A] -> GSI 16 (level, low) -> IRQ 17
vgsm-pci: vgsm card found at 0xfc500000 mapped at d006e000
vgsm-pci: VGSM card initialized
Micro 0 firmware version 2.2
Micro 1 firmware version 2.2
kobject_add failed for vgsm_me0 with -EEXIST, don't try to register
things with the same name in the same directory.
[<c01d2732>] kobject_add+0x12b/0x1b3
[<c0226e68>] device_add+0x98/0x4e0
[<c01d246d>] kobject_get+0xf/0x13
[<c01d280b>] kobject_init+0x2b/0x3e
[<c022733b>] device_create+0x7b/0x9c
[<c020e759>] tty_register_device+0x5d/0xcb
[<c01d61fd>] delay_tsc+0x9/0x13
[<d009f993>] vgsm_write_msg+0x83/0x97 [vgsm]
[<d009f993>] vgsm_write_msg+0x83/0x97 [vgsm]
[<c011d344>] local_bh_enable+0x2e/0x9f
[<d00a1405>] vgsm_module_register+0x27/0x7f [vgsm]
[<d00a05ea>] vgsm_card_probe+0x5f0/0x760 [vgsm]
[<d009f091>] vgsm_probe+0x0/0xf [vgsm]
[<d009f096>] vgsm_probe+0x5/0xf [vgsm]
[<c01dcd4d>] pci_device_probe+0x40/0x5b
[<c0228b41>] really_probe+0x47/0x111
[<c0228c4b>] driver_probe_device+0x40/0x9f
[<c02e71c7>] klist_next+0x5d/0xac
[<c0228d9b>] __driver_attach+0x76/0x78
[<c02281b7>] bus_for_each_dev+0x39/0x57
[<c0228a37>] driver_attach+0x16/0x1a
[<c0228d25>] __driver_attach+0x0/0x78
[<c02284bd>] bus_add_driver+0x63/0x173
[<c01dceb8>] __pci_register_driver+0x5e/0x8b
[<d006c0d0>] vgsm_init+0xd0/0x127 [vgsm]
[<c0133150>] sys_init_module+0x115/0x17a8
[<c012081b>] __mod_timer+0x0/0xbe
[<c0102e38>] sysenter_past_esp+0x5d/0x81
=======================
kobject_add failed for vgsm_me1 with -EEXIST, don't try to register
things with the same name in the same directory.
[<c01d2732>] kobject_add+0x12b/0x1b3
[<c0226e68>] device_add+0x98/0x4e0
[<c01d246d>] kobject_get+0xf/0x13
[<c01d280b>] kobject_init+0x2b/0x3e
[<c022733b>] device_create+0x7b/0x9c
[<c020e759>] tty_register_device+0x5d/0xcb
[<c02a1d3c>] netlink_broadcast+0x21b/0x338
[<d0094ba9>] ks_chan_netlink_broadcast_notification+0x7e/0xb8
[kstreamer]
[<d00a1405>] vgsm_module_register+0x27/0x7f [vgsm]
[<d00a05ea>] vgsm_card_probe+0x5f0/0x760 [vgsm]
[<d009f091>] vgsm_probe+0x0/0xf [vgsm]
[<d009f096>] vgsm_probe+0x5/0xf [vgsm]
[<c01dcd4d>] pci_device_probe+0x40/0x5b
[<c0228b41>] really_probe+0x47/0x111
[<c0228c4b>] driver_probe_device+0x40/0x9f
[<c02e71c7>] klist_next+0x5d/0xac
[<c0228d9b>] __driver_attach+0x76/0x78
[<c02281b7>] bus_for_each_dev+0x39/0x57
[<c0228a37>] driver_attach+0x16/0x1a
[<c0228d25>] __driver_attach+0x0/0x78
[<c02284bd>] bus_add_driver+0x63/0x173
[<c01dceb8>] __pci_register_driver+0x5e/0x8b
[<d006c0d0>] vgsm_init+0xd0/0x127 [vgsm]
[<c0133150>] sys_init_module+0x115/0x17a8
[<c012081b>] __mod_timer+0x0/0xbe
[<c0102e38>] sysenter_past_esp+0x5d/0x81
=======================
kobject_add failed for vgsm_me2 with -EEXIST, don't try to register
things with the same name in the same directory.
[<c01d2732>] kobject_add+0x12b/0x1b3
[<c0226e68>] device_add+0x98/0x4e0
[<c01d246d>] kobject_get+0xf/0x13
[<c01d280b>] kobject_init+0x2b/0x3e
[<c022733b>] device_create+0x7b/0x9c
[<c020e759>] tty_register_device+0x5d/0xcb
[<c02a1d3c>] netlink_broadcast+0x21b/0x338
[<d0094ba9>] ks_chan_netlink_broadcast_notification+0x7e/0xb8
[kstreamer]
[<d00a1405>] vgsm_module_register+0x27/0x7f [vgsm]
[<d00a05ea>] vgsm_card_probe+0x5f0/0x760 [vgsm]
[<d009f091>] vgsm_probe+0x0/0xf [vgsm]
[<d009f096>] vgsm_probe+0x5/0xf [vgsm]
[<c01dcd4d>] pci_device_probe+0x40/0x5b
[<c0228b41>] really_probe+0x47/0x111
[<c0228c4b>] driver_probe_device+0x40/0x9f
[<c02e71c7>] klist_next+0x5d/0xac
[<c0228d9b>] __driver_attach+0x76/0x78
[<c02281b7>] bus_for_each_dev+0x39/0x57
[<c0228a37>] driver_attach+0x16/0x1a
[<c0228d25>] __driver_attach+0x0/0x78
[<c02284bd>] bus_add_driver+0x63/0x173
[<c01dceb8>] __pci_register_driver+0x5e/0x8b
[<d006c0d0>] vgsm_init+0xd0/0x127 [vgsm]
[<c0133150>] sys_init_module+0x115/0x17a8
[<c012081b>] __mod_timer+0x0/0xbe
[<c0102e38>] sysenter_past_esp+0x5d/0x81
=======================
kobject_add failed for vgsm_me3 with -EEXIST, don't try to register
things with the same name in the same directory.
[<c01d2732>] kobject_add+0x12b/0x1b3
[<c0226e68>] device_add+0x98/0x4e0
[<c01d246d>] kobject_get+0xf/0x13
[<c01d280b>] kobject_init+0x2b/0x3e
[<c022733b>] device_create+0x7b/0x9c
[<c020e759>] tty_register_device+0x5d/0xcb
[<c02a1d3c>] netlink_broadcast+0x21b/0x338
[<d0094ba9>] ks_chan_netlink_broadcast_notification+0x7e/0xb8
[kstreamer]
[<d00a1405>] vgsm_module_register+0x27/0x7f [vgsm]
[<d00a05ea>] vgsm_card_probe+0x5f0/0x760 [vgsm]
[<d009f091>] vgsm_probe+0x0/0xf [vgsm]
[<d009f096>] vgsm_probe+0x5/0xf [vgsm]
[<c01dcd4d>] pci_device_probe+0x40/0x5b
[<c0228b41>] really_probe+0x47/0x111
[<c0228c4b>] driver_probe_device+0x40/0x9f
[<c02e71c7>] klist_next+0x5d/0xac
[<c0228d9b>] __driver_attach+0x76/0x78
[<c02281b7>] bus_for_each_dev+0x39/0x57
[<c0228a37>] driver_attach+0x16/0x1a
[<c0228d25>] __driver_attach+0x0/0x78
[<c02284bd>] bus_add_driver+0x63/0x173
[<c01dceb8>] __pci_register_driver+0x5e/0x8b
[<d006c0d0>] vgsm_init+0xd0/0x127 [vgsm]
[<c0133150>] sys_init_module+0x115/0x17a8
[<c012081b>] __mod_timer+0x0/0xbe
[<c0102e38>] sysenter_past_esp+0x5d/0x81
=======================
vgsm-pci: VoiSmart PCI GSM Wildcard Driver loaded
_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers