Re: Help with sound on Fc16
On 03/25/2012 07:37 PM, Joe Zeff wrote: > On 03/25/2012 11:42 AM, Kevin Fenzi wrote: >> How are you logging in? gdm? How are you starting X? > > Yes, I'm logging in on both computers via gdm and using XFCE. The > advice I got through fedorafourm.org simply stated that you had to be > in the audio group to have access to the appropriate devices. > > [joe@khorlia Desktop]$ ls -al /dev/snd > total 0 > drwxr-xr-x. 3 root root 240 Mar 24 22:31 . > drwxr-xr-x. 18 root root 3980 Mar 23 15:32 .. > drwxr-xr-x. 2 root root 60 Mar 24 22:31 by-path > crw-rw+ 1 root audio 116, 8 Mar 24 22:31 controlC0 > crw-rw+ 1 root audio 116, 7 Mar 23 15:33 pcmC0D0c > crw-rw+ 1 root audio 116, 6 Mar 23 15:33 pcmC0D0p > crw-rw+ 1 root audio 116, 5 Mar 24 22:31 pcmC0D1c > crw-rw+ 1 root audio 116, 4 Mar 24 22:31 pcmC0D2c > crw-rw+ 1 root audio 116, 3 Mar 24 22:31 pcmC0D3c > crw-rw+ 1 root audio 116, 2 Mar 23 15:33 pcmC0D4p > crw-rw+ 1 root audio 116, 1 Mar 24 22:31 seq > crw-rw+ 1 root audio 116, 33 Mar 24 22:31 timer Sidenote: It may work w/out being in the audio group, since your modes for those files include a "+". The "+" means there's an acl on the file, in addition to "standard" Unix permissions. As someone else mentioned, logging in on the console is supposed to set up those acl's. Use the getfacl command to read the acls -- for instance, on this system: _[/dev/snd]_(scott@eva)_ $ getfacl hwC0D0 # file: hwC0D0 # owner: root # group: audio user::rw- user:scott:rw- group::rw- mask::rw- other::--- The file reads: crw-rw+ 1 root audio 116, 10 Mar 22 20:22 hwC0D0 Yes, you could also "fix" a perms problem by dropping the user into the audio group -- but then, they will always have access to audio, even if they aren't logged in at the console...which could have security ramifications for multi-user systems. -Scott -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Help with sound on Fc16
On 03/25/2012 11:42 AM, Kevin Fenzi wrote: How are you logging in? gdm? How are you starting X? Yes, I'm logging in on both computers via gdm and using XFCE. The advice I got through fedorafourm.org simply stated that you had to be in the audio group to have access to the appropriate devices. [joe@khorlia Desktop]$ ls -al /dev/snd total 0 drwxr-xr-x. 3 root root 240 Mar 24 22:31 . drwxr-xr-x. 18 root root 3980 Mar 23 15:32 .. drwxr-xr-x. 2 root root 60 Mar 24 22:31 by-path crw-rw+ 1 root audio 116, 8 Mar 24 22:31 controlC0 crw-rw+ 1 root audio 116, 7 Mar 23 15:33 pcmC0D0c crw-rw+ 1 root audio 116, 6 Mar 23 15:33 pcmC0D0p crw-rw+ 1 root audio 116, 5 Mar 24 22:31 pcmC0D1c crw-rw+ 1 root audio 116, 4 Mar 24 22:31 pcmC0D2c crw-rw+ 1 root audio 116, 3 Mar 24 22:31 pcmC0D3c crw-rw+ 1 root audio 116, 2 Mar 23 15:33 pcmC0D4p crw-rw+ 1 root audio 116, 1 Mar 24 22:31 seq crw-rw+ 1 root audio 116, 33 Mar 24 22:31 timer -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Help with sound on Fc16
On 03/26/2012 02:42 AM, Kevin Fenzi wrote: > ConsoleKit should set filesystem acls on all devices needed for local > users. I thought that was udev's job. -- Do not condemn the judgment of another because it differs from your own. You may both be wrong. -- Dandemis -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Help with sound on Fc16
On Sun, 25 Mar 2012 12:05:41 -0700 don fisher wrote: > Thanks. After a reboot, it started working for an as yet unknown > reason. Perversity! ;-) > With my home audio system, I can debug things with a signal generator > starting at the speaker and working back to the source until I find > where the problem is. Is there a way to do similar debugging with > pulse audio and alsa? I would like to inject signals at the sound > card, the back if I knew what the input were. It is easier with RCA > hacks. USB inputs are still beyond my test set:-) (maybe a USB DVD > player?). I'm not completely clear what you want to do here. I think you want to treat a software path like a hardware path. The most basic is to maximize logging from sound applications. Or you could compile alsa-lib with debugging turned on and trace what happens when sound is sent through it using gdb. Or you could run a sound playing application with strace. In a GUI, most things are event driven, so the paths periodically exist and don't exist. I don't think it is possible to do what you want in the way you mean. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Help with sound on Fc16
On Sat, 24 Mar 2012 14:15:13 -0700 Joe Zeff wrote: > On 03/24/2012 01:52 PM, don fisher wrote: > > > > but no sound:-( > > Make sure you're in the audio group, because that's required as of F > 16. You may need to log out and back in to get it working. Yes, I > know that it's a stupid requirement, but it wasn't *my* idea. It's not a requirement. ConsoleKit should set filesystem acls on all devices needed for local users. If it's not doing that then there's something wrong on the login process. How are you logging in? gdm? How are you starting X? kevin signature.asc Description: PGP signature -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Fw: Help with sound on Fc16
Begin forwarded message: Date: Sun, 25 Mar 2012 09:02:07 -0700 From: stan To: don fisher Subject: Re: Help with sound on Fc16 On Sat, 24 Mar 2012 13:52:20 -0700 don fisher wrote: > aplay another_brick_in_the_wall_part_2.wav > Playing WAVE 'another_brick_in_the_wall_part_2.wav' : Signed 16 bit > Little Endian, Rate 44100 Hz, Stereo > > but no sound:-( Alsa thinks you have sound devices or it wouldn't play. Go te the console again and type aplay -l This should list all the devices that alsa is aware of. If you have cards, it is just a matter of getting them recognized by pulse. > > I looked online and found a few things as shown below > > udevadm info -qall -p /sys/class/sound/card0/ > P: /devices/pci:00/:00:14.2/sound/card0 > E: UDEV_LOG=3 > E: DEVPATH=/devices/pci:00/:00:14.2/sound/card0 > E: SUBSYSTEM=sound > E: ID_PATH=pci-:00:14.2 > E: ID_PATH_TAG=pci-_00_14_2 > E: ID_FOR_SEAT=sound-pci-_00_14_2 > E: SOUND_INITIALIZED=1 > E: ID_VENDOR_FROM_DATABASE=ATI Technologies Inc > E: ID_MODEL_FROM_DATABASE=SBx00 Azalia (Intel HDA) > E: ID_BUS=pci > E: ID_VENDOR_ID=0x1002 > E: ID_MODEL_ID=0x4383 > E: SOUND_FORM_FACTOR=internal > E: SYSTEMD_WANTS=sound.target > E: TAGS=:seat:systemd: > > pacmd list-cards > Welcome to PulseAudio! Use "help" for usage information. > >>> 0 card(s) available. > > pactl stat > Currently in use: 1 blocks containing 63.9 KiB bytes total. > Allocated during whole lifetime: 8015 blocks containing 28.3 MiB > bytes total. > Sample cache size: 0 B > User name: dfisher > Host Name: dfpc47 > Server Name: pulseaudio > Server Version: 0.9.23 > Default Sample Specification: s16le 2ch 44100Hz > Default Channel Map: front-left,front-right > Default Sink: auto_null > Default Source: auto_null.monitor > > pactl list provides a huge amount of output, but I noticed that "Sink > #0" is the "Dummy Output". Pulse is not aware that you have any sound devices. Install the package pavucontrol. Start the app, and go to the last tab. It allows you to manage the devices there. You will probably have to turn them on, and make the correct device the default. > > The audoo card shows up under udev, but pacmd list-cards says that > no cards are available. Any ideas? Again, KDE can output sound, so > the is something (many things:-) that I am missing. Is there any way to tell what sound mechanism KDE is using to play? Try opening a term in KDE and doing the aplay another_brick_in_the_wall_part_2.wav again. Does it play? Was your system a new install, or an upgrade? If it was an install, did you use a KDE live CD to install, or a DVD? Have you installed another low level sound library like OSS4? I ask because this is so unusual. If we can't get this working, it would be great if you would open a bugzilla for this and put in all the above answers in order to get it fixed. https://bugzilla.redhat.com/ -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Help with sound on Fc16
On 03/24/2012 07:41 PM, Craig White wrote: a victory for the intellectually incurious is a victory indeed. Fix the symptom, and let someone else fix the problem. Sarcasm and insults have their place. I didn't know that this list was it. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Help with sound on Fc16
On Sat, 2012-03-24 at 19:35 -0700, Joe Zeff wrote: > On 03/24/2012 07:28 PM, Ed Greshko wrote: > > In any case, it is*not* a "requirement" as you've stated. It is a > > "kludge" to get > > around another problem. > > *Shrug!* I'm only quoting what I was told and reporting that it worked > for me. You can argue all you want about whether or not it's a > "requirement," but the fact remains that it worked for me, 2 for 2. a victory for the intellectually incurious is a victory indeed. Fix the symptom, and let someone else fix the problem. Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Help with sound on Fc16
On 03/25/2012 10:35 AM, Joe Zeff wrote: > *Shrug!* I'm only quoting what I was told and reporting that it worked for > me. > You can argue all you want about whether or not it's a "requirement," but the > fact > remains that it worked for me, 2 for 2. Yes, it worked for you. But, just like duct tape your are hiding a problem that may bite you in the ass at a later date. Giving that type of advice is to be discouraged. -- Do not condemn the judgment of another because it differs from your own. You may both be wrong. -- Dandemis -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Help with sound on Fc16
On 03/24/2012 07:28 PM, Ed Greshko wrote: In any case, it is*not* a "requirement" as you've stated. It is a "kludge" to get around another problem. *Shrug!* I'm only quoting what I was told and reporting that it worked for me. You can argue all you want about whether or not it's a "requirement," but the fact remains that it worked for me, 2 for 2. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Help with sound on Fc16
On 03/25/2012 10:16 AM, Joe Zeff wrote: > No. However, I tried to get sound just before adding myself to the group. It > failed on both boxes. On my desktop, it started working as soon as I made the > change. On the laptop, I had to log out and back in before I got sound. On > both > boxes, the only thing that I changed was adding myself to the group. And, if > it > doesn't work, what harm's done? I believe you got it to work. However, you "force fixed" it and are hiding the underlying problem. When you login the acls of the devices listed in /dev/snd should be changed to something along the lines of: # file: hwC0D0 # owner: root # group: audio user::rw- user:egreshko:rw- group::rw- mask::rw- other::--- In your case that is not happening. So, you've force fixed it by joining the "audio" group as all the devices are in the "audio" group. This could also point to other issues on your system where other acls aren't getting properly modified on login. In any case, it is *not* a "requirement" as you've stated. It is a "kludge" to get around another problem. -- Do not condemn the judgment of another because it differs from your own. You may both be wrong. -- Dandemis -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Help with sound on Fc16
On 03/24/2012 07:09 PM, Ed Greshko wrote: Have you since gone back and removed yourself from the "audio" group to check your work? No. However, I tried to get sound just before adding myself to the group. It failed on both boxes. On my desktop, it started working as soon as I made the change. On the laptop, I had to log out and back in before I got sound. On both boxes, the only thing that I changed was adding myself to the group. And, if it doesn't work, what harm's done? -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Help with sound on Fc16
On 03/25/2012 09:57 AM, Joe Zeff wrote: > On 03/24/2012 04:18 PM, Ed Greshko wrote: >> Where did you get that nugget of information? > > I got it from fedoraforum.org. And, after "upgrading" both my desktop and > laptop > to F16, neither of them had sound until I did it. You said "requirement" and certainly I don't have any such settings or requirements. Indeed, I can start all of my systems in multi-user mode (non-graphical) and will have sound. Have you since gone back and removed yourself from the "audio" group to check your work? -- Do not condemn the judgment of another because it differs from your own. You may both be wrong. -- Dandemis -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Help with sound on Fc16
On 03/24/2012 04:18 PM, Ed Greshko wrote: Where did you get that nugget of information? I got it from fedoraforum.org. And, after "upgrading" both my desktop and laptop to F16, neither of them had sound until I did it. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Help with sound on Fc16
On 03/25/2012 05:15 AM, Joe Zeff wrote: > On 03/24/2012 01:52 PM, don fisher wrote: >> >> but no sound:-( > > Make sure you're in the audio group, because that's required as of F 16. You > may > need to log out and back in to get it working. Yes, I know that it's a stupid > requirement, but it wasn't *my* idea. Where did you get that nugget of information? I just ran the XFCE live from the CD and had no problems running sound...with nothing other than audio:x:63: in /etc/group. All of my system are that way, and all have sound just fine. They are all running pulseaudio as well. I've not tried twm as of yet. That's for later in the day after a bit more coffee. -- Do not condemn the judgment of another because it differs from your own. You may both be wrong. -- Dandemis -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Help with sound on Fc16
On 03/24/2012 01:52 PM, don fisher wrote: but no sound:-( Make sure you're in the audio group, because that's required as of F 16. You may need to log out and back in to get it working. Yes, I know that it's a stupid requirement, but it wasn't *my* idea. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Help with sound on Fc16
On 03/23/12 18:38, stan wrote: On Fri, 23 Mar 2012 18:05:26 -0700 don fisher wrote: I am trying to find documentation on the alsa/pulse audio system. My goal is to set it up independent of gnome or KDE. This is the default configuration for Fedora out of the box. If I run KDE the sound works. If I run twm or equivalent, it does not. Why is the sound configuration buried in the window manager? It isn't. Go to a console, Ctl-LeftAlt-F2, and type aplay. You should hear sound. Gnome and KDE provide an extra layer of abstraction on top of pulseaudio, but that shouldn't affect your ability to use sound outside of them. If you have a standard install, LeftAlt-F1 should get you back to the gui. If not, try LeftAlt-F7. I use mplayer to play music through pulse at consoles all the time. Audacious should do the same in any window manager (it's worked in every wm I've tried). What do I have to do to implement the same function that KDE provides? Do you have alsa-plugins-pulseaudio installed? It sets up the system so that things that are sent to alsa are routed through pulseaudio, and is the default on Fedora. If it is, and sound doesn't work, adding your user to the audio group should work. Note that pulse only allows a single user to have sound at any time unless it is run as a daemon (last I checked). aplay another_brick_in_the_wall_part_2.wav Playing WAVE 'another_brick_in_the_wall_part_2.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo but no sound:-( I looked online and found a few things as shown below udevadm info -qall -p /sys/class/sound/card0/ P: /devices/pci:00/:00:14.2/sound/card0 E: UDEV_LOG=3 E: DEVPATH=/devices/pci:00/:00:14.2/sound/card0 E: SUBSYSTEM=sound E: ID_PATH=pci-:00:14.2 E: ID_PATH_TAG=pci-_00_14_2 E: ID_FOR_SEAT=sound-pci-_00_14_2 E: SOUND_INITIALIZED=1 E: ID_VENDOR_FROM_DATABASE=ATI Technologies Inc E: ID_MODEL_FROM_DATABASE=SBx00 Azalia (Intel HDA) E: ID_BUS=pci E: ID_VENDOR_ID=0x1002 E: ID_MODEL_ID=0x4383 E: SOUND_FORM_FACTOR=internal E: SYSTEMD_WANTS=sound.target E: TAGS=:seat:systemd: pacmd list-cards Welcome to PulseAudio! Use "help" for usage information. >>> 0 card(s) available. pactl stat Currently in use: 1 blocks containing 63.9 KiB bytes total. Allocated during whole lifetime: 8015 blocks containing 28.3 MiB bytes total. Sample cache size: 0 B User name: dfisher Host Name: dfpc47 Server Name: pulseaudio Server Version: 0.9.23 Default Sample Specification: s16le 2ch 44100Hz Default Channel Map: front-left,front-right Default Sink: auto_null Default Source: auto_null.monitor pactl list provides a huge amount of output, but I noticed that "Sink #0" is the "Dummy Output". The audoo card shows up under udev, but pacmd list-cards says that no cards are available. Any ideas? Again, KDE can output sound, so the is something (many things:-) that I am missing. Thanks, Don -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Help with sound on Fc16
don fisher comcast.net> writes: > > I am trying to find documentation on the alsa/pulse audio system. My > goal is to set it up independent of gnome or KDE. > > Thanks, > don I ran into a similar problem with my FC16 installation of the Xfce re-spin. The solution I finally came up with was to remove pulse audio and just go with ALSA. This was based on running into more than a few posting with that suggestion. When pulse works, it's great. When it doesn't work it just gets in the way. Cheers, Dave -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Help with sound on Fc16
On Fri, 23 Mar 2012 18:05:26 -0700 don fisher wrote: > I am trying to find documentation on the alsa/pulse audio system. My > goal is to set it up independent of gnome or KDE. This is the default configuration for Fedora out of the box. > If I run KDE the sound works. If I run twm or equivalent, it does > not. Why is the sound configuration buried in the window manager? It isn't. Go to a console, Ctl-LeftAlt-F2, and type aplay . You should hear sound. Gnome and KDE provide an extra layer of abstraction on top of pulseaudio, but that shouldn't affect your ability to use sound outside of them. If you have a standard install, LeftAlt-F1 should get you back to the gui. If not, try LeftAlt-F7. I use mplayer to play music through pulse at consoles all the time. Audacious should do the same in any window manager (it's worked in every wm I've tried). > What do I have to do to implement the same function that KDE provides? Do you have alsa-plugins-pulseaudio installed? It sets up the system so that things that are sent to alsa are routed through pulseaudio, and is the default on Fedora. If it is, and sound doesn't work, adding your user to the audio group should work. Note that pulse only allows a single user to have sound at any time unless it is run as a daemon (last I checked). -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Help with sound on Fc16
I am trying to find documentation on the alsa/pulse audio system. My goal is to set it up independent of gnome or KDE. If I run KDE the sound works. If I run twm or equivalent, it does not. Why is the sound configuration buried in the window manager? What do I have to do to implement the same function that KDE provides? Thanks, don -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org