No sound in user, only in root

YDL running on the Sony Playstation 3

Moderator: billb

No sound in user, only in root

Postby failadbanan » 27 Mar 2010, 11:18

Hi! My sound only works when i am as root not when a login in my useraccount.

Its a fresh installed yellow dog 6.2 and i have done the yum update.

What need i to do? step to step guide please, im a n00b.
failadbanan
ydl newbie
ydl newbie
 
Posts: 5
Joined: 27 Mar 2010, 11:13

Re: No sound in user, only in root

Postby billb » 27 Mar 2010, 13:16

Never seen that before ... do you have any USB headsets or PS3 cameras plugged in? Sometimes when you have a USB headset plugged in the audio output will get switched over to the headset.

From where are you testing sound?
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: No sound in user, only in root

Postby failadbanan » 27 Mar 2010, 13:53

im using hdmi.
And the only thing thats plugin is usb-mouse and usb-keyboard.
The sound-control, i can hear the sound when its testing.

But in youtube and mp3 files there is no sound. :S
In root its work perfect
failadbanan
ydl newbie
ydl newbie
 
Posts: 5
Joined: 27 Mar 2010, 11:13

Re: No sound in user, only in root

Postby ppietro » 28 Mar 2010, 06:24

failadbanan wrote:im using hdmi.
And the only thing thats plugin is usb-mouse and usb-keyboard.
The sound-control, i can hear the sound when its testing.

But in youtube and mp3 files there is no sound. :S
In root its work perfect


I'm looking at a similar issue in this thread.
viewtopic.php?f=4&t=7254#p37487

I'm guessing you can use chmod to fix this. (You'll have to do this from your normal login, then su in the terminal window to temporarily become root)

billb - it has to do with some process reserving /dev/dsp for root. Possibly an audio driver. Is there anything about 6.2 - or any custom apps in the bodega - that might be settting this?

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: No sound in user, only in root

Postby billb » 28 Mar 2010, 15:01

ppietro wrote:billb - it has to do with some process reserving /dev/dsp for root. Possibly an audio driver. Is there anything about 6.2 - or any custom apps in the bodega - that might be settting this?


I see ... I'm not aware of any apps that would do that, though. Also, it's supposed to be a fresh install of YDL that has been updated:

failadbanan wrote:Its a fresh installed yellow dog 6.2 and i have done the yum update.


@failadbanan, would you please post your yum log file so we can see everything that has been installed/updated?

Code: Select all
more /var/log/yum.log


Also, you could try creating a new user and see if it behaves the same way ...

Become root:
Code: Select all
su --login

<root password>

Code: Select all
useradd test


Code: Select all
passwd test

<enter new password for testing user>

Code: Select all
exit


Log out, then log in as the new user.

Check the permissions on the audio device:

Code: Select all
ls -al /dev|grep dsp


Expected result:

[test@localhost ~]$ ls -al /dev|grep dsp
crw------- 1 test root 14, 3 Mar 28 09:41 dsp
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: No sound in user, only in root

Postby failadbanan » 03 Apr 2010, 08:54

mar 26 22:04:12 Updated: nspr.ppc 4.7.4-1.1
mar 26 22:04:15 Updated: nss.ppc 3.12.3.99.3-1.2
mar 26 22:04:16 Updated: freetype.ppc 2.2.1-21
mar 26 22:04:18 Updated: pango.ppc 1.14.9-5
mar 26 22:04:26 Updated: xulrunner.ppc 1.9.0.12-1
mar 26 22:04:37 Updated: libpurple.ppc 2.5.8-1.el5
mar 26 22:04:38 Updated: apr-util.ppc 1.2.7-7.1
mar 26 22:04:40 Updated: bind-libs.ppc 30:9.3.4-10.P1.2.ydl6.2
mar 26 22:04:41 Updated: libtiff.ppc 3.8.2-7.4
mar 26 22:04:42 Updated: cups-libs.ppc 1:1.3.7-8.6
mar 26 22:04:42 Updated: libdhcp6client.ppc 1.0.10-16
mar 26 22:04:43 Updated: nash.ppc 6.0.9-5.ydl.3
mar 26 22:04:50 Updated: samba-common.ppc 3.0.33-3.7.1
mar 26 22:04:50 Installed: compat-libdhcp6client.ppc 0.10-42
mar 26 22:04:51 Updated: mkinitrd.ppc 6.0.9-5.ydl.3
mar 26 22:04:53 Updated: libwmf.ppc 0.2.8.4-10.2
mar 26 22:05:05 Updated: python.ppc 2.4.3-24.6.ydl6.2
mar 26 22:05:17 Updated: libicu.ppc 3.6-5.11.4
mar 26 22:06:05 Installed: kernel.ppc64 2.6.29-3.ydl61.4
mar 26 22:06:16 Updated: firefox.ppc 3.0.12-1.ydl6.2
mar 26 22:06:51 Updated: pidgin.ppc 2.5.8-1.el5
mar 26 22:06:52 Updated: ipsec-tools.ppc 0.6.5-13.1
mar 26 22:06:54 Updated: ksh.ppc 20080202-2.1
mar 26 22:07:07 Updated: cups.ppc 1:1.3.7-8.6
mar 26 22:07:14 Updated: tzdata.noarch 2009i-2.el5
mar 26 22:07:15 Updated: acpid.ppc 1.0.4-7.ydl6.1
mar 26 22:07:17 Updated: nss-tools.ppc 3.12.3.99.3-1.2
mar 26 22:07:17 Updated: mcelog.ppc 1:0.7-1.22.ydl.2
mar 26 22:07:21 Updated: httpd.ppc 2.2.3-22.ydl6.2
mar 26 22:07:25 Updated: samba-client.ppc 3.0.33-3.7.1
mar 26 22:07:25 Updated: bind-utils.ppc 30:9.3.4-10.P1.2.ydl6.2
mar 26 22:07:37 Updated: thunderbird.ppc 2.0.0.22-2.ydl6.2
mar 26 22:21:04 Installed: glib.ppc 1:1.2.10-20
mar 26 22:21:12 Installed: gtk+.ppc 1:1.2.10-56
mar 26 22:21:14 Installed: smpeg.ppc 0.4.4-11.lvn6
mar 26 22:21:14 Installed: libid3tag.ppc 0.15.1b-5.el5
mar 26 22:21:16 Installed: libcdio.ppc 0.78.2-5.el5
mar 26 22:21:17 Installed: faad2-libs.ppc 1:2.6.1-1.ydl62.bdg
mar 26 22:21:18 Installed: libmad.ppc 0.15.1b-4.rf
mar 26 22:21:18 Installed: libmpcdec.ppc 1.2.6-1.el5
mar 26 22:21:19 Installed: amrnb.ppc 0.0.1-2.rf
mar 26 22:21:19 Installed: xvidcore.ppc 1.1.3-1.rf
mar 26 22:21:20 Installed: libdvdread.ppc 4.1.3-1.el5
mar 26 22:21:21 Installed: SDL_net.ppc 1.2.6-2.el5
mar 26 22:21:21 Installed: SDL_ttf.ppc 2.0.8-3.el5
mar 26 22:21:24 Updated: boost.ppc 1.34.1-5.ydl6.bdg
mar 26 22:21:27 Updated: gnash.ppc 0.8.2-4.ydl.bdg
mar 26 22:21:28 Installed: a52dec.ppc 0.7.4-8.rf
mar 26 22:21:28 Installed: libXxf86dga.ppc 1.0.1-3.1
mar 26 22:21:30 Installed: lame.ppc 3.97-1.rf
mar 26 22:21:30 Installed: SDL_image.ppc 1.2.5-4.fc6
mar 26 22:21:31 Installed: SDL_mixer.ppc 1.2.8-1
mar 26 22:21:32 Installed: mpeg2dec.ppc 0.4.1-2.rf
mar 26 22:21:32 Installed: gsm.ppc 1.0.12-4.el5
mar 26 22:21:33 Installed: libmms.ppc 0.3-1.rf
mar 26 22:21:34 Installed: libsndfile.ppc 1.0.17-2.el5
mar 26 22:21:35 Installed: libmp4v2.ppc 1.5.0.1-6.el5
mar 26 22:21:37 Installed: faac.ppc 1.28-1.ydl62.bdg
mar 26 22:21:39 Installed: gstreamer-plugins-bad.ppc 0.10.3-7.bdg
mar 26 22:21:41 Installed: mednafen.ppc 0.8.10-1.0.8.C.ydl6.bdg
mar 26 22:21:42 Installed: gstreamer-plugins-ugly.ppc 0.10.5-2.rf
mar 26 22:21:44 Installed: python-game.ppc 1.8.1-1.rf
mar 26 22:21:45 Installed: xorg-x11-utils.ppc 7.1-2
mar 26 22:21:46 Updated: gnash-plugin.ppc 0.8.2-4.ydl.bdg
mar 26 22:21:47 Installed: gdk-pixbuf.ppc 1:0.22.0-25
mar 26 22:21:48 Installed: bluez-hcidump.ppc 1.32-1
mar 26 22:21:48 Installed: fscaler.ppc 0.5-1.ydl6.bdg
mar 26 22:21:52 Installed: artwiz-aleczapka-fonts.noarch 1.3-6.el5
mar 26 22:21:55 Installed: fluxbox.ppc 1.0.0-1.el5
mar 26 22:22:18 Installed: xe.ppc 2.16.1-2.ydl6.bdg
mar 26 22:22:53 Installed: jack-audio-connection-kit.ppc 0.103.0-4.el5
mar 26 22:22:55 Installed: portaudio.ppc 19-8.el5
mar 26 22:22:57 Installed: snes9x-gtk.ppc 1.51-67.ydl6.bdg
mar 26 22:58:28 Updated: liboil.ppc 0.3.14-1.ydl62.bdg
mar 26 22:58:31 Updated: speex.ppc 1.2-1.ydl62.bdg
mar 26 22:58:32 Updated: SDL.ppc 1.2.13-2
mar 26 22:58:33 Installed: schroedinger.ppc 1.0.3-1.ydl62.bdg
mar 26 22:58:34 Installed: x264-libs.ppc 0.0.0-1.ydl62.bdg
mar 26 22:58:35 Installed: libebml.ppc 0.7.8-1.rf
mar 26 22:58:37 Installed: fribidi.ppc 0.10.7-5.1
mar 26 22:58:38 Installed: libmatroska.ppc 0.8.1-1.rf
mar 26 22:58:39 Installed: libshout.ppc 2.2.2-1.rf
mar 26 22:58:42 Installed: opencv.ppc 1.0.0-3.fc6
mar 26 22:58:43 Installed: libupnp.ppc 1.6.6-1.el5
mar 26 22:58:44 Installed: twolame.ppc 0.3.12-1.bdg
mar 26 22:58:45 Installed: libdc1394.ppc 2.0.2-1.el5
mar 26 22:58:48 Installed: ffmpeg-libs.ppc 0.4.9-1.ydl62.bdg
mar 26 22:58:48 Installed: libdca.ppc 0.0.5-1.rf
mar 26 22:58:50 Installed: freeglut.ppc 2.4.0-7.1
mar 26 22:58:51 Installed: libcaca.ppc 0.99-0.5.beta16.el5
mar 26 22:58:51 Installed: libtar.ppc 1.2.11-8.bdg
mar 26 22:58:52 Installed: libcddb.ppc 1.3.1-1.rf
mar 26 22:58:53 Installed: aalib.ppc 1.4.0-0.11.rc5.el5
mar 26 22:58:54 Installed: libv4l.ppc 0.6.2-1.ydl62.bdg
mar 26 22:58:55 Installed: libdvdnav.ppc 4.1.3-1.el5
mar 26 22:58:56 Installed: libmodplug.ppc 1:0.8.7-1.el5
mar 26 22:58:57 Installed: lua.ppc 5.1.2-1.el5
mar 26 22:59:00 Installed: lirc.ppc 0.6.6-4.bdg
mar 26 22:59:26 Installed: qt4.ppc 4.5.2-1.ydl6.bdg
mar 26 22:59:29 Installed: xosd.ppc 2.2.14-9.fc6
mar 26 22:59:34 Installed: lash.ppc 0.5.1-10
mar 26 22:59:35 Installed: fluidsynth-libs.ppc 1.0.7-8.a
mar 26 22:59:36 Installed: taglib.ppc 1.5-2.el5
mar 26 22:59:37 Installed: libdvbpsi.ppc 0.1.5-2.rf
mar 26 22:59:58 Installed: vlc-core.ppc 0.9.5-2.ydl62.bdg
mar 26 22:59:59 Installed: pulseaudio-libs.ppc 0.9.10-1.el5.1
mar 26 23:00:05 Installed: dejavu-fonts.noarch 2.26-2
mar 26 23:00:14 Installed: vlc.ppc 0.9.5-2.ydl62.bdg
mar 26 23:00:14 Installed: mozilla-vlc.ppc 0.9.5-2.ydl62.bdg
mar 27 09:54:01 Installed: ffmpeg.ppc 0.4.9-1.ydl62.bdg


My yum.log
failadbanan
ydl newbie
ydl newbie
 
Posts: 5
Joined: 27 Mar 2010, 11:13

Re: No sound in user, only in root

Postby failadbanan » 03 Apr 2010, 09:02

[root@localhost ~]# ls -al /dev|grep dsp
crw------- 1 zerogame root 14, 3 3 apr 09.49 dsp


seems my account baka dont have have de premission to the sound.

How do i add?
Last edited by failadbanan on 04 Jul 2010, 08:33, edited 1 time in total.
failadbanan
ydl newbie
ydl newbie
 
Posts: 5
Joined: 27 Mar 2010, 11:13

Re: No sound in user, only in root

Postby failadbanan » 03 Apr 2010, 22:30

i have already test the test account, its not added in the "ls -al /dev|grep dsp"-list :c
failadbanan
ydl newbie
ydl newbie
 
Posts: 5
Joined: 27 Mar 2010, 11:13

Re: No sound in user, only in root

Postby billb » 04 Apr 2010, 11:33

failadbanan wrote:[root@localhost ~]# ls -al /dev|grep dsp
crw------- 1 zerogame root 14, 3 3 apr 09.49 dsp


I wonder if the zerogame script made some change that causes this? I don't see anything unusual in the yum.log and I if it were a commonly installed package from ps3bodega we'd be seeing a lot more of this issue.

I think to fix this, as Paul suggested in the other topic, you could use the chown command. That would go like this:
Code: Select all
su

<root password>
Code: Select all
chown yourusername /dev/dsp

(replace with your actual username)

Code: Select all
exit


I believe that would change yourusername to being the owner and the group would remain root
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA


Return to Playstation 3

Who is online

Users browsing this forum: No registered users and 72 guests

cron