WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ALSA aconnect  (Read 14360 times)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: ALSA aconnect
« Reply #15 on: July 23, 2012, 01:16:52 AM »
Hi hitsware
Quote
> 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.

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: ALSA aconnect
« Reply #16 on: July 23, 2012, 11:54:09 AM »
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 ?

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: ALSA aconnect
« Reply #17 on: July 23, 2012, 12:32:00 PM »
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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: ALSA aconnect
« Reply #18 on: July 23, 2012, 02:49:27 PM »
Hi hitsware
You should not be installing both Alsa and OSS.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: ALSA aconnect
« Reply #19 on: July 23, 2012, 04:07:01 PM »
Last I checked midi support under OSS was kind of work in progress...
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: ALSA aconnect
« Reply #20 on: July 23, 2012, 04:49:29 PM »
> 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.
 

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: ALSA aconnect
« Reply #21 on: July 23, 2012, 05:05:16 PM »
> 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...
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: ALSA aconnect
« Reply #22 on: July 23, 2012, 05:15:10 PM »
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 ??
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: ALSA aconnect
« Reply #23 on: July 23, 2012, 06:46:23 PM »
> 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.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: ALSA aconnect
« Reply #24 on: July 24, 2012, 02:47:06 AM »
Please post output of:

cat /proc/asound/devices
cat /proc/asound/seq/clients
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: ALSA aconnect
« Reply #25 on: July 24, 2012, 07:29:41 AM »
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:~$


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: ALSA aconnect
« Reply #26 on: July 24, 2012, 07:37:22 AM »
You need a space between "cat" and "/proc":
Code: [Select]
$ 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

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: ALSA aconnect
« Reply #27 on: July 24, 2012, 08:25:07 AM »

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:~$



Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: ALSA aconnect
« Reply #28 on: July 24, 2012, 08:34:03 AM »
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



Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: ALSA aconnect
« Reply #29 on: July 24, 2012, 08:42:17 AM »
How about :
Code: [Select]
$ sudo /usr/local/etc/init.d/alsasound start