public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* trplayer and audio permissions
@  Charles Hallenbeck
   ` Steve Holmes
  0 siblings, 1 reply; 16+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: Speakup Distribution List

I am having no difficulty with my audio output arrangement here, and have
done nothing to create or modify any groups for my sound devices.

On my system, /dev/dsp and /dev/audio are symbolic links with 777
permissions; they are linked to /dev/dsp1 and /dev/audio1 which have 666
permissions.

Maybe those are not i;mportant details, but then again perhaps they are.

Ch;uck


Visit me at http://www.mhonline.net/~chuckh
The Moon is Waning Crescent (46% of Full)



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: trplayer and audio permissions
   trplayer and audio permissions Charles Hallenbeck
@  ` Steve Holmes
     ` Charles Hallenbeck
  0 siblings, 1 reply; 16+ messages in thread
From: Steve Holmes @  UTC (permalink / raw)
  To: speakup

Out of the box (slackware 8.0) audio, audio1, dsp and dsp1 appear to be
separate devices and default permissions had no privs for global others
and they are in the sys group along with some other audio sounding devices
like mixer and mixer1 and some midi devices. With this default
arrangement, no audio programs would work from normal user. At least then
I wqould get a message to the fact from programs like play and mpg123.
Realplayer, however doesn't give any messages - just plays silently. I now
have set rw for other for audio, audio1, dsp, and dsp1 but still silence
from realplayer in a normal user. Root plays fine. About the only option I
can see might be to add normal users to the sys group and give that a try.
I don't know what devices realplayer / trplayer is trying to access or why
normal users get the silent treatment.

On Wed, 10 Oct 2001, Charles Hallenbeck wrote:

> I am having no difficulty with my audio output arrangement here, and have
> done nothing to create or modify any groups for my sound devices.
>
> On my system, /dev/dsp and /dev/audio are symbolic links with 777
> permissions; they are linked to /dev/dsp1 and /dev/audio1 which have 666
> permissions.
>
> Maybe those are not i;mportant details, but then again perhaps they are.
>
> Ch;uck
>
>
> Visit me at http://www.mhonline.net/~chuckh
> The Moon is Waning Crescent (46% of Full)
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: trplayer and audio permissions
   ` Steve Holmes
@    ` Charles Hallenbeck
       ` Steve Holmes
  0 siblings, 1 reply; 16+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: speakup

My system is also Slackware 8.0, but I have installed the latest alsa
drivers and have run the script 'snddevices' from that package I am not
sure what devices RealPlayer8 is trying to use either. We need someone
who knows what they are doing to educate us!!!

Chuck
.


On Wed, 10 Oct 2001, Steve Holmes wrote:

> Out of the box (slackware 8.0) audio, audio1, dsp and dsp1 appear to be
> separate devices and default permissions had no privs for global others
> and they are in the sys group along with some other audio sounding devices
> like mixer and mixer1 and some midi devices. With this default
> arrangement, no audio programs would work from normal user. At least then
> I wqould get a message to the fact from programs like play and mpg123.
> Realplayer, however doesn't give any messages - just plays silently. I now
> have set rw for other for audio, audio1, dsp, and dsp1 but still silence
> from realplayer in a normal user. Root plays fine. About the only option I
> can see might be to add normal users to the sys group and give that a try.
> I don't know what devices realplayer / trplayer is trying to access or why
> normal users get the silent treatment.
>
> On Wed, 10 Oct 2001, Charles Hallenbeck wrote:
>
> > I am having no difficulty with my audio output arrangement here, and have
> > done nothing to create or modify any groups for my sound devices.
> >
> > On my system, /dev/dsp and /dev/audio are symbolic links with 777
> > permissions; they are linked to /dev/dsp1 and /dev/audio1 which have 666
> > permissions.
> >
> > Maybe those are not i;mportant details, but then again perhaps they are.
> >
> > Ch;uck
> >
> >
> > Visit me at http://www.mhonline.net/~chuckh
> > The Moon is Waning Crescent (46% of Full)
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>

Visit me at http://www.mhonline.net/~chuckh
The Moon is Waning Crescent (45% of Full)



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: trplayer and audio permissions
     ` Charles Hallenbeck
@      ` Steve Holmes
         ` Rodney Clowdus
  0 siblings, 1 reply; 16+ messages in thread
From: Steve Holmes @  UTC (permalink / raw)
  To: speakup

That's one big difference, I suppose; I do not have the alsa drivers
installed. I figured I'd keep it as simple as possible til I really get
things going here. Then I may install them as I understand they are
required to run speak freely.

One thing for sure, I can at least use the sound devices. It has got to be
permission related for non root users.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: trplayer and audio permissions
       ` Steve Holmes
@        ` Rodney Clowdus
           ` Charles Hallenbeck
           ` Brian Borowski
  0 siblings, 2 replies; 16+ messages in thread
From: Rodney Clowdus @  UTC (permalink / raw)
  To: speakup

I use Suse version 7.1 and I have the same problem as Steve.  Logged in as
root I have sound everywhere.  Otherwise it's as Steve indicates with his
problem.  I'm using the Sound Blaster Live card.  Sounds great!  I'll be
following this string closely and perhaps there will be two happy campers
when all is said and done.
Rodney

The Weaving Beaver
rclowdus@kcnet.com
"Chop your own firewood and it will warm you twice."
"Weave your own cloth and it will reward you twice."




^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: trplayer and audio permissions
         ` Rodney Clowdus
@          ` Charles Hallenbeck
           ` Brian Borowski
  1 sibling, 0 replies; 16+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: speakup

Hi Rodney -

I am also using the sblive card. Before recently upgrading to Slackware
8.0 and upgrading my alsa drivers, I also used Slackware 7.1 with an older
set of alsa drivers, and my system worked fine in that configuration too,
without messing with groups or permissions, other than whatever the alsa
installation script did on my behalf.

It is a great card, to be sure. I wish it had a simpler set of features to
set, but I suppose some day I will be grateful for the complexity.

Chuck



On Wed, 10 Oct 2001, Rodney Clowdus wrote:

> I use Suse version 7.1 and I have the same problem as Steve.  Logged in as
> root I have sound everywhere.  Otherwise it's as Steve indicates with his
> problem.  I'm using the Sound Blaster Live card.  Sounds great!  I'll be
> following this string closely and perhaps there will be two happy campers
> when all is said and done.
> Rodney
>
> The Weaving Beaver
> rclowdus@kcnet.com
> "Chop your own firewood and it will warm you twice."
> "Weave your own cloth and it will reward you twice."
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>

Visit me at http://www.mhonline.net/~chuckh
The Moon is Waning Crescent (45% of Full)



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: trplayer and audio permissions
         ` Rodney Clowdus
           ` Charles Hallenbeck
@          ` Brian Borowski
  1 sibling, 0 replies; 16+ messages in thread
From: Brian Borowski @  UTC (permalink / raw)
  To: speakup

The simplest solution to the permissions problem, is just to add yourself
into the appropriate group.  Do that, by just editing the /etc/group file,
and adding your username at the end of the line for that group; that is the
most secure way, and the method that will cause you least problems.  If you
were, for example to change permissions for these devices to something
else, then in the future, apply some upgrade, the permissions might get set
back to defaults, and you'd be disabled from using the audio devices again.
I have used the add-to-group method for years, and have had no problems.

Brian Borowski



On Wed, 10 Oct 2001, Rodney Clowdus wrote:

> I use Suse version 7.1 and I have the same problem as Steve.  Logged in as
> root I have sound everywhere.  Otherwise it's as Steve indicates with his
> problem.  I'm using the Sound Blaster Live card.  Sounds great!  I'll be
> following this string closely and perhaps there will be two happy campers
> when all is said and done.
> Rodney
>
> The Weaving Beaver
> rclowdus@kcnet.com
> "Chop your own firewood and it will warm you twice."
> "Weave your own cloth and it will reward you twice."
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: trplayer and audio permissions
           ` Adam Myrow
             ` Frank Carmickle
@            ` Steve Holmes
  1 sibling, 0 replies; 16+ messages in thread
From: Steve Holmes @  UTC (permalink / raw)
  To: speakup

Been there, done that! And I am happy to say, "It works!" Adam, that did
the trick. Trplayer and RealPlayer must need other devices in addition to
audio and dsp. Sorry to take so long on getting back to you all. Thanks
for the ideas and help.

On Wed, 10 Oct 2001, Adam Myrow wrote:

