xgnokii настроен не на тот порт

Изображение пользователя Radik.
Опубликовано:
Раздел:

Собственно сабж.
У меня Nokia 6610i. Через irdadump определяется. Находится на порту /dev/ttyS1.
Но вот с gnokii проблема:

# xgnokii
LOG: debug mask is 0x1

(xgnokii:4269): Gtk-WARNING **: horizontal scrolling not implemented

(xgnokii:4269): Gtk-WARNING **: horizontal scrolling not implemented
phone instance config:
model: 6510
port_device: /dev/ttyS0
connection_type: 0
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: off
Connecting
Serial device: opening device /dev/ttyS0
Gnokii serial_open: tcgetattr: Ошибка ввода/вывода
Couldn't open FBUS device: Ошибка ввода/вывода
Error in link initialisation: 1
Serial device: opening device /dev/ttyS0
Gnokii serial_open: tcgetattr: Ошибка ввода/вывода
Couldn't open FBUS device: Ошибка ввода/вывода
Error in link initialisation: 1
Serial device: opening device /dev/ttyS0
Gnokii serial_open: tcgetattr: Ошибка ввода/вывода
Couldn't open FBUS device: Ошибка ввода/вывода
Error in link initialisation: 1
GSM/FBUS init failed! (Unknown model?). Quitting.
Serial device: closing device

Где все это дело редактируется? Гугление не помогло... Простите меня

Мы ушли на www.asplinuxclub.org - как не справивишиеся с обязанностями модераторов

Изображение пользователя sergeil.

Re: xgnokii настроен не на тот порт #1

rrraD писал(а):
У меня Nokia 6610i. Через irdadump определяется. Находится на порту /dev/ttyS1.
Если у Вас IrDA на COM, то, по всей видимости, COM-устройство трогать не следует... Какие IrDA-устройста появилось у Вас в системе после инициализации IrDA? Посмотрите, к какому устройству подсоединяется драйвер. У меня было irda0 Обнаружил через dmesg. Притом, что такого устройства в /dev нет...


Админ админу - друг, товарищ и ман...
(c) Almaty

Изображение пользователя sandyb.

Re: xgnokii настроен не на тот порт #2

Цитата:
sergeil пишет: Если у Вас IrDA на COM, то, по всей видимости, COM-устройство трогать не следует... Какие IrDA-устройста появилось у Вас в системе после инициализации IrDA? Посмотрите, к какому устройству подсоединяется драйвер. У меня было irda0 Обнаружил через dmesg. Притом, что такого устройства в /dev нет...
как посмотреть какие IrDA-устройста появилось в системе после инициализации IrDA как посмотреть к какому устройству подсоединяется драйвер

Изображение пользователя sergeil.

Re: xgnokii настроен не на тот порт #3

sandyb писал(а):
как посмотреть какие IrDA-устройста появилось в системе после инициализации IrDA как посмотреть к какому устройству подсоединяется драйвер

1/ После загрузки `service irda start` посмотрите что выдал dmesg....
2/ Посмотрите какие новые устройства появились в /dev/

Какая у Вас модель irda?
Что пишет производитель? Есть ли хоть какая-то документация и упоминание о чипе, на котором irda-устройство реализовано?


Админ админу - друг, товарищ и ман...
(c) Almaty

Изображение пользователя sandyb.

Re: xgnokii настроен не на тот порт #4

Цитата:
sergeil пишет: 1/ После загрузки `service irda start` посмотрите что выдал dmesg.... 2/ Посмотрите какие новые устройства появились в /dev/

Какая у Вас модель irda?
Что пишет производитель? Есть ли хоть какая-то документация и упоминание о чипе, на котором irda-устройство реализовано?

