View previous topic :: View next topic |
Author |
Message |
dashnu l33t
Joined: 21 Jul 2004 Posts: 703 Location: Casco Maine
|
Posted: Mon Oct 24, 2005 7:48 pm Post subject: Bluetooth Moto V3 and Apple mouse |
|
|
I have been tinkering around with bluetooth on my Powerbook G4 for ~2 hours.
I have The following kernel modules loaded
hci_usb rfcomm l2cap bluetooth
I also have several pkgs installed.
bluez-bluefw bluez-libs bluez-utils & gnome-bluetooth-manager
I have edited /etc/conf.d/bluetooth to look like so
Code: | # Bluetooth configuraton file
# Start of hcid (allowed values are "true" and "false")
HCID_ENABLE=true
# Config file for hcid
HCID_CONFIG="/etc/bluetooth/hcid.conf"
# Start sdpd (allowed values are "true" and "false")
SDPD_ENABLE=true
# Start hidd (allowed values are "true" and "false")
HIDD_ENABLE=true
# Arguments to hidd
HIDD_OPTIONS=""
# Run hid2hci (allowed values are "true" and "false")
HID2HCI_ENABLE=false
# Bind rfcomm devices (allowed values are "true" and "false")
RFCOMM_ENABLE=true
# Config file for rfcomm
RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf"
# Start dund (allowed values are "true" and "false")
DUND_ENABLE=false
# Arguments to dund
DUND_OPTIONS="--listen --persist"
# Start pand (allowed values are "true" and "false")
PAND_ENABLE=false
# Arguments to pand
PAND_OPTIONS="--listen --role NAP"
|
This kicks off just fine.. except for one things happens at this time.. I lose my bluetooth apple mouse..
hciconfig shows the device
Code: | Lappy dashnu # hciconfig
hci0: Type: USB
BD Address: 00:0D:93:07:B5:79 ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:35723 acl:190 sco:0 events:812 errors:0
TX bytes:9024 acl:189 sco:0 commands:311 errors:0
|
I can see my two devices with a scan..
Code: | Lappy dashnu # hcitool scan
Scanning ...
00:12:8A:A9:8A:E1 Motorola Phone
00:0A:95:02:6E:58 Bluetooth Mouse
|
However I cant seem to do anything with either of them :p I can ping my phone but not my mouse.
I tried to set up two RFCOMM devices by changing /etc/bluetooth/rfcomm.conf
Code: | #
# RFCOMM configuration file.
#
# $Id: rfcomm.conf,v 1.1 2002/10/07 05:58:18 maxk Exp $
#
rfcomm2 {
# Automatically bind the device at startup
bind yes;
# Bluetooth address of the device
device 00:0A:95:02:6E:58;
# RFCOMM channel for the connection
channel 2;
# Description of the connection
comment "Apple Mouse Bluetooth device";
}
rfcomm1 {
# Automatically bind the device at startup
bind yes;
# Bluetooth address of the device
device 00:12:8A:A9:8A:E1;
# RFCOMM channel for the connection
channel 1;
# Description of the connection
comment "dashnu's Motorola device";
}
|
First when I try to connect to the mouse I get the following error
Code: | Lappy dashnu # rfcomm connect 2
Can't connect RFCOMM socket: Connection refused
|
My phone I can get as far as typing in a PIN and things look ok it saves it... but as soon as I do that I get this error..
Code: |
Lappy dashnu # rfcomm connect 1
Can't create RFCOMM TTY: Address already in use
|
As far as gnome-bluetooth-manager goes It can see the phone and mouse but the rest of the app is rendered useless.
gnome-obex-send can also see my phone and mouse but My phone reports an error.
Quote: | Failed Connection Interupted |
Does anyone have any suggestion for me?
TIA _________________ write quit bang |
|
Back to top |
|
|
dashnu l33t
Joined: 21 Jul 2004 Posts: 703 Location: Casco Maine
|
Posted: Wed Dec 14, 2005 6:18 pm Post subject: |
|
|
...bump
*edit, The mouse is a hidd device not a rfcomm device so hidd --connect XX:XX:XX:XX worked.
gnome-obex-send file.name will now send files to my phone.
gnome-obex-server fails to start for me..
Code: | dashnu@Lappy ~ $ gnome-obex-server
** (gnome-obex-server:14063): WARNING **: OBEX server register error: -1
** (gnome-obex-server:14063): WARNING **: Unable to initialize OBEX source
** (gnome-obex-server:14063): WARNING **: Couldn't initialise OBEX listener
|
Not sure if this is a bug or user error, will investigate further.
Off to try to set up a internet connection through my phone now.
tnt _________________ write quit bang |
|
Back to top |
|
|
|