Re: [pulseaudio-discuss] Help with Udev Please

2010-05-31 Thread Lennart Poettering
On Tue, 18.05.10 19:34, Jim Duda (j...@duda.tzo.com) wrote:

 I just upgraded from fc11 to fc12.  With fc12 comes PA 0.9.21.
 
 Pulseaudio fails to detect any of my audio cards, I have two cards.
 
 I'm positive the problem is with UDEV.  When I boot the system, 
 I'm getting a cryptic message from udev about some {ATTR ... uvent} 

Plase provide a longer output. Are you sure this is related ot PA?

 file not found.  I'm having trouble getting the error message to 
 report, it flies off the screen before I can record it.

C-s/C-q is your friend.

 I'm looking for advice on may be how best to debug how udev deals
 with audio cards?  Maybe someone has already seen this issue?

we just enumerate them via udev. The output of pulseaudio -v
should tell you everything.

Lennart

-- 
Lennart PoetteringRed Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/   GnuPG 0x1A015CC4
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Help with Udev Please

2010-05-19 Thread Mads Kiilerich

On 05/19/2010 02:45 AM, Jim Duda wrote:

Pulseaudio fails to detect any of my audio cards, I have two cards.


That probably means that ALSA fails to detect them. PA is just the 
messenger.



On 05/18/2010 07:50 PM, David Henningsson wrote:


Looks like a syntax error in one of the udev rules.


That is not very likely. It works fine on F12 for everybody else.


On the machine which works, I'm using the stock kernel from fc12.

On the machine which doesn't work, I have to use my own kernel build.
Both kernels are of the 2.6.32 (one is .11 the other .13)
All of the sysfs stuff for both kernels are the same.


So the problem is that the kernel you build doesn't work correctly with 
your userspace. That sounds more like a kernel build/configuration problem.


/Mads
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Help with Udev Please

2010-05-19 Thread Colin Guthrie

'Twas brillig, and Jim Duda at 19/05/10 01:45 did gyre and gimble:

On 05/18/2010 07:50 PM, David Henningsson wrote:


Looks like a syntax error in one of the udev rules.
Perhaps you can see if the message shows up in /var/log/syslog and then
grep for that string in the udev rules directory?

// David


Unfortunately, I don't get any udev message in syslog.

I have 2 machines up on fc12.  Udev appears to work on one, but not the other.

The /etc/udev/rules.d/90-alsa.rules file is identical on both.

jim  cat 90-alsa.rules
ACTION==add, SUBSYSTEM==sound, KERNEL==controlC*, \
   RUN+=/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf 
--initfile=/lib/alsa/init/00main restore /dev/$name
ACTION==remove, SUBSYSTEM==sound, KERNEL==controlC*, \
   RUN+=/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf store 
/dev/$name

On the machine which works, I'm using the stock kernel from fc12.

On the machine which doesn't work, I have to use my own kernel build.
Both kernels are of the 2.6.32 (one is .11 the other .13)
All of the sysfs stuff for both kernels are the same.


Please also check:

/lib/udev/rules.d/78-sound-card.rules

(that file may be in /etc rather than /lib, but not sure about Fedora 
pkging)



Also as this is an upgrade, I'd recommend checking that you don't have 
any orphaned files still installed that were not automatically removed. 
You can use a yum utility to find orphaned packages but I forget the 
syntax off-hand. I'm sure a quick search will find the necessary info.


Then you could veryify each rule in /etc/udev/rules.d and 
/lib/udev/rules.d via rpm -qf and rpm -V commands.


That way you can likely nail down where the problem lies with the udev 
config.


That may or may not actually help in the case of the PA stuff. It could 
still be the kernel that is causing you problems.


Col
--

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Help with Udev Please

2010-05-18 Thread David Henningsson
 I just upgraded from fc11 to fc12.  With fc12 comes PA 0.9.21.

 Pulseaudio fails to detect any of my audio cards, I have two cards.

 I'm positive the problem is with UDEV.  When I boot the system,
 I'm getting a cryptic message from udev about some {ATTR ... uvent}
 file not found.  I'm having trouble getting the error message to
 report, it flies off the screen before I can record it.

Looks like a syntax error in one of the udev rules.
Perhaps you can see if the message shows up in /var/log/syslog and then
grep for that string in the udev rules directory?

// David

___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Help with Udev Please

2010-05-18 Thread Jim Duda
On 05/18/2010 07:50 PM, David Henningsson wrote:

 Looks like a syntax error in one of the udev rules.
 Perhaps you can see if the message shows up in /var/log/syslog and then
 grep for that string in the udev rules directory?
 
 // David

Unfortunately, I don't get any udev message in syslog.

I have 2 machines up on fc12.  Udev appears to work on one, but not the other.

The /etc/udev/rules.d/90-alsa.rules file is identical on both.

jim cat 90-alsa.rules 
ACTION==add, SUBSYSTEM==sound, KERNEL==controlC*, \
  RUN+=/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf 
--initfile=/lib/alsa/init/00main restore /dev/$name
ACTION==remove, SUBSYSTEM==sound, KERNEL==controlC*, \
  RUN+=/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf store 
/dev/$name

On the machine which works, I'm using the stock kernel from fc12.

On the machine which doesn't work, I have to use my own kernel build.
Both kernels are of the 2.6.32 (one is .11 the other .13)
All of the sysfs stuff for both kernels are the same.

Jim


___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss