Problème de Lecture des midi sous Linux - Multimédia - Linux et OS Alternatifs
Marsh Posté le 30-01-2005 à 13:23:50
/dev/midi est présent ?
Marsh Posté le 30-01-2005 à 14:22:12
yep
(14:21:35)-(xav@garfield)-(/home/xav) ls /dev/mi |
Marsh Posté le 30-01-2005 à 16:44:51
J'ai oublié de préciser que j'ai essayé ca :
|
et ca n'a pas marché. Pourtant les chips doivent pas être très différent
Marsh Posté le 30-01-2005 à 18:32:31
début de piste !
(18:49:43)-(root@garfield)-(/home/xav) cat /proc/asound/oss/sndstat |
Mais d'un autre côté ce genre de messages semblent normaux :
The OSS-MIDI is emulated directly in the ALSA rawmidi module, therefore no extra module exists for that purpose. |
Marsh Posté le 31-01-2005 à 10:46:15
personne n'aurait envie d'installer pmidi et de me dire comment il a fait pour que ca marche ?
Marsh Posté le 01-02-2005 à 11:53:56
up !
Marsh Posté le 01-02-2005 à 12:07:13
pour pmidi je sais pas, mais pour la simple lecture des ficheirs midi il suffit de voir avec timidity ou rosegarden, chez moi il n'y a pas eu de problème...
Marsh Posté le 30-01-2005 à 13:01:17
Bonjour à tous !
Je n'arrive pas à lire des fichies midi sous Linux ! Alors je me suis dis "jvais expliquer ce que j'ai fais sur OSA, y a bien un type qui trouvera la solution "
Ma distrib est une debian, kernel 2.6.8, alsa pour le son (oss compatible installé)
Ma carte son est une Guillemot Maxi Sound Fortissimo, chipset Yamaha YMF744
http://www.alsa-project.org/alsa-d [...] /x1589.htm
/etc/modules.conf contient
### This file is automatically generated by update-modules"
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modutils and read
# the manpage for update-modules.
#
### update-modules: start processing /etc/modutils/0keep
# DO NOT MODIFY THIS FILE!
# This file is not marked as conffile to make sure if you upgrade modutils
# it will be restored in case some modifications have been made.
#
# The keep command is necessary to prevent insmod and friends from ignoring
# the builtin defaults of a path-statement is encountered. Until all other
# packages use the new `add path'-statement this keep-statement is essential
# to keep your system working
keep
### update-modules: end processing /etc/modutils/0keep
### update-modules: start processing /etc/modutils/actions
# Special actions that are needed for some modules
# The BTTV module does not load the tuner module automatically,
# so do that in here
post-install bttv insmod tuner
post-remove bttv rmmod tuner
### update-modules: end processing /etc/modutils/actions
### update-modules: start processing /etc/modutils/aliases
# Aliases to tell insmod/modprobe which modules to use
# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off # Unix
# alias net-pf-2 off # IPv4
# alias net-pf-3 off # Amateur Radio AX.25
# alias net-pf-4 off # IPX
# alias net-pf-5 off # DDP / appletalk
# alias net-pf-6 off # Amateur Radio NET/ROM
# alias net-pf-9 off # X.25
# alias net-pf-10 off # IPv6
# alias net-pf-11 off # ROSE / Amateur Radio X.25 PLP
# alias net-pf-19 off # Acorn Econet
alias net-pf-24 pppoe
alias char-major-10-175 agpgart
alias char-major-10-200 tun
alias char-major-81 bttv
alias char-major-108 ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0 loop_gen
alias loop-xfer-3 loop_fish2
alias loop-xfer-gen-10 loop_gen
alias cipher-2 des
alias cipher-3 fish2
alias cipher-4 blowfish
alias cipher-6 idea
alias cipher-7 serp6f
alias cipher-8 mars6
alias cipher-11 rc62
alias cipher-15 dfc2
alias cipher-16 rijndael
alias cipher-17 rc5
### update-modules: end processing /etc/modutils/aliases
### update-modules: start processing /etc/modutils/alsa-base
above snd-pcm snd-pcm-oss
above snd-mixer snd-mixer-oss
above snd-seq snd-seq-oss
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
post-install snd-ad1816a /usr/lib/alsa/modprobe-post-install snd-ad1816a
post-install snd-ad1848 /usr/lib/alsa/modprobe-post-install snd-ad1848
post-install snd-ali5451 /usr/lib/alsa/modprobe-post-install snd-ali5451
post-install snd-als100 /usr/lib/alsa/modprobe-post-install snd-als100
post-install snd-als4000 /usr/lib/alsa/modprobe-post-install snd-als4000
post-install snd-asihpi /usr/lib/alsa/modprobe-post-install snd-asihpi
post-install snd-atiixp /usr/lib/alsa/modprobe-post-install snd-atiixp
post-install snd-au8810 /usr/lib/alsa/modprobe-post-install snd-au8810
post-install snd-au8820 /usr/lib/alsa/modprobe-post-install snd-au8820
post-install snd-au8830 /usr/lib/alsa/modprobe-post-install snd-au8830
post-install snd-audigyls /usr/lib/alsa/modprobe-post-install snd-audigyls
post-install snd-azt2320 /usr/lib/alsa/modprobe-post-install snd-azt2320
post-install snd-azt3328 /usr/lib/alsa/modprobe-post-install snd-azt3328
post-install snd-azx /usr/lib/alsa/modprobe-post-install snd-azx
post-install snd-bt87x /usr/lib/alsa/modprobe-post-install snd-bt87x
post-install snd-bt87x-overclock /usr/lib/alsa/modprobe-post-install snd-bt87x-overclock
post-install snd-cmi8330 /usr/lib/alsa/modprobe-post-install snd-cmi8330
post-install snd-cmipci /usr/lib/alsa/modprobe-post-install snd-cmipci
post-install snd-cs4231 /usr/lib/alsa/modprobe-post-install snd-cs4231
post-install snd-cs4232 /usr/lib/alsa/modprobe-post-install snd-cs4232
post-install snd-cs4236 /usr/lib/alsa/modprobe-post-install snd-cs4236
post-install snd-cs4281 /usr/lib/alsa/modprobe-post-install snd-cs4281
post-install snd-cs46xx /usr/lib/alsa/modprobe-post-install snd-cs46xx
post-install snd-dt019x /usr/lib/alsa/modprobe-post-install snd-dt019x
post-install snd-emu10k1 /usr/lib/alsa/modprobe-post-install snd-emu10k1
post-install snd-emu10k1x /usr/lib/alsa/modprobe-post-install snd-emu10k1x
post-install snd-ens1370 /usr/lib/alsa/modprobe-post-install snd-ens1370
post-install snd-ens1371 /usr/lib/alsa/modprobe-post-install snd-ens1371
post-install snd-es1688 /usr/lib/alsa/modprobe-post-install snd-es1688
post-install snd-es18xx /usr/lib/alsa/modprobe-post-install snd-es18xx
post-install snd-es1938 /usr/lib/alsa/modprobe-post-install snd-es1938
post-install snd-es1968 /usr/lib/alsa/modprobe-post-install snd-es1968
post-install snd-es968 /usr/lib/alsa/modprobe-post-install snd-es968
post-install snd-fm801 /usr/lib/alsa/modprobe-post-install snd-fm801
post-install snd-fm801-tea575x /usr/lib/alsa/modprobe-post-install snd-fm801-tea575x
post-install snd-gusclassic /usr/lib/alsa/modprobe-post-install snd-gusclassic
post-install snd-gusextreme /usr/lib/alsa/modprobe-post-install snd-gusextreme
post-install snd-gusmax /usr/lib/alsa/modprobe-post-install snd-gusmax
post-install snd-harmony /usr/lib/alsa/modprobe-post-install snd-harmony
post-install snd-hdsp /usr/lib/alsa/modprobe-post-install snd-hdsp
post-install snd-hdspm /usr/lib/alsa/modprobe-post-install snd-hdspm
post-install snd-ice1712 /usr/lib/alsa/modprobe-post-install snd-ice1712
post-install snd-ice1724 /usr/lib/alsa/modprobe-post-install snd-ice1724
post-install snd-intel8x0 /usr/lib/alsa/modprobe-post-install snd-intel8x0
post-install snd-interwave /usr/lib/alsa/modprobe-post-install snd-interwave
post-install snd-interwave-stb /usr/lib/alsa/modprobe-post-install snd-interwave-stb
post-install snd-korg1212 /usr/lib/alsa/modprobe-post-install snd-korg1212
post-install snd-maestro3 /usr/lib/alsa/modprobe-post-install snd-maestro3
post-install snd-mixart /usr/lib/alsa/modprobe-post-install snd-mixart
post-install snd-mpu401 /usr/lib/alsa/modprobe-post-install snd-mpu401
post-install snd-msnd-pinnacle /usr/lib/alsa/modprobe-post-install snd-msnd-pinnacle
post-install snd-mtpav /usr/lib/alsa/modprobe-post-install snd-mtpav
post-install snd-nm256 /usr/lib/alsa/modprobe-post-install snd-nm256
post-install snd-opl3sa2 /usr/lib/alsa/modprobe-post-install snd-opl3sa2
post-install snd-opti92x-ad1848 /usr/lib/alsa/modprobe-post-install snd-opti92x-ad1848
post-install snd-opti92x-cs4231 /usr/lib/alsa/modprobe-post-install snd-opti92x-cs4231
post-install snd-opti93x /usr/lib/alsa/modprobe-post-install snd-opti93x
post-install snd-pc98-cs4232 /usr/lib/alsa/modprobe-post-install snd-pc98-cs4232
post-install snd-pdaudiocf /usr/lib/alsa/modprobe-post-install snd-pdaudiocf
post-install snd-pdplus /usr/lib/alsa/modprobe-post-install snd-pdplus
post-install snd-portman2x4 /usr/lib/alsa/modprobe-post-install snd-portman2x4
post-install snd-powermac /usr/lib/alsa/modprobe-post-install snd-powermac
post-install snd-rme32 /usr/lib/alsa/modprobe-post-install snd-rme32
post-install snd-rme96 /usr/lib/alsa/modprobe-post-install snd-rme96
post-install snd-rme9652 /usr/lib/alsa/modprobe-post-install snd-rme9652
post-install snd-sa11xx-uda1341 /usr/lib/alsa/modprobe-post-install snd-sa11xx-uda1341
post-install snd-sb16 /usr/lib/alsa/modprobe-post-install snd-sb16
post-install snd-sb16-csp /usr/lib/alsa/modprobe-post-install snd-sb16-csp
post-install snd-sb8 /usr/lib/alsa/modprobe-post-install snd-sb8
post-install snd-sbawe /usr/lib/alsa/modprobe-post-install snd-sbawe
post-install snd-serialmidi /usr/lib/alsa/modprobe-post-install snd-serialmidi
post-install snd-serial-u16550 /usr/lib/alsa/modprobe-post-install snd-serial-u16550
post-install snd-sgalaxy /usr/lib/alsa/modprobe-post-install snd-sgalaxy
post-install snd-sonicvibes /usr/lib/alsa/modprobe-post-install snd-sonicvibes
post-install snd-sscape /usr/lib/alsa/modprobe-post-install snd-sscape
post-install snd-sun-amd7930 /usr/lib/alsa/modprobe-post-install snd-sun-amd7930
post-install snd-sun-cs4231 /usr/lib/alsa/modprobe-post-install snd-sun-cs4231
post-install snd-trident /usr/lib/alsa/modprobe-post-install snd-trident
post-install snd-usb-audio /usr/lib/alsa/modprobe-post-install snd-usb-audio
post-install snd-usb-usx2y /usr/lib/alsa/modprobe-post-install snd-usb-usx2y
post-install snd-via82xx /usr/lib/alsa/modprobe-post-install snd-via82xx
post-install snd-vx222 /usr/lib/alsa/modprobe-post-install snd-vx222
post-install snd-vxp440 /usr/lib/alsa/modprobe-post-install snd-vxp440
post-install snd-vxpocket /usr/lib/alsa/modprobe-post-install snd-vxpocket
post-install snd-wavefront /usr/lib/alsa/modprobe-post-install snd-wavefront
post-install snd-ymfpci /usr/lib/alsa/modprobe-post-install snd-ymfpci
alias ac97 off
alias ac97_codec off
alias ac97_plugin_ad1980 off
alias ac97_plugin_wm97xx off
alias ad1816 off
alias ad1848 off
alias ad1889 off
alias adlib_card off
alias aedsp16 off
alias ali5455 off
alias audio off
alias awe_wave off
alias bt878 off
alias btaudio off
alias cmpci off
alias cs4232 off
alias cs4281 off
alias cs46xx off
alias dmasound_core off
alias dmasound_pmac off
alias emu10k1 off
alias es1370 off
alias es1371 off
alias esssolo1 off
alias forte off
alias gus off
alias harmony off
alias i810_audio off
alias kahlua off
alias mad16 off
alias maestro off
alias maestro3 off
alias maui off
alias mpu401 off
alias nm256_audio off
alias opl3 off
alias opl3sa off
alias opl3sa2 off
alias pas2 off
alias pss off
alias rme96xx off
alias sb off
alias sequencer off
alias sgalaxy off
alias sonicvibes off
alias sound off
alias soundcard off
alias sscape off
alias trident off
alias trix off
alias uart401 off
alias uart6850 off
alias v_midi off
alias via82cxxx_audio off
alias wavefront off
alias ymfpci off
### update-modules: end processing /etc/modutils/alsa-base
### update-modules: start processing /etc/modutils/apm
alias char-major-10-134 apm
alias /dev/apm_bios /dev/misc/apm_bios
alias /dev/misc/apm_bios apm
### update-modules: end processing /etc/modutils/apm
### update-modules: start processing /etc/modutils/paths
# This file contains a list of paths that modprobe should scan,
# beside the ones that are compiled into the modutils tools
# themselves.
### update-modules: end processing /etc/modutils/paths
### update-modules: start processing /etc/modutils/setserial
#
# This is what I wanted to do, but logger is in /usr/bin, which isn't loaded
# when the module is first loaded into the kernel at boot time!
#
#post-install serial /etc/init.d/setserial start | logger -p daemon.info -t "setserial-module reload"
#pre-remove serial /etc/init.d/setserial stop | logger -p daemon.info -t "setserial-module uload"
#
alias /dev/tts serial
alias /dev/tts/0 serial
alias /dev/tts/1 serial
alias /dev/tts/2 serial
alias /dev/tts/3 serial
post-install serial /etc/init.d/setserial modload > /dev/null 2> /dev/null
pre-remove serial /etc/init.d/setserial modsave > /dev/null 2> /dev/null
### update-modules: end processing /etc/modutils/setserial
### update-modules: start processing /etc/modutils/arch/i386
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram
alias binfmt-0064 binfmt_aout
alias char-major-10-135 rtc
### update-modules: end processing /etc/modutils/arch/i386
J'ai fait un modprobe snd-seq-midi, et lsmod renvoie :
Module Size Used by
snd_seq_midi 10656 0
snd_seq_oss 37120 0
snd_seq_midi_event 10624 2 snd_seq_midi,snd_seq_oss
snd_seq 57488 5 snd_seq_midi,snd_seq_oss,snd_seq_midi_event
snd_ymfpci 62276 0
snd_ac97_codec 71172 1 snd_ymfpci
snd_pcm_oss 53672 0
snd_mixer_oss 21632 1 snd_pcm_oss
snd_pcm 92704 2 snd_ymfpci,snd_pcm_oss
snd_opl3_lib 13440 1 snd_ymfpci
snd_timer 26756 4 snd_seq,snd_ymfpci,snd_pcm,snd_opl3_lib
snd_hwdep 11552 1 snd_opl3_lib
snd_page_alloc 13192 2 snd_ymfpci,snd_pcm
gameport 7936 1 snd_ymfpci
snd_mpu401_uart 10752 1 snd_ymfpci
snd_rawmidi 25152 2 snd_seq_midi,snd_mpu401_uart
snd_seq_device 10760 5 snd_seq_midi,snd_seq_oss,snd_seq,snd_opl3_lib,snd_rawmidi
snd 53732 15 snd_seq_midi,snd_seq_oss,snd_seq_midi_event,snd_seq,snd_ymfpci,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 11872 1 snd
fglrx 218508 7
parport_pc 40768 0
lp 13480 0
parport 40392 2 parport_pc,lp
ppp_generic 30868 0
slhc 10752 1 ppp_generic
md5 7808 1
ipv6 270980 18
af_packet 22152 2
hw_random 8724 0
shpchp 101516 0
pciehp 98188 0
pci_hotplug 34748 2 shpchp,pciehp
amd_k7_agp 9868 1
agpgart 32684 2 amd_k7_agp
8250_pnp 12032 0
8250 25776 1 8250_pnp
serial_core 24960 1 8250
pcspkr 7372 0
pwc 54000 0
videodev 11520 1 pwc
tsdev 9600 0
evdev 11520 0
cfi_cmdset_0002 26624 1
cfi_util 6400 1 cfi_cmdset_0002
jedec_probe 20480 0
cfi_probe 10240 0
gen_probe 7040 2 jedec_probe,cfi_probe
amd76xrom 8192 0
mtdcore 9956 2 amd76xrom
chipreg 6912 3 jedec_probe,cfi_probe,amd76xrom
map_funcs 5888 1 amd76xrom
ohci_hcd 23556 0
usbcore 110180 4 pwc,ohci_hcd
8139too 27520 0
mii 8192 1 8139too
crc32 8064 1 8139too
nls_iso8859_1 7936 6
nls_cp437 9600 6
rtc 15560 0
pmidi -l qui liste les ports alsa ne trouve rien, donc a priori pas de midi possible
arecord -l renvoie :
**** List of CAPTURE Hardware Devices ****
card 0: YMF744 [Yamaha DS-XG (YMF744)], device 0: YMFPCI [YMFPCI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: YMF744 [Yamaha DS-XG (YMF744)], device 3: YMFPCI - PCM2 [YMFPCI - AC'97]
Subdevices: 1/1
Subdevice #0: subdevice #0
cat /proc/devices, cat /proc/pci, ainsi que mon son qui marche bien partout prouve que ma carte son est bien installée matériellement (au sens : ya pas de conflit irq). Logiciellement alsaconf se déroule sans erreur.
Ici on voit alsa (116) :
cat /proc/devices :
Character devices:
1 mem
2 pty
3 ttyp
4 /dev/vc/0
4 tty
4 ttyS
5 /dev/tty
5 /dev/console
5 /dev/ptmx
6 lp
7 vcs
10 misc
13 input
14 sound
21 sg
29 fb
81 video4linux
108 ppp
116 alsa
128 ptm
136 pts
180 usb
226 drm
Une ptite idée ?
---------------
Il y a autant d'atomes d'oxygène dans une molécule d'eau que d'étoiles dans le système solaire.