Bug#523291: [Pkg-alsa-devel] Bug#523291: Bug#523291: daemon test if device pcsp exist before setting with amixer

2009-04-10 Thread Elimar Riesebieter
* Jordi Pujol [090410 07:54 +0200]
 that is the commands output,
You can put put those outputs inline.

Well, do you really need snd-usb-(audio|lib)? It seems alsa tries to
set the mixer of your camera but there is none.

Elimar

-- 
  Planung:
  Ersatz des Zufalls durch den Irrtum.
-unknown-



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#523291: [Pkg-alsa-devel] Bug#523291: Bug#523291: daemon test if device pcsp exist before setting with amixer

2009-04-10 Thread Jordi Pujol
El Friday 10 April 2009 09:11:50 vàreu escriure:
 Well, do you really need snd-usb-(audio|lib)? It seems alsa tries to
 set the mixer of your camera but there is none.

really not, there is a problem with the kernel or alsa and the Logitech 
Messenger Camera,
but, looking to the question, even without the camera attached to the system, 
the messages continue appearing,

Jordi,



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#523291: [Pkg-alsa-devel] Bug#523291: Bug#523291: Bug#523291: daemon test if device pcsp exist before setting with amixer

2009-04-10 Thread Elimar Riesebieter
tags 523291 unreproducible
thanks

* Jordi Pujol [090410 21:31 +0200]
 El Friday 10 April 2009 09:11:50 vàreu escriure:
  Well, do you really need snd-usb-(audio|lib)? It seems alsa tries to
  set the mixer of your camera but there is none.
 
 really not, there is a problem with the kernel or alsa and the Logitech 
 Messenger Camera,
 but, looking to the question, even without the camera attached to the system, 
 the messages continue appearing,

I can't reproduce your behavior. I have success to some sid systems,
none running pcsp or even pcpkr. None of the machines ßhows boot
errors like yours. There were even more users which would have
the errors if this is really a bug, though.

Elimar

-- 
  Excellent day for drinking heavily. 
  Spike the office water cooler;-)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#523291: daemon test if device pcsp exist before setting with amixer

2009-04-09 Thread Jordi Pujol
Package: alsa-utils 
Version: 1.0.19-2
Severity: normal
Architecture: amd64

Hello,

when the alsa-utils daemon starts, in a system that has not the device pcsp,
a lot of errors appear in the boot screen,

Proposed solution, 
test if that device exist before trying to set it.

Kind regards,

Jordi Pujol
--- /lnet/00filesystem.squashfs/etc/init.d/alsa-utils	2009-03-30 02:36:01.0 +0200
+++ /etc/init.d/alsa-utils	2009-04-09 08:48:48.545351854 +0200
@@ -221,7 +221,8 @@
 		sanify_levels_on_card $1 || TTSDML_RETURNSTATUS=1
 		;;
 	esac
-	mute_and_zero_levels_on_card pcsp
+	cat /proc/asound/card[0-9]*/id | grep -qswe pcsp  \
+		mute_and_zero_levels_on_card pcsp
 	return $TTSDML_RETURNSTATUS
 }
 


Bug#523291: [Pkg-alsa-devel] Bug#523291: daemon test if device pcsp exist before setting with amixer

2009-04-09 Thread Elimar Riesebieter
* Jordi Pujol [090409 09:03 +0200]
 Package: alsa-utils 
 Version: 1.0.19-2
 Severity: normal
 Architecture: amd64
 
 Hello,
 
 when the alsa-utils daemon starts, in a system that has not the device pcsp,
 a lot of errors appear in the boot screen,

Could you please provide the error messages?

Elimar

-- 
  Talking much about oneself can also 
   be a means to conceal oneself.
 -Friedrich Nietzsche



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#523291: [Pkg-alsa-devel] Bug#523291: daemon test if device pcsp exist before setting with amixer

2009-04-09 Thread Jordi Pujol
Yes,

Also I give more details about this system.
The kernel enables only two sound cards,

# for f in $(ls -1 /proc/asound/card[0-9]*/id) ; do echo $f ; cat $f ; done
/proc/asound/card0/id
VT82xx
/proc/asound/card1/id
Camera

therefore, the alsa-utils start routine executes the amixer program for 
a pcsp device that not exists,

attached is a log of the alsa-utils starting process,
with bash command echo enabled,

Jordi,

El Thursday 09 April 2009 14:38:58 Elimar Riesebieter va escriure:
 * Jordi Pujol [090409 09:03 +0200]

  Package: alsa-utils
  Version: 1.0.19-2
  Severity: normal
  Architecture: amd64
 
  Hello,
 
  when the alsa-utils daemon starts, in a system that has not the device
  pcsp, a lot of errors appear in the boot screen,

 Could you please provide the error messages?

 Elimar




alsa-utils.tar.bz2
Description: application/tbz


Bug#523291: [Pkg-alsa-devel] Bug#523291: Bug#523291: daemon test if device pcsp exist before setting with amixer

2009-04-09 Thread Elimar Riesebieter
* Jordi Pujol [090409 15:32 +0200]
 Yes,
 
 Also I give more details about this system.
 The kernel enables only two sound cards,
 
 # for f in $(ls -1 /proc/asound/card[0-9]*/id) ; do echo $f ; cat $f ; done
 /proc/asound/card0/id
 VT82xx
 /proc/asound/card1/id
 Camera
 
 therefore, the alsa-utils start routine executes the amixer program for 
 a pcsp device that not exists,
 
 attached is a log of the alsa-utils starting process,
 with bash command echo enabled,

Please, just the error messages.

Elimar


-- 
  You cannot propel yourself forward by
  patting yourself on the back.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#523291: [Pkg-alsa-devel] Bug#523291: Bug#523291: daemon test if device pcsp exist before setting with amixer

2009-04-09 Thread Jordi Pujol
El Thursday 09 April 2009 17:39:45 Elimar Riesebieter va escriure:
 * Jordi Pujol [090409 15:32 +0200]

  Yes,
 
  Also I give more details about this system.
  The kernel enables only two sound cards,
 
  # for f in $(ls -1 /proc/asound/card[0-9]*/id) ; do echo $f ; cat $f ;
  done /proc/asound/card0/id
  VT82xx
  /proc/asound/card1/id
  Camera
 
  therefore, the alsa-utils start routine executes the amixer program for
  a pcsp device that not exists,
 
  attached is a log of the alsa-utils starting process,
  with bash command echo enabled,

 Please, just the error messages.

 Elimar





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#523291: [Pkg-alsa-devel] Bug#523291: Bug#523291: daemon test if device pcsp exist before setting with amixer

2009-04-09 Thread Jordi Pujol
now,
here are the log messages separated,

El Thursday 09 April 2009 17:39:45 Elimar Riesebieter va escriure:
 * Jordi Pujol [090409 15:32 +0200]

  Yes,
 
  Also I give more details about this system.
  The kernel enables only two sound cards,
 
  # for f in $(ls -1 /proc/asound/card[0-9]*/id) ; do echo $f ; cat $f ;
  done /proc/asound/card0/id
  VT82xx
  /proc/asound/card1/id
  Camera
 
  therefore, the alsa-utils start routine executes the amixer program for
  a pcsp device that not exists,
 
  attached is a log of the alsa-utils starting process,
  with bash command echo enabled,

 Please, just the error messages.

 Elimar




alsa-utils-error.tar.bz2
Description: application/tbz


Bug#523291: [Pkg-alsa-devel] Bug#523291: Bug#523291: Bug#523291: daemon test if device pcsp exist before setting with amixer

2009-04-09 Thread Elimar Riesebieter
* Jordi Pujol [090409 19:17 +0200]
 now,
 here are the log messages separated,

I am running all my kernels without snd-pcsp / pcspkr and don't have errors
like yours. Your errors are typical for a missconfigured sound. Please provide
the output of:

# cat /proc/version
# cat /proc/asound/version
# cat /proc/asound/cards
# cat /etc/modules
# cat /etc/modprobe.d/sound
# cat /etc/modprobe.sound.conf
# lspci | grep -i audio
# lsmod | grep snd

Elimar

-- 
.~.
/V\   L   I   N   U   X
   /( )\ Phear the Penguin
   ^^-^^



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org