LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-31-2009, 12:39 PM   #1
mkisow
LQ Newbie
 
Registered: May 2008
Distribution: Gentoo
Posts: 28

Rep: Reputation: 15
Bluetooth Problems


prior to placing hciconfig hci0 reset inside of /etc/rc.local my hciconfig had the following errors:

# hciconfig -a
hci0: Type: USB
BD Address: 00:1B:FB:8A:79:88 ACL MTU: 1021:6 SCO MTU: 64:1
UP RUNNING
RX bytes:218 acl:0 sco:0 events:25 errors:0
TX bytes:821 acl:0 sco:0 commands:24 errors:0
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xff 0x79 0x83
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Can't read local name on hci0: Input/output error (5)

The mouse works at startup, however if I want to use my scroll wheel I have to run to hciconfig hci0 reset and hidd --connect AA:BB:CCD:EE:FF for it to work correctly now that I placed hciconfig hci0 reset inside of /etc/rc.local I still have to run hidd connect but now I don't have to reset my hardware first.

# hciconfig -a
hci0: Type: USB
BD Address: 00:1B:FB:8A:79:88 ACL MTU: 1021:6 SCO MTU: 64:1
UP RUNNING PSCAN ISCAN
RX bytes:1431812 acl:95131 sco:0 events:125 errors:0
TX bytes:2789 acl:74 sco:0 commands:65 errors:0
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xff 0x79 0x83
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy:
Link mode: SLAVE ACCEPT
Name: 'NSABP-000010011'
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Ver: 2.1 (0x4) HCI Rev: 0x38 LMP Ver: 2.1 (0x4) LMP Subver: 0x213d
Manufacturer: Broadcom Corporation (15)

HELP!

Last edited by mkisow; 04-01-2009 at 03:43 PM. Reason: New Information
 
Old 04-02-2009, 03:54 AM   #2
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
I don't have bluetooth devices,I'm just trying to help and maybe learn something new.
Post the output of
Code:
cat /etc/modules
and /etc/rc.local.
You'll need modules like bluetooth,rfcomm,l2cap,hci_vhci and hci_usb loaded.
If necessary install modconf and configure modules.
You can install btscanner,it will give us more info about BT devices.
Also check if you have bluez-firmwire,bluez-hcidump and bluez-gnome installed.You could install more packages related to bluetooth,it won't hurt,just search for "bluetooth".

Last edited by alan_ri; 04-02-2009 at 03:57 AM.
 
Old 04-03-2009, 03:24 PM   #3
mkisow
LQ Newbie
 
Registered: May 2008
Distribution: Gentoo
Posts: 28

Original Poster
Rep: Reputation: 15
This is what I have...

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

firewire-sbp2
r5u870
hidp
loop

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

#hciconfig hci0 reset
exit 0


Should I place the bluetooth,rfcomm,l2cap,hci_vhci and hci_usb modules in /etc/modules?
 
Old 04-03-2009, 03:32 PM   #4
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Yes,try all that I said,it can't hurt.
 
Old 04-05-2009, 11:47 AM   #5
mkisow
LQ Newbie
 
Registered: May 2008
Distribution: Gentoo
Posts: 28

Original Poster
Rep: Reputation: 15
I used modconf...

After running modconf the only thing that was missing and was put into /etc/modules was hci_vhci the other modules bluetooth, rfcomm, l2cap, hci_vhci and hci_usb modconf claimed that they were loaded but are not listed inside of /etc/modules. Should I add these modules manually?
 
Old 04-05-2009, 01:12 PM   #6
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
You can add them manually.
 
Old 04-06-2009, 10:01 AM   #7
mkisow
LQ Newbie
 
Registered: May 2008
Distribution: Gentoo
Posts: 28

Original Poster
Rep: Reputation: 15
Didn't help... My Configs...

Please look at the following configs, is this even right?

#cat /etc/bluetooth/hcid.conf

#HCId Options
options {
autoinit yes;
pairing multi;
passkey "1234";
security auto;
}

#HCI Device Settings
device {
name "%h-%d";
class 0x000100;
iscan enable;
pscan enable;
discovto 0;
lm accept;
lp rswitch,hold,sniff,park;
}

#cat /etc/default/bluetooth

BLUETOOTH_ENABLED=true
SDPD_ENABLE=true
HIDD_ENABLED=true
HIDD_OPTIONS="-i 00:02:76:07:68:1C --server"
HIDD_OPTIONS="-i 00:01:90:E2:49:BD --server"
HID2HCI_ENABLED=false
RFCOMM_ENABLE=true
DUND_ENABLED=false
DUND_OPTIONS="--listen --persist --msdun call dun"
PAND_ENABLED=false
PAND_OPTIONS="--listen --role NAP"
 
Old 04-06-2009, 01:00 PM   #8
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
So now you have every package installed,right?
You can add something like this to etc/rc.local:
Code:
sudo hciconfig hci0 up
sudo hciconfig hci0 reset
sudo hidd --connect <MAC_addr_mouse>
I've seen that in the script posted above you had # sign in front of "hciconfig hci0 reset" line,it shouldn't be there.
Maybe you could try to set passkey and security to none.
Also,in the man page there is;
Quote:
Major device class allocation for mouse,keyboard...is 0x05
And you have first byte 00 in the class which is miscellaneous major device class allocation.I guess other bytes could be modified too,have a look at the man page for that.
Also I think that in /etc/default/bluetooth: DUND_ENABLED=false should be changed to true and maybe it should be:
Code:
HIDD_OPTIONS="-i hci0 --master -connect 00:02:76:07:68:1C --server"
Also for the address 00:01:90:E2:49:BD,but I'm not sure why you have two addresses,or you can try with:
Code:
HIDD_OPTIONS="--master --server"
 
Old 04-07-2009, 12:01 PM   #9
mkisow
LQ Newbie
 
Registered: May 2008
Distribution: Gentoo
Posts: 28

Original Poster
Rep: Reputation: 15
Updated configs...

Attached below are my updated configs... Once I updated the /etc/rc.local with the following changes my broadcom adapter comes up without error however my mouse is not attached at startup, I must manually open a console window and run:

Code:
hidd --search
then press the connect button on the bottom of my mouse for the mouse to be connected.

# cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

hciconfig hci0 down
hciconfig hci0 up
hciconfig hci0 reset
hciconfig hci0 inqmode 0
exit 0


I have also updated the following files...

# cat /etc/default/bluetooth
BLUETOOTH_ENABLED=1
SDPD_ENABLE=1
HIDD_ENABLED=1
HIDD_OPTIONS="--master --server"
HID2HCI_ENABLED=0
RFCOMM_ENABLE=1
DUND_ENABLED=1
DUND_OPTIONS="--listen --persist --msdun call dun"
PAND_ENABLED=0
PAND_OPTIONS="--listen --role NAP"


Now I am confused here, I have seen examples where the values are like those above 1/0 and I have seen true/false which is correct?

# cat /etc/bluetooth/hcid.conf
#HCId Options
options {
autoinit yes;
security none;
pairing multi;
passkey "0000";
}

#HCI Device Settings
device {
name "%h-%d";
class 0x000500;
#pkt_type DH1,DM1,HV1;
iscan enable; pscan enable;
discovto 0;
lm accept;
lp rswitch,hold,sniff,park;
}

device 00:01:90:E2:49:BD {
name "Sony Corporation Remote Controller";
}

device 00:02:76:07:68:1C {
name "Sony Corporation (3) Button Mouse";
}


I appreciate all of your input thank you. I figured that the device statements in the hcid.conf would have worked.

When I look at the hidd manpage -i is looking for the local bluetooth interface. Here are the addresses of my adapter and two devices I am trying to add:

Broadcom Adapter: 00:1B:FB:8A:79:88
Sony Corporation Remote Controller: 00:01:90:E2:49:BD
Sony Corporation (3) Button Mouse: 00:02:76:07:68:1C


So I thought that HIDD_OPTIONS="-i hci0 --master 00:1B:FB:8A:79:88 --server" should look like this. Any thoughts?
 
Old 04-07-2009, 12:16 PM   #10
mkisow
LQ Newbie
 
Registered: May 2008
Distribution: Gentoo
Posts: 28

Original Poster
Rep: Reputation: 15
# hciconfig hci0 inqmode 0
# hcitool scan
Scanning ...

Shouldn't this show my devices?
 
Old 04-07-2009, 12:47 PM   #11
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
It looks like you haven't tried what I said in post no.8,have you tried to set rc.local as I said there?
Scan tool should work,maybe you have to wait.Have you tried btscanner?
Open /etc/default/bluez-utils and see if some things are enabled,it should be like this;
Code:
HIDD_ENABLED=1
HIDD_OPTIONS=”--master --connect MOUSE_ADDR --server”
Mouse should be working on boot then.
 
Old 04-08-2009, 07:55 AM   #12
mkisow
LQ Newbie
 
Registered: May 2008
Distribution: Gentoo
Posts: 28

Original Poster
Rep: Reputation: 15
Okay... I looked at btscanner. My mouse and presentation remote do not show up until I press connect, however I do have a correct class now which is a big help, updated /etc/bluetooth/hcid.conf below. I also found through hcitool that the names of my mouse and remote are as reflected in the device section of hcid.conf below.

# cat /etc/bluetooth/hcid.conf
#HCId Options
options {
autoinit yes;
security auto;
pairing multi;
passkey "0000";
}

#HCI Device Settings
device {
name "%h-%d";
encrypt enable;
class 0x002580;
iscan enable; pscan enable;
discovto 0;
lm accept,master;
lp rswitch,hold,sniff,park;
pkt_type DM1,DM3,DM5,DH1,DH3,DH5,HV1,HV2,HV3;
}

device 00:01:90:E2:49:BD {
name "VGP-BRMP10";
}

device 00:02:76:07:68:1C {
name "VGP-BMS33";
}


I have also updated /etc/default/bluetooth as reflected below. I found that in Debian "Lenny" true/false values for bluetooth are replaced by 1/0.

# cat /etc/default/bluetooth
BLUETOOTH_ENABLED=1
HID2HCI_ENABLED=1
HIDD_ENABLED=1
HIDD_OPTIONS="--connect 00:01:90:E2:49:BD --connect 00:02:76:07:68:1C --server"
DUND_ENABLED=1
DUND_OPTIONS="--listen --persist"
PAND_ENABLED=0
PAND_OPTIONS=""
SDPTOOL_OPTIONS="
"

I have another Debian "Lenny" box with a different bluetooth interface and a Logitech MX5000 Keyboard and Mouse, I do NOT have these problems, my feeling is it is a Broadcom issue. I will dump the interface information for you below:

# hciconfig -a
hci0: Type: USB
BD Address: 00:1B:FB:8A:79:88 ACL MTU: 1021:6 SCO MTU: 64:1
UP RUNNING
RX bytes:128608 acl:8516 sco:0 events:34 errors:0
TX bytes:428 acl:17 sco:0 commands:20 errors:0
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xff 0x79 0x83
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy:
Link mode: SLAVE ACCEPT
Name: 'BCM92046 Bluetooth Device'
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Ver: 2.1 (0x4) HCI Rev: 0x38 LMP Ver: 2.1 (0x4) LMP Subver: 0x213d
Manufacturer: Broadcom Corporation (15)
 
Old 04-08-2009, 01:20 PM   #13
mkisow
LQ Newbie
 
Registered: May 2008
Distribution: Gentoo
Posts: 28

Original Poster
Rep: Reputation: 15
# hcid -n
hcid[24182]: Bluetooth HCI daemon
hcid[24182]: Parsing /etc/bluetooth/main.conf failed: No such file or directory
hcid[24182]: Unable to get on D-Bus

What are the chances this is my problem? How do I fix it?
 
Old 04-09-2009, 05:02 AM   #14
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
I suggest that you read carefully what has already been said in this thread.
 
Old 04-17-2009, 01:24 PM   #15
mkisow
LQ Newbie
 
Registered: May 2008
Distribution: Gentoo
Posts: 28

Original Poster
Rep: Reputation: 15
...:::!!! SOLVED !!!:::...

This was a real pain, so this is what I did to get it to work...

In /etc/bluetooth you need to create or edit the following files: hcid.conf input.conf main.conf

# cat /etc/bluetooth/hcid.conf
#HCId Options
options {
autoinit yes;
security auto;
pairing multi;
passkey "1234";
}

#HCI Device Settings
device {
name "%h-%d";
#encrypt enable;
class 0x082580;
iscan enable; pscan enable;
discovto 0;
lm accept,master;
lp rswitch,hold,sniff,park;
pkt_type DM1,DM3,DM5,DH1,DH3,DH5,HV1,HV2,HV3;
}

#device 00:01:90:E2:49:BD {
#name "Sony Corporation Remote Controller";
#}

This section below is pretty important to get the device address use hidd --scan and press the discoverable button on the bottom of your mouse.
device 00:02:76:07:68:1C {
name "Sony Corporation (3) Button Mouse";

# cat /etc/bluetooth/main.conf
[General]

# List of plugins that should not be loaded on bluetoothd startup
#DisablePlugins = network,input

# Default adaper name
# %h - substituted for hostname
# %d - substituted for adapter id
Name = %h-%d

# Default device class. Only the major and minor device class bits are
# considered.
Class = 0x082580

# How long to stay in discoverable mode before going back to non-discoverable
# The value is in seconds. Default is 180, i.e. 3 minutes.
# 0 = disable timer, i.e. stay discoverable forever
DiscoverableTimeout = 0

# How long to stay in pairable mode before going back to non-discoverable
# The value is in seconds. Default is 0.
# 0 = disable timer, i.e. stay pairable forever
PairableTimeout = 0

# Use some other page timeout than the controller default one
# which is 16384 (10 seconds).
PageTimeout = 8192

# Discover scheduler interval used in Adapter.DiscoverDevices
# The value is in seconds. Defaults is 0 to use controller scheduler.
DiscoverSchedulerInterval = 0

# What value should be assumed for the adapter Powered property when
# SetProperty(Powered, ...) hasn't been called yet. Defaults to true
InitiallyPowered = true

# Remember the previously stored Powered state when initializing adapters
RememberPowered = true

# Use vendor, product and version information for DID profile support.
# The values are separated by ":" and VID, PID and version.
#DeviceID = 0005:0001:0129
#DeviceID = 0000:0000:0000

# Do reverse service discovery for previously unknown devices that connect to
# us. This option is really only needed for qualification since the BITE tester
# doesn't like us doing reverse SDP for some test cases (though there could in
# theory be other useful purposes for this too). Defaults to true.
ReverseServiceDiscovery = true

# cat /etc/bluetooth/input.conf
# Configuration file for the input service

# This section contains options which are not specfic to any
# particular interface
[General]

# Set idle timeout (in minutes) before the connection will
# be disconnect (defaults to 0 for no timeout)
IdleTimeout=0

In /etc/default you need to edit the following file: bluetooth

# cat /etc/default/bluetooth
# Defaults for bluez-utils

# This file supersedes /etc/default/bluez-pan. If
# that exists on your system, you should use this
# file instead and remove the old one. Until you
# do so, the contents of this file will be ignored.

# start bluetooth on boot?
# compatibility note: If this variable is not found bluetooth will
# start
BLUETOOTH_ENABLED=1

# This setting will switch HID devices (e.g mouse/keyboad) to HCI mode, that is
# you will have bluetooth functionality from your dongle instead of only HID.
# Note that not every bluetooth dongle is capable of switching back to HID
# mode, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355497
HID2HCI_ENABLED=1
HID2HCI_UNDO=1

############ HIDD
#
# HID daemon
HIDD_ENABLED=1
HIDD_OPTIONS="--connect 00:02:76:07:68:1C --server"
#HIDD_OPTIONS="--master --connect 00:02:76:07:68:1C --server" <<-- I had some problems with --master and this mouse...
# to make hidd always use a particular interface, use something
# like this, substituting the bdaddr of the interface:
# HIDD_OPTIONS="-i AA:BB:CCD:EE:FF --server"
#
# remove '--master' if you're having trouble working with Ericsson
# T630 phones with hidd operational at the same time.

############ DUND
#
# Run dund -- this allows ppp logins. 1 for enabled, 0 for disabled.
DUND_ENABLED=0

# Arguments to dund: defaults to acting as a server
DUND_OPTIONS="--listen --persist"

# Run dund --help to see the full array of options.
# Here are some examples:
#
# Connect to any nearby host offering access
# DUND_OPTIONS="--search"
#
# Connect to host 00:11:22:33:44:55
# DUND_OPTIONS="--connect 00:11:22:33:44:55"
#
# Listen on channel 3
# DUND_OPTIONS="--listen --channel 3"

# Special consideration is needed for certain devices. Microsoft
# users see the --msdun option. Ericsson P800 users will need to
# listen on channel 3 and also run 'sdptool add --channel=3 SP'

############ PAND
#
# Run pand -- ethernet: creates new network interfaces bnep<N>
# that can be configured in /etc/network/interfaces
# set to 1 for enabled, 0 for disabled
PAND_ENABLED=0

# Arguments to pand
# Read the PAN howto for ways to set this up
# http://bluez.sourceforge.net/contrib/HOWTO-PAN
# in later versions of pand it used to execute /etc/bluetooth/pan/dev-up
# automatically, now you will need to use the --devup/--devdown options. See
# the pand manpage for more informations
PAND_OPTIONS=""

# example pand lines
#
# Act as the controller of an ad-hoc network
# PAND_OPTIONS="--listen --role GN"
#
# Act as a network access point: routes to other networks
# PAND_OPTIONS="--listen --role NAP"
#
# Act as a client of an ad-hoc controller with number 00:11:22:33:44:55
# PAND_OPTIONS="--role PANU --connect 00:11:22:33:44:55"
#
# Connect to any nearby network controller (access point or ad-hoc)
# PAND_OPTIONS="--role PANU --search"

############ SDPTOOL
# this variable controls the options passed to sdptool on boot, useful if you
# need to setup sdpd on boot.
# options are ;-separated, i.e. for every ; an sdptool instance will be
# launched
#
# examples:
# SDPTOOL_OPTIONS="add --channel=3 SP" # ericsson P800 serial profile
# SDPTOOL_OPTIONS="add --channel=8 OPUSH ; add --channel=9 FTRN" # motorola
# # object push and file transfer
SDPTOOL_OPTIONS=""

Final Edit /etc/rc.local

# cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

hciconfig hci0 reset
hciconfig hci0 class 0x082580 <<-- This (as shown below) will set Service Classes: Capturing and Device Class: Peripheral, Pointing device in your hci device.
exit 0

On reboot/boot/whatever...
# hciconfig -a
hci0: Type: USB
BD Address: 00:1B:FB:8A:79:88 ACL MTU: 1021:6 SCO MTU: 64:1
UP RUNNING PSCAN ISCAN
RX bytes:279252 acl:18271 sco:0 events:480 errors:0
TX bytes:1385 acl:9 sco:0 commands:55 errors:0
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xff 0x79 0x83
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: ACCEPT MASTER
Name: 'XXXXX-000010011'
Class: 0x082580
Service Classes: Capturing
Device Class: Peripheral, Pointing device
HCI Ver: 2.1 (0x4) HCI Rev: 0x38 LMP Ver: 2.1 (0x4) LMP Subver: 0x213d
Manufacturer: Broadcom Corporation (15)

and hidd --show should reveal
# hidd --show
00:02:76:07:68:1C Sony Corporation (3) Button Mouse [0a5c:0001] connected

But the damn mouse didn't move!!! It was connected though!!!
Ahh lets look at /proc/bus/input/devices

# cat /proc/bus/input/devices
(list shortened...)

I: Bus=0005 Vendor=0a5c Product=0001 Version=0129
N: Name="Sony Corporation (3) Button Mouse"
P: Phys=00:1B:FB:8A:79:88
S: Sysfs=/class/input/input15
U: Uniq=00:02:76:07:68:1C
H: Handlers=mouse4 event13
B: EV=1f
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103
B: ABS=100 0
B: MSC=10

It's being handled by event13...
A quick look at /dev/input/event13 revealed

# cat /dev/input/event13
D��I������D��I������D�
�D��I:����D��I:����D��I)��I�d����D��I�d����D��I�dD��I������D��I������D��I��D��I�����D��I��

IF GARBAGE PRINTS WHEN MOVING THE MOUSE IT'S CONNECTED PROPERLY

So why is X (Gnome or KDE) having a fricking problem...
xorg.conf

# cat /etc/X11/xorg.conf
Section "InputDevice"
Identifier "Sony Vaio Keys"
Driver "evdev"
Option "Device" "/dev/input/by-id/acpi-sony_laptop-event-kbd"
Option "Name" "Sony Vaio Keys"
Option "XkbLayout" "evdev"
Option "XkbModel" "evdev"
EndSection

Section "InputDevice"
Identifier "VGP-BMS33"
Driver "evdev"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/event13"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
Option "Emulate3Buttons" "true"
EndSection


#Section "InputDevice"
# Identifier "VGP-BRMP10"
# Driver "evdev"
# Option "Protocol" "ExplorerPS/2"
# Option "Device" "/dev/input/mouse5"
# Option "UpDownScrolling" "1"
# Option "Buttons" "5"
# Option "Emulate3Buttons" "false"
#EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Alps Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/event11"
Option "Protocol" "event"
Option "LeftEdge" "120"
Option "RightEdge" "830"
Option "TopEdge" "120"
Option "BottomEdge" "650"
Option "FingerLow" "14"
Option "FingerHigh" "15"
Option "MaxTapTime" "180"
Option "MaxTapMove" "110"
Option "ClickTime" "0"
Option "EmulateMidButtonTime" "75"
Option "VertScrollDelta" "10"
Option "HorizScrollDelta" "0"
Option "MinSpeed" "0.45"
Option "MaxSpeed" "0.75"
Option "AccelFactor" "0.020"
Option "EdgeMotionMinSpeed" "200"
Option "EdgeMotionMaxSpeed" "200"
Option "UpDownScrolling" "1"
Option "CircularScrolling" "0"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "2"
Option "SHMConfig" "true"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
screen 0 "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Alps Touchpad"
InputDevice "VGP-BMS33" "SendCoreEvents"
# InputDevice "VGP-BRMP10"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
EndSection

