Re: USB insertion event on Tizen through dbus

2014-09-11 Thread Rees, Kevron
The way you are listening for signals seems strange.  This is the code
I have used:

object->handle =

g_dbus_connection_signal_subscribe(g_bus_get_sync(G_BUS_TYPE_SYSTEM,

  NULL, NULL),

   "org.automotive.message.broker",

   "org.freedesktop.DBus.Properties",

   "PropertiesChanged",

   object_path.c_str(), NULL,

   G_DBUS_SIGNAL_FLAGS_NONE,

   SignalCallback, &amb_objects_,

   NULL);

Hope that helps.

On Wed, Sep 10, 2014 at 8:27 PM, Ruchi Sharma  wrote:
> Hello,
>
>
>
> I have checked dbus-monitor --system. Its shows signals when USB device is
> inserted.
>
> Thanks!!
>
>
>
> Regards,
>
> Ruchi
>
>
> ~~Disclaimer~~~
> Information contained and transmitted by this e-mail is confidential and
> proprietary to IGATE and its affiliates and is intended for use only by the
> recipient. If you are not the intended recipient, you are hereby notified
> that any dissemination, distribution, copying or use of this e-mail is
> strictly prohibited and you are requested to delete this e-mail immediately
> and notify the originator or mailad...@igate.com. IGATE does not enter into
> any agreement with any party by e-mail. Any views expressed by an individual
> do not necessarily reflect the view of IGATE. IGATE is not responsible for
> the consequences of any actions taken on the basis of information provided,
> through this email. The contents of an attachment to this e-mail may contain
> software viruses, which could damage your own computer system. While IGATE
> has taken every reasonable precaution to minimise this risk, we cannot
> accept liability for any damage which you sustain as a result of software
> viruses. You should carry out your own virus checks before opening an
> attachment. To know more about IGATE please visit www.igate.com.
> 
>
> ___
> IVI mailing list
> IVI@lists.tizen.org
> https://lists.tizen.org/listinfo/ivi
>
___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Re: Question about qt5

2014-09-11 Thread Rees, Kevron
On Wed, Sep 10, 2014 at 7:41 PM, kongling  wrote:
> Hi,
> I want to use qt5 with IVI, and there are many rpm packages about qt5 in
> repos.
> Could anyone tell me which packages should be installed in the system?

Qt can do many things.  So naturally what should be installed depends
on what you want to do.  Can you elaborate on what you want to do?

-Kevron

>
> BR
>
> kongling
>
> ___
> IVI mailing list
> IVI@lists.tizen.org
> https://lists.tizen.org/listinfo/ivi
>
___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Re: We need your help.

2014-09-11 Thread hisao munakata
Dominig

Thanks for the feedback.

At the F2F meeting, out environment was based on 3.4 kernel that does not
support SMACK and we were ready to migrate to 3.10 because all required
component (GFX and multi-media) can support 3.10 officially. Now we need
to step up one more to 3.14 to comply with latest Tizen common. I understand
the situation.

Personally I have no objection to migrate to 3.14-LTSI for baseline code.
Possible problem is middleware compatibility and delivery. I will check when
and how we can deliver them using through click-through type easy manner.

Anyway now I can understand your suggestion. I will consider this.

Best
Munakata 

On Thu, 11 Sep 2014 15:03:16 +0200
Dominig ar Foll  wrote:

> 
> Le 11/09/2014 14:53, Miki a __crit :
> >
> > 2) The kernel is manually built from Philippe's sandbox branch of the
> > Tizen common kernel.  The main branch Tizen kernel is 3.14 LTS.  I don't
> > know if obs can be configured to build the main branch (3.14LTS) for
> > Intel and Philippe's branch (3.10LTSI) for Renesas.
> >
> 
> During our meeting with Renesas, we made very clear that in order to get
> Common working will all the benefit of the security model, it would
> require the Kernel 3.14 (alternative is requiring a lot of backport).
> We have froze on 3.14 because it's the latest LTS and the candidate for
> the next LTSI and that should make it easier for non IA architecture to
> provide non open source drivers (in particular graphics) in binary
> format without losing the benefit of the security patches added to the LTS.
> 
> I am afraid that enabling the Kernel 3.14 for Renesas will be the
> simplest solution to get production ready solution with security enable.
> 
> The work done by Philippe is a great proof of concept but lacks the
> security extensions which are "quite" critical for a modern IVI product.
> 
> Regards
> 
> -- 
> Dominig ar Foll
> Senior Software Architect
> Intel Open Source Technology Centre
> 
> ___
> IVI mailing list
> IVI@lists.tizen.org
> https://lists.tizen.org/listinfo/ivi
> 


-- 
hisao munakata 
___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Re: mount paths in Tizen not accessible to normal user

2014-09-11 Thread José Bollo
Hi Vidyesh,

