Hi, i've got an ALSA 0.9.0r6 problem, sounds similar to that of 
bruno:
http://sourceforge.net/mailarchive/forum.php?thread_id=1460332&forum_id=1751

but i'm using Deb3.0r0, and rhinefet (from VIA) rather than via-rhine
for the ethernet card.

*** problem: no sound ***
# alsamixer
alsamixer: function snd_ctl_open failed for default: No such file or directory

# cat /proc/asound/cards 
--- no soundcards ---

# tail /var/log/kern.log
Dec 25 23:23:40 myhost kernel: PCI: Setting latency timer of device 00:11.5 to 64
Dec 25 23:23:40 myhost kernel: ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: 
codec 0 is not ready [0x1000000]
Dec 25 23:23:40 myhost kernel: ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: 
codec 0 is not ready [0x1000000]
Dec 25 23:23:41 myhost kernel: ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: 
codec 0 is not ready [0x1fc0000]
Dec 25 23:23:41 myhost last message repeated 3 times
Dec 25 23:23:41 myhost kernel: ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: 
codec 0 is not ready [0x1fe0000]
Dec 25 23:23:41 myhost last message repeated 3 times
Dec 25 23:23:41 myhost kernel: ALSA ../../alsa-kernel/pci/ac97/ac97_codec.c:1562: 
AC'97 0:0 access is not valid [0xffffffff], removing mixer.


i've listed below:
*** kernel: 2.4.18 recompiled for VIA chipset, includes:
*** sound chip: VIA 8233 built-in to motherboard
*** USB speakers
*** previous ALSA: previously i had 0.9.0beta12 working. 
*** installation
*** modules
*** bootup scripts
*** other diagnostics ***

i realise it's probably easier to give up on 0.9.0rc6 and revert to
0.9.0beta12, but since i've spent this much time trying to get it to
work, i might as well try to contribute to the development side.
Whether it's me having overlooked something trivial, a general bug, a
bug related to my chip, or a need for HOWTO or INSTALL doc
improvement, i'd rather my time has some useful result...

Thanks in advance for any help!
boud <boud1 at wp.pl>


############################################################

*** Debian3.0r0 /kernel: 2.4.18 recompiled for VIA chipset, includes:
CONFIG_SOUND=m 
CONFIG_SOUND_VIA82CXXX=m
All other CONFIG_SOUND* are not set

CONFIG_USB=y
CONFIG_USB_DEBUG=y
# Miscellaneous USB options
CONFIG_USB_DEVICEFS=y
# USB Controllers
CONFIG_USB_UHCI=y
# CONFIG_USB_UHCI_ALT is not set
# CONFIG_USB_OHCI is not set
# USB Device Class drivers
CONFIG_USB_AUDIO=m



*** sound chip: VIA 8233 built-in to motherboard

*** USB speakers

*** previous ALSA: previously i had 0.9.0beta12 working. Though sound
only came out of one speaker (the one not directly attached to the
USB), it was reasonably OK quality, once i had the options line set at
96kHz:

options snd-via8233 snd_index=0 snd_id=CARD_0 snd_enable=1 snd_ac97_clock=96000

[There was also, and still is, a background sound based on movements
of the mouse, action on the screen, or disk activity - but this is
presumably independent of ALSA. Any hints on this would be nice
too... Since i don't have a name for it, it's hard to search on
keywords... :( ]

*** installation
To be sure of a clean installation, i used dselect to make sure that no
old files were lying around, and removed all obvious alsa files/directories
in the system area that i could find.

cd /usr/src/modules/alsa-driver-0.9.0rc6/
make clean
./configure --with-kernel=/usr/local/src/homekern/kernel-source-2.4.18 
--with-cards=via82xx --with-sequencer=yes
make ; make install
./snddevices

cd /scratch/alsa-lib-0.9.0rc6
make clean; make; make install

cd /scratch/alsa-utils-0.9.0rc6
make clean; make; make install


*** modules

# ls -lF /etc/modutils/alsa 
lrwxrwxrwx    1 root     root           22 Dec 25 18:24 /etc/modutils/alsa -> 
/etc/alsa/modutils/0.9

# update-modules
# grep snd /etc/modules.conf

alias char-major-116 snd
alias snd-card-0 snd-via82xx
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
options snd major=116 cards_limit=1 device_mode=0660 device_gid=29 device_uid=0
options snd-via82xx index=0 id=CARD_0 enable=1 ac97_clock=96000

# modprobe snd-via82xx
# lsmod
Module                  Size  Used by    Not tainted
snd-via82xx             7396   0  (unused)
snd-pcm                53600   0  [snd-via82xx]
snd-timer               9280   0  [snd-pcm]
snd-mpu401-uart         2624   0  [snd-via82xx]
snd-rawmidi            11584   0  [snd-mpu401-uart]
snd-seq-device          3696   0  [snd-rawmidi]
snd-ac97-codec         25520   0  [snd-via82xx]
snd                    23368   0  [snd-via82xx snd-pcm snd-timer snd-mpu401-uart 
snd-rawmidi snd-seq-device snd-ac97-codec]
soundcore               3492   0  [snd]
parport_pc             12932   1  (autoclean)
lp                      5568   0  (autoclean)
parport                13856   1  (autoclean) [parport_pc lp]

Seems OK to me, but then:
# alsamixer
alsamixer: function snd_ctl_open failed for default: No such file or directory
# cat /proc/asound/cards 
--- no soundcards ---
# cat /proc/asound/oss/devices 
# cat /proc/asound/pcm          
# cat /proc/asound/version 
Advanced Linux Sound Architecture Driver Version 0.9.0rc6.
Compiled on Dec 25 2002 for kernel 2.4.18 with versioned symbols.
# 


*** bootup scripts
Using 
alsa-driver-0.9.0rc6/utils/alsasound
in /etc/rc*d/ startup scripts and using it either to  stop  or start
the modules seems to work for the modules, but the results are the same.
Seems irrelevant to my problem, IMHO.


*** other diagnostics ***

# lspci -vv
00:11.5 
  Multimedia audio controller: VIA Technologies, Inc. AC97 Audio
Controller (rev 30)
  Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 0142
  Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
  Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
  Interrupt: pin C routed to IRQ 11
  Region 0: I/O ports at ec00 [size=256]
  Capabilities: [c0] Power Management version 2
           Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
                      PME(D0-,D1-,D2-,D3hot-,D3cold-)
           Status: D0 PME-Enable- DSel=0 DScale=0 PME-


# tail /var/log/kern.log
Dec 25 23:23:40 myhost kernel: PCI: Setting latency timer of device 00:11.5 to 64
Dec 25 23:23:40 myhost kernel: ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: 
codec 0 is not ready [0x1000000]
Dec 25 23:23:40 myhost kernel: ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: 
codec 0 is not ready [0x1000000]
Dec 25 23:23:41 myhost kernel: ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: 
codec 0 is not ready [0x1fc0000]
Dec 25 23:23:41 myhost last message repeated 3 times
Dec 25 23:23:41 myhost kernel: ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: 
codec 0 is not ready [0x1fe0000]
Dec 25 23:23:41 myhost last message repeated 3 times
Dec 25 23:23:41 myhost kernel: ALSA ../../alsa-kernel/pci/ac97/ac97_codec.c:1562: 
AC'97 0:0 access is not valid [0xffffffff], removing mixer.


# cat /proc/bus/usb/devices 
T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=e000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms

############################################################








-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to