On 07/21/2009 02:01:59 PM, Takashi Iwai wrote: > At Tue, 21 Jul 2009 11:55:04 -0700, > Geoffrey Leach wrote: > > > > On 07/21/2009 09:36:59 AM, Takashi Iwai wrote: > > > At Tue, 21 Jul 2009 08:38:45 -0700, > > > Geoffrey Leach wrote: > > > > > > > > On 07/21/2009 12:02:38 AM, Takashi Iwai wrote: > > > > > At Mon, 20 Jul 2009 10:14:57 -0700, > > > > > Geoffrey Leach wrote: > > > > > > > > > > > > root@pvr[21]->python hda_analyzer.py > > > > > > No HDA codecs were found or insufficient priviledges for > > > > > > /dev/snd/controlC* and /dev/snd/hwdepC*D* device files. > > > > > > > > > > > > You may also check, if you compiled HDA driver with HWDEP > > > > > > interface as well or close all application using HWDEP. > > > > > > -- 1.0.20 compiled wih defaults. > > > > > > > > > > > > Try run this program as root user. > > > > > > root@pvr[22]->ll /dev/snd/ > > > > > > total 0 > > > > > > crw-rw----+ 1 root root 116, 0 2009-07-19 13:16 controlC0 > > > > > > -rw-r--r-- 1 root root 0 2009-07-20 09:58 hwdepC0D0 > > > > > > > > > > You see the missing 'c' in the attribute? This is no device > > > file. > > > > > Something created this file wrongly. > > > > > > > > Takashi, > > > > > > > > Could it not be that hda_analyzer is using an incorrect > > > > specification? > > > > > > Possibly. Maybe it just opens a file without checking the > existence. > > > I guess you didn't build the driver with hwdep support... > > > > > > > > > > However, if you can point me to an authorative > > > > specification, I'll be glad to follow up. FWIW, the files are > > > created > > > > at boo ime -- early on so most likely by the kernel. > > > > > > No. Kernel never creates a device file by itself. > > > > > > > > > Takashi > > > > > > > So, what is hwdep, > > It's h/w dependent device. The HD-audio driver uses it for the > direct codec access from user-space. > > > and is it required by hda_analyzer? > > Yes. > > When you build without any configure option, it should be enabled. > So, something wrong with you setup. > > > Takashi Turns out that the problem was a failure to include "hda-hwdep" in the cards option when building the driver. This results in the creation of hwC*D* devices, not the ones listed in the error message. My thanks to Takashi for helping me resolve the problem. Geoffrey ------------------------------------------------------------------------------ _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user