Skocz do zawartości

Nokia Przez Port Usb


lysyr

Rekomendowane odpowiedzi

Nie wiem jak ale na Fedora 4 udało mi się uzyskać coś, co niektórzy uważali za niemożliwość, przynajmniej spotkałem się z taką opinią, czyli zawsze dobre montowanie urządzeń USB. Ostatnio, w celu nagrania paru utworów, podłączałem Nokię i nawet pokazało numer modelu, z tym że by coś grało w Nokii potrzebna była zmiana formatu plików na lsn czy jakieś tam, a tego już nie potrafiłem zrobić.

Odnośnik do komentarza
Udostępnij na innych stronach

@ecik__ Moze to troche nie na miejscu, ale bede bezlitosny i sie podepne...

Na dniach bede (po raz pierwszy pod (_linux'em_ → Linuksem) ORT ;-) ) uruchamial "cos" do "obslugi" N7610@Bluetooth.

Bylbys tak uprzejmy i podzielil sie wszelkimi uwagami w tym wzgledzie - niezbedne pakiety, biblioteki, soft, przykladowa konfiguracja?

Mam tez DKU (kabel USB) ale jakos preferuje rozwiazania bezkablowe ;-)

Pytania kieruje oczywiscie do wszystkich ktorzy beda chcieli pomoc, nie tylko do ecik'a...

Pozdrawiam

Odnośnik do komentarza
Udostępnij na innych stronach

Bylbys tak uprzejmy i podzielil sie wszelkimi uwagami w tym wzgledzie - niezbedne pakiety, biblioteki, soft, przykladowa konfiguracja?

Oczywiście jak zawsze rządzi dokumentacja gentoo wink.gif Polecam ten adres. Tu jest wszystko wyjaśnione. Gdybyś miał jakieś wątpliwości, albo chciał żebym to przetłumaczył na Fedorę to pisz smile.gif

Odnośnik do komentarza
Udostępnij na innych stronach

  • 4 weeks later...

A ja dostaję coś takiego:

GNOKII wersja 0.6.10

LOG: debug mask is 0x1

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: open: Brak dostępu

Nie mogłem otworzyć urządzenia FBUS: Brak dostępu

Error in link initialisation: 1

Serial device: opening device /dev/ttyS0

Gnokii serial_open: open: Brak dostępu

Nie mogłem otworzyć urządzenia FBUS: Brak dostępu

Error in link initialisation: 1

Serial device: opening device /dev/ttyS0

Gnokii serial_open: open: Brak dostępu

Nie mogłem otworzyć urządzenia FBUS: Brak dostępu

Error in link initialisation: 1

Nieudana inicjalizacja interfejsu telefonu: Command failed. Koniec.

Serial device: closing device

I co dalej? CZy moja Nokia nie ruszy?

Podrawiam

Odnośnik do komentarza
Udostępnij na innych stronach

  • 1 month later...

Hej Przemek!

Postępowałem jak jest w instrukcji ale...

1. Podgląd dla Nokii 6610 pliku /home/user/.gnokiirc (w pliku /etc/gnokiirc było napisane, aby przegrać tekst do kat. domowego)

# 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/tts/USB0

#

# 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 = 6510

# 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 = default

 

# 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

# 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 = no

 

# 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(8) 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

 

 

2. I jak wpiszę w konsolę xgnokii to dostaję:

[wojtek@localhost ~]$ xgnokii

LOG: debug mask is 0x1

 

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

 

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

phone instance config:

model: 6510

port_device: /dev/tts/USB0

connection_type: 2

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/tts/USB0

Gnokii serial_open: open: Nie ma takiego pliku ani katalogu

Nie mogłem otworzyć urządzenia FBUS: Nie ma takiego pliku ani katalogu

Error in link initialisation: 1

Serial device: opening device /dev/tts/USB0

Gnokii serial_open: open: Nie ma takiego pliku ani katalogu

Nie mogłem otworzyć urządzenia FBUS: Nie ma takiego pliku ani katalogu

Error in link initialisation: 1

Error in link initialisation: 1

Nieudana inicjalizacja GSM/FBUS!

Serial device: closing device

O co w tym bryka? Co źle zrobiłem?

Dzięki i pozdrawiam

Odnośnik do komentarza
Udostępnij na innych stronach

Serial device: opening device /dev/tts/USB0

Gnokii serial_open: open: Nie ma takiego pliku ani katalogu

Nie mogłem otworzyć urządzenia FBUS: Nie ma takiego pliku ani katalogu

oj, tnij tresc configow, wyrzucaj komentarze smile.gif (te co # sie zaczynaja)

Wyglada na to ze nie masz urzadzenia /dev/tts/USB0.. w tym opisie masz opisane jak to sprawdzic (popatrz na okolice "ls /dev/tts").. jesli nie masz, to sprawdz czy masz zaladowane wszystkie moduly, ktore sa tam wymagane.. moze byc tez taka sytuacja, ze twoj kabel ma uklad niekompatybilny z "pl2303"...

Odnośnik do komentarza
Udostępnij na innych stronach

  • 2 weeks later...
Connecting

Serial device: opening device /dev/ttyS0

Gnokii serial_open: open: Brak dostępu

Nie mogłem otworzyć urządzenia FBUS: Brak dostępu

Error in link initialisation: 1

Serial device: opening device /dev/ttyS0

Gnokii serial_open: open: Brak dostępu

Nie mogłem otworzyć urządzenia FBUS: Brak dostępu

Error in link initialisation: 1

Serial device: opening device /dev/ttyS0

Gnokii serial_open: open: Brak dostępu

Nie mogłem otworzyć urządzenia FBUS: Brak dostępu

Error in link initialisation: 1

Nieudana inicjalizacja interfejsu telefonu: Command failed. Koniec.

Serial device: closing device

I co dalej? CZy moja Nokia nie ruszy?

Podrawiam

sprobuj zrobic to jako root, powinno pomoc,

 

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 4 weeks later...

Jeżeli mam nokię 6610, to jaki mam model wpisać w gnokiirc ??

# 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 = 6510
# There are few main models that should make use of the certain drivers.
# These are: 6110, 7110, 6510, 3110, 2110, 6160.

Odnośnik do komentarza
Udostępnij na innych stronach

  • 4 weeks later...

Ja także mam mały ból głowy z podłączeniem N6230i. Używałem do niedawna Suse i tam urządzenia USB po prostu same się montowały, a telefon widziany był jako zwykły dysk wymienny. To teoretycznie jest do osiągnięcia i na Fedorze. Jako, że dopiero wczoraj przesiałem się na F5 - nie miałem czasu zapoznać się z tematem. Na pewno jednak zabiorę się za niego w najbliższej przyszłości.

 

Widzę jednak pewne ograniczenie. Możliwość dostępu jedynie do karty pamięci włożonej do telefonu (czyli pozycja MMC) nieco ogranicza wygodę użytkowania. Nie mamy bezpośredniego dostępu do pamięci wewnętrzej, w której zapisywane są np. zdjęcia czy filmy. Trzeba przenosić kolejno każdą pozycję do MMC i stamtąd kopiować na komputer. Kupa roboty mad.gif

 

Wypada zatem albo zmusić do pracy soft Nokii z zestawu z telefonem (Wine?), albo spróbować jednego z programów:gnokii + xgnokii, gammu (Wammu), kmobiletools.

Ja przyjrzałem się jednemu z nich (nie pamiętam jednak który to był) i pozwalał on jedynie edytować smsy, książkę adresową itp. Brakowało nowoczesnych funkcji - dostępu do zdjęć itp.

 

Jeśli ktoś dobierze się do wymienionych programów - proszę o relację. Ja oczywiście zrobię to samo jak tylko znajdę nieco czasu.

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...