Bug#615225: alsa-base: NVidia CK804 with ALC850 goes missing during wheezy upgrade

2011-02-26 Thread Graham Cobb
Package: alsa-base
Version: 1.0.23+dfsg-2
Severity: normal

My system was working fine with Squeeze, all the way through to the final
release.  Sound works fine using the "NVidia CK804 with ALC850" integrated in
my motherboard.

As soon as I upgraded to the wheezy testing release, however, the sound
stopped working.  KDE reported that "NVidia CK804 with ALC850" had been
removed. It did, however, find "HDA ATI HDMI" which seems to be the HDMI port
on my video card -- I believe that was also present under Squeeze but I can't
be certain.

The fix turned out to be to set "probe_mask=1" for snd-hda-intel in
/etc/modprobe.d/alsa-base.conf.  That then causes both the ALC850 and the HDMI
port to be found.

This seems to be some sort of regression in wheezy as I did not need to specify
that in squeeze.

-- Package-specific info:
--- Begin additional package status ---
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ NameVersion Description
+++-===-===-==
ii  libasound2  1.0.23-2.1  shared library for 
ALSA applications
--- End additional package status ---
--- Begin /proc/asound/version ---
Advanced Linux Sound Architecture Driver Version 1.0.21.
--- End /proc/asound/version ---
--- Begin /proc/asound/cards ---
 0 [CK804  ]: NFORCE - NVidia CK804
  NVidia CK804 with ALC850 at irq 22
 1 [HDMI   ]: HDA-Intel - HDA ATI HDMI
  HDA ATI HDMI at 0xd101 irq 16
 2 [UART   ]: MPU-401 UART - MPU-401 UART
  MPU-401 UART at 0x330, irq 10
--- End /proc/asound/cards ---
--- Begin /dev/snd/ listing ---
total 0
drwxr-xr-x  2 root root   80 Feb 26 00:52 by-path
crw-rw+ 1 root audio 116,  7 Feb 26 00:52 controlC0
crw-rw+ 1 root audio 116, 10 Feb 26 00:52 controlC1
crw-rw+ 1 root audio 116, 13 Feb 26 00:52 controlC2
crw-rw+ 1 root audio 116,  9 Feb 26 00:52 hwC1D0
crw-rw+ 1 root audio 116, 12 Feb 26 00:52 midiC2D0
crw-rw+ 1 root audio 116,  6 Feb 26 00:52 pcmC0D0c
crw-rw+ 1 root audio 116,  5 Feb 26 00:55 pcmC0D0p
crw-rw+ 1 root audio 116,  4 Feb 26 00:52 pcmC0D1c
crw-rw+ 1 root audio 116,  3 Feb 26 00:52 pcmC0D2p
crw-rw+ 1 root audio 116,  8 Feb 26 00:55 pcmC1D3p
crw-rw+ 1 root audio 116, 11 Feb 26 00:52 seq
crw-rw+ 1 root audio 116,  2 Feb 26 00:51 timer
--- End /dev/snd/ listing ---

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_IE@euro, LC_CTYPE=en_IE@euro (charmap=ISO-8859-15) (ignored: 
LC_ALL set to en_IE@euro)
Shell: /bin/sh linked to /bin/bash

Versions of packages alsa-base depends on:
ii  linux-sound-base   1.0.23+dfsg-2 base package for ALSA and OSS soun
ii  lsof   4.81.dfsg.1-1 List open files
ii  module-init-tools  3.12-1tools for managing Linux kernel mo
ii  udev   166-1 /dev/ and hotplug management daemo

Versions of packages alsa-base recommends:
ii  alsa-utils1.0.23-3   Utilities for configuring and usin

Versions of packages alsa-base suggests:
pn  alsa-oss   (no description available)
pn  apmd   (no description available)
ii  oss-compat0.0.4+nmu3 OSS compatibility package

Versions of packages libasound2 depends on:
ii  libc6 2.11.2-11  Embedded GNU C Library: Shared lib

-- Configuration Files:
/etc/modprobe.d/alsa-base.conf changed:
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet 
snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { 
/sbin/modprobe --quiet snd-seq-midi ; : ; }
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { 
/sbin/modprobe --quiet snd-emu10k1-synth ; : ; }
options bt87x index=-2
options cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-pcsp index=-2
options snd-usb-audio index=-2
options snd-hda-intel probe_mask=1


-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe"

Bug#615225: [Pkg-alsa-devel] Bug#615225: alsa-base: NVidia CK804 with ALC850 goes missing during wheezy upgrade

2011-02-27 Thread Elimar Riesebieter
* Graham Cobb [110226 12:39 +]:
[...]
> The fix turned out to be to set "probe_mask=1" for snd-hda-intel in
> /etc/modprobe.d/alsa-base.conf.  That then causes both the ALC850 and the HDMI
> port to be found.

Could you please post the output of
$ lsmod | grep snd

> This seems to be some sort of regression in wheezy as I did not
> need to specify that in squeeze.

I suppose it is an udev thingi. We can solve it by creating a
/etc/modprobe.d/sound.conf according to
/usr/share/dosc/alsa-base/README.Debian.gz.

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#615225: [Pkg-alsa-devel] Bug#615225: alsa-base: NVidia CK804 with ALC850 goes missing during wheezy upgrade

2012-03-05 Thread Peter Pöschl
> I don't know any more steps for fixing right now :-(

I did some more experiments and I think that the bug should be reassigned to 
the kernel.

1) * Boot into the (bad) wheezy system
   # mount /dev/disk/by-label/squeeze-amd64 /mnt/tmp
   # mount --bind /proc /mnt/tmp/proc
   # mount --bind /dev  /mnt/tmp/dev
   # mount --bind /sys  /mnt/tmp/sys
   # chroot /mnt/tmp
   # aplay   /usr/share/sounds/alsa/Noise.wav
   Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little
   Endian, Rate 48000 Hz, Mono
   
   ==> no sound.

2) * boot into the (good) squeeze system
   # mount /dev/disk/by-label/wheezy-amd64 /mnt/tmp
   # mount --bind /proc /mnt/tmp/proc
   # mount --bind /dev  /mnt/tmp/dev
   # mount --bind /sys  /mnt/tmp/sys
   # chroot /mnt/tmp
   # aplay   /usr/share/sounds/alsa/Noise.wav
   Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little
   Endian, Rate 48000 Hz, Mono
   
   ==> sound plays.


Best regards,

   Peter



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



Bug#615225: [Pkg-alsa-devel] Bug#615225: alsa-base: NVidia CK804 with ALC850 goes missing during wheezy upgrade

2012-02-12 Thread Elimar Riesebieter
* Peter Pöschl [120212 15:33 +0100]:

> found 615225 1.0.23+dfsg-4
> tags 615225 = moreinfo
> --
> 
> On my system, the bug is kicking and !screaming.
> Unfortunately, I did not note when it broke, .
> 
> Attached are the outputs of alsa-info.sh from a Squeeze system where it still 
> works and the current non-working system.
> 
> To order the builtin and HDMI sound, I have
> # grep -v \# /etc/modprobe.d/alsa-base-local.conf
> options snd cards_limit=2
> options snd-intel8x0 index=0
> options snd-hda-intel index=1

Could you please comment thos three option lines and retry?

Thanks
Elimar

-- 
  Experience is something you don't get until
  just after you need it!



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



Bug#615225: [Pkg-alsa-devel] Bug#615225: alsa-base: NVidia CK804 with ALC850 goes missing during wheezy upgrade

2012-02-12 Thread Peter Pöschl
> > To order the builtin and HDMI sound, I have
> > 
> > # grep -v \# /etc/modprobe.d/alsa-base-local.conf
> > options snd cards_limit=2
> > options snd-intel8x0 index=0
> > options snd-hda-intel index=1
> 
> Could you please comment thos three option lines and retry?

Does not work:

# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=HDMI,DEV=0
HDA ATI HDMI, HDMI 0
HDMI Audio Output
default:CARD=CK804
NVidia CK804, NVidia CK804
Default Audio Device
front:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
Front speakers
surround40:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
4.0 Surround output to Front and Rear speakers
surround41:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804 - IEC958
IEC958 (S/PDIF) Digital Audio Output

# LANG=C aplay  -D default -v /usr/share/sounds/alsa/Noise.wav
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
aplay: main:666: audio open error: No such file or directory

# LANG=C aplay  -D hdmi -v /usr/share/sounds/alsa/Noise.wav
Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little Endian, 
Rate 48000 Hz, Mono
aplay: set_params:1071: Channels count non available


upload=true&script=true&cardinfo=
!!
!!ALSA Information Script v 0.4.60
!!

!!Script ran on: Sun Feb 12 16:51:30 UTC 2012


!!Linux Distribution
!!--

Debian GNU/Linux wheezy/sid \n \l


!!DMI Information
!!---

Manufacturer:  MICRO-STAR INTERNATIONAL CO., LTD
Product Name:  MS-7125
Product Version:   1.0


!!Kernel Information
!!--

Kernel release:3.2.0-1-amd64
Operating System:  GNU/Linux
Architecture:  x86_64
Processor: unknown
SMP Enabled:   Yes


!!ALSA Version
!!

Driver version: 1.0.24
Library version:1.0.24.1
Utilities version:  1.0.24.2


!!Loaded ALSA modules
!!---

snd_hda_intel
snd_intel8x0


!!Sound Servers on this system
!!

No sound servers found.


!!Soundcards recognised by ALSA
!!-

 0 [HDMI   ]: HDA-Intel - HDA ATI HDMI
  HDA ATI HDMI at 0xfd7fc000 irq 45
 1 [CK804  ]: NFORCE - NVidia CK804
  NVidia CK804 with ALC850 at irq 22


!!PCI Soundcards installed in the system
!!--

00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio 
Controller (rev a2)
05:00.1 Audio device: ATI Technologies Inc RV620 HDMI Audio [Radeon HD 3400 
Series]


!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!

00:04.0 0401: 10de:0059 (rev a2)
Subsystem: 1462:7585
--
05:00.1 0403: 1002:aa28
Subsystem: 174b:aa28


!!Modprobe options (Sound related)
!!

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-pcsp: index=-2
snd-usb-audio: index=-2


!!Loaded sound module options
!!--

!!Module: snd_hda_intel
align_buffer_size : Y
bdl_pos_adj : 
32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
beep_mode : 
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
enable_msi : -1
id : 
(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
index : 
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
model : 
(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
patch : 
(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
position_fix : 
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
power_save : 0
power_save_controller : Y
probe_mask : 
-1,-1,-1

Bug#615225: [Pkg-alsa-devel] Bug#615225: alsa-base: NVidia CK804 with ALC850 goes missing during wheezy upgrade

2012-02-12 Thread Elimar Riesebieter
* Peter Pöschl [120212 18:20 +0100]:

> > > To order the builtin and HDMI sound, I have
> > > 
> > > # grep -v \# /etc/modprobe.d/alsa-base-local.conf
> > > options snd cards_limit=2
> > > options snd-intel8x0 index=0
> > > options snd-hda-intel index=1
> > 
> > Could you please comment thos three option lines and retry?
> 
> Does not work:

Okay, uncomment, check mixer settings and send the output of:

$ ps aux | grep puls

Else please attach the file
/usr/share/alsa/cards/NFORCE.conf

Elimar
-- 
  Obviously the human brain works like a computer.
  Since there are no stupid computers humans can't be stupid.
  There are just a few running with Windows or even CE ;-)


signature.asc
Description: Digital signature


Bug#615225: [Pkg-alsa-devel] Bug#615225: alsa-base: NVidia CK804 with ALC850 goes missing during wheezy upgrade

2012-02-12 Thread Peter Pöschl
> Okay, uncomment, check mixer settings and send the output of:
>
> $ ps aux | grep puls

is empty.

> Else please attach the file
> /usr/share/alsa/cards/NFORCE.conf

Done.
#
# Configuration for the nVIDIA nForce/2/3
#



NFORCE.pcm.front.0 {
@args [ CARD ]
@args.CARD {
type string
}
type softvol
slave.pcm {
type hw
card $CARD
}
control {
name "PCM Playback Volume"
card $CARD
}
}   

# default with dmix+softvol & dsnoop
NFORCE.pcm.default {
@args [ CARD ]
@args.CARD {
type string
}
type asym
playback.pcm {
type plug
slave.pcm {
type softvol
slave.pcm {
@func concat
strings [ "dmix:" $CARD ]
}
control {
name "PCM Playback Volume"
card $CARD
}
}
}
capture.pcm {
type plug
slave.pcm {
@func concat
strings [ "dsnoop:" $CARD ]
}
}
}



NFORCE.pcm.surround40.0 {
@args [ CARD ]
@args.CARD {
type string
}
type softvol
slave.pcm {
type hooks
slave.pcm {
type hw
card $CARD
channels 4
}
hooks.0 {
type ctl_elems
hook_args [
{
name "Channel Mode"
preserve true
value "4ch"
lock true
optional true
}
# for old drivers
{
name "Line-In As Surround"
preserve true
value true
optional true
}
{
name "Surround Down Mix"
preserve true
value off
lock true
optional true
}
]
}
}
control {
name "PCM Playback Volume"
card $CARD
}
}





NFORCE.pcm.surround51.0 {
@args [ CARD ]
@args.CARD {
type string
}
type softvol
slave.pcm {
type route
ttable.0.0 1
ttable.1.1 1
ttable.2.4 1
ttable.3.5 1
ttable.4.2 1
ttable.5.3 1
slave.pcm {
type hooks
slave.pcm {
type hw
card $CARD
channels 6
}
hooks.0 {
type ctl_elems
hook_args [
{
name "Channel Mode"
preserve true
value "6ch"
lock true
optional true
}
# for old drivers
{
name "Line-In As Surround"
preserve true
value true
optional true
}
{
name "Mic As Center/LFE"
preserve true
value true
optional true
}
{
name "Surround Down Mix"
preserve true
value off
lock true
optional true
}
{
name "Center/LFE Down Mix"
preserve true
   

Bug#615225: [Pkg-alsa-devel] Bug#615225: alsa-base: NVidia CK804 with ALC850 goes missing during wheezy upgrade

2012-02-12 Thread Elimar Riesebieter
* Peter Pöschl [120212 21:04 +0100]:

> > Okay, uncomment, check mixer settings and send the output of:
> >
> > $ ps aux | grep puls
> 
> is empty.
> 
> > Else please attach the file
> > /usr/share/alsa/cards/NFORCE.conf
> 
> Done.

> #
> # Configuration for the nVIDIA nForce/2/3
> #

Looks okay.

I don't know any more steps for fixing right now :-(

Elimar

-- 
  Learned men are the cisterns of knowledge,
  not the fountainheads ;-)


signature.asc
Description: Digital signature


Bug#615225: [Pkg-alsa-devel] Bug#615225: alsa-base: NVidia CK804 with ALC850 goes missing during wheezy upgrade

2012-02-12 Thread Peter Pöschl
> I don't know any more steps for fixing right now :-(

One thing I was wondering about: when I prepared my initial mail, I diffed the 
good/bad alsa-info.sh outputs, and the line 'inside_vm : Y' under
'Loaded sound module options' of snd_intel8x0 looked suspicious to me.

I am definitely not running a Virtual Machine here!


Have a Good Night,

  Peter







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