Re: [linux-audio-user] usb midi interface-recommendations?

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] usb midi interface-recommendations?
From: Joern Nettingsmeier (nettings_AT_folkwang-hochschule.de)
Date: Thu Jun 13 2002 - 14:46:45 EEST


Joseph Zitt wrote:
>
> On Mon, Jun 03, 2002 at 03:15:22PM +0900, Patrick Shirkey wrote:
>
> > Did you see that Takashi Iwai has released the usb-audio driver for
> > alsa? You should try setting up with that if you have time.
>
> OK, so after finally remembering how to get USB-audio working on my
> laptop (the secret: I have to cold-boot *first* into Windows and *then*
> warm-boot into Linux; the reason remains a mystery), I tried installing
> the usb-midi stuff.

it probably does some initialization. this drill used to be the only way
to get some soundcards working: boot into win, have the vendor driver
upload some firmware, warm-reboot into linux, the firmware survives, the
linux driver is happy.
 
> Following the directions in the README for RedHat installations (yes,
> I'm running RedHat with RPMs; no, I'm not going to change, since it's
> working for me far better in most ways than Debian or Mandrake did),
> I entered "make -f Makefile.Redhat install" and got the following:
>
> <DUMP>
> /usr/bin/gcc -Wall -Wstrict-prototypes -O -DREDHAT240FIX=0 -I/usr/src/linux/drivers -I/usr/src/linux/include -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -c -o usb-midi.o usb-midi.c
>
> Build of usb-midi.o succeeded!
>
> Kernel Symbols:
> __down_failed
> *** __pollwait_Rsmp_4c541ea9 NOT Found ***
> __up_wakeup
> *** __wake_up_Rsmp_127fda83 NOT Found ***
> *** add_wait_queue_Rsmp_2fd0ca84 NOT Found ***
> *** interruptible_sleep_on_timeout_Rsmp_5a57b6ef NOT Found ***
> *** kfree_Rsmp_037a0cba NOT Found ***
> *** kmalloc_Rsmp_93d4cfe6 NOT Found ***
> *** printk_Rsmp_1b7d4074 NOT Found ***
> *** register_sound_midi_Rsmp_a8d2cdde NOT Found ***
> *** remove_wait_queue_Rsmp_ca8842ea NOT Found ***
> *** schedule_Rsmp_4292364c NOT Found ***
> *** unregister_sound_midi_Rsmp_fdab6de3 NOT Found ***
> *** usb_alloc_urb_Rsmp_3d8d09b2 NOT Found ***
> *** usb_deregister_Rsmp_97b1ac08 NOT Found ***
> *** usb_free_urb_Rsmp_d5ed8161 NOT Found ***
> *** usb_get_descriptor_Rsmp_0ae3bdb4 NOT Found ***
> *** usb_get_string_Rsmp_352fb883 NOT Found ***
> *** usb_register_Rsmp_253d22f2 NOT Found ***
> *** usb_set_configuration_Rsmp_6fc55b24 NOT Found ***
> *** usb_set_interface_Rsmp_1554f806 NOT Found ***
> *** usb_string_Rsmp_c234df23 NOT Found ***
> *** usb_submit_urb_Rsmp_a41ef77e NOT Found ***
> *** usb_unlink_urb_Rsmp_6996a416 NOT Found ***
> </DUMP>
>
> Anyone have a suggestion as to what happened and what to do next?

the makefile probably does depmod -ae after building and installing, and
it does not find some usb symbols in your kernel. that might be because

a) your kernel has no usb built in or as modules (quite unlikely given
you seem to use a stock redhat kernel),
b) it looks in the wrong place (do uname -a and see if you have a
/lib/modules/<kernel version> directory) and then look into the makefile
to see where it looks for the modules, or perhaps you lack a current
System.map ? try depmod -ae by hand,
c) your kernel is smp-enabled, but the module you built is not.

i'm not running redhat, so i may miss the obvious. the surest thing is
always to build your own kernel from the official sources, but that is
of course a little painful now and then...
perhaps you can use the .config file from redhat with the official
kernel tree - that way, you will get a similar basic setup (except for
some redhat-specific stuff that's missing in the normal kernel) and just
need a few tweaks.

best,

jörn

> --
> | jzitt_AT_metatronpress.com http://www.josephzitt.com/ |
> | http://www.metatronpress.com/jzitt/ http://www.mp3.com/josephzitt/ |
> | == New book: Surprise Me with Beauty: the Music of Human Systems == |

great book, btw. my copy arrived 2 weeks ago, and i've had great fun
with it.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Jun 13 2002 - 14:31:20 EEST