LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-19-2005, 09:04 PM   #1
Normanya
Member
 
Registered: Mar 2005
Posts: 32

Rep: Reputation: 15
Midi sequencer


Hello,

Linux is quite new for me and I have problem to play MIDI files.

kmid returns : /dev/sequencer is already in use by another program.
kguitar returns : Can't write to MIDI device: No such device or address

What can I do?

Thanks for your help!
Quote:
Debian sarge
Sound blaster live

# kernelversion
2.6

# ls -l /dev/sequencer
crwxrwxrwx 1 root audio 14, 1 2005-06-19 19:14 /dev/sequencer


# lsmod
Module Size Used by
nvidia 3917628 12
af_packet 21704 2
ipv6 254720 8
appletalk 36436 0
binfmt_misc 11496 1
parport_pc 35972 0
parport 36936 1 parport_pc
floppy 60176 0
irtty_sir 8736 0
sir_dev 18604 1 irtty_sir
irda 193468 2 irtty_sir,sir_dev
crc_ccitt 1984 1 irda
pcspkr 3364 0
rtc 11832 0
emu10k1_gp 3648 0
gameport 4480 1 emu10k1_gp
snd_emu10k1 100708 0
snd_rawmidi 24032 1 snd_emu10k1
snd_seq_device 8652 2 snd_emu10k1,snd_rawmidi
snd_ac97_codec 78360 1 snd_emu10k1
snd_pcm 92712 2 snd_emu10k1,snd_ac97_codec
snd_timer 24644 2 snd_emu10k1,snd_pcm
snd_page_alloc 10020 2 snd_emu10k1,snd_pcm
snd_util_mem 4512 1 snd_emu10k1
snd_hwdep 9152 1 snd_emu10k1
snd 55300 7 snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer,snd_hwdep
i2c_i801 8620 0
i2c_core 22320 1 i2c_i801
ehci_hcd 34248 0
shpchp 102052 0
pci_hotplug 33136 1 shpchp
intel_agp 23132 1
agpgart 34792 2 nvidia,intel_agp
uhci_hcd 32400 0
usbcore 120312 3 ehci_hcd,uhci_hcd
emu10k1 80196 1
sound 79884 1 emu10k1
soundcore 9664 4 snd,emu10k1,sound
ac97_codec 19916 1 emu10k1
nls_iso8859_1 3968 1
nls_cp437 5632 1
tsdev 7776 0
mousedev 11640 2
evdev 9568 0
capability 4712 0
commoncap 6880 1 capability
sk98lin 202392 1
psmouse 29320 0
ide_cd 41892 0
cdrom 41216 1 ide_cd
vfat 13600 1
fat 40956 1 vfat
ext2 68712 2
ext3 143368 0
jbd 58200 1 ext3
mbcache 9444 2 ext2,ext3
ide_disk 18016 5
ide_generic 1216 0 [permanent]
via82cxxx 13820 0 [permanent]
trm290 4260 0 [permanent]
triflex 3712 0 [permanent]
slc90e66 5792 0 [permanent]
sis5513 16424 0 [permanent]
siimage 12576 0 [permanent]
serverworks 9192 0 [permanent]
sc1200 7296 0 [permanent]
rz1000 2496 0 [permanent]
piix 10308 0 [permanent]
pdc202xx_old 11296 0 [permanent]
opti621 4452 0 [permanent]
ns87415 4264 0 [permanent]
hpt366 20064 0 [permanent]
hpt34x 5216 0 [permanent]
generic 3904 0 [permanent]
cy82c693 4708 0 [permanent]
cs5530 5248 0 [permanent]
cs5520 4640 0 [permanent]
cmd64x 12028 0 [permanent]
atiixp 5840 0 [permanent]
amd74xx 14332 0 [permanent]
alim15x3 12140 0 [permanent]
aec62xx 7168 0 [permanent]
pdc202xx_new 9024 0 [permanent]
ide_core 130384 28 ide_cd,ide_disk,ide_generic,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,serverworks,sc1200,rz1 000,piix,pdc202xx_old,opti621,ns87415,hpt366,hpt34x,generic,cy82c693,cs5530,cs5520,cmd64x,atiixp,amd 74xx,alim15x3,aec62xx,pdc202xx_new
sd_mod 19024 0
ata_piix 9572 0
libata 48452 1 ata_piix
scsi_mod 137064 2 sd_mod,libata
unix 27476 509
fbcon 38656 0
font 8192 1 fbcon
bitblit 5664 1 fbcon
vesafb 8088 0
cfbcopyarea 4000 1 vesafb
cfbimgblt 2944 1 vesafb
cfbfillrect 3648 1 vesafb
 
Old 06-21-2005, 10:58 PM   #2
Normanya
Member
 
Registered: Mar 2005
Posts: 32

Original Poster
Rep: Reputation: 15
OK! I am trying for 2 days to make MIDI works... Not that easy for me. I decided to change my sound driver to ALSA (1.0.9 I also tried 1.0.8). I have some problems to compile it.

#./configure
no pb!

#make
...
make[1]: Entering directory `/usr/src/kernel-source-2.6.11'
CC [M] /usr/src/alsa-driver-1.0.8rc2/acore/hwdep.o
/bin/sh: scripts/genksyms/genksyms: No such file or directory
make[3]: *** [/usr/src/alsa-driver-1.0.8rc2/acore/hwdep.o] Error 1
make[2]: *** [/usr/src/alsa-driver-1.0.8rc2/acore] Error 2
make[1]: *** [_module_/usr/src/alsa-driver-1.0.8rc2] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.6.11'
make: *** [compile] Error 2


I checked :
#ls /usr/src/kernel-source-2.6.11/scripts/genksyms
genksyms.c keywords.c_shipped lex.c_shipped Makefile parse.h_shipped
genksyms.h keywords.gperf lex.l parse.c_shipped parse.y

there is no "genksyms" file. What is this thing?



EDIT :

I found a genksyms file sleeping in /sbin/. I copied it were it should be but "make" does not like it :

...
make[1]: Entering directory `/usr/src/kernel-source-2.6.11'
CC [M] /usr/src/alsa-driver-1.0.9b/acore/hwdep.o
Usage:
genksyms [-dDwqhV] [-k kernel_version] [-p prefix] > .../linux/module/*.ver
...

Last edited by Normanya; 06-21-2005 at 11:03 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rosegarden 4 sequencer js72 Linux - Software 0 10-05-2005 09:18 AM
MIDI playback through midi keyboad. akihandyman Linux - Newbie 5 05-25-2005 01:37 AM
No /dev/sequencer, MIDI device in KDE Sound System and so forth Rogue Jedi X Linux - Hardware 2 05-10-2005 05:50 PM
How to play MIDI files: needed a MIDI mapper? vharishankar Linux - General 3 12-30-2004 12:12 AM
Set up midi device in suse 9.1 w/ AC'97 midi controller Guitarist88 Linux - Hardware 1 07-06-2004 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration