Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: hitsware on July 21, 2012, 06:41:17 PM
-
When I type:
$ aconnect -o
I get:
ALSA lib seq_hw.c:457:(snd_seq_hw_open) /dev/snd/seq failed:
No such file or directory
This is similar to the problem I had with SmallBasic.
What am I missing here ?
-
Hi hitsware
You need to learn to provide more relevant information when asking questions.
What kind of audio card do you have.
Enter dmesg | less and use the PageDown key to view the result. Is your card recognized during the boot process?
What does the output of lsmod show?
Does the /dev/snd directory exist?
-
> What kind of audio card do you have ?
http://www.intel.com/content/www/us/en/motherboards/desktop-motherboards/desktop-board-d425kt.html
-
Hi hitsware
Install pci-utils.tcz and run lspci -k, post the results.
-
Rich,
Thank You again :)
I think the soundcard (motherboard) is recognized because $speaker-test works.
The problem is in the midi .......$aconnect doesn't work
$dmesg | less
HDA Intel
$cat /proc/asound/cards
0[Intel ]: HDA-Intel
$lsmod
I don't see any /dev/snd
$lsmod | grep mid
nothing
$lspci -k
usb controller
pci bridge
isa bridge
ide interface
smbus
ethernet controller
-
I don't think any integrated card does midi. You'll need to emulate it (use timidity for example).
-
Hi hitsware
$lsmod
I don't see any /dev/snd
Nor would I expect you to. Lsmod tells you which modules (drivers) you currently have loaded.
If you execute ls /dev/snd , does it return any entries?
If you can't post directly from this machine, you can redirect the output of commands to a file like this:
lsmod > lsmod.txt
ls /dev/snd > devsnd.txt
You can then copy those files to a USB thumb drive and access them from the machine you use to post.
I don't see any audio controller returned by the lspci command. Install gzip.tcz and wget.tcz. Then:
sudo update-pciids
lspci knn
I don't think any integrated card does midi. You'll need to emulate it (use timidity for example).
If he can get amidi to work he might be able to call that from his sbasic program, if that suits his purpose.
-
I don't think any integrated card does midi. You'll need to emulate it (use timidity for example).
Right ........... Windows uses:
"
Microsoft GS Wavetable SW Synth
The Microsoft GS Wavetable SW Synth included in versions of Direct X as an integral part of DirectMusic is a version of the Roland Virtual Sound Canvas with GS sound set licensed by Microsoft from Roland Corporation in 1996.[1] The wavetable file about 3 MiB in size is named "GM.DLS" which tells us that the wavetable is in DLS format.
"
-
$ls /dev/snd
by-path/ control IC0 hw C0D0 pcm C0D0c pcm C0D0p timer
I got Fluidsynth since supposedly it has the soundbank built in.
-
> If he can get amidi to work he might be able to call
> that from his sbasic program, if that suits his purpose.
Preciseamundo !
-
Evedently I should have with $ lsmod | grep mid
something like:
snd_seq_midi
snd_rawmidi
snd_seq_midi_event
snd_seq
snd_seq_device
And I have nothing
Where do I find these and how do I load them ?
-
Hi hitsware
Maybe try the modprobe command?
sudo modprobe snd_seq_midi
-
I think none of them are there.
How can I list available modules ?
( I really gotta get a hardcopy Linux primer. Any suggestions ?)
Maybe Linux for Dimwits ?
-
Nevermind Duh forgot the ' sudo '
-
Still yet ..........
> How can I list available modules ?
-
Hi hitsware
> How can I list available modules ?
To see which modules are available on you machine, look under:
/usr/local/lib/modules/3.0.21-tinycore/kernel/
Or if you are just want to see what's available in an extension, you could, for example, open AppBrowser,
go to alsa-modules-3.0.21-tinycore.tcz, and click on the Files tab.
-
What's the whole command for finding the list ?
My modprobe worked before, but I started over
and now get files not found.
Are those (snd_seq et al) there to begin with,
or do the apps put them there on installation ?
-
Alsa loads them. Now they're back (after installing Alsa)
But OSS doesn't ............ OSS doesn't need them ?
Maybe the modprobe isn't needed. It doesn't make sense
to have to do that. Alsa should do that itself if needed.
-
Hi hitsware
You should not be installing both Alsa and OSS.
-
Last I checked midi support under OSS was kind of work in progress...
-
> You should not be installing both Alsa and OSS.
I'm not. 2 differant sticks.
> Last I checked midi support under OSS was kind of work in progress...
??? ...... The new version is 4.2xxx The page is not succint on whether midi is
supported but from the detail given hints at it.
http://manuals.opensound.com/developer/MIDI.html
Jack with OSS shows a sorta midimapper but claims I'm missing something
and won't hook up the midi. Sorta like the same thing Alsa does. I'm missing
something basic here and there seems not to be an abundance of documentation.
-
> Last I checked midi support under OSS was kind of work in progress...
??? ...... The new version is 4.2xxx The page is not succint on whether midi is
supported but from the detail given hints at it.
http://manuals.opensound.com/developer/MIDI.html
My last post was written in full awareness/knowledge of the page you link to...
-
Jack with OSS shows a sorta midimapper but claims I'm missing something
and won't hook up the midi. Sorta like the same thing Alsa does. I'm missing
something basic here and there seems not to be an abundance of documentation.
Maybe you are still missing the implication of Reply #5 ??
-
> My last post was written in full awareness/knowledge of the page you link to...
You mean it might not work even they give instructions that imply it does ?
> Maybe you are still missing the implication of Reply #5 ??
I understand about the need for a synth. Is the implication it should be Timidity ?
Let me restate that I do get sound with both OSS and Alsa. Just can't get midi going.
-
Please post output of:
cat /proc/asound/devices
cat /proc/asound/seq/clients
-
tc@box:~$ cat/proc/asound/devices
sh: cat/proc/asound/devices: not found
tc@box:~$
c@box:~$ cat/proc/asound/seq/clients
sh: cat/proc/asound/seq/clients: not found
tc@box:~$
-
You need a space between "cat" and "/proc":
$ cat /proc/asound/devices
1: : sequencer
2: [ 0- 8]: digital audio playback
3: [ 0- 7]: digital audio playback
4: [ 0- 3]: digital audio playback
5: [ 0- 1]: digital audio playback
6: [ 0- 1]: digital audio capture
7: [ 0- 0]: digital audio playback
8: [ 0- 0]: digital audio capture
9: [ 0- 3]: hardware dependent
10: [ 0- 0]: hardware dependent
11: [ 0] : control
33: : timer
$ cat /proc/asound/seq/clients
Client info
cur clients : 3
peak clients : 3
max clients : 192
Client 0 : "System" [Kernel]
Port 0 : "Timer" (Rwe-)
Port 1 : "Announce" (R-e-)
Connecting To: 15:0
Client 14 : "Midi Through" [Kernel]
Port 0 : "Midi Through Port-0" (RWe-)
Client 15 : "OSS sequencer" [Kernel]
Port 0 : "Receiver" (-we-)
Connected From: 0:1
-
tc@box:~$ cat /proc/asound/devices
2: [ 0- 1]: digital audio playback
3: [ 0- 0]: digital audio playback
4: [ 0- 0]: digital audio capture
5: [ 0- 2]: hardware dependent
6: [ 0] : control
33: : timer
tc@box:~$ cat /proc/asound/seq/clients
cat: can't open '/proc/asound/seq/clients': No such file or directory
tc@box:~$
-
FWIW
tc@box:~$ /usr/local/etc/init.d/alsasound start
rmmod: can't unload 'snd_pcm': Operation not permitted
rmmod: can't unload 'snd_timer': Operation not permitted
rmmod: can't unload 'snd': Operation not permitted
rmmod: can't unload 'snd_hda_codec_idt': Operation not permitted
rmmod: can't unload 'snd_hda_intel': Operation not permitted
rmmod: can't unload 'snd_hda_codec': Operation not permitted
rmmod: can't unload 'snd_hwdep': Operation not permitted
rmmod: can't unload 'snd_pcm': Operation not permitted
rmmod: can't unload 'snd_timer': Operation not permitted
rmmod: can't unload 'snd': Operation not permitted
rmmod: can't unload 'snd_hda_codec_idt': Operation not permitted
rmmod: can't unload 'snd_hda_intel': Operation not permitted
rmmod: can't unload 'snd_hda_codec': Operation not permitted
rmmod: can't unload 'snd_hwdep': Operation not permitted
rmmod: can't unload 'snd_pcm': Operation not permitted
rmmod: can't unload 'snd_timer': Operation not permitted
rmmod: can't unload 'snd': Operation not permitted
rmmod: can't unload 'snd_hda_codec_idt': Operation not permitted
rmmod: can't unload 'snd_hda_intel': Operation not permitted
rmmod: can't unload 'snd_hda_codec': Operation not permitted
rmmod: can't unload 'snd_hwdep': Operation not permitted
rmmod: can't unload 'snd_pcm': Operation not permitted
rmmod: can't unload 'snd_timer': Operation not permitted
rmmod: can't unload 'snd': Operation not permitted
rmmod: can't unload 'snd_hda_codec_idt': Operation not permitted
rmmod: can't unload 'snd_hda_intel': Operation not permitted
rmmod: can't unload 'snd_hda_codec': Operation not permitted
rmmod: can't unload 'snd_hwdep': Operation not permitted
rmmod: can't unload 'snd_pcm': Operation not permitted
rmmod: can't unload 'snd_timer': Operation not permitted
rmmod: can't unload 'snd': Operation not permitted
rmmod: can't unload 'snd_hda_codec_idt': Operation not permitted
rmmod: can't unload 'snd_hda_intel': Operation not permitted
rmmod: can't unload 'snd_hda_codec': Operation not permitted
rmmod: can't unload 'snd_hwdep': Operation not permitted
rmmod: can't unload 'snd_pcm': Operation not permitted
rmmod: can't unload 'snd_timer': Operation not permitted
rmmod: can't unload 'snd': Operation not permitted
rmmod: can't unload 'snd_hda_codec_idt': Operation not permitted
rmmod: can't unload 'snd_hda_intel': Operation not permitted
rmmod: can't unload 'snd_hda_codec': Operation not permitted
rmmod: can't unload 'snd_hwdep': Operation not permitted
rmmod: can't unload 'snd_pcm': Operation not permitted
rmmod: can't unload 'snd_timer': Operation not permitted
rmmod: can't unload 'snd': Operation not permitted
Starting sound driver: snd-hda-intel
modprobe: can't load module snd_mixer_oss (kernel.tclocal/sound/core/oss/snd-mixer-oss.ko.gz): Operation not permitted
modprobe: can't load module snd_seq_device (kernel.tclocal/sound/core/seq/snd-seq-device.ko.gz): Operation not permitted
modprobe: can't load module snd-mixer-oss (kernel.tclocal/sound/core/oss/snd-mixer-oss.ko.gz): Operation not permitted
cut: /proc/asound/seq/drivers: No such file or director
-
How about :
$ sudo /usr/local/etc/init.d/alsasound start
-
Geez ...... Should have the 'sudo' on the apps info directions
Or should I have known that ?
If so what's the indicator ?
-
c@box:~$ sudo /usr/local/etc/init.d/alsasound start
rmmod: can't unload 'snd_hda_codec_idt': Resource temporarily unavailable
rmmod: can't unload 'snd_hda_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_hwdep': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
Starting sound driver: snd-hda-intel
tc@box:~$
-
'Probably better to reboot and then try.
-
tc@box:~$ sudo /usr/local/etc/init.d/alsasound start
rmmod: can't unload 'snd_hda_codec_idt': Resource temporarily unavailable
rmmod: can't unload 'snd_hda_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_hwdep': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
Starting sound driver: snd-hda-intel
tc@box:~$
tc@box:~$
-
So you neither have any sequencer nor any raw midi device.
alsa wouldn't load any drivers for non existent hardware (here they get autoloaded).
-
After downloading FluidSynth (should install itself ?)
tc@box:~$ sudo /usr/local/etc/init.d/alsasound start
rmmod: can't unload 'snd_hda_codec_idt': Resource temporarily unavailable
rmmod: can't unload 'snd_hda_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_hwdep': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
Starting sound driver: snd-hda-intel
tc@box:~$
tc@box:~$
tc@box:~$
-
Does this have any revelence ?
http://www.alsa-project.org/main/index.php/Matrix:Module-hda-intel
-
Or maybe this :
https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Configuration