[SOLVED] bluetooth problem - bluez-simple-agent exception

Hi
I am trying to pair to a bluetooth headset. I think I'm almost there, but at the last step I get an exception.
This is what i did so far:
1) launch dbus
rc.d start dbus
2) launch bluetooth
rc.d start bluetooth
3) check if my device is UP
# hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 58:B0:35:63:4A:9F ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING PSCAN
RX bytes:2095 acl:0 sco:0 events:59 errors:0
TX bytes:730 acl:0 sco:0 commands:53 errors:0
4) scan for the headset (which is discouverable)
# hcitool scan
Scanning ...
00:23:78:5C:00:A8 Bluetooth headset
5) try to pair (FAILS)
# bluez-simple-agent 00:23:78:5C:00:A8
Traceback (most recent call last):
File "/usr/bin/bluez-simple-agent", line 102, in <module>
path = manager.FindAdapter(args[0])
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.bluez.Error.NoSuchAdapter: No such adapter
I searched in the forums but could not find a solution. Has anyone an idea?
Thanks in advance,
Keen
Last edited by keen90 (2012-05-18 13:50:37)

# bluez-simple-agent 00:23:78:5C:00:A8
I got the same error when I just tried that myself... but if I add the bluetooth adapter parameter it goes further:
# bluez-simple-agent hci0 00:23:78:5C:00:A8
Because my headphones were already paired at the time, I think that's why I then got a "Creating device failed: org.bluez.Error.AlreadyExists: Already Exists"... but it may work for your unpaired device.

Similar Messages

  • Bluetooth authorization not working (bluez-simple-agent)

    Hello
    I'm trying to connect my Sony BD remote control to my laptop. Pairing and manual connect using hcitool works fine, but when my remote control initiates the connection,  my laptop seem to deny its connection requests. (See attached hcidump output).
    I have tried using bluez-simple-agent, and I get the authorization request prompt. I enter 'yes', hit return, and I immediately get "Cancel" printed on the terminal. The remote control is still not authorized.
    I have dbus running, as well as bluetoothd, hci2hci and hidd running.
    Please help! I'm clueless at this point.
    hcidump says:
    * Connection pending - Authorization pending
    * Connection refused - security block
    * Reason: Remote User Terminated Connection
    hcidump output:
    > ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 19 scid 0x0148
    < ACL data: handle 11 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0041 scid 0x0148 result 1 status 2
    Connection pending - Authorization pending
    < ACL data: handle 11 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0041 scid 0x0148 result 3 status 0
    Connection refused - security block
    > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 11 packets 2
    > ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0040 scid 0x0147
    < ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0147
    > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 11 packets 2
    > ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0041 scid 0x0148
    < ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0041 scid 0x0148
    > ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0147 scid 0x0040
    > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 11 packets 2
    > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 11 packets 1
    > HCI Event: Disconn Complete (0x05) plen 4
    status 0x00 handle 11 reason 0x13
    Reason: Remote User Terminated Connection
    Last edited by oskarn (2009-10-29 17:03:43)

    Is there any way to add a device to a list of trusted devices?
    I once read about a certain file called "trusted" in a bluetooth directory, and it almost worked when I added my device there, but once connected it disconnected and the device was removed from the trusted list.
    Any idea what is going on here?

  • [ SOLVED ] bluez-simple-agent not found

    [na5m@arch64 ~]$ bluez-simple-agent
    bash: bluez-simple-agent: command not found
    Per https://wiki.archlinux.org/index.php/Bluetooth, I have installed
    bluez, bluez-utils, python2-dbus, python2-gobject, and dbus-glib.
    Where the devil is bluez-simple-agent hiding? Thanks!
    Last edited by na5m (2013-07-01 10:05:53)

    progandy wrote:With bluez5 "bluetoothctl" provides the client.
    I was completely unaware of this. Someone should insert that info into the wiki, and a few examples on usage too when they are at it.

  • Bluez-simple-agent works for me

    The task was to transfer spreadsheets from a NOKIA E63 to an XPERIA X120 arc with
    some manual amendments by 'gnumeric' (on the PC).
    While getting bluez-simple-agent going was very much trial and error, it works on 2 machines (out
    of 3). One of them has a fairly old system, and one of them a 1-day old new installation (both work).
    BTW, there were a few problems with already installed libraries, so I simply renamed
    the elements PREVIOUSname... and ran pacman -S again and again till it worked.
    Tom.
    Following is the script for the job.
    # Run this under ArchLinux in X-Window (terminal xterm)
    # Whazitdo?
    # Use bluetooth to get spreadsheets from NOKIA E63 mobile phone,
    # put them on PC, edit them with program 'gnumeric' under ArchLinux,
    # and send the edited spreadsheets to XPERIA X10 arc mobile phone.
    # On NOKIA: switch Bluetooth ON
    # On X10    : switch Bluetooth and Bluetooth Settings ON,
    #                   start program 'Bluetooth File'
    # Tom Butz (TSB), Hamilton New Zealand, 27 Oct 2011
    /sbin/modprobe -a fuse
    /etc/rc.d/dbus stop
    /etc/rc.d/dbus start
    /etc/rc.d/bluetooth start
    # Check that scan discovers NOKIA
    # (sometimes it doesn't discover X10, but works all the same)
    hcitool scan
    echo 'If pairing is required, start it on your phone'
    echo 'Wait a few seconds, then push Ctrl-c to continue'
    bluez-simple-agent
    obexftp -b A8:7E:33:4E:AE:30 -g e:/Documents/2011.xls
    obexftp -b A8:7E:33:4E:AE:30 -g e:/Documents/budget.xls
    # Do SAVE files - even if there are no changes - to keep colours etc
    gnumeric ./2011.xls
    gnumeric ./budget.xls
    clear
    # Transfer to Xperia X10
    obexftp -b 84:00:D2:81:ED:44 -p 2011.xls
    obexftp -b 84:00:D2:81:ED:44 -p budget.xls
    /etc/rc.d/bluetooth stop
    /etc/rc.d/dbus stop
    echo Done

    The task was to transfer spreadsheets from a NOKIA E63 to an XPERIA X120 arc with
    some manual amendments by 'gnumeric' (on the PC).
    While getting bluez-simple-agent going was very much trial and error, it works on 2 machines (out
    of 3). One of them has a fairly old system, and one of them a 1-day old new installation (both work).
    BTW, there were a few problems with already installed libraries, so I simply renamed
    the elements PREVIOUSname... and ran pacman -S again and again till it worked.
    Tom.
    Following is the script for the job.
    # Run this under ArchLinux in X-Window (terminal xterm)
    # Whazitdo?
    # Use bluetooth to get spreadsheets from NOKIA E63 mobile phone,
    # put them on PC, edit them with program 'gnumeric' under ArchLinux,
    # and send the edited spreadsheets to XPERIA X10 arc mobile phone.
    # On NOKIA: switch Bluetooth ON
    # On X10    : switch Bluetooth and Bluetooth Settings ON,
    #                   start program 'Bluetooth File'
    # Tom Butz (TSB), Hamilton New Zealand, 27 Oct 2011
    /sbin/modprobe -a fuse
    /etc/rc.d/dbus stop
    /etc/rc.d/dbus start
    /etc/rc.d/bluetooth start
    # Check that scan discovers NOKIA
    # (sometimes it doesn't discover X10, but works all the same)
    hcitool scan
    echo 'If pairing is required, start it on your phone'
    echo 'Wait a few seconds, then push Ctrl-c to continue'
    bluez-simple-agent
    obexftp -b A8:7E:33:4E:AE:30 -g e:/Documents/2011.xls
    obexftp -b A8:7E:33:4E:AE:30 -g e:/Documents/budget.xls
    # Do SAVE files - even if there are no changes - to keep colours etc
    gnumeric ./2011.xls
    gnumeric ./budget.xls
    clear
    # Transfer to Xperia X10
    obexftp -b 84:00:D2:81:ED:44 -p 2011.xls
    obexftp -b 84:00:D2:81:ED:44 -p budget.xls
    /etc/rc.d/bluetooth stop
    /etc/rc.d/dbus stop
    echo Done

  • Any body please can solve my problem  iam getting the exception

    hi
    Any body can give me the solution to how to solve the problem. Actually iam working on swing and EJB when iam trying to import 100html pages and trying to save that part its giving this below error.
    Exception occurred during event dispatching:
    java.lang.OutOfMemoryError
    <<no stack trace available>>
    Please ill be waiting for the reply.
    regards,
    surya

    Hi,
    Run your application using ...
    java -Xmx300m MyApplication
    300m is for 300 meg of virtual memory.
    JRG

  • Why Apple does not want to solve Bluetooth problem in IPhone4?

    I see so many posts on this issue. Iphone 4 cannot discover any bluetooth devices..I am one of these people. What IS APPLE up to?????????????

    What, exactly, is your issue? These are the only supported Bluetooth profiles:
    http://support.apple.com/kb/HT3647
    If you're trying to do anything other than what's listed in that support document, then it's not a problem, as such is simply not supported.

  • [SOLVED] a problem with gpg-agent and ssh keys

    I'm baffled by a strangle problem:
    My setup is as follows: I use gpg-agent with --enable-ssh-support, so that my ssh keys are handled by it. All was fine (when I ssh'ed to another machine, a pinentry window popped up, asked for a password, and if I entered the correct one, gpg-agent would decrypt its copy of my private ssh key and use it for identification). But: I needed to change my ssh key, and so I generated a new one. Next, I ssh-add'ed it to gpg-agent (one password to decrypt the private key, then twice another password for gpg-agent). I uploaded the public key to a server. The setup should be complete.
    The problem is that when I ssh to a machine, a pinentry window comes up, but it does not accept my password (the one that I entered twice when ssh-add'ing the key). I tried adding with various different passwords (always deleting ~/.gnupg/private-keys-v1.d/*, since 'ssh-add -d ~/.ssh/id_rsa.pub' would not work for some reason - it would not make gpg-agent forget the key), different pinentry programs ( -qt4, -gtk-2, -curses), and still the same problems. Pinentry itself seems to work fine, since if I enter two different things when it asks for a new passphrase for the key, it detects that there's a problem.
    So, can anyone help? What could I try (please don't post just to say that I could/should use ssh-agent, or keychain, or anything else. I have used various things, and I like this setup the most. It worked before, and I would like to find out why it stopped working and how to get it back to speed.)
    Thanks.
    Last edited by bender02 (2010-02-15 09:52:54)

    Thats a known bug with the new gpg version.
    http://lists.gnupg.org/pipermail/gnupg- … 38045.html
    You could use an older version of gpg or use a development version.

  • How to Solve Wi-Fi or Bluetooth Problems on your iOS Device?

    Do you have any problem with Wi-Fi and Bluetooth on your iOS Device? Please read these steps carefully and follow it!
    These Steps that I am sharing are TESTED by 10 iOS users what had problems with Wi-Fi or Bluetooth or both and was successful
    - Please note that Resetting/Factory Resetting/Hard Resetting or Recovering or un-jailbreaking your device will not work at all -
    To Solve Wi-Fi Problems Follow these steps (But before doing anything please restart your iOS Device and see if you still have network problems):
    Step 1 Go to Settings > General > Reset > Rest Network Settings and Reset your Network Settings and wait until your device re-boots
    Step 2 Go to Settings > Wi-Fi and see if you can connect to your Wi-Fi If you can't then go to next step
    Step 3 Go to Settings > Airplane Mode and turn on Airplane Mode and shut down your device. Go to your network provider and ask to restart the Modem or do it your self (Just unplug power cord and plug it back in) You have to wait 30 seconds.
    Step 4 Boot your device and go to Settings > Airplane Mode and this time turn if off and go to Wi-Fi and see if you can connect it again. If you can't then go to next step - Note: If you are going on to Step 5 it means that your device is experiencing Critical System Error that cannot be fixed easily -
    Step 5 Go your laptop/desktop and open your browser then type this on the webpage search bar 192.168.0.1 and click enter. If it doesn't work then go and ask your network provider for an address for your modem/internet settings.
    Step 6 Change your modem/internet settings to no password and make it "available/visible for everyone" and go to your iOS device and got to Settings > Wi-Fi and see if it works this time. If it still doesn't work go to next step - Note: If you are going on to the next step it means you are experiencing Critical System Error that had been cause by glitch/bug -
    Step 7 Connect your iOS Device to iTunes on your laptop/desktop and update your iOS version -Note: this process if basically re-installing your operating system- If you can't update if because the new update if not available you have to wait for next update unfortunately
    Step 8 After updating your iOS Device Go to Settings > Wi-Fi and see if it connects to your Wi-Fi. It normally fixes the problem but if it still doesn't, it means your device is experiencing hardware problem. Visit your local Apple Retail Store or reseller and ask them for complimentary/device-exchange/warranty help or go to Apple website for online support: www.apple.com/support/ for better support.
    To Solve Bluetooth Problem all you need to do is resetting (not factory resetting) your device and see if it works, if it doesn't you will need to update your iOS or Google for more technical troubleshooting because it could be your pairing device's problem. Visit www.apple.com/support/ for better support.
    If anyone of you had these experiences and was successful troubleshooting please do share your experience. I will also be avaliable to answer your questions if you have one! Please do share your openions about my post if you have one

    If you don't mind, would you do that for me please?

  • [Solved] Bluetooth A2DP source to pulseaudio OR ALSA

    Edit
    So, I'm happy to say that I have it working to some degree!
    I wasn't happy with the default bluez tools, but I managed to find a useful set of tools which seemed to work better: http://gitorious.org/bluez-tools/bluez-tools/
    I compiled and make'd them, then created the following startup script to set up everything in the order it is needed for the next part to work: https://gist.github.com/c990e397388bd4399a15
    I made a file called bluetoothPin in the home directory with the following in it:
    <My phone's MAC (without the angle brackets)> <A Pin Number>
    The bt-agent command in the startup.sh script uses that file to authorise connections. I aim to modify it to allow any connection to connect with the same pin, I'll get into that later.
    For the actual streaming, I installed qt so I could get the qdbus binary, then I followed the instructions here: http://ubuntuforums.org/showthread.php? … st10492742
    That code worked, so I modified it a little so that it would wait for a connection, then make the connection, then wait for a new connection on disconnect: https://gist.github.com/8e32a9cf786995c00f2f
    It's not perfect; things get a bit iffy when you try to pair and then connect a device without rebooting the pi: It disconnects gracefully, and it pairs correctly, but pulse doesn't seem to re-add it to its list, so it's no longer identified by my script. Also I haven't figured out how to pair any device against the same pin code yet. Any help with that would be awesome!
    Hi there,
    I'm trying to build a bluetooth audio receiver server for my car! I have a raspberry pi with arch installed on it, bluez set up and configured (I can pair my phone with it through the bluez-simple-agent, although I think I'll have to write my own pairing daemon to auto-pair anything that attempts to connect).
    Baby steps though: I've got bluez all set up as I mentioned earlier, but pulse doesn't seem to "see" the bluetooth connection. I'm not sure exactly what information you guys need to help me, but I've tried to add everything I could think of:
    [root@alarmpi ~]# tail /var/log/messages.log
    Oct 20 18:25:22 alarmpi bluetoothd[112]: bluetoothd[112]: Endpoint registered: sender=:1.4 path=/MediaEndpoint/A2DPSource
    Oct 20 18:25:22 alarmpi bluetoothd[112]: bluetoothd[112]: Endpoint registered: sender=:1.4 path=/MediaEndpoint/A2DPSink
    Oct 20 18:25:22 alarmpi bluetoothd[112]: Endpoint registered: sender=:1.4 path=/MediaEndpoint/HFPAG
    Oct 20 18:25:22 alarmpi bluetoothd[112]: Endpoint registered: sender=:1.4 path=/MediaEndpoint/HFPHS
    Oct 20 18:25:22 alarmpi bluetoothd[112]: Endpoint registered: sender=:1.4 path=/MediaEndpoint/A2DPSource
    Oct 20 18:25:22 alarmpi bluetoothd[112]: Endpoint registered: sender=:1.4 path=/MediaEndpoint/A2DPSink
    Oct 20 18:25:22 alarmpi pulseaudio[165]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
    Oct 20 18:25:22 alarmpi pulseaudio[165]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
    Oct 20 18:39:57 alarmpi systemd[1]: Starting Cleanup of Temporary Directories...
    Oct 20 18:39:57 alarmpi systemd[1]: Started Cleanup of Temporary Directories.
    [root@alarmpi ~]#
    This is interesting... to me it looks like bluetoothd is registering with pulse here.
    [root@alarmpi ~]# pactl list
    Module #0
    Name: module-device-restore
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Lennart Poettering"
    module.description = "Automatically restore the volume/mute state of devices"
    module.version = "2.1"
    Module #1
    Name: module-stream-restore
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Lennart Poettering"
    module.description = "Automatically restore the volume/mute/device state of streams"
    module.version = "2.1"
    Module #2
    Name: module-card-restore
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Lennart Poettering"
    module.description = "Automatically restore profile of cards"
    module.version = "2.1"
    Module #3
    Name: module-augment-properties
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Lennart Poettering"
    module.description = "Augment the property sets of streams with additional static information"
    module.version = "2.1"
    Module #4
    Name: module-alsa-card
    Argument: device_id="0" name="platform-bcm2835_AUD0.0" card_name="alsa_card.platform-bcm2835_AUD0.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes card_properties="module-udev-detect.discovered=1"
    Usage counter: 0
    Properties:
    module.author = "Lennart Poettering"
    module.description = "ALSA Card"
    module.version = "2.1"
    Module #5
    Name: module-udev-detect
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Lennart Poettering"
    module.description = "Detect available audio hardware and load matching drivers"
    module.version = "2.1"
    Module #6
    Name: module-bluetooth-discover
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Joao Paulo Rechi Vita"
    module.description = "Detect available bluetooth audio devices and load bluetooth audio drivers"
    module.version = "2.1"
    Module #7
    Name: module-esound-protocol-unix
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Lennart Poettering"
    module.description = "ESOUND protocol (UNIX sockets)"
    module.version = "2.1"
    Module #8
    Name: module-native-protocol-unix
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Lennart Poettering"
    module.description = "Native protocol (UNIX sockets)"
    module.version = "2.1"
    Module #9
    Name: module-default-device-restore
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Lennart Poettering"
    module.description = "Automatically restore the default sink and source"
    module.version = "2.1"
    Module #10
    Name: module-rescue-streams
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Lennart Poettering"
    module.description = "When a sink/source is removed, try to move their streams to the default sink/source"
    module.version = "2.1"
    Module #11
    Name: module-always-sink
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Colin Guthrie"
    module.description = "Always keeps at least one sink loaded even if it's a null one"
    module.version = "2.1"
    Module #12
    Name: module-intended-roles
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Lennart Poettering"
    module.description = "Automatically set device of streams based of intended roles of devices"
    module.version = "2.1"
    Module #13
    Name: module-suspend-on-idle
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Lennart Poettering"
    module.description = "When a sink/source is idle for too long, suspend it"
    module.version = "2.1"
    Module #14
    Name: module-console-kit
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Lennart Poettering"
    module.description = "Create a client for each ConsoleKit session of this user"
    module.version = "2.1"
    Module #15
    Name: module-systemd-login
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Lennart Poettering"
    module.description = "Create a client for each login session of this user"
    module.version = "2.1"
    Module #16
    Name: module-position-event-sounds
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Lennart Poettering"
    module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
    module.version = "2.1"
    Module #17
    Name: module-role-cork
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Lennart Poettering"
    module.description = "Mute & cork streams with certain roles while others exist"
    module.version = "2.1"
    Module #18
    Name: module-filter-heuristics
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Colin Guthrie"
    module.description = "Detect when various filters are desirable"
    module.version = "2.1"
    Module #19
    Name: module-filter-apply
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Colin Guthrie"
    module.description = "Load filter sinks automatically when needed"
    module.version = "2.1"
    Module #20
    Name: module-dbus-protocol
    Argument:
    Usage counter: n/a
    Properties:
    module.author = "Tanu Kaskinen"
    module.description = "D-Bus interface"
    module.version = "2.1"
    Module #21
    Name: module-switch-on-port-available
    Argument:
    Usage counter: n/a
    Properties:
    Sink #0
    State: SUSPENDED
    Name: alsa_output.platform-bcm2835_AUD0.0.analog-stereo
    Description: bcm2835 ALSA Analog Stereo
    Driver: module-alsa-card.c
    Sample Specification: s16le 2ch 44100Hz
    Channel Map: front-left,front-right
    Owner Module: 4
    Mute: no
    Volume: 0: 86% 1: 86%
    0: -4.00 dB 1: -4.00 dB
    balance 0.00
    Base Volume: 86%
    -4.00 dB
    Monitor Source: alsa_output.platform-bcm2835_AUD0.0.analog-stereo.monitor
    Latency: 0 usec, configured 0 usec
    Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
    Properties:
    alsa.resolution_bits = "16"
    device.api = "alsa"
    device.class = "sound"
    alsa.class = "generic"
    alsa.subclass = "generic-mix"
    alsa.name = "bcm2835 ALSA"
    alsa.id = "bcm2835 ALSA"
    alsa.subdevice = "0"
    alsa.subdevice_name = "subdevice #0"
    alsa.device = "0"
    alsa.card = "0"
    alsa.card_name = "bcm2835 ALSA"
    alsa.long_card_name = "bcm2835 ALSA"
    alsa.driver_name = "snd_bcm2835"
    device.bus_path = "platform-bcm2835_AUD0.0"
    sysfs.path = "/devices/platform/bcm2835_AUD0.0/sound/card0"
    device.string = "hw:0"
    device.buffering.buffer_size = "17632"
    device.buffering.fragment_size = "4416"
    device.access_mode = "serial"
    device.profile.name = "analog-stereo"
    device.profile.description = "Analog Stereo"
    device.description = "bcm2835 ALSA Analog Stereo"
    alsa.mixer_name = "Broadcom Mixer"
    module-udev-detect.discovered = "1"
    device.icon_name = "audio-card"
    Ports:
    analog-output: Analog Output (priority: 9900)
    Active Port: analog-output
    Formats:
    pcm
    Source #0
    State: SUSPENDED
    Name: alsa_output.platform-bcm2835_AUD0.0.analog-stereo.monitor
    Description: Monitor of bcm2835 ALSA Analog Stereo
    Driver: module-alsa-card.c
    Sample Specification: s16le 2ch 44100Hz
    Channel Map: front-left,front-right
    Owner Module: 4
    Mute: no
    Volume: 0: 100% 1: 100%
    0: 0.00 dB 1: 0.00 dB
    balance 0.00
    Base Volume: 100%
    0.00 dB
    Monitor of Sink: alsa_output.platform-bcm2835_AUD0.0.analog-stereo
    Latency: 0 usec, configured 0 usec
    Flags: DECIBEL_VOLUME LATENCY
    Properties:
    device.description = "Monitor of bcm2835 ALSA Analog Stereo"
    device.class = "monitor"
    alsa.card = "0"
    alsa.card_name = "bcm2835 ALSA"
    alsa.long_card_name = "bcm2835 ALSA"
    alsa.driver_name = "snd_bcm2835"
    device.bus_path = "platform-bcm2835_AUD0.0"
    sysfs.path = "/devices/platform/bcm2835_AUD0.0/sound/card0"
    device.string = "0"
    module-udev-detect.discovered = "1"
    device.icon_name = "audio-card"
    Formats:
    pcm
    Client #0
    Driver: module-systemd-login.c
    Owner Module: 15
    Properties:
    application.name = "Login Session c1"
    systemd-login.session = "c1"
    Client #2
    Driver: protocol-native.c
    Owner Module: 8
    Properties:
    application.name = "pactl"
    native-protocol.peer = "UNIX socket client"
    native-protocol.version = "26"
    application.process.id = "253"
    application.process.user = "root"
    application.process.host = "alarmpi"
    application.process.binary = "pactl"
    application.language = "C"
    application.process.machine_id = "5c49cb5bf08724338eb09a6900092bb0"
    Card #0
    Name: alsa_card.platform-bcm2835_AUD0.0
    Driver: module-alsa-card.c
    Owner Module: 4
    Properties:
    alsa.card = "0"
    alsa.card_name = "bcm2835 ALSA"
    alsa.long_card_name = "bcm2835 ALSA"
    alsa.driver_name = "snd_bcm2835"
    device.bus_path = "platform-bcm2835_AUD0.0"
    sysfs.path = "/devices/platform/bcm2835_AUD0.0/sound/card0"
    device.string = "0"
    device.description = "bcm2835 ALSA"
    module-udev-detect.discovered = "1"
    device.icon_name = "audio-card"
    Profiles:
    output:analog-mono: Analog Mono Output (sinks: 1, sources: 0, priority. 100)
    output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority. 6000)
    off: Off (sinks: 0, sources: 0, priority. 0)
    Active Profile: output:analog-stereo
    Ports:
    analog-output: Analog Output (priority: 9900)
    Part of profile(s): output:analog-mono, output:analog-stereo
    [root@alarmpi ~]# cat /etc/bluetooth/audio.conf
    # Configuration file for the audio service
    # This section contains options which are not specific to any
    # particular interface
    [General]
    Enable=Source
    # Switch to master role for incoming connections (defaults to true)
    #Master=true
    # If we want to disable support for specific services
    # Defaults to supporting all implemented services
    #Disable=Gateway,Source,Socket
    # SCO routing. Either PCM or HCI (in which case audio is routed to/from ALSA)
    # Defaults to HCI
    #SCORouting=PCM
    # Automatically connect both A2DP and HFP/HSP profiles for incoming
    # connections. Some headsets that support both profiles will only connect the
    # other one automatically so the default setting of true is usually a good
    # idea.
    #AutoConnect=true
    # Headset interface specific options (i.e. options which affect how the audio
    # service interacts with remote headset devices)
    [Headset]
    # Set to true to support HFP, false means only HSP is supported
    # Defaults to true
    HFP=true
    # Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
    MaxConnected=1
    # Set to true to enable use of fast connectable mode (faster page scanning)
    # for HFP when incoming call starts. Default settings are restored after
    # call is answered or rejected. Page scan interval is much shorter and page
    # scan type changed to interlaced. Such allows faster connection initiated
    # by a headset.
    FastConnectable=false
    # Just an example of potential config options for the other interfaces
    #[A2DP]
    SBCSources=1
    MPEG12Sources=0
    [root@alarmpi ~]# cat /etc/asound.conf
    # Use PulseAudio by default
    pcm.!default {
    type pulse
    fallback "sysdefault"
    hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
    ctl.!default {
    type pulse
    fallback "sysdefault"
    # vim:set ft=alsaconf:
    About my project in general:
    I want to be able to do the following:
    - Give pulseaudio access to the bluetooth device, and use the A2DP protocol to receive the audio. From my research, it is possible, but I'm not sure how.
    - Open up bluez so that I can pair any device by connecting with "1234" for the auth, then it will automatically check for A2DP and give that information to pulse
    The idea being that any bluetooth device can pair without any interaction from the raspberry pi, and then pulse will have access to all of the devices which are playing music.
    1] Is this even possible?
    2] Can I use alsa instead as it seems it'd be easier/lighter to manage?
    3] Are there any documents other than arch's bluetooth and pulse wikis that I can read to help me figure this out?
    Last edited by s0l1dsnak3123 (2012-10-20 23:53:01)

    Actually I've solved it myself by looking at the wiki page I posted.
    I am not sure about what you said but PulseAudio doesn't require ALSA (alsa-lib, alsa-utils, sort of) to play sound except when with those applications that do not have direct support (now even Flash have that). But maybe the drivers for sound cards in Linux kernel could be said as a part of ALSA, then I am not sure about those stuff.
    Last edited by tom.yan (2011-08-11 06:47:35)

  • [Solved] Bluetooth headset. Anyone know how to set up?

    Hi.
    I have a Kinivo BTH220 Bluetooth headset, and I have no idea how to set it up in Linux.
    It appears that the wiki article is outdated and incomplete. Does anyone have Bluetooth working for them on the up to date packages?
    Last edited by *nixer (2013-11-21 00:54:43)

    blueman-git seems to have been dropped from the aur, and the blueman-bzr uses bluez4. I tried bluez4 with blueman-bzr but had several errors.
    I ended up downgrading the blueman package from the repo you posted, and blocked it from being upgraded. It didn't give the errors blueman-bzr did right off the bat. (ie - an error window when loading X)
    I added 'Enable=Source,Sink,Media,Socket' to my '/etc/bluetooth/audio.conf', and created the '/etc/asound.conf' with the required setting both per the wiki article. Obviously, I replaced the XXs with my headset address. (Note: the asound.conf file is installed by pulseaudio-alsa, so I had to manually create it.)
    After pairing, and connecting to the 'headset service' & 'audio sync' in blueman, I was able to receive output from both aplay and mpv (mplayer) successfully as per the wiki article.
    This will work for now as I really wanted it working for media playback, but I noticed all system sounds still played through the default speakers.
    Out of curiosity, I also tried connecting to it manually via hcitool, and bluez-simple-agent.
    # hcitool scan
    Scanning ...
    XX:XX:XX:XX:XX:XX Kinivo BTH220
    # bluez-simple-agent XX:XX:XX:XX:XX:XX
    Traceback (most recent call last):
    File "/usr/bin/bluez-simple-agent", line 115, in <module>
    path = manager.FindAdapter(args[0])
    File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
    File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
    File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
    dbus.exceptions.DBusException: org.bluez.Error.NoSuchAdapter: No such adapter
    Any ideas on how to get sound from the main system for things like web browsing and the like?
    Last edited by *nixer (2013-11-17 00:22:33)

  • I have created a Blog in iWeb and uploaded it to an FTP server.   It works fine, except that the 'Comments' facility is missing.   When I upload the blog to MobileMe   the 'Comments' facility is there and working great.   How can I solve the problem on th

    I have created a Blog in iWeb and uploaded it to an FTP server.   It works fine, except that the 'Comments' facility is missing.   When I upload the blog to MobileMe   the 'Comments' facility is there and working great.   How can I solve the problem on the FTP server Blog.

    You haven't a problem. You simply did not read the iWeb Help :

  • Hello, I just got an iPhone 4S and it seems that the bluetooth function in it doesn't work. I tried few times to pair it to other non Apple phones and it never worked. Does anyone has an idea how to solve the problem? Tks.

    Hello, I just got an iPhone 4S and it seems that the bluetooth function in it doesn't work. I tried few times to pair it to other non Apple phones but it never worked. Does anyone has an idea how to solve the problem? Tks.

    This is not a feature of iPhone, iPad or iOS.
    Bluetooth is supported for stereo headsets/speakers, handsfree telephone
    devices/headsets, some keyboards, some peer-to-peer apps from the
    app store and internet tethering where provided by the carrier.
    Other than this it will not connect to a phone/computer/device.  (thanks to ckuan for the wording)

  • How should i solve the problem for the exception.

    <b>Web is below:</b>
    Error when processing your request
    <b>What has happened?</b>
    The URL http://xxxxxxx.xxxxx:xxxxxx/sap/bc/bsp/sap/xxxxxxx/result.htm was not called due to an error.
    <b>Note</b>
    The following error text was processed in the system D50 : The current application triggered a termination with a short dump.
    The error occurred on the application server sapcidev01_D50_00 and in the work process 1 .
    The termination type was: RABAX_STATE The ABAP call stack was:
    Form: DIALOG_CHECK of program CL_IMC_MODE===================CP
    Form: PREPARE_MODE of program CL_IMC_MODE===================CP
    Form: GET_MODE_BY_NAME of program CL_IMC_MODE===================CP
    Form: SEND_COMMAND of program CL_DV_IMC_CLIENT==============CP
    Form: PROCESS_COMMAND of program CL_DV_SDV=====================CP
    Form: DISP_DOC of program CL_DV_SDV=====================CP
    Form: DISP_AO_DOC of program CL_DV_SDV_AO==================CP
    Form: DISP_AO_DOCS of program CL_DV_SDV_AO==================CP
    Function: ALINK_DISPLAY_IMC of program SAPLALINK_DISPLAY_DOCUMENT
    Function: ARCHIVOBJECT_DISPLAY of program SAPLOPTA
    <b>What can I do?</b>
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system D50 in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server sapcidev01_D50_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 1 in transaction ST11 on the application server sapcidev01_D50_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 151 -u: 117846 -l: E -s: D50 -i: sapcidev01_D50_00 -w: 1 -d: 20070320 -t: 062938 -v: RABAX_STATE -e: MESSAGE_TYPE_X
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    <b>Run ST22 and information is below:</b>
    Source Code Extract
    Line SourceCde
    1 METHOD DIALOG_CHECK.
    2 DATA: GUI_FLAG TYPE SY-BATCH.
    3
    4 * IMC NUR in Online-Modus ? (kein Batch und dunkle Batch-Input-Betrieb)
    5 IF GUI_IS_ON IS INITIAL.
    6 CALL FUNCTION 'RFC_IS_GUI_ON'
    7 EXPORTING
    8 LOGIN_CHECK = ' '
    9 IMPORTING
    10 ON = GUI_FLAG.
    11
    12 IF GUI_FLAG <> 'Y'.
    13 IF RABAX IS INITIAL.
    14 CLEAR EXISTS.
    15 ELSE.
    >>>>> MESSAGE X005(IMC).
    17 ENDIF.
    18 ELSE.
    19 GUI_IS_ON = 'Y'.
    20 EXISTS = 'X'.
    21 ENDIF.
    22 ELSE.
    23 EXISTS = 'X'.
    24 ENDIF.
    25
    26 ENDMETHOD.
    i can access the other bsp web.but this bsp application raises the exception. Who can help solve the problem?
    I appreciate your help.

    Is it SAP BSP application or custom?
    If its custom,check whether you are using any MESSAGE statements. Handle all the Exceptions from Class/Methods/Function module to avoid the Dump.
    Raja T

  • My iPhone 4 Bluetooth, using ios7, cannot identify any other bluetooth device (even other apple products). Says device not supported. How to solve this problem?

    My iPhone 4 Bluetooth, using ios7, cannot identify any other bluetooth device (even other apple products). Says device not supported. How to solve this problem?

    Supported Bluetooth Profiles
    It is not supposed to detect other Apple products via Bluetooth.

  • HT4970 I bought a printer Polaroid POGO, MINI PRINTER. I can not connect it via Bluetooth with my iPhone 4. Is there an app to solve this problem, because I'm Judicial Medical Expert, and I need this tool for quick things. grateful

    I bought a printer Polaroid POGO, MINI PRINTER. I can not connect it via Bluetooth with my iPhone 4. Is there an app to solve this problem, because I'm Judicial Medical Expert, and I need this tool for quick things. grateful
    Max Cavichini
    Medical Legal Expert
    Problem ipad and i phone

    This has never been a feature of iphone,ipod touch or ipad.

Maybe you are looking for