On gio, 2014-09-11 at 09:21 +, Vidyesh Nabar wrote:

(snip)

> I think that that if it was because of smack, it would have prevented
> user access here too.

I'm busy and can not check today. But...

Have you tried the mount option "smackdef='*'" ?

Replace * with _ for read-only.

I'll try tomorrow.

Best regards
José

> 
>  
> 
> Thanks,
> 
>  
> 
> Vidyesh
> 
> 
> 
> ~~Disclaimer~~~
> Information contained and transmitted by this e-mail is confidential
> and proprietary to IGATE and its affiliates and is intended for use
> only by the recipient. If you are not the intended recipient, you are
> hereby notified that any dissemination, distribution, copying or use
> of this e-mail is strictly prohibited and you are requested to delete
> this e-mail immediately and notify the originator or
> mailad...@igate.com. IGATE does not enter into any agreement with any
> party by e-mail. Any views expressed by an individual do not
> necessarily reflect the view of IGATE. IGATE is not responsible for
> the consequences of any actions taken on the basis of information
> provided, through this email. The contents of an attachment to this
> e-mail may contain software viruses, which could damage your own
> computer system. While IGATE has taken every reasonable precaution to
> minimise this risk, we cannot accept liability for any damage which
> you sustain as a result of software viruses. You should carry out your
> own virus checks before opening an attachment. To know more about
> IGATE please visit www.igate.com.
> 
>  
> ___
> IVI mailing list
> IVI@lists.tizen.org
> https://lists.tizen.org/listinfo/ivi


___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Re: We need your help.

2014-09-11 Thread Dominig ar Foll

Le 11/09/2014 14:53, Miki a écrit :
>
> 2) The kernel is manually built from Philippe's sandbox branch of the
> Tizen common kernel.  The main branch Tizen kernel is 3.14 LTS.  I don't
> know if obs can be configured to build the main branch (3.14LTS) for
> Intel and Philippe's branch (3.10LTSI) for Renesas.
>

During our meeting with Renesas, we made very clear that in order to get
Common working will all the benefit of the security model, it would
require the Kernel 3.14 (alternative is requiring a lot of backport).
We have froze on 3.14 because it's the latest LTS and the candidate for
the next LTSI and that should make it easier for non IA architecture to
provide non open source drivers (in particular graphics) in binary
format without losing the benefit of the security patches added to the LTS.

I am afraid that enabling the Kernel 3.14 for Renesas will be the
simplest solution to get production ready solution with security enable.

The work done by Philippe is a great proof of concept but lacks the
security extensions which are "quite" critical for a modern IVI product.

Regards

-- 
Dominig ar Foll
Senior Software Architect
Intel Open Source Technology Centre

___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Re: We need your help.

2014-09-11 Thread Miki
Hi Phillpe,

Thank you for your cooperation.
It looks like you made a nice porting of Tizen.common to R-CAR-M2.
We haven't tried it, but some comments are here from my colleague
Damian-san.

1) The Tizen root filesystem comes from download.tizen.org, where the ks
file and image creation are handled by obs.  So he has already done for
Common what we are trying to do for IVI.

2) The kernel is manually built from Philippe's sandbox branch of the
Tizen common kernel.  The main branch Tizen kernel is 3.14 LTS.  I don't
know if obs can be configured to build the main branch (3.14LTS) for
Intel and Philippe's branch (3.10LTSI) for Renesas.

Some other comments:
You uses vfat for the /boot partition, while the patches that we
submitted for IVI use ext4. Not a big difference.

The image creation tools have the option to generate one big disk image
instead of one per partition. We tried this but found that R-CAR-M2
could not boot it because u-boot has been configured to only support MBR
disk partions (i.e. DOS style), while the Tizen images use GPT (GUID
Partition Table).  Setting the correct flags at u-boot compile may fix this.

BR
Miki

(2014/09/09 13:11), hisao munakata wrote:
> Philippe
> 
> This is great. Thanks for intensive support to add this contents.
> 
> I agree that GFX and MMP middleware is key component to run
> Tizen on R-Car platform and we are preparing paper less (click
> through) binary middleware delivery targeting November timing.
> 
> Also we are sending patch to add platform support to Tizen IVI 
> tree.  We will review your contents and come back with our latest
> status updates to move forward. Miki-san will send you more detailed
> feedback later.
> 
> Thanks a lot.
> Hisao Munakata
> 
> On Sun, 7 Sep 2014 23:40:46 +0200
> Philippe Coval  wrote:
> 
>> 2014-06-16 5:05 GMT+02:00 Miki :
>>> Dear Tizen.IVI development team
>>>
>>> We (Hisao Munakata and I) are responsible for Linux software development
>>> in Renesas electronics corporation, and proceeding to port Tizen.IVI to
>>> Renesas SOC R-CAR-xx series which is dedicated to Car infotainment
>>> System market.
>>>
>>> We would appreciate if your team could take part in porting tizen.common
>>> to Renesas reference board (ex. Lager,Koelsch, and Henninger).
>>
>> Hi,
>>
>> Here is a video and how to get Tizen:Common on this koelsch device :
>>
>> https://dockr.eurogiciel.fr/blogs/embedded/tizen-arm-images-to-renesas/
>>
>> Note I've done this mouths ago , but that time the arm images where
>> not shared so I decided to update to current ones...
>>
>> Note all the glory is for Damian since he shared a kernel tree, but to
>> go further it would help to provide GPU drivers as RPM if they cant be
>> available as FLOSS.
>>
>> At the moment kernel hosting on tizen.org is discussed in IVI
>> tracker... but if It lands in IVI , it should be easier to get it in
>> common too.
>>
>> Regards
>>
>>
>> -- 
>>  mailto:philippe.co...@eurogiciel.fr  --  gpg:0x467094BC
>>  xmpp:philippe.coval@gmail.com
>>  https://dockr.eurogiciel.fr/blogs/embedded/author/pcl/
>>.
>>
> 
> 

-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Yoshiyuki Miki

Senior Professional
Open Source Development Center
Automotive Information Systems Division
1st Solution Business Unit
Renesas Electronics Corporation
Nippon Bldg. 2-6-2, Ote-machi, Chiyoda-ku, Tokyo 100-0004, Japan
Tel '+81-3-4226-4866, Cell +81-90-2140-9002
Email yoshiyuki.miki...@renesas.com
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Re: [TizenCommon]dumped core file is not generated

2014-09-11 Thread Ylinen, Mikko
Hi,

On Wed, Sep 3, 2014 at 11:07 AM, Yang Andy 
wrote:

> Hi Mikko
>
> >For everybody's education, would you be able to tell what the issue was.
>
> In order to ouput coredump file,it is necessary to set environment
> variable below.
>
> sysctl kernel.core_pattern=core
> sysctl kernel.core_uses_pid=1
>
>
This is method possible and correct but not the way how it is supposed to
work. I got curious
(well, to be honest there was a bug TC-1578 filed too) what is wrong and
found:

|/usr/lib/systemd/systemd-coredump %p %u %g %s %t %e

has '_' EXEC label and apparently it's not allowed to write to System::Run
which is
what /run/log/ is labeled.

Try this:
# chsmack -e System /lib/systemd/systemd-coredump
# kill -11 
# systemd-coredumpctl list

Follow-up in https://bugs.tizen.org/jira/browse/TC-1578

-- Mikko
___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Re: [TizenCommon]Crosswalk launch failed

2014-09-11 Thread Ylinen, Mikko
What is the hardware you're using?


On Thu, Sep 11, 2014 at 12:20 PM, Yang Andy 
wrote:

> Hi everyone
>
> I tried to use open_app to launch app,it failed to start up app.
>
> I  analyzed the limited error log  and found that process stoped at xwalk
> [NavigationControllerImpl::LoadURLWithParams].
>
> Could anyone give me some advice?
>
> [Error Info]
> localhost xwalk[548]:
> [0911/020431:INFO:navigation_controller_impl.cc(778)]
> NavigationControllerImpl::LoadURLWithParams
> localhost sh[314]: Couldn't call 'Launch' method:
> GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a
> reply (timeout by message bus)
> localhost sh[314]: launch_application 1
> localhost systemd[258]: xwalk.service: main process exited, code=killed,
> status=11/SEGV
> localhost systemd[258]: Unit xwalk.service entered failed state.
>
>
> Best regards.
>
>
> Andy
> --
> From: williamyan...@hotmail.com
> To: baptiste.dur...@open.eurogiciel.org; mikko.yli...@intel.com;
> ivi@lists.tizen.org; deyix@intel.com
> Subject: RE: [TizenCommon]Crosswalk launch failed
> Date: Tue, 9 Sep 2014 01:56:17 +
>
>
> Hi everyone
>
> >Andy please use open_app binary to start an app.
> >open_app 
>
> I tried to use open_app to launch app,it failed and the result is the same
> as using xwalk-launch.
>
> I  analyzed the limited error log  and found that process stoped at xwalk
> [ApplicationService::Launch].
>
> Could anyone give me some advice?
>
> Best regards.
>
> Andy
> --
> Date: Thu, 4 Sep 2014 11:42:17 +0200
> Subject: Re: [TizenCommon]Crosswalk launch failed
> From: baptiste.dur...@open.eurogiciel.org
> To: mikko.yli...@intel.com
> CC: williamyan...@hotmail.com; ivi@lists.tizen.org; deyix@intel.com
>
> Hi all,
> Andy please use open_app binary to start an app.
>
> open_app 
> Thanks
>
>
>
> 2014-09-03 11:50 GMT+02:00 Ylinen, Mikko :
>
>
>
>
> On Tue, Sep 2, 2014 at 8:39 AM, Yang Andy 
> wrote:
>
> Hi everyone
>
> I want to launch Crosswalk at TizenCommon platform.
>
> But when use command to launch Crosswalk from wayland terminal,i run into
> fatal error below.
>
>
> What's the command you are using?
>
> xwalk-launcher [|]?
>
> -- Mikko
>
> ___
> IVI mailing list
> IVI@lists.tizen.org
> https://lists.tizen.org/listinfo/ivi
>
>
>
>
> --
> Baptiste DURAND
> Eurogiciel Vannes/FR
>
___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Re: mount paths in Tizen not accessible to normal user

2014-09-11 Thread Vidyesh Nabar


>> Is there a way to get around this?



>Don't mount as root. Ask udisks to mount it for you, using udisksctl mount.


We tried this. But it the result is the same.
A normal user can't access the mounted path.

However, if we mention the mount path in fstab and in the options add "user" to 
allow users to access it,  and run "mount -a", it gets mounted and a normal 
user is able to access it.

I am not sure why the other methods don't work.
I think that that if it was because of smack, it would have prevented user 
access here too.



Thanks,



Vidyesh

~~Disclaimer~~~
Information contained and transmitted by this e-mail is confidential and 
proprietary to IGATE and its affiliates and is intended for use only by the 
recipient. If you are not the intended recipient, you are hereby notified that 
any dissemination, distribution, copying or use of this e-mail is strictly 
prohibited and you are requested to delete this e-mail immediately and notify 
the originator or mailad...@igate.com . IGATE does 
not enter into any agreement with any party by e-mail. Any views expressed by 
an individual do not necessarily reflect the view of IGATE. IGATE is not 
responsible for the consequences of any actions taken on the basis of 
information provided, through this email. The contents of an attachment to this 
e-mail may contain software viruses, which could damage your own computer 
system. While IGATE has taken every reasonable precaution to minimise this 
risk, we cannot accept liability for any damage which you sustain as a result 
of software viruses. You should carry out your own virus checks before opening 
an attachment. To know more about IGATE please visit www.igate.com 
.

___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


RE: [TizenCommon]Crosswalk launch failed

2014-09-11 Thread Yang Andy
Hi everyone

I tried to use open_app to launch app,it failed to start up app.

I  analyzed the limited error log  and found that process stoped at xwalk 
[NavigationControllerImpl::LoadURLWithParams].

Could anyone give me some advice?

[Error Info]
localhost xwalk[548]: [0911/020431:INFO:navigation_controller_impl.cc(778)] 
NavigationControllerImpl::LoadURLWithParams
localhost sh[314]: Couldn't call 'Launch' method: 
GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply 
(timeout by message bus)
localhost sh[314]: launch_application 1
localhost systemd[258]: xwalk.service: main process exited, code=killed, 
status=11/SEGV
localhost systemd[258]: Unit xwalk.service entered failed state.


Best regards.


Andy
From: williamyan...@hotmail.com
To: baptiste.dur...@open.eurogiciel.org; mikko.yli...@intel.com; 
ivi@lists.tizen.org; deyix@intel.com
Subject: RE: [TizenCommon]Crosswalk launch failed
Date: Tue, 9 Sep 2014 01:56:17 +




Hi everyone

>Andy please use open_app binary to start an app.
>open_app 

I tried to use open_app to launch app,it failed and the result is the same as 
using xwalk-launch.

I  analyzed the limited error log  and found that process stoped at xwalk 
[ApplicationService::Launch].

Could anyone give me some advice?

Best regards.

Andy
Date: Thu, 4 Sep 2014 11:42:17 +0200
Subject: Re: [TizenCommon]Crosswalk launch failed
From: baptiste.dur...@open.eurogiciel.org
To: mikko.yli...@intel.com
CC: williamyan...@hotmail.com; ivi@lists.tizen.org; deyix@intel.com

Hi all, 
Andy please use open_app binary to start an app.

open_app 
Thanks



2014-09-03 11:50 GMT+02:00 Ylinen, Mikko :




On Tue, Sep 2, 2014 at 8:39 AM, Yang Andy  wrote:





Hi everyone

I want to launch Crosswalk at TizenCommon platform.

But when use command to launch Crosswalk from wayland terminal,i run into fatal 
error below.




What's the command you are using?
xwalk-launcher [|]?
-- Mikko


___

IVI mailing list

IVI@lists.tizen.org

https://lists.tizen.org/listinfo/ivi




-- 
Baptiste DURAND
Eurogiciel Vannes/FR

  ___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi