platform/upstream/libusb.git
7 years agousbhost api: remove profile dependency 15/116115/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen_backup_before_upgrade_1.0.21 accepted/tizen/common/20170227.043104 accepted/tizen/ivi/20170227.050114 accepted/tizen/mobile/20170227.050102 accepted/tizen/tv/20170227.050106 accepted/tizen/unified/20170309.040015 accepted/tizen/wearable/20170227.050111 submit/tizen/20170224.082221 submit/tizen_unified/20170308.100414
taeyoung [Thu, 23 Feb 2017 04:52:12 +0000 (13:52 +0900)]
usbhost api: remove profile dependency

- Only Mobile profile supported usb host api until Tizen 3.0
- To remove the profile dependency, usb host api related codes
  are enabled.
  = If usb host api is used, all things are same with Tizen 3.0
  = If libusb is used directly,
    1) root users can access to usb device like Tizen 3.0
    2) normal users cannot open usb device, and thus
       dbus requests to deviced will be triggered.
       If deviced supports usb host api, usb permission popup
       will be launched for the confirmation from user.
       If deviced does not support usb host api, the requests
       are rejected.

Change-Id: Id72a27d5aa78ebaf8006a649c20d88d2c0e6ca65
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agousbhost api: fix dbus method call to deviced 25/89025/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable tizen_3.0 tizen_3.0.m2 tizen_3.0_tv accepted/tizen/3.0.m2/mobile/20170105.024707 accepted/tizen/3.0.m2/tv/20170105.024849 accepted/tizen/3.0.m2/wearable/20170105.025017 accepted/tizen/3.0/common/20161114.111049 accepted/tizen/3.0/ivi/20161011.050524 accepted/tizen/3.0/mobile/20161015.033638 accepted/tizen/3.0/tv/20161016.004906 accepted/tizen/3.0/wearable/20161015.083540 accepted/tizen/common/20160922.120220 accepted/tizen/ivi/20160922.233046 accepted/tizen/mobile/20160922.233038 accepted/tizen/tv/20160922.233043 accepted/tizen/wearable/20160922.233041 submit/tizen/20160921.234729 submit/tizen_3.0.m2/20170104.093753 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000004 submit/tizen_3.0_mobile/20161015.000004 submit/tizen_3.0_tv/20161015.000003 submit/tizen_3.0_wearable/20161015.000004
Paweł Szewczyk [Wed, 21 Sep 2016 12:50:36 +0000 (14:50 +0200)]
usbhost api: fix dbus method call to deviced

Change-Id: If17b9f30e2301bea9558e2899f740e952b1455b1
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
7 years agousbhost api: replace libdeviced to dbus method 60/88960/2 accepted/tizen/common/20160921.162727 submit/tizen/20160921.084123
taeyoung [Wed, 21 Sep 2016 07:54:54 +0000 (16:54 +0900)]
usbhost api: replace libdeviced to dbus method

libusb cannot use libdeviced since circular dependency problem exists.

  libusb -> bluez -> pulseaudio (libpulse) -> efl (ecore) -> deviced -> libusb

Thus libdeviced is replaced to the dbus method which is provided by deviced.

Change-Id: Ia1ee8b72c17f30c8b4c49526d0101ed9294f230f
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agousbhost api: do not search the usbfs path for Mobile profile 71/88671/1 accepted/tizen/common/20160920.132107 accepted/tizen/ivi/20160920.231847 accepted/tizen/mobile/20160920.231807 accepted/tizen/tv/20160920.231821 accepted/tizen/wearable/20160920.231832 submit/tizen/20160920.044232
taeyoung [Tue, 20 Sep 2016 07:32:14 +0000 (16:32 +0900)]
usbhost api: do not search the usbfs path for Mobile profile

- Currently, usb host api is supported only for the Mobile profile.
  Thus usbfs path is not searched only for the Mobile profile.

Change-Id: I7ce753dc6e0730171c0a9996434183717f054d1d
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoMerge "Do not search for usbfs path" into tizen
Karol Lewandowski [Mon, 19 Sep 2016 08:20:04 +0000 (01:20 -0700)]
Merge "Do not search for usbfs path" into tizen

7 years agoDo not search for usbfs path 80/88380/1
Paweł Szewczyk [Fri, 16 Sep 2016 13:58:01 +0000 (15:58 +0200)]
Do not search for usbfs path

If there are not devices connected, the usbfs path may not exist.
In that case library initialization will fail.

This commit use fixed value of /dev/bus/usb as usbfs path, which is
the path used in Tizen, preventing initialization error.

Change-Id: I24cd4286408da4955373f7d99f3acbdb8f8e55ba
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
7 years agousbhost api: enable deviced feature just for mobile profile 56/88056/1 accepted/tizen/common/20160913.170452 accepted/tizen/ivi/20160918.234153 accepted/tizen/mobile/20160918.234102 accepted/tizen/tv/20160918.234119 accepted/tizen/wearable/20160918.234136 submit/tizen/20160913.041833 submit/tizen/20160913.072327
taeyoung [Tue, 13 Sep 2016 04:02:56 +0000 (13:02 +0900)]
usbhost api: enable deviced feature just for mobile profile

usb host api is Mobile profile feature currently. Thus
deviced related codes should be applied to mobile profile only.

Change-Id: I354c784b32ed37a5834f8adbb5a561e75fa0eb99
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agousbhost api: disable Tizen usb host apicodes on TV profile 16/83616/1 submit/tizen/20160905.095524 submit/tizen/20160913.050320
taeyoung [Fri, 12 Aug 2016 04:22:59 +0000 (13:22 +0900)]
usbhost api: disable Tizen usb host apicodes on TV profile

- TV profile does not support Tizen usbhost api.
  Thus the codes related with it are removed on TV profile.

Change-Id: Id38ea19827b73ee345cbff43cfc0a4cc347773a1
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agoUse deviced instead of USB Security Daemon 23/59323/1
Paweł Szewczyk [Thu, 11 Feb 2016 13:01:09 +0000 (14:01 +0100)]
Use deviced instead of USB Security Daemon

Change-Id: I507208ee6d4ba2549ce59a1d70ee224f6ee73fc3
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
8 years agoAllow to obtain fd from USB Security Daemon 29/52929/1
Krzysztof Opasiak [Mon, 29 Jun 2015 10:31:05 +0000 (12:31 +0200)]
Allow to obtain fd from USB Security Daemon

Tizen don't allow applications to directly open device
nodes for communication with USB devices. We have our own
daemon (USD - USB Security Daemon) which holds the policy
of accessing USB devices. Each app which would like to
communicate with device has to ask USD to open suitable file
and pass fds to app.

This patch updates libusb and first tries to open device
node directly and only if it fails asks USD to open fds.
This allows to not influence existing libusb users which
has root rights and check USD permissions only for external
applications.

Change-Id: I9dcac37ccc8ae86cef4d22965744781307940e61
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
9 years agoUpgrade libusb to version 1.0.19 69/41569/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/ivi/20160218.025323 accepted/tizen/mobile/20150626.021202 accepted/tizen/tv/20150626.021245 accepted/tizen/wearable/20150626.021226 submit/tizen/20150625.055924 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000006 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Łukasz Stelmach [Tue, 16 Jun 2015 11:22:59 +0000 (13:22 +0200)]
Upgrade libusb to version 1.0.19

Change-Id: I39653675c3e57d61ca35f0aafdf14552385e20bf

9 years agoresetting manifest requested domain to floor
Alexandru Cornea [Mon, 1 Jul 2013 16:46:11 +0000 (19:46 +0300)]
resetting manifest requested domain to floor

Change-Id: Ia8bdd7cfc7f730dabf58a1fa3abf68cd0fb73bdf

9 years agoUpdate package groups
Anas Nashif [Mon, 18 Mar 2013 20:44:33 +0000 (13:44 -0700)]
Update package groups

Change-Id: I7f0cadec585a535be7b6a1c87e6df3f1e6dc8b16

9 years agofixed packaging
Anas Nashif [Sun, 4 Nov 2012 15:23:38 +0000 (07:23 -0800)]
fixed packaging

Change-Id: Ib4c1433c546a180b9145596c3b986123f60a56bd

9 years agoadd packaging
Anas Nashif [Sun, 4 Nov 2012 15:22:54 +0000 (07:22 -0800)]
add packaging

Change-Id: Id2574eb30eac53c193795d2a1a1798847835cc50

9 years agoImported Upstream version 1.0.19 upstream_backup_upgrade_1.0.21 upstream/1.0.19
Łukasz Stelmach [Tue, 16 Jun 2015 09:12:12 +0000 (11:12 +0200)]
Imported Upstream version 1.0.19

11 years agoImported Upstream version 1.0.9 upstream/1.0.9
Anas Nashif [Sun, 4 Nov 2012 15:22:53 +0000 (07:22 -0800)]
Imported Upstream version 1.0.9