Re: [alsa-devel] No sound for HP Pavilion DV4z
Alright. Well, it again seems like a no go. Ran all the commands, still no sound. Upon starting Amarok, I receive the error "xine was unable to initialize any audio drivers."
Then also when I do aplay -l I get:
**** List of PLAYBACK Hardware Devices **** card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0
Attached is the alsa-info text.
Thanks again. Andrew
----- Original Message ----- From: "Takashi Iwai" tiwai@suse.de To: aeleneski@comcast.net Cc: alsa-devel@alsa-project.org Sent: Wednesday, February 11, 2009 1:34:29 AM GMT -05:00 US/Canada Eastern Subject: Re: [alsa-devel] No sound for HP Pavilion DV4z
At Tue, 10 Feb 2009 23:58:19 +0000 (UTC), aeleneski@comcast.net wrote:
Ok, well I tried this:
The above might be not suffice to give the initialization before the parser. Try to call hda-verb like the following instead:
hda-verb /dev/snd/hwC0D0 0x0d 0x71c 0x10 hda-verb /dev/snd/hwC0D0 0x0d 0x71d 0x11 hda-verb /dev/snd/hwC0D0 0x0d 0x71e 0x17 hda-verb /dev/snd/hwC0D0 0x0d 0x71f 0x90
then
echo 1 > /sys/class/sound/hwC0D0/reconfig
I started my system, changed to probe_only=1. Ran the commands above, and removed probe_only=1. Upon shutdown during restart, I again heard the speakers crackle. When the system came back up, no sound.
Ah no, you don't have to restart the system at all. Maybe I wasn't clear enough.
The sequence above itself will make your sound system already usable. (and you don't have to probe_only=1 option.) Just use your sound apps after the sequence above after checking the mixer status.
If it still doesn't work, run alsa-info and attach the outupt again. Also, show the kernel message, too.
Takashi
----- Original Message ----- From: "Takashi Iwai" tiwai@suse.de To: aeleneski@comcast.net Cc: alsa-devel@alsa-project.org Sent: Tuesday, February 10, 2009 6:34:02 AM GMT -05:00 US/Canada Eastern Subject: Re: [alsa-devel] No sound for HP Pavilion DV4z
At Mon, 09 Feb 2009 18:24:57 +0100, I wrote:
At Mon, 9 Feb 2009 17:18:59 +0000 (UTC), aeleneski@comcast.net wrote:
Thanks for your time and all these suggestions. Still no luck though.
Seems like you might not be able to have two files ending in alsa-base in the /etc/modprobe.d/ folder. That was the reason for the orange speaker indicator. I had alsa-base and backup-alsa-base, for some reason it was grabbing the
settings
from the backup.
Ah, yes, module-init-tools doesn't check every backup file suffix. Better to remove completely old files.
Anyway, with probe only, orange sound indicator, when doing aplay -l I get
**** List of PLAYBACK Hardware Devices **** card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0
With probe_only option, it doesn't make sense to run aplay. This option basically means "probe codecs but don't set up for use yet". This is useful to check the raw setup by BIOS before overriding or modifying by the driver.
One thing we can try is to add the pin config dynamically then reconfigure. For example, load the driver with probe_only=1, then do the following as root:
echo 0x0d 0x71c 0x10 > /sys/class/sound/hwC0D0/init_verbs echo 0x0d 0x71d 0x11 > /sys/class/sound/hwC0D0/init_verbs echo 0x0d 0x71e 0x17 > /sys/class/sound/hwC0D0/init_verbs echo 0x0d 0x71f 0x90 > /sys/class/sound/hwC0D0/init_verbs
The above might be not suffice to give the initialization before the parser. Try to call hda-verb like the following instead:
hda-verb /dev/snd/hwC0D0 0x0d 0x71c 0x10 hda-verb /dev/snd/hwC0D0 0x0d 0x71d 0x11 hda-verb /dev/snd/hwC0D0 0x0d 0x71e 0x17 hda-verb /dev/snd/hwC0D0 0x0d 0x71f 0x90
then
echo 1 > /sys/class/sound/hwC0D0/reconfig
Takashi
At Wed, 11 Feb 2009 22:15:30 +0000 (UTC), aeleneski@comcast.net wrote:
Alright. Well, it again seems like a no go. Ran all the commands, still no sound. Upon starting Amarok, I receive the error "xine was unable to initialize any audio drivers."
Could you try the patch below?
Or, first load without probe_mask=1 option, give the command sequence and do echo to reconfig file.
thanks,
Takashi
--- diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c index 300ab40..482fb03 100644 --- a/sound/pci/hda/hda_hwdep.c +++ b/sound/pci/hda/hda_hwdep.c @@ -175,7 +175,7 @@ static int reconfig_codec(struct hda_codec *codec) err = snd_hda_codec_build_controls(codec); if (err < 0) return err; - return 0; + return snd_card_register(codec->bus->card); }
/*
Dnia 2009-02-11, śro o godzinie 23:58 +0100, Takashi Iwai pisze:
At Wed, 11 Feb 2009 22:15:30 +0000 (UTC), aeleneski@comcast.net wrote:
Alright. Well, it again seems like a no go. Ran all the commands, still no sound. Upon starting Amarok, I receive the error "xine was unable to initialize any audio drivers."
Could you try the patch below?
Or, first load without probe_mask=1 option, give the command sequence and do echo to reconfig file.
thanks,
Takashi
diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c index 300ab40..482fb03 100644 --- a/sound/pci/hda/hda_hwdep.c +++ b/sound/pci/hda/hda_hwdep.c @@ -175,7 +175,7 @@ static int reconfig_codec(struct hda_codec *codec) err = snd_hda_codec_build_controls(codec); if (err < 0) return err;
- return 0;
- return snd_card_register(codec->bus->card);
}
/* _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Can You explain what to do like for 6 years old kid?
- Pozdrawiam / Regards Bartłomiej Holdenmayer
GG:541634; ICQ:33920811; skypename:bartlomiejholdenmayer
At Thu, 12 Feb 2009 00:43:52 +0100, Bartłomiej Holdenmayer wrote:
Dnia 2009-02-11, śro o godzinie 23:58 +0100, Takashi Iwai pisze:
At Wed, 11 Feb 2009 22:15:30 +0000 (UTC), aeleneski@comcast.net wrote:
Alright. Well, it again seems like a no go. Ran all the commands, still no sound. Upon starting Amarok, I receive the error "xine was unable to initialize any audio drivers."
Could you try the patch below?
Or, first load without probe_mask=1 option, give the command sequence and do echo to reconfig file.
thanks,
Takashi
diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c index 300ab40..482fb03 100644 --- a/sound/pci/hda/hda_hwdep.c +++ b/sound/pci/hda/hda_hwdep.c @@ -175,7 +175,7 @@ static int reconfig_codec(struct hda_codec *codec) err = snd_hda_codec_build_controls(codec); if (err < 0) return err;
- return 0;
- return snd_card_register(codec->bus->card);
}
/* _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Can You explain what to do like for 6 years old kid?
Well, I already merged the patch to sound git tree, so you just need to use the latest alsa-driver snapshot tree again from: ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Takashi
Dnia 2009-02-12, czw o godzinie 00:51 +0100, Takashi Iwai pisze:
At Thu, 12 Feb 2009 00:43:52 +0100, Bartłomiej Holdenmayer wrote:
Dnia 2009-02-11, śro o godzinie 23:58 +0100, Takashi Iwai pisze:
At Wed, 11 Feb 2009 22:15:30 +0000 (UTC), aeleneski@comcast.net wrote:
Alright. Well, it again seems like a no go. Ran all the commands, still no sound. Upon starting Amarok, I receive the error "xine was unable to initialize any audio drivers."
Could you try the patch below?
Or, first load without probe_mask=1 option, give the command sequence and do echo to reconfig file.
thanks,
Takashi
diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c index 300ab40..482fb03 100644 --- a/sound/pci/hda/hda_hwdep.c +++ b/sound/pci/hda/hda_hwdep.c @@ -175,7 +175,7 @@ static int reconfig_codec(struct hda_codec *codec) err = snd_hda_codec_build_controls(codec); if (err < 0) return err;
- return 0;
- return snd_card_register(codec->bus->card);
}
/* _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Can You explain what to do like for 6 years old kid?
Well, I already merged the patch to sound git tree, so you just need to use the latest alsa-driver snapshot tree again from: ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
I did upgrade. No change. aplay -l still does not display hdmi.
Maybe this is something basic - afaik alsa knows about hardware from hal. Maybe i have to force reading of devices by hal?
- Pozdrawiam / Regards Bartłomiej Holdenmayer
GG:541634; ICQ:33920811; skypename:bartlomiejholdenmayer
At Thu, 12 Feb 2009 01:29:40 +0100, Bartłomiej Holdenmayer wrote:
Dnia 2009-02-12, czw o godzinie 00:51 +0100, Takashi Iwai pisze:
At Thu, 12 Feb 2009 00:43:52 +0100, Bartłomiej Holdenmayer wrote:
Dnia 2009-02-11, śro o godzinie 23:58 +0100, Takashi Iwai pisze:
At Wed, 11 Feb 2009 22:15:30 +0000 (UTC), aeleneski@comcast.net wrote:
Alright. Well, it again seems like a no go. Ran all the commands, still no sound. Upon starting Amarok, I receive the error "xine was unable to initialize any audio drivers."
Could you try the patch below?
Or, first load without probe_mask=1 option, give the command sequence and do echo to reconfig file.
thanks,
Takashi
diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c index 300ab40..482fb03 100644 --- a/sound/pci/hda/hda_hwdep.c +++ b/sound/pci/hda/hda_hwdep.c @@ -175,7 +175,7 @@ static int reconfig_codec(struct hda_codec *codec) err = snd_hda_codec_build_controls(codec); if (err < 0) return err;
- return 0;
- return snd_card_register(codec->bus->card);
}
/* _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Can You explain what to do like for 6 years old kid?
Well, I already merged the patch to sound git tree, so you just need to use the latest alsa-driver snapshot tree again from: ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
I did upgrade. No change. aplay -l still does not display hdmi.
Then give alsa-info output again. Also, load with probe_only=1 option first and get alsa-info, too. Attach together with the relevant kernel messages.
Takashi
Dnia 2009-02-12, czw o godzinie 01:43 +0100, Takashi Iwai pisze:
At Thu, 12 Feb 2009 01:29:40 +0100, Bartłomiej Holdenmayer wrote:
Dnia 2009-02-12, czw o godzinie 00:51 +0100, Takashi Iwai pisze:
At Thu, 12 Feb 2009 00:43:52 +0100, Bartłomiej Holdenmayer wrote:
Dnia 2009-02-11, śro o godzinie 23:58 +0100, Takashi Iwai pisze:
At Wed, 11 Feb 2009 22:15:30 +0000 (UTC), aeleneski@comcast.net wrote:
Alright. Well, it again seems like a no go. Ran all the commands, still no sound. Upon starting Amarok, I receive the error "xine was unable to initialize any audio drivers."
Could you try the patch below?
Or, first load without probe_mask=1 option, give the command sequence and do echo to reconfig file.
thanks,
Takashi
diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c index 300ab40..482fb03 100644 --- a/sound/pci/hda/hda_hwdep.c +++ b/sound/pci/hda/hda_hwdep.c @@ -175,7 +175,7 @@ static int reconfig_codec(struct hda_codec *codec) err = snd_hda_codec_build_controls(codec); if (err < 0) return err;
- return 0;
- return snd_card_register(codec->bus->card);
}
/* _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Can You explain what to do like for 6 years old kid?
Well, I already merged the patch to sound git tree, so you just need to use the latest alsa-driver snapshot tree again from: ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
I did upgrade. No change. aplay -l still does not display hdmi.
Then give alsa-info output again. Also, load with probe_only=1 option first and get alsa-info, too. Attach together with the relevant kernel messages.
Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
I am sorry, i messed up threads. I was writing about pavilion dv5. I have problem with hdmi. Should i do what You wrote:
Also, load with probe_only=1 option first and get alsa-info, too. Attach together with the relevant kernel messages.
?
At Thu, 12 Feb 2009 02:07:29 +0100, Bartłomiej Holdenmayer wrote:
Dnia 2009-02-12, czw o godzinie 01:43 +0100, Takashi Iwai pisze:
At Thu, 12 Feb 2009 01:29:40 +0100, Bartłomiej Holdenmayer wrote:
Dnia 2009-02-12, czw o godzinie 00:51 +0100, Takashi Iwai pisze:
At Thu, 12 Feb 2009 00:43:52 +0100, Bartłomiej Holdenmayer wrote:
Dnia 2009-02-11, śro o godzinie 23:58 +0100, Takashi Iwai pisze:
At Wed, 11 Feb 2009 22:15:30 +0000 (UTC), aeleneski@comcast.net wrote: > > Alright. Well, it again seems like a no go. > Ran all the commands, still no sound. Upon starting Amarok, I receive the > error "xine was unable to initialize any audio drivers."
Could you try the patch below?
Or, first load without probe_mask=1 option, give the command sequence and do echo to reconfig file.
thanks,
Takashi
diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c index 300ab40..482fb03 100644 --- a/sound/pci/hda/hda_hwdep.c +++ b/sound/pci/hda/hda_hwdep.c @@ -175,7 +175,7 @@ static int reconfig_codec(struct hda_codec *codec) err = snd_hda_codec_build_controls(codec); if (err < 0) return err;
- return 0;
- return snd_card_register(codec->bus->card);
}
/* _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Can You explain what to do like for 6 years old kid?
Well, I already merged the patch to sound git tree, so you just need to use the latest alsa-driver snapshot tree again from: ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
I did upgrade. No change. aplay -l still does not display hdmi.
Then give alsa-info output again. Also, load with probe_only=1 option first and get alsa-info, too. Attach together with the relevant kernel messages.
Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
I am sorry, i messed up threads. I was writing about pavilion dv5. I have problem with hdmi. Should i do what You wrote:
Also, load with probe_only=1 option first and get alsa-info, too. Attach together with the relevant kernel messages.
?
Yes. As already mentioned, I have an alsa-info from someone else that has HDMI output. The PCI SSID is very same, so it's likely the same model as yours. (HP dv5 has several PCI SSIDs for different flavors.)
HDMI is implemented as an individual MCP codec chip on codec address #2. If this doesn't appear in your machine, there could something different in BIOS setup, for example.
Takashi
Dnia 2009-02-11, śro o godzinie 23:58 +0100, Takashi Iwai pisze:
At Wed, 11 Feb 2009 22:15:30 +0000 (UTC), aeleneski@comcast.net wrote:
Alright. Well, it again seems like a no go. Ran all the commands, still no sound. Upon starting Amarok, I receive the error "xine was unable to initialize any audio drivers."
Could you try the patch below?
Or, first load without probe_mask=1 option, give the command sequence and do echo to reconfig file.
thanks,
Takashi
diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c index 300ab40..482fb03 100644 --- a/sound/pci/hda/hda_hwdep.c +++ b/sound/pci/hda/hda_hwdep.c @@ -175,7 +175,7 @@ static int reconfig_codec(struct hda_codec *codec) err = snd_hda_codec_build_controls(codec); if (err < 0) return err;
- return 0;
- return snd_card_register(codec->bus->card);
}
/* _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Any solution for me?
At Wed, 25 Feb 2009 01:17:25 +0100, Bartłomiej Holdenmayer wrote:
Dnia 2009-02-11, śro o godzinie 23:58 +0100, Takashi Iwai pisze:
At Wed, 11 Feb 2009 22:15:30 +0000 (UTC), aeleneski@comcast.net wrote:
Alright. Well, it again seems like a no go. Ran all the commands, still no sound. Upon starting Amarok, I receive the error "xine was unable to initialize any audio drivers."
Could you try the patch below?
Or, first load without probe_mask=1 option, give the command sequence and do echo to reconfig file.
thanks,
Takashi
diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c index 300ab40..482fb03 100644 --- a/sound/pci/hda/hda_hwdep.c +++ b/sound/pci/hda/hda_hwdep.c @@ -175,7 +175,7 @@ static int reconfig_codec(struct hda_codec *codec) err = snd_hda_codec_build_controls(codec); if (err < 0) return err;
- return 0;
- return snd_card_register(codec->bus->card);
}
/* _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Any solution for me?
No idea as now. The problem is that no HDMI device even appears on your machine. My suspect is BIOS or the core PCI code.
Takashi
participants (3)
-
aeleneski@comcast.net
-
Bartłomiej Holdenmayer
-
Takashi Iwai