* Getting alsa on Caanoo
@ 2012-05-11 9:16 Marc Nostromo [M-.-n]
2012-05-11 9:29 ` Clemens Ladisch
0 siblings, 1 reply; 4+ messages in thread
From: Marc Nostromo [M-.-n] @ 2012-05-11 9:16 UTC (permalink / raw)
To: alsa-devel
Hi,
I'm trying to get alsa to work on an open source korean game console called
the caanoo
http://en.wikipedia.org/wiki/CAANOO
It's open source and pretty cheap with respect to the horse power it
delivers, so using it as base for an embedded synth / sequencer makes a lot
of sense to me.
I've successfully compiled and loaded the modules for audio & midi support
but I'm still stuck with the last step so I wondered if I could get any
help over here, I hope it's the right place to ask.
Right now, when I connect a midi device through USB, I get the following
console message
root@wiz:/mnt/sd/ko_s# dmesg
> usb 1-1: new full speed USB device using UBI9032 Test HCD and address 2
> usb 1-1: configuration #1 chosen from 1 choice
> MIDIStreaming version 01.00
> EP 82: 1 jack(s)
> EP 02: 1 jack(s)
> created 1 output and 1 input ports
And querying /proc/asound gives me
root@wiz:/mnt/sd/ko_s# cat /proc/asound/*
> 0 [nanoKONTROL ]: USB-Audio – nanoKONTROL
> KORG INC. nanoKONTROL at usb-ubisys-usb-1, full speed
> 0: [ 0] : control
> 1: : sequencer
> 8: [ 0- 0]: raw midi
> 33: : timer 0 snd_usb_audio
> G0: system timer : 10000.000us (10000000 ticks)
> Advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Nov 20
> 19:16:42 2007 UTC).
So I'm thinking I'm on the right track.
But I don't see anything in /dev to connect to so I can't really do
anything with my device.
>From what I read here
http://www.gp32x.com/board/index.php?/topic/60064-usbrs232-device-with-the-caanoo/page__p__954641&#entry954641
it could be due to the fact /dev is mounted in read-only (and that there's
no /dev/midiXX present) and that I need to create the device file with
mknod.
However I'm not sure of what I should do in the specific context of
midi/audio with alsa. Right now all I'm looking for is raw midi & pcm out.
Could anyone give me a clue as what to try next ?
Thanks a lot
Marc
---
http://www.marc-nostromo.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Getting alsa on Caanoo
2012-05-11 9:16 Getting alsa on Caanoo Marc Nostromo [M-.-n]
@ 2012-05-11 9:29 ` Clemens Ladisch
2012-05-11 10:12 ` Takashi Iwai
[not found] ` <CAEQ8eXPAU1mO5_pSx1WObEab1KHypO6iRfUA_-ck6TabFP628g@mail.gmail.com>
0 siblings, 2 replies; 4+ messages in thread
From: Clemens Ladisch @ 2012-05-11 9:29 UTC (permalink / raw)
To: Marc Nostromo [M-.-n]; +Cc: alsa-devel
Marc Nostromo [M-.-n] wrote:
> # cat /proc/asound/*
> 0 [nanoKONTROL ]: USB-Audio – nanoKONTROL
>
> So I'm thinking I'm on the right track.
>
> But I don't see anything in /dev to connect to so I can't really do
> anything with my device.
ALSA devices are in /dev/sound/.
> From what I read here
>
> http://www.gp32x.com/board/index.php?/topic/60064-usbrs232-device-with-the-caanoo/page__p__954641&#entry954641
>
> it could be due to the fact /dev is mounted in read-only (and that there's
> no /dev/midiXX present) and that I need to create the device file with
> mknod.
The alsa-driver package has the snddevices script, but it works only if
the kernel was compiled without CONFIG_SND_DYNAMIC_MINORS.
> However I'm not sure of what I should do in the specific context of
> midi/audio with alsa. Right now all I'm looking for is raw midi & pcm out.
aplay something.wav
aplaymidi something.mid
Regards,
Clemens
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Getting alsa on Caanoo
2012-05-11 9:29 ` Clemens Ladisch
@ 2012-05-11 10:12 ` Takashi Iwai
[not found] ` <CAEQ8eXPAU1mO5_pSx1WObEab1KHypO6iRfUA_-ck6TabFP628g@mail.gmail.com>
1 sibling, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2012-05-11 10:12 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: Marc Nostromo [M-.-n], alsa-devel
At Fri, 11 May 2012 11:29:39 +0200,
Clemens Ladisch wrote:
>
> Marc Nostromo [M-.-n] wrote:
> > # cat /proc/asound/*
> > 0 [nanoKONTROL ]: USB-Audio – nanoKONTROL
> >
> > So I'm thinking I'm on the right track.
> >
> > But I don't see anything in /dev to connect to so I can't really do
> > anything with my device.
>
> ALSA devices are in /dev/sound/.
A bit shorter, /dev/snd/.
Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Getting alsa on Caanoo
[not found] ` <CAEQ8eXPAU1mO5_pSx1WObEab1KHypO6iRfUA_-ck6TabFP628g@mail.gmail.com>
@ 2012-05-11 10:37 ` Clemens Ladisch
0 siblings, 0 replies; 4+ messages in thread
From: Clemens Ladisch @ 2012-05-11 10:37 UTC (permalink / raw)
To: Marc Nostromo [M-.-n]; +Cc: alsa-devel
Marc Nostromo [M-.-n] wrote:
> > The alsa-driver package has the snddevices script, but it works only if
> > the kernel was compiled without CONFIG_SND_DYNAMIC_MINORS.
>
> So I should be able to use it to create the devices ?
Yes.
Regards,
Clemens
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-05-11 10:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-11 9:16 Getting alsa on Caanoo Marc Nostromo [M-.-n]
2012-05-11 9:29 ` Clemens Ladisch
2012-05-11 10:12 ` Takashi Iwai
[not found] ` <CAEQ8eXPAU1mO5_pSx1WObEab1KHypO6iRfUA_-ck6TabFP628g@mail.gmail.com>
2012-05-11 10:37 ` Clemens Ladisch
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.