[alsa-devel] Getting alsa on Caanoo
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 =96 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
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-c...
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
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
participants (3)
-
Clemens Ladisch
-
Marc Nostromo [M-.-n]
-
Takashi Iwai