summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix GDBusWatchFunction usageJohan Hedberg2008-10-211-2/+9
|
* Add PBAP UUID for simpler accessMarcel Holtmann2008-10-211-0/+1
|
* Remember to remove the name listener in path_unregisterJohan Hedberg2008-10-201-0/+3
|
* Unload adapter drivers on adapter removal instead of adapter_stopJohan Hedberg2008-10-201-2/+2
|
* Call exit_callback with correct parameters upon path removalJohan Hedberg2008-10-201-1/+6
|
* Release 4.154.15Marcel Holtmann2008-10-202-1/+7
|
* Increase library version numberMarcel Holtmann2008-10-201-1/+1
|
* Add all binary programs to .gitignoreMarcel Holtmann2008-10-201-0/+36
|
* Fix another format string warningJohan Hedberg2008-10-201-1/+1
|
* Get rid of format string warnings with recent gcc versionsJohan Hedberg2008-10-204-62/+62
| | | | | | Recent gcc versions, like 4.3.2 from ubuntu intrepid, give warnings like "format not a string literal and no format arguments" without this patch.
* Perform a proper abort upon stream connect failureJohan Hedberg2008-10-201-4/+8
|
* Get rid of unnecessary finalize*errno(setup, 0) callsJohan Hedberg2008-10-191-19/+6
|
* Respond to a stream setup request also on Start_IndJohan Hedberg2008-10-191-0/+9
| | | | | If the remote end sends a START_CMD while we're setting up the stream use it to notify the stream requestor (unix.c) of success.
* Check for existing STREAMING state when receiving START_RSPJohan Hedberg2008-10-191-1/+4
| | | | | | | This could happen if both peers send START_CMD at the same time and the SNK peer doesn't reject the command (as it should according to the spec). This behaviour can be seen e.g. when using pulseaudio and the Mororola S9 headset.
* Remove OPEN state change from avdtp_open_cmdJohan Hedberg2008-10-191-1/+0
| | | | | | | | | | | | Some time back the INT role OPEN transition was moved from receiving the OPEN response to actually having the stream L2CAP channel ready. Unfortunatly this patch forgot to change the ACP case so the code has so far attempted a double ->OPEN transition. According to the AVDTP spec the transition should happen before the stream L2CAP transport but this doesn't really make sense since several places want to have the stream fd ready when we go to the OPEN state. Therefore, this patch removes the ACP role OPEN transition from receiving the OPEN command and lets the state change be in having the stream L2CAP transport established.
* Add another company identifierMarcel Holtmann2008-10-191-0/+2
|
* Use dlopen() directly and don't depend on GModuleMarcel Holtmann2008-10-184-48/+35
|
* Add g_dbus_add_service_watch() implementationMarcel Holtmann2008-10-172-22/+45
|
* Fix fallouts due to GDBusWatchFunction changesMarcel Holtmann2008-10-176-7/+7
|
* Fix connection disconnect functionMarcel Holtmann2008-10-171-2/+2
|
* Change declaration of GDBusWatchFunctionMarcel Holtmann2008-10-172-3/+4
|
* Implement better support for AT+CHLD=<n>Johan Hedberg2008-10-173-4/+30
|
* Add network timeout CME errorJohan Hedberg2008-10-171-0/+1
| | | | | This error code doesn't appear in the CME error table in the HFP spec but there are references to it in a couple of other places in the spec.
* Release 4.144.14Marcel Holtmann2008-10-172-1/+8
|
* Include sixpair.c in the distributionMarcel Holtmann2008-10-171-1/+1
|
* Fix indentation levelsJohan Hedberg2008-10-163-36/+30
|
* Add emit_array_property_changed()Johan Hedberg2008-10-164-72/+70
|
* Rename dbus_connection_emit_property_changed to emit_property_changedJohan Hedberg2008-10-1610-148/+112
|
* Add dict_append_array()Johan Hedberg2008-10-164-4/+37
|
* Fix yet another instance of dbus_message_iter_append_dict_entryJohan Hedberg2008-10-161-2/+1
|
* Fix remaining places to use dict_append_entry tooJohan Hedberg2008-10-166-40/+22
|
* Rename dbus_message_iter_append_dict_entry to dict_append_entryJohan Hedberg2008-10-165-39/+23
|
* Save name for the sixaxis controllerBastien Nocera2008-10-161-0/+1
| | | | The name won't be there until we connect otherwise
* Store every record information for the sixaxis controllersBastien Nocera2008-10-161-119/+18
| | | | | | | Remove out-dated code to parse the HID input descriptor Make sure that all the Bluetooth addresses used are upper-case Add captured once SDP PNP record for the sixaxis controller Store device id, profile, and trust information about the device
* Fix setting the master address on the sixaxisBastien Nocera2008-10-161-4/+8
| | | | | | Direction for the USB command was wrong, also disable all the report code, so sixpair can run (minus saving device records)
* Export record_from_string() from the storage functionsBastien Nocera2008-10-162-1/+2
| | | | | | Export record_from_string() from the storage functions, so it can be used to generate an sdp_record from a static string in sixpair.c
* Port sixpair to libusb 1.0Bastien Nocera2008-10-161-70/+72
| | | | | Port sixpair to libusb-1.0, as it allows us to re-attach the driver to the device after we're done.
* Add sixpair toolBastien Nocera2008-10-161-0/+393
| | | | | Sixpair is an unfinished helper to automatically pair a plugged in Playstation 3 Sixaxis Bluetooth joypad.
* Update udev rules for udev 098 and newerBastien Nocera2008-10-161-12/+12
| | | | | | As per https://bugzilla.redhat.com/show_bug.cgi?id=246840 and the udev release notes, update the udev rules for newer versions of udev (>= 098).
* Allow dynamic adapter driver registrationClaudio Takahasi2008-10-153-0/+25
|
* Better debug when failing to probe a deviceBastien Nocera2008-10-151-2/+2
| | | | The previous error message was a bit terse.
* Input: Code cleanup - Access record handle directly instead of call sdp_data_getClaudio Takahasi2008-10-141-8/+1
|
* Fix build error when SDP_DEBUG is enabledClaudio Takahasi2008-10-142-2/+3
|
* Fix PS3 BD remote input event generationBastien Nocera2008-10-142-143/+251
| | | | | | | | | | - Fix byte-reading in the decode function by using a guint8, instead of an int, we were overreading and were getting keycodes of 0xffffff44 when we wanted a single byte of 0x44. - Remove use of KEY_REMOTE_X, those keys never got upstream, and the values they were defined at are now used for completely different keys - Update uinput.h with the latest keycodes from 2.6.27
* Fix possible crash on startupBastien Nocera2008-10-121-0/+3
| | | | | | | | | | | | | | | | | | 0 0x0000000000a5cf71 in sdp_data_get (rec=0x0, attrId=0) at sdp.c:1444 1 0x000000008c704721 in hid_device_probe (device=0x7f1bed2a80b0, uuids=0x7f1bed29fa90) at manager.c:70 2 0x00007f1becb5bc33 in device_probe_drivers (device=0x7f1bed2a80b0, uuids=0x7f1bed2a2980) at device.c:647 3 0x00007f1becb58a23 in create_stored_device_from_profiles (key=0x7f1bed2a7360 "00:1E:45:AD:F1:96", value=0x7f1bed2a7aa0 "00000002-0000-1000-8000-0002ee000002 00001101-0000-1000-8000-00805f9b34fb 00001103-0000-1000-8000-00805f9b34fb 00001104-0000-1000-8000-00805f9b34fb 00001105-0000-1000-8000-00805f9b34fb 00001106-0000-1"..., user_data=0x7f1bed29edd0) at adapter.c:2296 4 0x00007f1becb61d12 in textfile_foreach (pathname=0x7ffff4b6f2a0 "/var/lib/bluetooth/00:13:EF:F1:42:B7/profiles", func=0x7f1becb58955 <create_stored_device_from_profiles>, data=0x7f1bed29edd0) at textfile.c:447 5 0x00007f1becb58b36 in load_devices (adapter=0x7f1bed29edd0) at adapter.c:2327 6 0x00007f1becb58fa0 in adapter_up (adapter=0x7f1bed29edd0, dd=18) at adapter.c:2462 7 0x00007f1becb59479 in adapter_start (adapter=0x7f1bed29edd0) at adapter.c:2569 8 0x00007f1becb5427f in manager_start_adapter (id=0) at manager.c:424 9 0x00007f1becb48e02 in device_devup_setup (dev_id=0) at main.c:481 10 0x00007f1becb48f35 in init_all_devices (ctl=7) at main.c:512 11 0x00007f1becb496d0 in main (argc=1, argv=0x7ffff4b70788) at main.c:748 The HID device's SDP record can be NULL, so don't crash when that happens
* Release 4.134.13Marcel Holtmann2008-10-102-1/+10
|
* Make server_is_enabled simply use the config file values for nowJohan Hedberg2008-10-102-45/+21
| | | | | | | | There's something broken in the "profile enabled" logic at the moment which makes server_is_enabled return FALSE sometimes when it shouldn't which causes the necessary interface not to be added to remote device objects. Use simply the config file values for now since we don't support per-adapter server configuration anyway.
* Fix uuid list allocation and freeing bug exposed by previous mem leak fixJohan Hedberg2008-10-102-6/+5
|
* Fix memory leakJohan Hedberg2008-10-101-0/+1
|
* Fix situation where avctp_disconnect is called while connectingJohan Hedberg2008-10-101-2/+12
| | | | | | | Previously the avctp session would be free'd and the connect callback would try to access this free'd memory. Now we detect this situation properly but the fundamental problem remains that the bt_l2cap_connect API doesn't allow aborting the connect procedure.