I don't know if there are other critical env variables not set.  Please
try what i reported in my other reply to this thread... that is open a
terminal from the UI or set a password for app and then directly ssh in
as app.

    --rusty

On Tue, 2013-10-08 at 10:22 +0900, Joshua Kim wrote:
> I checked 'XDG_RUNTIME_DIR=/run/user/5000'. 
> And I execute paplay command line as app "$".(If root '#')
> In attached pictures, first paplay execution is generated warning
> message 'W: [pulseaudio] caps.c: ....'
> But, no warning message after that.
> I also think this operation strangely. I'll check the BB hardware.
> 
> 
> 
> 2013/10/8 Rusty Lynch <[email protected]>
>         Did you see my reply?  I'm betting that you are doing a 'su'
>         from root
>         to app which doesn't fully setup the environment.
>          Specifically I bet
>         you XDG_RUNTIME_DIR is still pointing to root's space
>         (i.e. /run/usr/0
>         instead of /run/usr/5000)
>         
>         You shouldn't have to do anything special.  Audio "just
>         works", but only
>         when run from inside the user session.
>         
>             --rusty
>         
>         On Tue, 2013-10-08 at 09:42 +0900, Joshua Kim wrote:
>         > Okay. From now on I will not consider the LPE audio.
>         >
>         >
>         >
>         > Then, What should I do to enable HDA? (I just using original
>         > image(TIVI-3.0-M2-2013.08.29.9))
>         > I can't hear audio from earphone connected to green-jack.
>         > What is the problem?
>         >
>         >
>         > 2013/10/8 Clark, Joel <[email protected]>
>         >         There is no BB LPE driver support at kernel.org yet,
>         so we
>         >         don’t have this support in Tizen IVI at this time.
>          HDA is
>         >         supported. On BB.  I’ve seen estimates that LPE
>         might be ready
>         >         early next year.  We will have to monitor the LKML
>         to see how
>         >         this goes.
>         >
>         >
>         >
>         >
>         >
>         >         Regards
>         >
>         >         Joel
>         >
>         >
>         >
>         >
>         >
>         >         From: [email protected]
>         >         [mailto:[email protected]] On Behalf Of
>         Joshua Kim
>         >         Sent: Monday, October 07, 2013 4:49 PM
>         >         To: Lynch, Rusty
>         >         Cc: [email protected]
>         >         Subject: Re: [TIVI-3.0] Audio output on BB CRB
>         >
>         >
>         >
>         >         I tested it as root and as app user.
>         >
>         >         And, I know BB supports two audio devices(LPE,HDA).
>         >
>         >
>         >         How can I use each audio device. Please let me know
>         your steps
>         >         to test audio.
>         >
>         >
>         >
>         >
>         >         2013/10/8 Rusty Lynch <[email protected]>
>         >
>         >         It works fine for me.  Are you running this as the
>         app user or
>         >         attempting to do this as root?
>         >
>         >
>         >         On Tue, 2013-10-08 at 08:05 +0900, Joshua Kim wrote:
>         >         > Audio output through pulseaudio is not working in
>         Bayley Bay
>         >         CRB.
>         >         > Please let me know the use case or configuration
>         settings to
>         >         work
>         >         > audio sound.
>         >         >
>         >         >
>         >         > image - TIVI-3.0-M2-2013.08.29.9
>         >         >
>         >         >
>         >         >
>         >         > 1. connect earphone to BB-CRB green-earjack.
>         >         > 2. ssh to log on
>         >         > 3. paplay audio file as app user:
>         >         >    paplay  /usr/share/sounds/alsa/Front_Center.wav
>         >         >
>         >         > -> no audio heard from earphone.
>         >         >
>         >         >
>         >         > --
>         >         >
>         >         > Joshua Kim
>         >         > -------------------------------------
>         >         > Leading Research Engineer
>         >         >
>         >         >
>         >         >
>         >         >
>         >
>         >
>         >         > _______________________________________________
>         >         > IVI mailing list
>         >         > [email protected]
>         >         > https://lists.tizen.org/listinfo/ivi
>         >
>         >
>         >
>         >
>         >
>         >
>         >
>         >
>         >
>         >         --
>         >
>         >         Joshua Kim
>         >
>         >         -------------------------------------
>         >
>         >         Leading Research Engineer
>         >
>         >
>         >
>         >
>         >
>         >
>         >
>         >
>         >
>         > --
>         > Joshua Kim
>         > -------------------------------------
>         > Leading Research Engineer
>         >
>         >
>         >
>         >
>         
>         
>         
> 
> 
> 
> 
> -- 
> Joshua Kim
> -------------------------------------
> Leading Research Engineer
> 
> 
> 
> 


_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi

Reply via email to