It now works every time, I am still working on the remote...

Here is my hardware:
# hcitool info 00:02:76:07:68:1C
Requesting information ...
BD Address: 00:02:76:07:68:1C
Device Name: VGP-BMS33
LMP Version: 1.2 (0x2) LMP Subversion: 0x229
Manufacturer: Broadcom Corporation (15)
Features: 0xbc 0x02 0x04 0x38 0x08 0x00 0x00 0x00
<encryption> <slot offset> <timing accuracy> <role switch>
<sniff mode> <RSSI> <power control> <enhanced iscan>
<interlaced iscan> <interlaced pscan> <AFH cap. slave>

# hcitool info 00:01:90:E2:49:BD
Requesting information ...
BD Address: 00:01:90:E2:49:BD
Device Name: VGP-BRMP10
LMP Version: 2.0 (0x3) LMP Subversion: 0x10b7
Manufacturer: Cambridge Silicon Radio (10)
Features: 0xfc 0x07 0x86 0x7e 0x18 0x18 0x00 0x00
<encryption> <slot offset> <timing accuracy> <role switch>
<hold mode> <sniff mode> <park state> <RSSI> <channel quality>
<paging scheme> <power control> <broadcast encrypt>
<EDR ACL 2 Mbps> <EDR ACL 3 Mbps> <enhanced iscan>
<interlaced iscan> <interlaced pscan> <inquiry with RSSI>
<AFH cap. slave> <AFH class. slave> <AFH cap. master>
<AFH class. master>

Last edited by mkisow; 04-17-2009 at 01:27 PM.
 
  


Reply

Tags
bluetooth, bluez, debian



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bluetooth problems mickeyboa Fedora 0 01-27-2009 04:30 PM
Bluetooth problems on ubuntu. nelius_zeeman Linux - Newbie 1 11-07-2008 08:22 AM
bluetooth printer problems brianflores Linux - Laptop and Netbook 0 05-16-2006 09:43 AM
Problems with Bluetooth Hammett Linux - General 1 12-05-2004 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration