Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Oct 2019, 21:34
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Dpup Buster 7.9.0.1 can't find sound card
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
musher0

Joined: 04 Jan 2009
Posts: 14414
Location: Gatineau (Qc), Canada

PostPosted: Wed 20 Feb 2019, 08:49    Post subject:  Dpup Buster 7.9.0.1 can't find sound card
Subject description: But the box does have an on-board sound card
 

Hello all.

Context: Trying to come up with a DPupBuster. Pls see here:
http://murga-linux.com/puppy/viewtopic.php?p=1018977&sort=lastpost#1018977

I solved the Internet connection but this sound problem wants to stay a problem, it is
very "resistant".
Code:
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:
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:
alsamixer
cannot open mixer: No such file or directory

When I type alsamixer -c 1, I get this:
Code:
alsamixer -c 1
invalid card index: 1
try `alsamixer --help' for more information

Any help appreciated. TIA.

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
scsijon

Joined: 23 May 2007
Posts: 1508
Location: the australian mallee

PostPosted: Sun 24 Feb 2019, 18:36    Post subject:  

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
Back to top
View user's profile Send private message Visit poster's website 
musher0

Joined: 04 Jan 2009
Posts: 14414
Location: Gatineau (Qc), Canada

PostPosted: Thu 28 Feb 2019, 21:24    Post subject:  

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:
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:
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:
Quote:
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
Quote:
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:
Quote:
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:
Quote:
#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.
lib_modules.tree.zip
Description 
zip

 Download 
Filename  lib_modules.tree.zip 
Filesize  26.68 KB 
Downloaded  154 Time(s) 
hardinfo_report.html.zip
Description 
zip

 Download 
Filename  hardinfo_report.html.zip 
Filesize  10.53 KB 
Downloaded  168 Time(s) 

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3574

PostPosted: Thu 28 Feb 2019, 22:16    Post subject:  

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.
_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3574

PostPosted: Thu 28 Feb 2019, 22:28    Post subject:  

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

Code:
#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 &lt;-&gt; 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

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14414
Location: Gatineau (Qc), Canada

PostPosted: Fri 01 Mar 2019, 00:36    Post subject:  

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
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14414
Location: Gatineau (Qc), Canada

PostPosted: Fri 01 Mar 2019, 03:46    Post subject:  

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:
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
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14414
Location: Gatineau (Qc), Canada

PostPosted: Wed 20 Mar 2019, 11:56    Post subject:  

Hello, World!

Success! I just got sound on DPupBuster-7.9.0.1 !!! Very Happy

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:
#!/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!!! Very Happy

Have a very great day!!!! Very Happy TWYL.
CelestialAeon-treetops.jpg
 Description   If you want to hear the 1st song that this DPB-7.9.0.1 played, it is there!
 Filesize   217.91 KB
 Viewed   207 Time(s)

CelestialAeon-treetops.jpg

Sound-finally-on-DPupBuster-7.9.0.1.jpg
 Description   https://www.youtube.com/watch?v=86fMuML-9jE
 Filesize   239.53 KB
 Viewed   202 Time(s)

Sound-finally-on-DPupBuster-7.9.0.1.jpg


_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 1817
Location: not Bulgaria

PostPosted: Wed 20 Mar 2019, 17:34    Post subject:  

musher0 wrote:
Proof attached!!! Very Happy


I looked at the attached images, but can't hear anything. But I believe you anyway.

_________________
Tiny Linux Blog: http://www.tinylinux.info/
Check Firmware: www.murga-linux.com/puppy/viewtopic.php?p=1022797
tinycore/slitaz: http://www.murga-linux.com/puppy/viewtopic.php?p=990130#990130
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14414
Location: Gatineau (Qc), Canada

PostPosted: Wed 20 Mar 2019, 18:31    Post subject:  

wiak wrote:
musher0 wrote:
Proof attached!!! Very Happy

I looked at the attached images, but can't hear anything. But I believe you anyway.

Funny guy!

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0612s ][ Queries: 13 (0.0083s) ][ GZIP on ]