Re: [Alsa-user] /dev/sequencer no such device, but audio plays ok?
Clemens Ladisch wrote: Richard Shann wrote: I've now downloaded and built iiwusynth, but I get iiwusynth: error: Error opening ALSA raw MIDI port do I need to set the -M option of iiwusynth to something - if so what? It seems iiwusynth tries to read MIDI data from a raw MIDI port, but you want it to run as an ALSA sequencer client. Try -m alsa_seq -a alsa. I've tried this and iiwusynth now starts up: iiwusynth: debug: Using alsa audio driver iiwusynth: warning: Couldn't set high priority scheduling for the audio output iiwusynth: debug: Using alsa_seq MIDI driver iiwusynth: warning: Couldn't set high priority scheduling for the MIDI input and hangs round waiting, I suppose, for input. It is hogging the audio output alright because I no longer get audible output from timidity, and kmidi says that /dev/dsp is busy. However Rosegarden still says sequencer exited and AudioPluginManager::fetchSampleRate - couldn't fetch sample rate. I've been wondering if it is my /etc/modules.conf that's at fault. Should it have something like alias sound-service-0-2 some module or other to provide service #2 (I gather this is midi) for soundcard 0? I've tried to load snd-seq-midi.o using modprobe but it doesn't seem to make any difference. Thank you very much for your patience! Richard ps the relevant bit of modules.conf is currently - I notice there are two entries for char-major-14, is that right? alias char-major-116 snd options snd major=116 cards_limit=2 #--- Via8233 --- alias snd-card-0 snd-via82xx options snd-via82xx index=0 id=Via8233 # Configure card 1 (second card) as a virtual MIDI card alias sound-slot-1 snd-card-1 alias snd-card-1 snd-virmidi alias char-major-14 soundcore alias sound-slot-0 snd-card-0 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 #= --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] /dev/sequencer no such device, but audio plays ok?
To: Clemens Ladisch [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [Alsa-user] /dev/sequencer no such device, but audio pla Clemens Ladisch wrote: I guess I still need to aconnect it to some software Try a software synthesizer like Timidity or iiwusynth. I've now downloaded and built iiwusynth, but I get $ ./src/iiwusynth iiwusynth: debug: Using alsa audio driver iiwusynth: warning: Couldn't set high priority scheduling for the audio output iiwusynth: debug: Using alsa MIDI driver ALSA lib rawmidi_hw.c:227:(snd_rawmidi_hw_open) open /dev/snd/midiC0D0 failed: No such file or directory iiwusynth: error: Error opening ALSA raw MIDI port Failed to create the MIDI input handler iiwusynth: debug: Audio thread finished and indeed ls -l /dev/snd/* crw-rw-rw-1 root root 116, 0 Jan 22 22:00 /dev/snd/controlC0 crw-rw-rw-1 root root 116, 24 Jan 22 22:00 /dev/snd/pcmC0D0c crw-rw-rw-1 root root 116, 16 Jan 22 22:00 /dev/snd/pcmC0D0p crw-rw-rw-1 root root 116, 33 Jan 22 22:00 /dev/snd/timer do I need to set the -M option of iiwusynth to something - if so what? Richard --- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp ___ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] /dev/sequencer no such device, but audio plays ok?
Georgi Georgiev wrote: what does cat /proc/modules say? sorry - I intended putting all the relevant cats in. Since posting I've installed snd-virmidi, so I've now got this: cat /proc/modules | grep snd snd-virmidi 2144 0 (autoclean) (unused) snd-seq-virmidi 5016 0 (autoclean) [snd-virmidi] snd-seq-oss33568 0 (autoclean) snd-seq-midi-event 5672 0 (autoclean) [snd-seq-virmidi snd-seq-oss] snd-seq47152 2 (autoclean) [snd-seq-virmidi snd-seq-oss snd-seq-midi-event] snd-pcm-oss43780 0 (autoclean) snd-mixer-oss 15320 0 (autoclean) [snd-pcm-oss] snd-via82xx11628 0 (autoclean) snd-pcm82144 0 (autoclean) [snd-pcm-oss snd-via82xx] snd-timer 15368 0 (autoclean) [snd-seq snd-pcm] snd-mpu401-uart 4700 0 (autoclean) [snd-via82xx] snd-rawmidi18336 0 (autoclean) [snd-seq-virmidi snd-mpu401-uart] snd-seq-device 6144 0 (autoclean) [snd-seq-oss snd-seq snd-rawmidi] snd-ac97-codec 35940 0 (autoclean) [snd-via82xx] snd39820 0 (autoclean) [snd-virmidi snd-seq-virmidi snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device snd-ac97-codec] soundcore 6500 10 (autoclean) [snd] with this /dev/sequencer is now a device, (it can be opened), but it doesn't do much more, for example ioctl (sequencer_fd, SNDCTL_SYNTH_INFO, card_info) returns -1. I guess I still need to aconnect it to some software (I've been following the Linux MIDI-HowTo to get this far). That is I'm guessing that the sound system on this motherboard doesn't have some support that most soundcards do. However I don't know what or how to connect to this virmidi thing. Thank you for your support - below is some more of the grisly detail in case it throws some light. $aconnect -li client 0: 'System' [type=kernel] 0 'Timer ' 1 'Announce' Connecting To: 63:0 client 72: 'Virtual Raw MIDI 1-0' [type=kernel] 0 'VirMIDI 1-0 ' client 73: 'Virtual Raw MIDI 1-1' [type=kernel] 0 'VirMIDI 1-1 ' client 74: 'Virtual Raw MIDI 1-2' [type=kernel] 0 'VirMIDI 1-2 ' client 75: 'Virtual Raw MIDI 1-3' [type=kernel] 0 'VirMIDI 1-3 ' from /etc/modules.conf alias char-major-116 snd options snd major=116 cards_limit=2 #--- Via8233 --- alias snd-card-0 snd-via82xx options snd-via82xx index=0 id=Via8233 #--- virmidi alias sound-service-0-1 snd-seq-oss alias sound-service-0-8 snd-seq-oss # Configure card 1 (second card) as a virtual MIDI card alias sound-slot-1 snd-card-1 alias snd-card-1 snd-virmidi alias char-major-14 soundcore alias sound-slot-0 snd-card-0 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 #= in case I missed anything the full modules list: $ cat /proc/modules ppp_deflate 4504 0 (autoclean) zlib_deflate 21464 0 (autoclean) [ppp_deflate] ppp_async 9440 0 (autoclean) hsfbasic2 115724 2 (autoclean) hsfserial 26900 0 (autoclean) hsfengine1113900 0 (autoclean) [hsfserial] hsfosspec 34104 1 (autoclean) [hsfbasic2 hsfserial hsfengine] ppp_generic24380 0 (autoclean) [ppp_deflate ppp_async] slhc6740 0 (autoclean) [ppp_generic] snd-virmidi 2144 0 (autoclean) (unused) snd-seq-virmidi 5016 0 (autoclean) [snd-virmidi] snd-seq-oss33568 1 (autoclean) snd-seq-midi-event 5672 0 (autoclean) [snd-seq-virmidi snd-seq-oss] snd-seq47152 2 (autoclean) [snd-seq-virmidi snd-seq-oss snd-se q-midi-event] nls_iso8859-1 3516 0 (autoclean) sr_mod 18136 0 (autoclean) snd-pcm-oss43780 0 (autoclean) snd-mixer-oss 15320 0 (autoclean) [snd-pcm-oss] snd-via82xx11628 0 (autoclean) snd-pcm82144 0 (autoclean) [snd-pcm-oss snd-via82xx] snd-timer 15368 0 (autoclean) [snd-seq snd-pcm] snd-mpu401-uart 4700 0 (autoclean) [snd-via82xx] snd-rawmidi18336 0 (autoclean) [snd-seq-virmidi snd-mpu401-uart] snd-seq-device 6144 0 (autoclean) [snd-seq-oss snd-seq snd-rawmidi] snd-ac97-codec 35940 0 (autoclean) [snd-via82xx] snd39820 0 (autoclean) [snd-virmidi snd-seq-virmidi snd-se q-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-via82xx snd-pcm s nd-timer snd-mpu401-uart snd-rawmidi snd-seq-device snd-ac97-codec] soundcore 6500 10 (autoclean) [snd] radeon 94008 0 autofs 13348 0 (autoclean) (unused) ipt_REJECT 3736 6
[Alsa-user] /dev/sequencer no such device, but audio plays ok?
I've installed the alsa drivers and can play and record sound ok, but /dev/sequencer cannot be opened - I get the ENODEV no such device error. I have a Realtek ALC650 audio on motherboard and RedHat 8.0 (which misconfigures the audio in /etc/modules.conf as alias sound-slot-0 via82cxxx_audio, a known bug). From the Realtek website I was directed to use the alsa drivers and to set my /etc/modules.conf with alias char-major-116 snd options snd major=116 cards_limit=1 #--- Via8233 --- alias snd-card-0 snd-via82xx options snd-via82xx index=0 id=Via8233 #--- alias char-major-14 soundcore alias sound-slot-0 snd-card-0 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 #= looking at snddevices it will have created /dev/sequencer with these values mknod -m 666 /dev/sequencer c 14 1 but here I lose the trail - is there a fundamental problem here - am I talking to some missing hardware? I configured built and installed (the driver with --with-sequencer=yes) alsa-driver-0.9.0rc5 alsa-lib-0.9.0rc6 alsa-utils-0.9.0rc6 and ran snddevices from config.log of alsa-driver $ ./configure --with-sequencer=yes --with-debug=detect #define CONFIG_SND_VERSION 0.9.0rc5 $cat junk /dev/sequencer cat: /dev/sequencer: No such device #/sbin/lspci -v -v 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 50) Subsystem: Micro-star International Co Ltd: Unknown device 4720 Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- TAbort- MAbort- SERR- PERR- Interrupt: pin C routed to IRQ 11 Region 0: I/O ports at dc00 [size=256] Capabilities: [c0] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- Any insights would be much appreciated, as Rosegarden refuses to run at all unless it can talk to /dev/sequencer. Richard Shann --- This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will allow you to extend the highest allowed 128 bit encryption to all your clients even if they use browsers that are limited to 40 bit encryption. Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en ___ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user