dmesg Linux version 2.6.14-1.1653.1asp (build@amd64.asplinux.com.ua) (gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)) #1 Mon Jan 23 19:24:56 EET 2006 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 00000000000a0000 (usable) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 0000000017ff0000 (usable) BIOS-e820: 0000000017ff0000 - 0000000017ff3000 (ACPI NVS) BIOS-e820: 0000000017ff3000 - 0000000018000000 (ACPI data) BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved) 0MB HIGHMEM available. 383MB LOWMEM available. Using x86 segment limits to approximate NX protection On node 0 totalpages: 98288 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 94192 pages, LIFO batch:31 HighMem zone: 0 pages, LIFO batch:1 DMI 2.2 present. ACPI: RSDP (v000 IntelR ) @ 0x000f7b20 ACPI: RSDT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x17ff3000 ACPI: FADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x17ff3040 ACPI: DSDT (v001 INTELR AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000 ACPI: PM-Timer IO Port: 0x4008 Allocating PCI resources starting at 20000000 (gap: 18000000:e7b00000) Built 1 zonelists Kernel command line: root=/dev/hdb2 ro reboot=b pci=noacpi pci=usepirqmask quiet rhgb Initializing CPU#0 CPU 0 irqstacks, hard=c03fd000 soft=c03fc000 PID hash table entries: 2048 (order: 11, 32768 bytes) Detected 940.761 MHz processor. Using pmtmr for high-res timesource Console: colour VGA+ 80x25 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 384516k/393152k available (2125k kernel code, 8020k reserved, 732k data, 172k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 1883.06 BogoMIPS (lpj=3766127) Security Framework v1.0.0 initialized SELinux: Initializing. SELinux: Starting in permissive mode selinux_register_security: Registering secondary module capability Capability LSM initialized as secondary Mount-cache hash table entries: 512 CPU: After generic identify, caps: 0383f9ff 00000000 00000000 00000000 00000000 00000000 00000000 CPU: After vendor identify, caps: 0383f9ff 00000000 00000000 00000000 00000000 00000000 00000000 CPU: L1 I cache: 16K, L1 D cache: 16K CPU: L2 cache: 256K CPU: After all inits, caps: 0383f1ff 00000000 00000000 00000040 00000000 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. mtrr: v2.0 (20020519) CPU: Intel Pentium III (Coppermine) stepping 06 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. checking if image is initramfs... it is Freeing initrd memory: 1075k freed NET: Registered protocol family 16 ACPI: bus type pci registered PCI: PCI BIOS revision 2.10 entry at 0xfb460, last bus=2 PCI: Using configuration type 1 ACPI: Subsystem revision 20050916 ACPI: Interpreter enabled ACPI: Using PIC for interrupt routing Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI init pnp: PnP ACPI: found 14 devices usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) ACPI: Assume root bridge [\_SB_.PCI0] bus is 0 PCI quirk: region 4000-407f claimed by ICH4 ACPI/GPIO/TCO PCI quirk: region 4080-40bf claimed by ICH4 GPIO Boot video device is 0000:01:00.0 PCI: Transparent bridge - 0000:00:1e.0 PCI: Using IRQ router PIIX/ICH [8086/2440] at 0000:00:1f.0 PCI: Found IRQ 5 for device 0000:00:1f.3 PCI: Sharing IRQ 5 with 0000:00:1f.5 PCI: Bridge: 0000:00:01.0 IO window: disabled. MEM window: dc000000-ddffffff PREFETCH window: d0000000-d7ffffff PCI: Bridge: 0000:00:1e.0 IO window: c000-cfff MEM window: de000000-dfffffff PREFETCH window: e0000000-e00fffff PCI: Setting latency timer of device 0000:00:1e.0 to 64 apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac) apm: overridden by ACPI. audit: initializing netlink socket (disabled) audit(1152687411.392:1): initialized Total HugeTLB memory allocated, 0 VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) SELinux: Registering netfilter hooks Initializing Cryptographic API ksign: Installing public key data Loading keyring - Added public key A8334AE0B4628F9E - User ID: ASPLinux, Ltd. (Kernel Module GPG key) pci_hotplug: PCI Hot Plug PCI Core version: 0.5 ACPI: Fan [FAN] (on) ACPI: CPU0 (power states: C1[C1] C2[C2]) ACPI: Processor [CPU0] (supports 2 throttling states) ACPI: Thermal Zone [THRM] (39 C) isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Real Time Clock Driver v1.12 Linux agpgart interface v0.101 (c) Dave Jones agpgart: Detected an Intel i815 Chipset. agpgart: AGP aperture is 64M @ 0xd8000000 PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1 PNP: PS/2 controller doesn't have AUX irq; using default 12 serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 Serial: 8250/16550 driver $Revision: 1.90 $ 32 ports, IRQ sharing enabled ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered RAMDISK driver initialized: 16 RAM disks of 16384K 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 ICH2: IDE controller at PCI slot 0000:00:1f.1 ICH2: chipset revision 2 ICH2: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:DMA ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:pio Probing IDE interface ide0... hdb: Maxtor 6E020L0, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... hdc: MAXTOR 6L040J2, ATA DISK drive ide1 at 0x170-0x177,0x376 on irq 15 hdb: max request size: 128KiB hdb: 40718160 sectors (20847 MB) w/2048KiB Cache, CHS=40395/16/63, UDMA(100) hdb: cache flushes supported hdb: hdb1 hdb2 hdc: max request size: 128KiB hdc: 78177792 sectors (40027 MB) w/1818KiB Cache, CHS=65535/16/63, UDMA(100) hdc: cache flushes supported hdc: hdc1 ide-floppy driver 0.99.newide usbcore: registered new driver hiddev usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver mice: PS/2 mouse device common for all mice md: md driver 0.90.2 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 3.39 NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 6, 262144 bytes) TCP bind hash table entries: 16384 (order: 6, 327680 bytes) TCP: Hash tables configured (established 16384 bind 16384) TCP reno registered TCP bic registered Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI Shortcut mode ACPI wakeup devices: SLPB PCI0 HUB0 USB0 USB1 UAR1 UAR2 LPT1 ACPI: (supports S0 S1 S4 S5) Freeing unused kernel memory: 172k freed Write protecting the kernel read-only data: 325k input: AT Translated Set 2 keyboard on isa0060/serio0 kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. SELinux: Disabled at runtime. SELinux: Unregistering netfilter hooks Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 e100: Intel(R) PRO/100 Network Driver, 3.4.14-k2-NAPI e100: Copyright(c) 1999-2005 Intel Corporation PCI: Found IRQ 11 for device 0000:02:03.0 PCI: Sharing IRQ 11 with 0000:00:1f.2 e100: eth0: e100_probe: addr 0xe0000000, irq 11, MAC addr 00:60:94:E3:89:E1 PCI: Found IRQ 5 for device 0000:00:1f.5 PCI: Sharing IRQ 5 with 0000:00:1f.3 PCI: Setting latency timer of device 0000:00:1f.5 to 64 intel8x0_measure_ac97_clock: measured 55184 usecs intel8x0: clocking to 48000 hw_random: RNG not detected shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5 shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5 USB Universal Host Controller Interface driver v2.3 PCI: Found IRQ 11 for device 0000:00:1f.2 PCI: Sharing IRQ 11 with 0000:02:03.0 PCI: Setting latency timer of device 0000:00:1f.2 to 64 uhci_hcd 0000:00:1f.2: UHCI Host Controller uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:1f.2: irq 11, io base 0x0000d000 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected PCI: setting IRQ 9 as level-triggered PCI: Assigned IRQ 9 for device 0000:00:1f.4 PCI: Setting latency timer of device 0000:00:1f.4 to 64 uhci_hcd 0000:00:1f.4: UHCI Host Controller uhci_hcd 0000:00:1f.4: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:1f.4: irq 9, io base 0x0000d400 hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected usb 1-2: new low speed USB device using uhci_hcd and address 2 input: USB HID v1.10 Mouse [062a:0000] on usb-0000:00:1f.2-2 NET: Registered protocol family 10 Disabled Privacy Extensions on device c0388660(lo) IPv6 over IPv4 tunneling driver ACPI: Power Button (FF) [PWRF] ACPI: Power Button (CM) [PWRB] ACPI: Sleep Button (CM) [SLPB] ibm_acpi: ec object not found md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com EXT3 FS on hdb2, internal journal Adding 770072k swap on /dev/hdb1. Priority:-1 extents:1 across:770072k e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex Bluetooth: Core ver 2.7 NET: Registered protocol family 31 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized Bluetooth: L2CAP ver 2.7 Bluetooth: L2CAP socket layer initialized Bluetooth: RFCOMM ver 1.5 Bluetooth: RFCOMM socket layer initialized Bluetooth: RFCOMM TTY layer initialized parport: PnPBIOS parport detected. parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE] lp0: using parport0 (interrupt-driven). lp0: console ready ppdev: user-space parallel port driver ppdev0: registered pardevice ppdev0: unregistered pardevice ppdev1: claim the port first ppdev2: claim the port first ppdev3: claim the port first eth0: no IPv6 routers present nvidia: module license 'NVIDIA' taints kernel. NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-8178 Wed Dec 14 16:22:51 PST 2005 agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0. agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0. agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode loop: loaded (max 8 devices) NTFS driver 2.1.24 [Flags: R/W MODULE]. NTFS volume version 3.0. NET: Registered protocol family 23 IrCOMM protocol (Dag Brattli) CSLIP: code copyright 1989 Regents of the University of California PPP generic driver version 2.4.2 ISO 9660 Extensions: Microsoft Joliet Level 3 ISO 9660 Extensions: RRIP_1991A

в /dev появилось устройство ircomm
модель tekram irmate 210
про чип пока ничего найти не могу, команда findchip -v ничего не показывает.

Изображение пользователя sergeil.

Re: xgnokii настроен не на тот порт #5

sandyb писал(а):
в /dev появилось устройство ircomm модель tekram irmate 210

Обратите внимание на /usr/share/doc/irda-utils-0.9.16/README.irattach
/usr/share/doc/irda-utils-0.9.16/modprobe.conf.irda

IMHO, Там есть о Вашей irda. Скорее всего, необходимо добавить параметр в
[sergeil@homedesk sysconfig]$ cat /etc/sysconfig/irda

Цитата:
...
DONGLE=tekram
...

Но гарантировать не могу, поскольку попробовать не на чем...


Админ админу - друг, товарищ и ман...
(c) Almaty

Изображение пользователя Radik.

Re: xgnokii настроен не на тот порт #6

sandyb писал(а):
в /dev появилось устройство ircomm
Кстати, моя irDA тоже определяется как /dev/ircomm, как выянилось в последствии (инет через gprs настроил через нее). Только вот сколько снова с xgnokii боролся, так и не поборол... Приключения продолжаются...


Мы ушли на www.asplinuxclub.org - как не справивишиеся с обязанностями модераторов

Изображение пользователя sandyb.

Re: xgnokii настроен не на тот порт #7

Цитата:
sergeil пишет: IMHO, Там есть о Вашей irda. Скорее всего, необходимо добавить параметр в [sergeil@homedesk sysconfig]$ cat /etc/sysconfig/irda
Цитата:
... DONGLE=tekram ...
Но гарантировать не могу, поскольку попробовать не на чем...

это у меня давно добавлено, не помогает

за вчера и сегодня вот к чему пришел
xgnokii
LOG: debug mask is 0x1

(xgnokii:5592): Gtk-WARNING **: horizontal scrolling not implemented

(xgnokii:5592): Gtk-WARNING **: horizontal scrolling not implemented
phone instance config:
model: 6230
port_device: /dev/ttyS0
connection_type: 4
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: off
Connecting
Serial device: opening device /dev/ttyS0
Nokia 6230 939b
connect: Нет пути до хоста
Couldn't open PHONET device: Нет пути до хоста
Error in link initialisation: 1
GSM/FBUS init failed!
Serial device: closing device

телефон мой она определяет, но что означает нет пути до хоста ???

Изображение пользователя Radik.

Re: xgnokii настроен не на тот порт #8

sandyb писал(а):
xgnokii LOG: debug mask is 0x1

(xgnokii:5592): Gtk-WARNING **: horizontal scrolling not implemented

(xgnokii:5592): Gtk-WARNING **: horizontal scrolling not implemented


У меня только циферки другие:
$ xgnokii
LOG: debug mask is 0x1

(xgnokii:2900): Gtk-WARNING **: horizontal scrolling not implemented

(xgnokii:2900): Gtk-WARNING **: horizontal scrolling not implemented
Device already locked.
Lock file error. Exiting

Это сообщение при работающем интернет через инфракрасник. А вот без подключения к интернет:

$ xgnokii
LOG: debug mask is 0x1

(xgnokii:3085): Gtk-WARNING **: horizontal scrolling not implemented

(xgnokii:3085): Gtk-WARNING **: horizontal scrolling not implemented
Please check permission on lock directory.
Lock file error. Exiting

Поиск решения проблемы пока ничего не дал...


Мы ушли на www.asplinuxclub.org - как не справивишиеся с обязанностями модераторов

Изображение пользователя Alexey.

Re: xgnokii настроен не на тот порт #9

Цитата:
rrraD пишет: Собственно сабж. У меня Nokia 6610i. Через irdadump определяется. Находится на порту /dev/ttyS1. Но вот с gnokii проблема:
# xgnokii
LOG: debug mask is 0x1

(xgnokii:4269): Gtk-WARNING **: horizontal scrolling not implemented

(xgnokii:4269): Gtk-WARNING **: horizontal scrolling not implemented
phone instance config:
model: 6510
port_device: /dev/ttyS0
connection_type: 0
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: off
Connecting
Serial device: opening device /dev/ttyS0
Gnokii serial_open: tcgetattr: Ошибка ввода/вывода
Couldn't open FBUS device: Ошибка ввода/вывода
Error in link initialisation: 1
Serial device: opening device /dev/ttyS0
Gnokii serial_open: tcgetattr: Ошибка ввода/вывода
Couldn't open FBUS device: Ошибка ввода/вывода
Error in link initialisation: 1
Serial device: opening device /dev/ttyS0
Gnokii serial_open: tcgetattr: Ошибка ввода/вывода
Couldn't open FBUS device: Ошибка ввода/вывода
Error in link initialisation: 1
GSM/FBUS init failed! (Unknown model?). Quitting.
Serial device: closing device
Где все это дело редактируется? Гугление не помогло... Простите меня
У вас явные ошибки в настройке xgnokii, для соединения через irda должно быть указано: port =/dev/ircomm0 а у вас port_device: /dev/ttyS0 model = 6610 а у вас model: 6510 serial_baudrate = 9600 - скорость телефона определить довольно трудно, начни с малой, и пробуй увеличивать. В общем надо читать .gnokiirc, это настроечный файл gnokii (xgnokii) он лежит в домашней папке, если его там нет, то надо поиском искать где он, и оттуда скопировать в домашнюю папку, затем править. В файле все очень подродно закоментировано и понятно

Изображение пользователя Radik.

Re: xgnokii настроен не на тот порт #10

Alexey писал(а):
У вас явные ошибки в настройке xgnokii
Они исправлены. Ошибка похоже в драйверах:
$ xgnokii
LOG: debug mask is 0x1

(xgnokii:3124): Gtk-WARNING **: horizontal scrolling not implemented

(xgnokii:3124): Gtk-WARNING **: horizontal scrolling not implemented
Please check permission on lock directory.
Lock file error. Exiting
phone instance config:
model: 6610i
port_device: /dev/ircomm0
connection_type: 4
init_length: 128
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: off
Connecting
Serial device: opening device /dev/ircomm0
Nokia 6610i     eed3
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               |
Message received: 0x1b / 0x002e
01 33 00 08 00 01 58 28 00 23 56 20 34 2e 32 30 |  3    X( #V 4.20
0a 32 30 2d 30 34 2d 30 35 0a 52 4d 2d 33 37 0a |  20-04-05 RM-37
28 63 29 20 4e 6f 6b 69 61 2e 0a 45 00 00       | (c) Nokia. E
Received message type 1b
model length: 5
Received model RM-37
Sorry, this function is known to break your phone (Nokia phones series 40 v1).
Refusing to do it. You may try to use AT driver. If you are brave enough to
test the driver anyway, please contact developers at gnokii-users@nongnu.org.
See also http://thread.gmane.org/gmane.linux.drivers.gnokii/3195
GSM/FBUS init failed!
Serial device: closing device


Мы ушли на www.asplinuxclub.org - как не справивишиеся с обязанностями модераторов

Изображение пользователя sergeil.

Re: xgnokii настроен не на тот порт #11

Цитата:
rrraD пишет:
Alexey писал(а):
У вас явные ошибки в настройке xgnokii
Они исправлены. Ошибка похоже в драйверах:
Какие еще ошибки в драйвере?

Цитата:
Serial device: opening device /dev/ircomm0 Nokia 6610i eed3 Getting model... Message sent: 0x1b / 0x0006 00 01 00 07 01 00 | Message received: 0x1b / 0x002e 01 33 00 08 00 01 58 28 00 23 56 20 34 2e 32 30 | 3 X( #V 4.20 0a 32 30 2d 30 34 2d 30 35 0a 52 4d 2d 33 37 0a | 20-04-05 RM-37 28 63 29 20 4e 6f 6b 69 61 2e 0a 45 00 00 | (c) Nokia. E Received message type 1b model length: 5 Received model RM-37
Обмен произошел. Модель определена...

Цитата:
Sorry, this function is known to break your phone (Nokia phones series 40 v1). Refusing to do it. You may try to use AT driver. If you are brave enough to test the driver anyway, please contact developers at gnokii-users@nongnu.org. See also http://thread.gmane.org/gmane.linux.drivers.gnokii/3195 GSM/FBUS init failed! Serial device: closing device[/code]
Примитивный, слегка причесаный перевод...
Цитата:
Жаль, но эта функция (метод доступа?), как известно, портит Ваш телефон (ряд телефонов Nokia 40 v1). Отказываюсь сделать это.
То есть, Gnokki с Вашей моделью телефона работать не умеет... К счастью, она это определила и отказалась ломать мобильник.

Цитата:
Вы можете попробовать использовать AT драйвер. Если Вы достаточно храбры, чтобы попробовать этот драйвер, свяжитесь с разработчиками... gnokii.
Если Вы экстремал, то можете поработать альфа-тестером gnokii... Насколько я понял, Nokia изменила протокол взаимодействия с телефоном...

Так что, шнурок работает...


Админ админу - друг, товарищ и ман...
(c) Almaty

Изображение пользователя Radik.

Re: xgnokii настроен не на тот порт #12

sergeil писал(а):
Какие еще ошибки в драйвере?
Смутила эта строчка:
Цитата:
Sorry, this function is known to break your phone (Nokia phones series 40 v1). Refusing to do it. You may try to use AT driver.
Прошу прощения. Неправильно выразился... Имел в виду что загвоздка в драйвере... Нет, тестером быть не могу...телефон один и очень нужен...


Мы ушли на www.asplinuxclub.org - как не справивишиеся с обязанностями модераторов

Изображение пользователя Alexey.

Re: xgnokii настроен не на тот порт #13

sergeil писал(а):
erial device: opening device /dev/ircomm0 Nokia 6610i eed3 Getting model... Message sent: 0x1b / 0x0006 00 01 00 07 01 00 | Message received: 0x1b / 0x002e 01 33 00 08 00 01 58 28 00 23 56 20 34 2e 32 30 | 3 X( #V 4.20 0a 32 30 2d 30 34 2d 30 35 0a 52 4d 2d 33 37 0a | 20-04-05 RM-37 28 63 29 20 4e 6f 6b 69 61 2e 0a 45 00 00 | (c) Nokia. E Received message type 1b model length: 5 Received model RM-37

Обмен произошел. Модель определена...


Вы н
rrraD писал(а):
Смутила эта строчка:
Цитата:

Sorry, this function is known to break your phone (Nokia phones series 40 v1).
Refusing to do it. You may try to use AT driver.

Прошу прощения. Неправильно выразился...
Имел в виду что загвоздка в драйвере...
Нет, тестером быть не могу...телефон один и очень нужен...


Не стоит так сразу. Драйвер AT не повредит ваш телефон, не волнуйтесь. Это очень ограниченный драйвер (к сожалению я вынужден пользоваться им) подробно о его возможностях можно прочить на сайте. Но я уже скажу кратко: он работает почти со всеми телефонами (не обязательно nokia), но зато возможности примитивны, фактически это расширенный набор AT команд как для обычного модема. А именно что может быть доступно: просмотр/редактирование телефонной книги, может набирать номер, смотреть/посылать sms, редактировать календарь. У мнея все работает корректно только под utf8. С таким набором в общем это только для xgnokii. Чего не получиться с таким драйвером: mms, скачивание/закачивание файлов. Не бойтесь он ничего не повредит. Если все-таки есть сомнения, но можно сделать резервную копию телефона прогой nokia pcsuite. И помните, через irda не сможете получить доступ в ОС телефона, т.ч. даже если вы не осторожно что-то сделаете, то пострадают только данные. Я сам долго мучался с Nokia6020, несколько более продвинутая прога это gammu (это командная строка), пробуйте, пишите!

Изображение пользователя Radik.

Re: xgnokii настроен не на тот порт #14

Alexey писал(а):
Вы нrrraD,
Прошу прощения, тут непонятно что Вы имели в виду...
Цитата:
А именно что может быть доступно: просмотр/редактирование телефонной книги, может набирать номер, смотреть/посылать sms, редактировать календарь.
Для меня важна еще и прием/передача фотографий и мелодий...
Цитата:
У мнея все работает корректно только под utf8.
Снова прокол... У меня виндовая кодировка...
Цитата:
несколько более продвинутая прога это gammu (это командная строка)
Она у меня установлена. Но к ней есть и графический интерфейс (во всяком случаее в одном из обзоров она показана с графическим интерфейсом), но я графику пока не нашел, а с коммандной строкой еще не возился... Спасибо за разъяснение, Alexey! Боюсь, что мы свалились в оффтопик...


Мы ушли на www.asplinuxclub.org - как не справивишиеся с обязанностями модераторов

Изображение пользователя Alexey.

Re: xgnokii настроен не на тот порт #15

rrraD писал(а):
Боюсь, что мы свалились в оффтопик...
Пожалуй. Насколько я понимаю, проблема с портом решена и все настроенно верно? Но программа не работает, т.к. нет подходящего драйвера для телефона. Я вот сейчас запустил xgnokii (драйвер AT, телефон Nokia 6020 - это телефон 40 серии, как и ваш), но в меню программы xgnokii отсутствует пункты для закачивания мелодий фоток. Сама программа gnokii это может (из командной строки), у меня не заработало, выдает ошибку сегментации, но графический интерфейс по моему не может работать с файлами. http://linuxmobile.lrn.ru/ - о работе с сотовыми под linux. Успехов, скажу честно, у меня так не получилось загружать фотки/мелодии с/на телефона, если будут результаты, обязательно напишите.

Изображение пользователя sandyb.

Re: xgnokii настроен не на тот порт #16

взял у знакомого шнур для телефона, с ним так же не получилось как и через ИК. Ставил gammu , кстате графическая оболочка под нее называется wammu, через нее тоже тишина.
Скачал последнюю версию gnokii 0.6.13 , поставил. Попробовал сперва со шнуром без запиночки соединился , обрадовался, начал через ИК, и тут снова облом
xgnokii
LOG: debug mask is 0x1

(xgnokii:10112): Gtk-WARNING **: horizontal scrolling not implemented

(xgnokii:10112): Gtk-WARNING **: horizontal scrolling not implemented
phone instance config:
model: 6510
port_device: /dev/ircomm0
connection_type: 4
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: off
Connecting
Serial device: opening device /dev/ircomm0
Expecting:
Default: Nokia 6230 444
connect: Нет пути до хоста
Couldn't open PHONET device: Нет пути до хоста
Error in link initialisation: 1
Telephone interface init failed: Command failed.
Quitting.
Failed to open the phone. Quitting.
Serial device: closing device

Изображение пользователя Radik.

Re: xgnokii настроен не на тот порт #17

sandyb писал(а):
Ставил gammu , кстате графическая оболочка под нее называется wammu
Спасибо,поищу...
Цитата:
обрадовался, начал через ИК, и тут снова облом
Посмотрите пример моих настроек gnokiirc:
Цитата:
# This is a sample ~/.gnokiirc file. Copy it into your # home directory and name it .gnokiirc. # See http://wiki.gnokii.org/index.php/Config for working examples. #

[global]

# Set port to the physical port used to connect to your phone.
# Linux version is:
#port = /dev/ttyS1
#
# For MacOSX you will need something like:
# port = /dev/cu.USA28X1P1.1
#
# For Win32 you want to use:
# port = com1:
# or similiar.
#
# FreeBSD (probably NetBSD and OpenBSD too) use:
# port = /dev/cuaa0
#
# With Linux-IrDA you will want to use
port = /dev/ircomm0
# or similiar.
#
# Use this setting also for the Bluetooth connection:
# port = aa:bb:cc:dd:ee:ff
# when using it with AT driver set it to:
# port = /dev/rfcomm0
# or similiar.
#
# For the Linux USB cables you will need one of the following settings (or
# similiar)
# port = /dev/ttyUSB0
# port = /dev/tts/USB0
# port = /dev/ttyACM0
# the last one will work only with AT driver. The correct setting should be
# given in the dmesg output.

# Set model to the model number of your phone. For the
# Symbian phones use:
# model = series60
# For other non-Nokia phones and when you want to use AT
# mode use:
# model = AT
# If you can't figure out what to put here read the FAQ.
# If it still doesn't help, consult gnokii-ml or #gnokii at freenode.
model = 6610i
# There are few main models that should make use of the certain drivers.
# These are: 6110, 7110, 6510, 3110, 2110, 6160.

# Initlength controls the number of characters sent to the
# phone during initialisation. You can either set it to
# the word "default" or a positive integer.
#
# You can try setting this value if you want to connect
# to the phone quicker. If you've never noticed the
# connection to be slow, it is suggested that you
# leave this alone. Read the initialisation code in fbus-xxxx
# to understand what this changes if you're curious.
initlength = 128

# The type of the connection, for IR set this to infrared or irda.
# For the nk6110 driver only infrared is valid for the IrDA connection.
# See Docs/gnokii-ir-howto for more detailes on this.
# If you have 6210/6250/7110 phone and dau9p cable (the one you can
# use with 6100 series and cannot use hardware modem from the phone)
# you may want to use 'dau9p' value to get faster initialization.
# If you use dlr3 or dlr3p cable for nokia phones in FBUS mode (ie.
# you don't use model = AT) you may want to use 'dlr3p' value here.
# Note that it is recommended and currently the best way to use this
# cable with nk6510 driver.
#connection = dlr3p
# With DKU-2 cable use the following setting
# connection = dku2
# With DKU-5 cable use the following setting
# connection = dlr3p
# For Bluetooth and AT driver use the following setting
#connection = serial
# For other Bluetooth settings use
# connection = bluetooth
# For infraded connection with phones other then Nokia 6110/6130/6150 use
connection = irda

# Set this to 'yes' if you want gnokii to set and check the lock file in
# /var/lock directory. It avoids potential conflicts with other serial
# port software (eg. minicom). If you have wrong permissions for the
# directory, a warning will be generated. If you don't want a lockfile, set
# it to 'no'.
use_locking = yes

# Baudrate to use on serial port connections.
# Currently used only by models AT and BIP/CIMD. Defaults to 19200.
serial_baudrate = 19200

# Force waiting after each send character the specified usec time.
# Value -1 forces the fastest 'block' writing,
# value 0 writes each character separately without any explicite waiting,
# other positive values specify the appropriate 1/1000000 sec delaying.
# Siemens M20 requires at least "1"! FIXME: Model-driven autodetection
#serial_write_usleep = 10000

# Force serial port handshaking mode, useful primarily for "AT" model.
# Gnokii "AT" model uses software handshake by default.
# Possible values: hardware (RTS/CTS - 7 wires) or software (XON/XOFF - 3 wires)
#handshake = software

# If defined (not commented out by '#') it will quit Gnokii anytime
# when DCD line will drop.
#require_dcd = 1

# If you are using a bluetooth connection, you can specify the rfcomm
# channel number here. Default value is 1.
#rfcomm_channel = 1

# There may happen various timeouts during the communication with the phone.
# This parameter enables the retransmission policy. Ie. if the phone doesn't
# respond, we send the frame again. This happend mainly with the older
# phones. You may want to enable it when you see mysterious timeouts.
# Be very carefull with this option. It is suspected to cause phone breakage
# with new DCT4 phones (like Nokia 6100). By default it is switched off
# (sm_retry = 0)
#sm_retry = 1

# Run the specified script(s) right after opening and initializing the device
# and before any communucation (right before closing for disconnect_script).
# You may find handy to use it to connect your modem to SMS Center
# when using BIP or CIMD protocols
# Non-absolute path is relative to the specific directory where gnokii is run!
#connect_script = /absolute/path/to/gnokii/Docs/sample/cimd-connect
#disconnect_script =

# When sending SMS you can experience timeouts. This is the feature of the
# overloaded SMSCs. The phones waits for the response from the SMSC confirming
# that it received the short message. When the SMSC is DoSed with many requests
# it will take more time to get the response. Adjust it to your needs. The
# value is given in seconds to wait. Defaults to 10 seconds. Set to 0 to wait
# forever.
smsc_timeout = 10

# Set bindir to point to the location of the various gnokiid binaries.
# In particular ensure that mgnokiidev is in this location, with
# permissions 4750, owned by root, group gnokii. Ensure you
# are in the gnokii group and that the group exists...
[gnokiid]
bindir = /usr/sbin/

# Any entries in the following two sections will be set as environment
# variables when running the scripts.
# Handy for use for $VAR substitutions in your chat(Поражён script.
[connect_script]
TELEPHONE = 12345678
[disconnect_script]

# The following parameters control how libgnokii handle the debugging messages.
# Currently there are three categories: "debug" controls the libgnokii
# normal debug output, "rlpdebug" controls the debug output of the RLP
# subsystem, and "xdebug" is used by the xgnokii or smsd.

[logging]

# where to log the debug output (on: stderr, off: /dev/null)
debug = on

# where to log the rlp debug output (on: stderr, off: /dev/null)
rlpdebug = off

# where to log X debug output (on: stderr, off: /dev/null)
xdebug = off


Может поможет?
Alexey писал(а):
Успехов, скажу честно, у меня так не получилось загружать фотки/мелодии с/на телефона, если будут результаты, обязательно напишите.

Спасибо, договорились.


Мы ушли на www.asplinuxclub.org - как не справивишиеся с обязанностями модераторов

Изображение пользователя sandyb.

Re: xgnokii настроен не на тот порт #18

Скачай версию 6.13 она специально для твоего телефона
И еще в файле gnokiirc в строчке model должно прописано 6510, а не твой телефон(6610i)
И если поставишь версию 6.13 заново исправь gnokii, там еще есть новая строка для твоего телефона

Изображение пользователя Radik.

Re: xgnokii настроен не на тот порт #19

sandyb писал(а):
Скачай версию 6.13 она специально для твоего телефона
Ни в официальных репозитариях, ни в тигрином, я его не нашел... Тигра, ау!
Цитата:
И еще в файле gnokiirc в строчке model должно прописано 6510, а не твой телефон(6610i)
А вот это интересно... Почему так?
Цитата:
И если поставишь версию 6.13 заново исправь gnokii, там еще есть новая строка для твоего телефона
Правильно понимаю, что нужно новый gnokiirc скачать с сайта?


Мы ушли на www.asplinuxclub.org - как не справивишиеся с обязанностями модераторов

Изображение пользователя sandyb.

Re: xgnokii настроен не на тот порт #20

Цитата:
А вот это интересно... Почему так?
честно говоря, я в этом не очень разбираюсь. Но я это понял так, что прога использует для определенных телефонов определенный драйвер. Под одним, определенным драйвером работают группа каких то телефонов. (одной серии) И вот в строчке model нужно указать указать драйвер . А твой и мой(6230) относятся к 6510. ( Вот не знаю на сколько понятно объяснил, у меня это все время плохо получается)

Цитата:
Правильно понимаю, что нужно новый gnokiirc скачать с сайта?
да. Я бы мог выслать по почте, но она у меня не позволяет слать больше метра.

Изображение пользователя Radik.

Re: xgnokii настроен не на тот порт #21

sandyb писал(а):
А твой и мой(6230) относятся к 6510. ( Вот не знаю на сколько понятно объяснил, у меня это все время плохо получается)
Понятно, спасибо!
Цитата:
да. Я бы мог выслать по почте, но она у меня не позволяет слать больше метра.
Стоп. Я не про саму программу, а ее текстовый файл .gnokiirc...


Мы ушли на www.asplinuxclub.org - как не справивишиеся с обязанностями модераторов

Изображение пользователя sandyb.

Re: xgnokii настроен не на тот порт #22

Цитата:
rrraD пишет: Стоп. Я не про саму программу, а ее текстовый файл .gnokiirc...
только сомневаюсь что если так же сделаешь в своем файле все заработает # This is a sample ~/.gnokiirc file. Copy it into your # home directory and name it .gnokiirc. # See http://wiki.gnokii.org/index.php/Config for working examples. #

[global]

# Set port to the physical port used to connect to your phone.
# Linux version is:
# port = /dev/ttyS0
#
# For MacOSX you will need something like:
# port = /dev/cu.USA28X1P1.1
#
# For Win32 you want to use:
# port = com1:
# or similiar.
#
# FreeBSD (probably NetBSD and OpenBSD too) use:
# port = /dev/cuaa0
#
# With Linux-IrDA you will want to use
port = /dev/ircomm0
# or similiar.
#
# Use this setting also for the Bluetooth connection:
# port = aa:bb:cc:dd:ee:ff
# when using it with AT driver set it to:
# port = /dev/rfcomm0
# or similiar.
#
# For the Linux USB cables you will need one of the following settings (or
# similiar)
# port = /dev/ttyUSB0
# port = /dev/tts/USB0
# port = /dev/ttyACM0
# the last one will work only with AT driver. The correct setting should be
# given in the dmesg output.

# Set model to the model number of your phone. For the
# Symbian phones use:
# model = series60
# For other non-Nokia phones and when you want to use AT
# mode use:
# model = AT
# If you can't figure out what to put here read the FAQ.
# If it still doesn't help, consult gnokii-ml or #gnokii at freenode.
model = 6230
# There are few main models that should make use of the certain drivers.
# These are: 6110, 7110, 6510, 3110, 2110, 6160.

# Set IrDA device name.
# If you use irda connection you may want gnokii to autodetect the irda
# device it connects to. This is fine for most of the cases. if you have
# more than one device in range you may want to give manually the device
# name so gnokii correctly recognizes it. Use the name that you can see
# in the discovery log when the phone with infrared is in the range of
# your irda port.
# Note that you need to set this for each phone_ section separately. It
# isn't nested from the global section.
# irda_string = Nokia 6610i

# Initlength controls the number of characters sent to the
# phone during initialisation. You can either set it to
# the word "default" or a positive integer.
#
# You can try setting this value if you want to connect
# to the phone quicker. If you've never noticed the
# connection to be slow, it is suggested that you
# leave this alone. Read the initialisation code in fbus-xxxx
# to understand what this changes if you're curious.
initlength = 128

# The type of the connection, for IR set this to infrared or irda.
# For the nk6110 driver only infrared is valid for the IrDA connection.
# See Docs/gnokii-ir-howto for more detailes on this.
# If you have 6210/6250/7110 phone and dau9p cable (the one you can
# use with 6100 series and cannot use hardware modem from the phone)
# you may want to use 'dau9p' value to get faster initialization.
# If you use dlr3 or dlr3p cable for nokia phones in FBUS mode (ie.
# you don't use model = AT) you may want to use 'dlr3p' value here.
# Note that it is recommended and currently the best way to use this
# cable with nk6510 driver.
# connection = serial
# With DKU-2 cable use the following setting if you want to libusb driver
# (recommended):
# connection = dku2libusb
# or the following setting if you want to use Linux kernel driver
# connection = dku2
# With DKU-5 cable use the following setting
# connection = dku5
# For Bluetooth and AT driver use the following setting
# connection = serial
# For other Bluetooth settings use
# connection = bluetooth
# For infrared connection with phones other than Nokia 6110/6130/6150 use
connection = irda

# Set this to 'yes' if you want gnokii to set and check the lock file in
# /var/lock directory. It avoids potential conflicts with other serial
# port software (eg. minicom). If you have wrong permissions for the
# directory, a warning will be generated. If you don't want a lockfile, set
# it to 'no'.
use_locking = yes

# Baudrate to use on serial port connections.
# Currently used only by models AT and BIP/CIMD. Defaults to 19200.
serial_baudrate =19200

# Force waiting after each send character the specified usec time.
# Value -1 forces the fastest 'block' writing,
# value 0 writes each character separately without any explicite waiting,
# other positive values specify the appropriate 1/1000000 sec delaying.
# Siemens M20 requires at least "1"! FIXME: Model-driven autodetection
#serial_write_usleep = 10000

# Force serial port handshaking mode, useful primarily for "AT" model.
# Gnokii "AT" model uses software handshake by default.
# Possible values: hardware (RTS/CTS - 7 wires) or software (XON/XOFF - 3 wires)
#handshake = software

# If defined (not commented out by '#') it will quit Gnokii anytime
# when DCD line will drop.
#require_dcd = 1

# If you are using a bluetooth connection, you can specify the rfcomm
# channel number here. Default value is 1.
#rfcomm_channel = 1

# There may happen various timeouts during the communication with the phone.
# This parameter enables the retransmission policy. Ie. if the phone doesn't
# respond, we send the frame again. This happend mainly with the older
# phones. You may want to enable it when you see mysterious timeouts.
# Be very carefull with this option. It is suspected to cause phone breakage
# with new DCT4 phones (like Nokia 6100). By default it is switched off
# (sm_retry = 0)
#sm_retry = 1

# Run the specified script(s) right after opening and initializing the device
# and before any communication (right before closing for disconnect_script).
# You may find handy to use it to connect your modem to SMS Center
# when using BIP or CIMD protocols
# Non-absolute path is relative to the specific directory where gnokii is run!
#connect_script = /absolute/path/to/gnokii/Docs/sample/cimd-connect
#disconnect_script =

# When sending SMS you can experience timeouts. This is the feature of the
# overloaded SMSCs. The phones waits for the response from the SMSC confirming
# that it received the short message. When the SMSC is DoSed with many requests
# it will take more time to get the response. Adjust it to your needs. The
# value is given in seconds to wait. Defaults to 10 seconds. Set to 0 to wait
# forever.
smsc_timeout = 10

# Set bindir to point to the location of the various gnokiid binaries.
# In particular ensure that mgnokiidev is in this location, with
# permissions 4750, owned by root, group gnokii. Ensure you
# are in the gnokii group and that the group exists...
[gnokiid]
bindir = /usr/local/sbin/

# Any entries in the following two sections will be set as environment
# variables when running the scripts.
# Handy for use for $VAR substitutions in your chat(Поражён script.
[connect_script]
TELEPHONE = 12345678
[disconnect_script]

# The following parameters control how libgnokii handle the debugging messages.
# Currently there are three categories: "debug" controls the libgnokii
# normal debug output, "rlpdebug" controls the debug output of the RLP
# subsystem, and "xdebug" is used by the xgnokii or smsd.

[logging]

# where to log the debug output (on: stderr, off: /dev/null)
debug = on

# where to log the rlp debug output (on: stderr, off: /dev/null)
rlpdebug = off

# where to log X debug output (on: stderr, off: /dev/null)
xdebug = off