Strona 1 z 1
Bluetooth
: 2009-04-14, 20:21
autor: Sheytan
Dobry. Mam taki dziwny problem. Odpaliłem rc.bluetooth, ustawiłe pin w hcid.conf, telefon widzi komputer, ale jak próbuje dodać urządzenie (kompa) w telefonie, to Slack zwiesza się całkiem i nic nie da się zrobić. Pozostaje twardy reset. Jakieś propozycje?
Re: Bluetooth
: 2009-04-14, 21:42
autor: marco70
W rfcomm.conf dopisywałeś telefon ?
Jak chcesz mogę tu wkleić moją konfigurację, bo też trochę nad tym siedziałem.
Re: Bluetooth
: 2009-04-14, 22:13
autor: Sheytan
Nie dopisywalem. Zostalo seryjne. Ale mimo to nie powinno mi zawieszac systemu i urzadzenie powinno sie dodac do listy w telefonie. Chyba, ze sie myle. Co do Twojego configa, to mozesz wrzucic. Obczaje go sobie
Sorry za brak diakrytykow. Ipod.
Re: Bluetooth
: 2009-04-15, 05:31
autor: marco70
rfcomm.conf
Kod: Zaznacz cały
#
# RFCOMM configuration file.
#
rfcomm0 {
# Automatically bind the device at startup
bind no;
# Bluetooth address of the device
device 00:22:FC:4D:13:33;
# RFCOMM channel for the connection
# channel 1;
# OBEX Object Push
channel 9;
# Nokia OBEX PC Suite Services
# channel 12;
# OBEX File Transfer
channel 11;
# Description of the connection
comment "E51";
}
rfcomm1 {
# Automatically bind the device at startup
bind no;
# Bluetooth address of the device
device 00:22:66:5D:D4:D5;
# RFCOMM channel for the connection
# channel 1;
# OBEX Object Push
channel 9;
# OBEX File Transfer
channel 10;
# Description of the connection
comment "nokia6300";
}
hcid.conf
Kod: Zaznacz cały
#
# HCI daemon configuration file.
#
# HCId options
options {
# Automatically initialize new devices
autoinit yes;
# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security user;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
# Default PIN code for incoming connections
passkey "0000";
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "nazwa";
# Local device class
class 0x000100;
# Default packet type
#pkt_type DH1,DM1,HV1;
# Inquiry and Page scan
iscan enable; pscan enable;
# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
lm accept;
# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
lp rswitch,hold,sniff,park;
}
Re: Bluetooth
: 2009-04-15, 16:24
autor: mati0712
Jeśli masz może jądro 2.6.29, to ono tak ma, że z niektórymi adapterami wiesza system przy rozłączaniu połączenia. Wyjścia są 2. Albo wrócić do 2.6.28, albo
tu jest łatka, która (przynajmniej u mnie) działa.
Re: Bluetooth
: 2009-04-15, 16:40
autor: Sheytan
Mam. Poczekam na aktualizacje w repo Slaczka.
Re: Bluetooth
: 2009-06-28, 15:35
autor: nid3p
U mnie wszystko ok działa lecz tylko w jedną stronę. Telefon nie widzi mojego slacka. Chętnie pokaże co trzeba
Re: Bluetooth
: 2009-06-28, 15:47
autor: dienet
A ja mam tak ze jak chce sie z kompa polaczyc na komorke z windows mobile, to komora prosi o podanie pinu. Wpisuje ten co jest w hcid.conf, ale nie umie sie placzyc. W druga strone tj komorka dodaj kompa, to dziala i tez prosi o pin, ktory podaje taki jak w hcid.conf. Wie ktos dlaczego tak jest? Z BT jestem zero
[ Dodano: 2009-06-28, 16:47 ]
Co to zawieszania systemu, to potwierdzam na 2.6.29 mi sie czasem wisnie.
Re: Bluetooth
: 2009-06-28, 19:39
autor: Sajmon
Zrób sobie sam w/g książki Adama Słodowaego:
Te pakiety są do wyrzucenia
bluez-hcidump-1.42-i486-2.txz
bluez-libs-3.36-i486-2.txz
bluez-utils-3.36-i486-6.txz
Uaktualnić bluez do ostaniej wersji 4.x, pobrać/skompilować ostatnie wersje *obex* , zrekompilować pilot-link.
Od KDE-4.2.4 działa też kdebluetooth-0.3-3
Ja się nie mogę doprosić żeby Pat wrzucił wreszcie oficjalnie sane-1.0.20.