WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ALSA aconnect  (Read 12894 times)

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
ALSA aconnect
« on: July 21, 2012, 03: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 ?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: ALSA aconnect
« Reply #1 on: July 21, 2012, 08:40:13 PM »
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?

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: ALSA aconnect
« Reply #2 on: July 21, 2012, 10:13:51 PM »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: ALSA aconnect
« Reply #3 on: July 21, 2012, 10:47:44 PM »
Hi hitsware
Install  pci-utils.tcz  and run  lspci -k, post the results.


Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: ALSA aconnect
« Reply #4 on: July 22, 2012, 08:04:13 AM »
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
« Last Edit: July 22, 2012, 08:07:24 AM by hitsware »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10960
Re: ALSA aconnect
« Reply #5 on: July 22, 2012, 08:55:12 AM »
I don't think any integrated card does midi. You'll need to emulate it (use timidity for example).
The only barriers that can stop you are the ones you create yourself.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: ALSA aconnect
« Reply #6 on: July 22, 2012, 09:05:55 AM »
Hi hitsware
Quote
$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:
Code: [Select]
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:
Code: [Select]
sudo update-pciids
lspci knn

Quote
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.

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: ALSA aconnect
« Reply #7 on: July 22, 2012, 09:36:44 AM »
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.
"

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: ALSA aconnect
« Reply #8 on: July 22, 2012, 09:52:07 AM »
$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.

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: ALSA aconnect
« Reply #9 on: July 22, 2012, 09:59:22 AM »
> If he can get  amidi  to work he might be able to call
> that from his sbasic program, if that suits his purpose.

Preciseamundo !

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: ALSA aconnect
« Reply #10 on: July 22, 2012, 03:44:47 PM »
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 ?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: ALSA aconnect
« Reply #11 on: July 22, 2012, 05:11:10 PM »
Hi hitsware
Maybe try the modprobe command?
Code: [Select]
sudo modprobe snd_seq_midi

Offline hitsware

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

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: ALSA aconnect
« Reply #13 on: July 22, 2012, 06:34:06 PM »
Nevermind      Duh      forgot the ' sudo '

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: ALSA aconnect
« Reply #14 on: July 22, 2012, 08:15:45 PM »
Still yet ..........

> How can I list available modules ?