Dpup Buster 7.9.0.1 can't find sound card

Please post any bugs you have found
Post Reply
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

Dpup Buster 7.9.0.1 can't find sound card

#1 Post by musher0 »

Hello all.

Context: Trying to come up with a DPupBuster. Pls see here:
http://murga-linux.com/puppy/viewtopic. ... st#1018977

I solved the Internet connection but this sound problem wants to stay a problem, it is
very "resistant".

Code: Select all

ls -l /dev/snd/
total 0
crw-rw---- 1 root audio 116,  1 fév 20 07:24 seq
crw-rw---- 1 root audio 116, 33 fév 20 07:24 timer

alsactl init
alsactl: init:1757: No soundcards found...
lscpi tells me this:

Code: Select all

lspci -v | grep audio
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)

lspci -v | grep snd
	Kernel modules: snd_via82xx
I have added it to /etc/rc.d/MODULESCONFIG, but nothing happens at reboot, although
the Puppy boot process says it is loading that sound module.

When I type alsamixer I still get

Code: Select all

alsamixer
cannot open mixer: No such file or directory
When I type alsamixer -c 1, I get this:

Code: Select all

alsamixer -c 1
invalid card index: 1
try `alsamixer --help' for more information
Any help appreciated. TIA.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

scsijon
Posts: 1596
Joined: Thu 24 May 2007, 03:59
Location: the australian mallee
Contact:

#2 Post by scsijon »

Just some thoughts>

Kernel version is? (I know some 'obsolite' hardware sets have been slowly removed from the last few versions. (4.x level.))
Driver is set in the kernel as?
And you have upgraded /downgraded the driver ( I seem to remember some via drivers were particular to match the hardware firmware version).
And, please attach a hardinfo output.
And a lspci result (from a console).

thanks

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#3 Post by musher0 »

scsijon wrote:Just some thoughts>

Kernel version is? (I know some 'obsolite' hardware sets have been slowly removed from the last few versions. (4.x level.))
Driver is set in the kernel as?
And you have upgraded /downgraded the driver ( I seem to remember some via drivers were particular to match the hardware firmware version).
And, please attach a hardinfo output.
And a lspci result (from a console).

thanks
Thanks for your interest, scsijon.

Here are the answers to most of your questions:

Code: Select all

uname -a :
Linux puppypc26941 4.4.1-EmSee-32-pae-rt3 #1 SMP Fri Feb 12 21:51:08 GMT 2016 i686 GNU/Linux

Code: Select all

lspci
00:00.0 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/8251 PCI bridge [K8M890/K8T800/K8T890 South]
00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:13.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter (rev 10)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: NVIDIA Corporation NV18 [GeForce4 MX 4000] (rev a4)
Pls find attached the HardInfo report as a zip file.

As to these two questions:
And you have upgraded /downgraded the driver ( I seem to remember some via drivers were particular to match the hardware firmware version).
No.

I do not know what you mean by
Driver is set in the kernel as?
I am however attaching a zipped tree of /lib/modules.

Finally, the listing of < tree -fish -L 6 mod* > in /etc is as follows:
modprobe.d
[2.5K] modprobe.d/alsa-base.conf
[2.5K] modprobe.d/alsa-base.conf-NON
[ 907] modprobe.d/alsa.conf
[ 30] modprobe.d/apm.conf
[ 26] modprobe.d/ath9k.conf
[ 532] modprobe.d/blacklist.conf
[ 532] modprobe.d/blacklist.conf-NON
[ 37] modprobe.d/crdw.conf-NON
[ 23] modprobe.d/i915.conf
[ 16] modprobe.d/libpisock9.conf-NON
[ 26] modprobe.d/nouveau.conf
[4.7K] modprobe.d/puppy.conf
[ 25] modprobe.d/radeon.conf
[ 21] modprobe.d/radeon-dpm.conf
modules
[163K] modules/DOTconfig-4.4.1-
modules.conf [error opening dir]
modules-load.d
[ 119] modules-load.d/cups-filters.conf

0 directories, 16 files
(As I heard from another source that the contents of those dirs may have an impact
on sound card recognition.)

As well, this is the contents of file /etc/rc.d/MODULESCONFIG:
#unlike BOOTCONFIG and PUPSTATE that are auto-generated by Puppy,
#MODULESCONFIG was manually created and can be edited.
#MODULESCONFIG is read/written by the BootManager (System menu).

#Please use underscore '_' in all module names, not '-'.

#SKIPLIST: may need to simply skip some modules...
# skip all pci oss... btaudio es1371 i810_audio kahlua trident via82cxxx_audio
#usbmouse, usbkbd are not needed if usbhid is loaded. ub is bad, messes up usb_storage.
#note, make sure SKIPLIST has space chars on the beginning and end.
#note, BootManager will read/write this variable.
#note, rc.sysinit generates /etc/modprobe.d/blacklist.conf
SKIPLIST=" arcfb cirrusfb cyber2000fb cyblafb hgafb neofb pm2fb s1d13xxxfb sstfb tdfxfb tridentfb vga16fb aty128fb atyfb radeonfb i810fb intelfb kyrofb nvidiafb rivafb savagefb sisfb btaudio es1371 i810_audio kahlua trident ub usbkbd usbmouse "
# via82cxxx_audio # Thanks, Barry...

#ADDLIST: if a module did not get auto-loaded but you know it is required for
#your hardware, add it to this list. Note, BootManager will read/write this.
#this variable is read at bootup by /etc/rc.d/rc.sysinit
#an entry is allowed to have parameters, replace ' ' with ':'. ex: "mmc_block:major=179"
#note, list needs a space char at beginning and at end.
ADDLIST=" snd_via82xx snd-via82xx 8139too "
# skge
If you need more info, just tell me what other info to provide you with.
Again many thanks for offering to help.

TWYL, hopefully.
Attachments
lib_modules.tree.zip
(26.68 KiB) Downloaded 283 times
hardinfo_report.html.zip
(10.53 KiB) Downloaded 346 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#4 Post by rufwoof »

Last time I had that the userid wasn't in group audio ... and even then the userid in question didn't have read access to /etc/group. I guess you're running as root so irrelevant, but thought I'd mention it just in case.
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#5 Post by rufwoof »

I don't see a soundcore module in yours. Different hardware but this is my set

Code: Select all

#snd_hda_codec_realtek		: Realtek HD-audio codec
/lib/modules/4.14.91/kernel/sound/pci/hda/snd-hda-codek-realtek.ko
#snd_hda_codec_generic		: Generic HD-audio codec parser
/lib/modules/4.14.91/kernel/sound/pci/hda/snd-hda-codek-generic.ko
#snd_hda_codec_hdmi		: HDMI HD-audio codec
/lib/modules/4.14.91/kernel/sound/pci/hda/snd-hda-codek-hdmi.ko
#snd_hda_intel		: Intel HDA driver
/lib/modules/4.14.91/kernel/sound/pci/hda/snd-hda-intel.ko
#snd_hda_codec		: HDA codec core
/lib/modules/4.14.91/kernel/sound/pci/hda/snd-hda-codek.ko
#snd_hda_core		: HD-audio bus
/lib/modules/4.14.91/kernel/sound/pci/hda/snd-hda-core.ko
#snd_hwdep		: Hardware dependent layer
/lib/modules/4.14.91/kernel/sound/core/snd-hwdep.ko
#snd_pcm_oss		: PCM OSS emulation for ALSA.
/lib/modules/4.14.91/kernel/sound/core/oss/snd-pcm-oss.ko
#snd_pcm		: Midlevel PCM code for ALSA.
/lib/modules/4.14.91/kernel/sound/core/oss/snd-pcm.ko
#snd_mixer_oss		: Mixer OSS emulation for ALSA.
/lib/modules/4.14.91/kernel/sound/core/oss/snd-mixer-oss.ko
#snd_seq_dummy		: ALSA sequencer MIDI-through client
/lib/modules/4.14.91/kernel/sound/core/seq/snd-seq-dummy.ko
#snd_seq_oss		: OSS-compatible sequencer module
/lib/modules/4.14.91/kernel/sound/core/seq/oss/snd-seq-oss.ko
#snd_seq_midi		: Advanced Linux Sound Architecture sequencer MIDI synth.
/lib/modules/4.14.91/kernel/sound/core/seq/snd-seq-midi.ko
#snd_seq_midi_event		: MIDI byte <-> sequencer event coder
/lib/modules/4.14.91/kernel/sound/core/seq/snd-seq-midi-event.ko
#snd_rawmidi		: Midlevel RawMidi code for ALSA.
/lib/modules/4.14.91/kernel/sound/core/snd-rawmidi.ko
#snd_seq		: Advanced Linux Sound Architecture sequencer.
/lib/modules/4.14.91/kernel/sound/core/seq/snd-seq.ko
#snd_seq_device		: ALSA sequencer device management
/lib/modules/4.14.91/kernel/sound/core/snd-seq-device.ko
#snd_timer		: ALSA timer interface
/lib/modules/4.14.91/kernel/sound/core/snd-timer.ko
#snd		: Advanced Linux Sound Architecture driver for soundcards.
/lib/modules/4.14.91/kernel/sound/core/snd.ko
#soundcore		: Core sound module
/lib/modules/4.14.91/kernel/sound/soundcore.ko
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#6 Post by musher0 »

Thanks for looking at it, rufwoof.

Actually, I already know that I need a "souncore" module from reading some ALSA doc.
One question is: "What happened to it?" Another one is: "Where do we find it?"

Again, thanks. BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#7 Post by musher0 »

Hello scsijon, rufwoof.

Interim report:
I double-checked, and kernels 4.4.1, i486; 4.4.1, i686; and 4.4.4 by EmSee do NOT
have a soundcore.ko module. When I built it, I chose the wrong kernel for it, I guess.

So I installed josejp2424's kernel for dpupbuster-7.9.0.2, which has a soundcore.ko
module, in v. 7.9.0.1.

After the usual creation of pupsave, I called it with modprobe, then called retrovol, and
this is what I got:

Code: Select all

root# modprobe soundcore
root# retrovol
Unable to open card hw:0, snd_hctl_open returned -2
Unable to open card hw:0, snd_hctl_open returned -2
Which means there is something else wrong with the sound in prototype 7901.

Another thought is that this 7901 prototype is riddled with bugs. Pls see
http://murga-linux.com/puppy/viewtopic.php?t=115412 for a brief history.

I'm wondering if it is worth the trouble of trying to salvage this prototype. I know it may
be a learning experience, but from a practical point of view, why not ask josejp2424
to make his recipe available in the woof-CE? Should he accept, everybody could stop
worrying and move on to other things!

IMO, the important thing is to have a sane, working, prototype to offer to interested
Puppists. And José's "7902 template" is sane and working. Unless of course the
correction to 7901's sound bug would be as simple as pie.

Just a thought.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#8 Post by musher0 »

Hello, World!

Success! I just got sound on DPupBuster-7.9.0.1 !!! :D

I was cleaning a USB thumbdrive this morning and found this little script that the person
who helped my with my DPup(Wheezy?)-3-14.56 had given me. (3-4 years ago?)

Code: Select all

#!/bin/ash
# load-snd.sh
# Au départ pour le noyau 3.14.56
####
Q="$1"
depmod -a
find /lib/modules/$Q | grep snd | grep via
modprobe snd-via82xx
A thousand thanks to that person!!! (I can't remember his nick right now, but it will come
back to me when my euphoria settles a bit!!!) Proof attached!!! :D

Have a very great day!!!! :D TWYL.
Attachments
CelestialAeon-treetops.jpg
If you want to hear the 1st song that this DPB-7.9.0.1 played, it is there!
(217.91 KiB) Downloaded 356 times
Sound-finally-on-DPupBuster-7.9.0.1.jpg
https://www.youtube.com/watch?v=86fMuML-9jE
(239.53 KiB) Downloaded 338 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#9 Post by wiak »

musher0 wrote:Proof attached!!! :D
I looked at the attached images, but can't hear anything. But I believe you anyway.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#10 Post by musher0 »

wiak wrote:
musher0 wrote:Proof attached!!! :D
I looked at the attached images, but can't hear anything. But I believe you anyway.
Funny guy!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply