Re: Sound device reported but no devices created
On Sun, 30 Jul 2006, Peter Jeremy wrote: On Sun, 2006-Jul-30 12:10:54 +0800, Ariff Abdullah wrote: On Sun, 30 Jul 2006 13:43:52 +1000 Peter Jeremy [EMAIL PROTECTED] wrote: I've been trying to get sound working on a Compaq Armada 1580 with a recent 6-STABLE. With devices 'sound' and 'snd_sbc' built into the kernel and no hints, I get: ... I suspect the problem is that sbc0 is not triggering attachment of pcm0 but I'm uncertain why. Does anyone have any suggestions? Try to disable ACPI, or edit /usr/src/sys/dev/sound/isa/sbc.c and remove acpi module dependency (line 794) The system is too old to support ACPI. I've removed the module dependency anyway with no difference. Peter, I don't know if this is likely helpful or not, but my Compaq is a 1500c with an ESS ES1869, reporting (on 5.4-RELEASE): sbc0: ESS ES1869 (Compaq OEM) at port 0x330-0x331,0x388-0x38b,0x220-0x22f irq 5 drq 5,1 on isa0 pcm0: ESS 18xx DSP on sbc0 I too have in kernel: device sound device snd_sbc # ES1869 (Compaq OEM) but after much headscratching it only finally worked after adding: snd_ess_load=YES # this fixed it .. bridge driver for ESS to /boot/loader.conf. My soon to be built 5-STABLE kernel will include also 'device snd_ess' directly, and I'm expecting that to work too. HTH, Ian ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound device reported but no devices created
On Sun, 2006-Jul-30 17:52:27 +1000, Ian Smith wrote: Peter, I don't know if this is likely helpful or not, but my Compaq is a 1500c with an ESS ES1869, reporting (on 5.4-RELEASE): sbc0: ESS ES1869 (Compaq OEM) at port 0x330-0x331,0x388-0x38b,0x220-0x22f irq 5 drq 5,1 on isa0 pcm0: ESS 18xx DSP on sbc0 I too have in kernel: device sound device snd_sbc # ES1869 (Compaq OEM) but after much headscratching it only finally worked after adding: snd_ess_load=YES # this fixed it .. bridge driver for ESS That worked, thank you. The man pages are not the clearest here. snd_ess(4) implies that all three drivers are needed but snd_sbc(4) has no reference to it - which is what confused me. -- Peter Jeremy pgpmNw0jBuEPT.pgp Description: PGP signature
Re: Sound device reported but no devices created
On Sun, 30 Jul 2006, Peter Jeremy wrote: On Sun, 2006-Jul-30 17:52:27 +1000, Ian Smith wrote: device sound device snd_sbc # ES1869 (Compaq OEM) but after much headscratching it only finally worked after adding: snd_ess_load=YES # this fixed it .. bridge driver for ESS That worked, thank you. The man pages are not the clearest here. Indeed; I'd spent days googling around lists and pages, at last found: http://gerda.univie.ac.at/freebsd-laptops/index.pl?action=show_laptop_detaillaptop=496 about the 1750, which was wrong (for the 1500c) about the device hints - for unbridged devices, says sound(4) - but the needed clue for loading both snd_sbc and snd_ess. snd_ess(4) implies that all three drivers are needed but snd_sbc(4) has no reference to it - which is what confused me. snd_ess(4) has been updated then; at 5.4 it didn't mention snd_sbc. Building a 5-STABLE world right now, I'm a bit curious as to which of the more recent sound stuff has found its way into 5.5 .. hi Ariff! Cheers, Ian ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound device reported but no devices created
On Sun, July 30, 2006 4:28 am, Peter Jeremy wrote: On Sun, 2006-Jul-30 17:52:27 +1000, Ian Smith wrote: Peter, I don't know if this is likely helpful or not, but my Compaq is a 1500c with an ESS ES1869, reporting (on 5.4-RELEASE): sbc0: ESS ES1869 (Compaq OEM) at port 0x330-0x331,0x388-0x38b,0x220-0x22f irq 5 drq 5,1 on isa0 pcm0: ESS 18xx DSP on sbc0 I too have in kernel: device sound device snd_sbc # ES1869 (Compaq OEM) but after much headscratching it only finally worked after adding: snd_ess_load=YES # this fixed it .. bridge driver for ESS That worked, thank you. The man pages are not the clearest here. snd_ess(4) implies that all three drivers are needed but snd_sbc(4) has no reference to it - which is what confused me. The easiest (and most reliable I've found) method to determine which sound driver(s) is needed for a particular sound card is: # kldload snd_driver # cat /dev/sndstat read the text to see what driver(s) it loaded # echo 'snd_driver_load=YES' /boot/loader.conf snd_driver will load every single sound driver available in FreeBSD, all at once, and the kernel will attempt to detect every sound chipset supported by those drivers. The contents of /dev/sndstat will show which chipset was found, and which specific driver is is being used (snd_ess in your case). Putting just that one driver into loader.conf will pull in all the needed dependecies (like sound, snd_sbc, etc). Freddie Cash [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound device reported but no devices created
in message [EMAIL PROTECTED], wrote Freddie Cash thusly... # kldload snd_driver # cat /dev/sndstat read the text to see what driver(s) it loaded # echo 'snd_driver_load=YES' /boot/loader.conf snd_driver will load every single sound driver available in FreeBSD, all at once, and the kernel will attempt to detect every sound chipset supported by those drivers. Neat. Thanks much Freddie. (No, i don't have any sound driver problems, but your method seems much easier|lazier than to explicitly search for the sound hardware related FreeBSD bits.) - Parv -- ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Sound device reported but no devices created
I've been trying to get sound working on a Compaq Armada 1580 with a recent 6-STABLE. With devices 'sound' and 'snd_sbc' built into the kernel and no hints, I get: ESS0004: adding io range 0x250-0x257, size=0x8, align=0 pnpbios: handle 16 device ID ESS0004 (04007316) ESS1878: adding io range 0x220-0x22f, size=0x10, align=0 ESS1878: adding io range 0x388-0x38b, size=0x4, align=0 ESS1878: adding io range 0x330-0x331, size=0x2, align=0 ESS1878: adding irq mask 0x20 ESS1878: adding dma mask 0x2 ESS1878: adding dma mask 0x20 pnpbios: handle 17 device ID ESS1878 (78187316) ... unknown: ESS0004 failed to probe at port 0x250-0x257 on isa0 sbc0: ESS ES1878 at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,5 on isa0 sbc0: [GIANT-LOCKED] unknown: PNP0e03 failed to probe at port 0x3e0-0x3e1 on isa0 Device configuration finished. Note that there's no pcm reported and the only sound-related device is /dev/sndstat. I get the same behaviour if I don't build sound into the kernel and kldload snd_sbc.ko (which autoloads sound.ko). laptop1# sysctl hw.snd.verbose=2 hw.snd.verbose: 1 - 2 laptop1# sysctl hw.snd hw.snd.targetirqrate: 32 hw.snd.report_soft_formats: 1 hw.snd.verbose: 2 hw.snd.unit: 0 hw.snd.maxautovchans: 0 laptop1# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: laptop1# I have successfully used sound on a similar laptop with 4.9, where the probes looked like: sbc0: ESS ES1878 at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,5 on isa0 pcm0: ESS 18xx DSP on sbc0 I suspect the problem is that sbc0 is not triggering attachment of pcm0 but I'm uncertain why. Does anyone have any suggestions? -- Peter Jeremy pgpjNBhOfnkYL.pgp Description: PGP signature
Re: Sound device reported but no devices created
On Sun, 30 Jul 2006 13:43:52 +1000 Peter Jeremy [EMAIL PROTECTED] wrote: I've been trying to get sound working on a Compaq Armada 1580 with a recent 6-STABLE. With devices 'sound' and 'snd_sbc' built into the kernel and no hints, I get: ESS0004: adding io range 0x250-0x257, size=0x8, align=0 pnpbios: handle 16 device ID ESS0004 (04007316) ESS1878: adding io range 0x220-0x22f, size=0x10, align=0 ESS1878: adding io range 0x388-0x38b, size=0x4, align=0 ESS1878: adding io range 0x330-0x331, size=0x2, align=0 ESS1878: adding irq mask 0x20 ESS1878: adding dma mask 0x2 ESS1878: adding dma mask 0x20 pnpbios: handle 17 device ID ESS1878 (78187316) ... unknown: ESS0004 failed to probe at port 0x250-0x257 on isa0 sbc0: ESS ES1878 at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,5 on isa0 sbc0: [GIANT-LOCKED] unknown: PNP0e03 failed to probe at port 0x3e0-0x3e1 on isa0 Device configuration finished. Note that there's no pcm reported and the only sound-related device is /dev/sndstat. I get the same behaviour if I don't build sound into the kernel and kldload snd_sbc.ko (which autoloads sound.ko). laptop1# sysctl hw.snd.verbose=2 hw.snd.verbose: 1 - 2 laptop1# sysctl hw.snd hw.snd.targetirqrate: 32 hw.snd.report_soft_formats: 1 hw.snd.verbose: 2 hw.snd.unit: 0 hw.snd.maxautovchans: 0 laptop1# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: laptop1# I have successfully used sound on a similar laptop with 4.9, where the probes looked like: sbc0: ESS ES1878 at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,5 on isa0 pcm0: ESS 18xx DSP on sbc0 I suspect the problem is that sbc0 is not triggering attachment of pcm0 but I'm uncertain why. Does anyone have any suggestions? Try to disable ACPI, or edit /usr/src/sys/dev/sound/isa/sbc.c and remove acpi module dependency (line 794) -- Ariff Abdullah FreeBSD pgpvAskoCkJWO.pgp Description: PGP signature
Re: Sound device reported but no devices created
On Sun, 2006-Jul-30 12:10:54 +0800, Ariff Abdullah wrote: On Sun, 30 Jul 2006 13:43:52 +1000 Peter Jeremy [EMAIL PROTECTED] wrote: I've been trying to get sound working on a Compaq Armada 1580 with a recent 6-STABLE. With devices 'sound' and 'snd_sbc' built into the kernel and no hints, I get: ... I suspect the problem is that sbc0 is not triggering attachment of pcm0 but I'm uncertain why. Does anyone have any suggestions? Try to disable ACPI, or edit /usr/src/sys/dev/sound/isa/sbc.c and remove acpi module dependency (line 794) The system is too old to support ACPI. I've removed the module dependency anyway with no difference. -- Peter Jeremy pgpimZhdfTFyR.pgp Description: PGP signature