> I have no problems with my users added to the "sys" group.  Then again, I
> am using an AWE64, not a SB Live.  I would suggest trying putting a user in
> the "sys" group, and other than that, I don't know.  I have noticed that
> the sound support on some cards in Linux is dodgy.  For example, the Intel
> I810 chip that comes on a lot of newer computers as an on-board sound card
> is absolutely terrible!  I suppose that's why Alsa was invented.  It's a
> shame the kernel team couldn't get with the Alsa team and give the stock
> kernel some really good sound support.
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: trplayer and audio permissions
           ` Adam Myrow
@            ` Frank Carmickle
             ` Steve Holmes
  1 sibling, 0 replies; 16+ messages in thread
From: Frank Carmickle @  UTC (permalink / raw)
  To: speakup

On Wed, 10 Oct 2001, Adam Myrow wrote:
> shame the kernel team couldn't get with the Alsa team and give the stock 
> kernel some really good sound support.

This is supposed to happen in the 2.5 tree.

-- 
     Frank Carmickle
phone:     412 761-9568
email:     frankiec@dryrose.com



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: trplayer and audio permissions
       [not found]       ` <Pine.LNX.4.21.0110101616410.177-100000@c1422183-a.ross1.pa .home.com>
@          ` Adam Myrow
             ` Frank Carmickle
             ` Steve Holmes
  0 siblings, 2 replies; 16+ messages in thread
From: Adam Myrow @  UTC (permalink / raw)
  To: speakup

I have no problems with my users added to the "sys" group.  Then again, I 
am using an AWE64, not a SB Live.  I would suggest trying putting a user in 
the "sys" group, and other than that, I don't know.  I have noticed that 
the sound support on some cards in Linux is dodgy.  For example, the Intel 
I810 chip that comes on a lot of newer computers as an on-board sound card 
is absolutely terrible!  I suppose that's why Alsa was invented.  It's a 
shame the kernel team couldn't get with the Alsa team and give the stock 
kernel some really good sound support.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: trplayer and audio permissions
       ` Steve Holmes
@        ` Frank Carmickle
       [not found]       ` <Pine.LNX.4.21.0110101616410.177-100000@c1422183-a.ross1.pa .home.com>
  1 sibling, 0 replies; 16+ messages in thread
From: Frank Carmickle @  UTC (permalink / raw)
  To: speakup

On Wed, 10 Oct 2001, Steve Holmes wrote:

> I wonder, don't you mean static rather than dynamic?  Since trplayer comes

If it was statically built you wouldn't need the libs at all.  The output
of ldd on trplayer shows that it is not linked to the realplayer lib.

> along later, it would have to call realplayer lib functions at run time.

Yes it must be runtime.  I don't understand this.  But what I see says
that this is the case.  

> So that brings up the notion of having to resolve these things
> "dynamically" or at run time. I don't fully understand ldconfig but wonder
> what effect that might be done. Again, this works fine for root so can't
> imagine ldconfig having anything to do with it.

That is another good reason why ldconfig doesn't have anything to do with
it.  

-- 
     Frank Carmickle
phone:     412 761-9568
email:     frankiec@dryrose.com



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: trplayer and audio permissions
     ` Frank Carmickle
@      ` Steve Holmes
         ` Frank Carmickle
       [not found]       ` <Pine.LNX.4.21.0110101616410.177-100000@c1422183-a.ross1.pa .home.com>
  0 siblings, 2 replies; 16+ messages in thread
From: Steve Holmes @  UTC (permalink / raw)
  To: speakup

I wonder, don't you mean static rather than dynamic?  Since trplayer comes
along later, it would have to call realplayer lib functions at run time.
So that brings up the notion of having to resolve these things
"dynamically" or at run time. I don't fully understand ldconfig but wonder
what effect that might be done. Again, this works fine for root so can't
imagine ldconfig having anything to do with it.

On Wed, 10 Oct 2001, Frank Carmickle wrote:

> Hi Chuck
>
> No he probably doesn't.  These aren't dynamically linked.
>
> On Wed, 10 Oct 2001, Charles Hallenbeck wrote:
>
> > Frankie -
> >
> > On my system (which works!) that file has 555 permissions. Do you
> > suppose Steve has to run ldconfig?
>
>



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: trplayer and audio permissions
   ` Charles Hallenbeck
@    ` Frank Carmickle
       ` Steve Holmes
  0 siblings, 1 reply; 16+ messages in thread
From: Frank Carmickle @  UTC (permalink / raw)
  To: speakup

Hi Chuck

No he probably doesn't.  These aren't dynamically linked.  

On Wed, 10 Oct 2001, Charles Hallenbeck wrote:

> Frankie -
> 
> On my system (which works!) that file has 555 permissions. Do you
> suppose Steve has to run ldconfig?

-- 
     Frank Carmickle
phone:     412 761-9568
email:     frankiec@dryrose.com



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: trplayer and audio permissions
   Frank Carmickle
   ` Steve Holmes
@  ` Charles Hallenbeck
     ` Frank Carmickle
  1 sibling, 1 reply; 16+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: speakup

Frankie -

On my system (which works!) that file has 555 permissions. Do you
suppose Steve has to run ldconfig?

Chuck
On Wed, 10 Oct 2001, Frank Carmickle
wrote:

> Hi Steve
>
> Having a look at a few different systems I see that trplayer is not linked
> to the realplayer libs dynamically.  So it must be looking for these at
> runtime.  This I do believe is your problem.  Check the permissions on
> rpnp.so.  This should make things work for you.
>
> HTH
>
> On Wed, 10 Oct 2001, Steve Holmes wrote:
>
> > One thing for sure, I can at least use the sound devices. It has got to be
> > permission related for non root users.
>
>

Visit me at http://www.mhonline.net/~chuckh
The Moon is Waning Crescent (44% of Full)



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: trplayer and audio permissions
   Frank Carmickle
@  ` Steve Holmes
   ` Charles Hallenbeck
  1 sibling, 0 replies; 16+ messages in thread
From: Steve Holmes @  UTC (permalink / raw)
  To: speakup

Well, looking at the permissions in the RealPlayer8 directory revealed a
couple interesting items. I notice that there are no write permissions
offered to any user level and when I copied them in, they still had my
personal user ownership. Doubt that had much to do with it but I changed
the owner:group to root:root just like the rest of the stuff in
/usr/lib:). At this point, don't know if I should give write permission to
the owner part; can't hurt I suppose.

Now I would think a permission problem with libraries would have also
shown itself while root was running the program as well since the program
ran in silence. I should also add that during the silence treatment,
pressing the s key in trplayer showed that the track was indeed playing
and time was accumulating like normal. Thus I would think the libraries
were being found ok.

On Wed, 10 Oct 2001, Frank Carmickle wrote:

> Hi Steve
>
> Having a look at a few different systems I see that trplayer is not linked
> to the realplayer libs dynamically.  So it must be looking for these at
> runtime.  This I do believe is your problem.  Check the permissions on
> rpnp.so.  This should make things work for you.
>
> HTH
>
> On Wed, 10 Oct 2001, Steve Holmes wrote:
>
> > One thing for sure, I can at least use the sound devices. It has got to be
> > permission related for non root users.
>
>



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: trplayer and audio permissions
@  Frank Carmickle
   ` Steve Holmes
   ` Charles Hallenbeck
  0 siblings, 2 replies; 16+ messages in thread
From: Frank Carmickle @  UTC (permalink / raw)
  To: speakup

Hi Steve

Having a look at a few different systems I see that trplayer is not linked
to the realplayer libs dynamically.  So it must be looking for these at
runtime.  This I do believe is your problem.  Check the permissions on
rpnp.so.  This should make things work for you.  

HTH

On Wed, 10 Oct 2001, Steve Holmes wrote:

> One thing for sure, I can at least use the sound devices. It has got to be
> permission related for non root users.

-- 
     Frank Carmickle
phone:     412 761-9568
email:     frankiec@dryrose.com




^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 trplayer and audio permissions Charles Hallenbeck
 ` Steve Holmes
   ` Charles Hallenbeck
     ` Steve Holmes
       ` Rodney Clowdus
         ` Charles Hallenbeck
         ` Brian Borowski
 Frank Carmickle
 ` Steve Holmes
 ` Charles Hallenbeck
   ` Frank Carmickle
     ` Steve Holmes
       ` Frank Carmickle
     [not found]       ` <Pine.LNX.4.21.0110101616410.177-100000@c1422183-a.ross1.pa .home.com>
         ` Adam Myrow
           ` Frank Carmickle
           ` Steve Holmes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).