USB NEWS FLASH!
The latest hotplug upgrade from SID now installs uhci-hcd without its being
requested in /etc/modules. This module still does not unload correctly,
however, so I guess I need to blacklist it so I can shutdown normally ...
ugh--blacklisting this does not work (the original usb-uhci had been
blacklisted as well and always loaded--at least ext3 is working!).
The new hotplug loads a lot of stuff, in fact:
dmesg | grep usb
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
drivers/usb/core/usb.c: registered new driver hiddev
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
drivers/usb/core/usb.c: registered new driver snd-usb-audio
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver
v2.1
usb 1-2: new full speed USB device using address 2
snd-usb-audio: probe of 1-2:1.0 failed with error -5
snd-usb-audio: probe of 1-2:1.1 failed with error -5
drivers/usb/core/usb.c: registered new driver irda-usb
drivers/usb/core/usb.c: registered new driver xpad
drivers/usb/input/xpad.c: X-Box pad driver:v0.0.5
drivers/usb/core/usb.c: registered new driver audio
drivers/usb/class/audio.c: v1.0.0:USB Audio Class driver
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
drivers/usb/core/usb.c: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
drivers/usb/serial/usb-serial.c: USB Serial support registered for IR Dongle
drivers/usb/core/usb.c: registered new driver ir-usb
drivers/usb/serial/ir-usb.c: USB IR Dongle driver v0.4
drivers/usb/core/usb.c: registered new driver usbnet
drivers/usb/core/usb.c: registered new driver usb-storage
(Those -5 errors apparently are not preventing the MIDI usb devices from
operating. Can cat /dev/midi1 and see my key-presses.)
However, the MIDI devices is the only one I have connected to one of the two
(older system) USB ports. Should not hotplug load any of these other should I
plug one of them in? I have no X-box, no dongles, no nothing.
jm wrote:
> Try
>
> jackd -S -d alsa -r 44100 &
>
> the -S says don't try 32 and 24 bit, only 16 bit. appearantly your
> card only supports 16 bit, the '&' sends it to the background.
>
>
>
>
Thank for the many ansawers I've received. Anyway, that still doesn't work.
I've typed jackd -S -d alsa -r 44100 & but the prompt don't come back
there's always a problem (xrun ...don't know what it's meaning) and when
I try the jack metronome , jack_metro --bpm 120 &, the answer is :
[moebius@localhost moebius]$ jack_metro --bpm 120 &
[1] 2307
cannot connect to jack server
[moebius@localhost moebius]$ cannot connect to default JACK server
jack server not running?
[1]+ Exit 1 jack_metro --bpm 120
[moebius@localhost moebius]$ jack_connect metro:120_bpm alsa_pcm:playback_1
cannot connect to jack server
cannot connect to default JACK server
jack server not running?
Well, if someone has another(s) idea(s) ....
cordialement,
Well, I'm always trying to get midi audio recording working, or at least
just one of these :) ; well, I'm trying very hard but .... nothing's
working ; I'm trying since a long time but .....
I have a P4 computer and mandrake 9.2 with a low latency kernel (
2.4.22-21mm.2mdk).
Well alsa is running and when I launch alsaconf, it says that my sound
card is "intel 8x0 Silicon Integrated Systems [SiS] Sound Controller"
(in fact, sound is integrated in the motherboard (an Asus P4S8X-X), and
the motherboard doc says that the chip is an ADI AD 1980 6-channel audio
codec) ; in an another place, I've also seen SiS 7012...... Alsaconf
don't perform the last thing, playing a song 'cause something is missing :
Loading driver...
/usr/sbin/alsaconf: line 568: rcalsasound: command not found
Setting default volumes...
===============================================================================
Now ALSA is ready to use.
For adjustment of volumes, please use alsamixer or gamix.
Have a lot of fun!
So I'm trying to launch jack and, as root, I type #jackd -d alsa -r
44100 and here is what I get :
jackd 0.95.0
Copyright 2001-2003 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
loading driver ..
apparent rate = 44100
creating alsa driver ...
hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|rt|32bit
control device hw:0
configuring for 44100Hz, period = 1024 frames, buffer = 2 periods
Couldn't open hw:0 for 32bit samples trying 24bit instead
Couldn't open hw:0 for 24bit samples trying 16bit instead
Couldn't open hw:0 for 32bit samples trying 24bit instead
Couldn't open hw:0 for 24bit samples trying 16bit instead
And I'm obliged to do a Ctrl C to stop the process and Iget the mess :
jack main caught signal 2
When switching verbose option for starting jack, jackd -vd alsa -r
44100, I get also thiese lines :
new buffer size 1024
registered port alsa_pcm:capture_1, offset = 4096
registered port alsa_pcm:capture_2, offset = 8192
registered port alsa_pcm:playback_1, offset = 0
registered port alsa_pcm:playback_2, offset = 0
registered port alsa_pcm:playback_3, offset = 0
registered port alsa_pcm:playback_4, offset = 0
registered port alsa_pcm:playback_5, offset = 0
registered port alsa_pcm:playback_6, offset = 0
++ jack_rechain_graph():
client alsa_pcm: internal client, execution_order=0.
-- jack_rechain_graph()
5874 waiting for signals
load = 0.0301 max usecs: 14.000, spare = 23205.000
load = 0.0474 max usecs: 15.000, spare = 23204.000
**** alsa_pcm: xrun of at least 0.912 msecs
load = 0.0517 max usecs: 13.000, spare = 23206.000
**** alsa_pcm: xrun of at least 5.614 msecs
load = 0.1184 max usecs: 43.000, spare = 23176.000
load = 0.0851 max usecs: 12.000, spare = 23207.000
load = 0.0705 max usecs: 13.000, spare = 23206.000
load = 0.0633 max usecs: 13.000, spare = 23206.000
load = 0.0812 max usecs: 23.000, spare = 23196.000
load = 0.0686 max usecs: 13.000, spare = 23206.000
load = 0.0666 max usecs: 15.000, spare = 23204.000
load = 0.0591 max usecs: 12.000, spare = 23207.000
load = 0.0554 max usecs: 12.000, spare = 23207.000
load = 0.0514 max usecs: 11.000, spare = 23208.000
load = 0.0515 max usecs: 12.000, spare = 23207.000
load = 0.0538 max usecs: 13.000, spare = 23206.000
load = 0.0635 max usecs: 17.000, spare = 23202.000
load = 0.0576 max usecs: 12.000, spare = 23207.000
load = 0.0783 max usecs: 23.000, spare = 23196.000
load = 0.0758 max usecs: 17.000, spare = 23202.000
load = 0.0766 max usecs: 18.000, spare = 23201.000
load = 0.0728 max usecs: 16.000, spare = 23203.000
**** alsa_pcm: xrun of at least 27.009 msecs
load = 0.1419 max usecs: 49.000, spare = 23170.000
load = 0.1205 max usecs: 23.000, spare = 23196.000
load = 0.1012 max usecs: 19.000, spare = 23200.000
load = 0.1001 max usecs: 23.000, spare = 23196.000
load = 0.0845 max usecs: 16.000, spare = 23203.000
load = 0.0767 max usecs: 16.000, spare = 23203.000
load = 0.0642 max usecs: 12.000, spare = 23207.000
load = 0.0773 max usecs: 21.000, spare = 23198.000
load = 0.0882 max usecs: 23.000, spare = 23196.000
load = 0.0807 max usecs: 17.000, spare = 23202.000
load = 0.0727 max usecs: 15.000, spare = 23204.000
load = 0.0729 max usecs: 17.000, spare = 23202.000
load = 0.0752 max usecs: 18.000, spare = 23201.000
load = 0.0850 max usecs: 22.000, spare = 23197.000
**** alsa_pcm: xrun of at least 9.031 msecs
load = 0.1308 max usecs: 41.000, spare = 23178.000
load = 0.0998 max usecs: 16.000, spare = 23203.000
load = 0.0758 max usecs: 12.000, spare = 23207.000
load = 0.0745 max usecs: 17.000, spare = 23202.000
jack main caught signal 2
stopping driver
detaching driver
unloading driver
So, nothing is working neither muse, nor rosegarden or ardour or
.....anything else
Last thing when I perform lsmod, iget this :
Module Size Used by Not tainted
ide-cd 34148 0 (autoclean)
lp 8288 0
parport_pc 25768 1
parport 35560 1 [lp parport_pc]
snd-seq-oss 32800 0 (unused)
snd-seq-midi-event 6336 0 [snd-seq-oss]
snd-seq 45104 2 [snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 43780 0
snd-mixer-oss 14224 0 [snd-pcm-oss]
snd-intel8x0 23112 0
snd-pcm 81700 0 [snd-pcm-oss snd-intel8x0]
snd-timer 20068 0 [snd-seq snd-pcm]
snd-ac97-codec 47064 0 [snd-intel8x0]
gameport 3284 0 [snd-intel8x0]
snd-page-alloc 9044 0 [snd-intel8x0 snd-pcm]
snd-mpu401-uart 5024 0 [snd-intel8x0]
snd-rawmidi 18688 0 [snd-mpu401-uart]
snd-seq-device 5832 0 [snd-seq-oss snd-seq snd-rawmidi]
snd 45668 0 [snd-seq-oss snd-seq-midi-event
snd-seq snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer
snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 6564 0 [snd]
Well if someone have any idea, it would be nice to get this working ; I
really need to make music with linux, I don't want to be obliged to run
my atari falcon with cubase audio until the end of time !!! But, really,
I don't know what to do....
cordialement,
Hello,
I have a couple of related questions I am hoping some kind soul on this
list might clarify. I'm currently running Fedora Core 1 with
the CCRMA kernel 2.4.24 + CCRMA alsa RPMs.
I'd like to write a small test program to send/receive to a midi
device connected to: 1) midi port on sound card, 2) midi port on
USB MidiSport 2x2. The output of aconnect -lio shows
client 0: 'System' [type=kernel]
0 'Timer '
1 'Announce '
client 64: 'Rawmidi 0 - ES1371' [type=kernel]
0 'ES1371 '
client 72: 'Rawmidi 1 - MidiSport 2x2' [type=kernel]
0 'MidiSport 2x2 Port 0'
1 'MidiSport 2x2 Port 1'
When looking in the /dev directory, I see different flavors of midi
devices (eg /dev/amidi0, /dev/dmmidi0, /dev/midi0, /dev/rmidi0,
/dev/snd/midiC0D0, etc.) My test program needs to open a connection
to the appropriate devices. So, my questions are, what device does
alsa map to the sound card midi port and what device would I use
for the USB connected MidiSport?
Thanks in advance for your help.
-tim
Was wondering if it is possible to write a relatively simple startup
script to start Jackd, AlsaModular synth with my specific file/patch
(AMS will start Jack on its own too) then patch capture 1 & 2 to AMS
then AMS to PCM's out, and then "wire" my midisport 2x2 port "A" to AMS
midi in?
It would be nice to boot at the gig, click on an icon and have
everything come up. Also, I run everything 'su root' in a console too.
thanks
P.S. Running Mandrake 9.2
On Friday 12 March 2004 12:17 pm, Polashek, Matthew wrote:
> Interesting idea, however I don't feel that any problems are solved by
> doing that. I am interested in using only one mixer for both monitors and
> mains.
>
>
> What do you consider "a tiny bit"?
Your milage will vary ;) It depends on the positions of the monitors,
how loud they are, how loud the sound sources are, and how picky the
musicians are. It's just that it's much harder to get away with delay in the
monitors than it is in the mains. If you can make it work, more power to
you!
I wish you well in your endeavor!
(Just FYI, I'm leaving town in a few minutes, so I won't have e-mail again
until Monday.)
|)
|)enji
The latest version of the realtime Linux Security Module is now
available in the usual directory, <http://www.joq.us/realtime>.
This version handles the new concurrent groups mechanism Linus
introduced in 2.6.4. It still works with earlier 2.6 kernels. There
are no functional changes. Unless you are running 2.6.4, there is no
reason to upgrade.
The realtime LSM is an installable kernel module that enables realtime
capabilities for any 2.6.x kernel without needing to directly patch
the kernel. It was written by Torben Hohn and Jack O'Quin, who make
no warranty concerning the safety, security or even stability of your
system when using it. It is provided under the provisions of the GPL.
Thanks to Martin Habets for pointing out this kernel change and then
showing me how to handle it.
--
joq
Hello,
I see that you have security capabilities built in. Do you need to enable it
somehow to get jackstart or other applications which require caps to work?
I can't get 'jackstart -R' running without Joq's realtime module I was
talking about..
Sampo
robin fell <robin.fell(a)ntlworld.com>:
>
> On Wed, 2004-03-10 at 23:39, James Stone wrote:
>
> > Perhaps you would like to post your config if it is working well on
> your
> > box?
> >
> > James
>
> Attached.
>
hmm.. excellent. I am thinking of mixing onstage monitors and PA while
recording. At what latency do you think the delay would become noticeable?
Matthew Polashek
Associate Editor, Silver Burdett Ginn - Music
Scott Foresman/Pearson Education
299 Jefferson Road
Parsippany, NJ 07054-0480
office: 973.739.8709
fax: 973.739.8098
Matthew.Polashek(a)scottforesman.com
> ----------
> From: Steve Harris
> Reply To: A list for linux audio users
> Sent: Friday, March 12, 2004 10:08 AM
> To: 'linux-audio-user(a)music.columbia.edu'
> Subject: Re: [linux-audio-user] latency
>
> On Fri, Mar 12, 2004 at 09:41:44 -0500, Polashek, Matthew wrote:
> > Hi!
> > How little latency do I need to be able to use Ardour to mix live sound?
>
> That very much depends on the sitation, but I would think that 2x256
> sample periods in jack should be fine, and thats achievable on most
> machines.
>
> Depending on what youre mixing you may be able to get away with 2x1024.
>
> - Steve
>
>
>
>
****************************************************************************
This email may contain confidential material.
If you were not an intended recipient,
please notify the sender and delete all copies.
We may monitor email to and from our network.
****************************************************************************
I have the exact same problem and the exact same questions. I haven't seen any responses to Greg's email, so I thought I would reiterate the question. Anyone have any insight?
Thanks,
Joel
> Hi,
>
> I've been working on getting my linux system set up for recording with
> jack/ardour. I came across the "Low Latency mini howto":
> http://www.djcj.org/LAU/guide/Low_latency-Mini-HOWTO.php3
>
> At the end, it talks about setting up IRQs such that the sound card is
> at a high priority relative to other devices in the system. However,
> all the information in the doc pertains to non-APIC machines. What
> about an APIC-enabled machine?
>
> The output of 'cat /proc/interrupts' shows my sound card (ICE1712) dead
> last:
>
> CPU0 CPU1
> 0: 6628091 0 IO-APIC-edge timer
> 1: 6 0 IO-APIC-edge keyboard
> 2: 0 0 XT-PIC cascade
> 9: 0 0 XT-PIC acpi
> 12: 803 0 IO-APIC-edge PS/2 Mouse
> 15: 5 0 IO-APIC-edge ide1
> 16: 0 0 IO-APIC-level usb-uhci, usb-uhci
> 18: 4178 0 IO-APIC-level libata, usb-uhci
> 19: 320 0 IO-APIC-level usb-uhci
> 20: 6406 0 IO-APIC-level eth0
> 21: 0 0 IO-APIC-level ICE1712
> NMI: 0 0
> LOC: 6628191 6628246
> ERR: 0
> MIS: 0
>
> output of: lspci -v -s 02:01.0
> 02:01.0 Multimedia audio controller: IC Ensemble Inc ICE1712 [Envy24]
> (rev 02)
> Subsystem: IC Ensemble Inc: Unknown device d634
> Flags: bus master, medium devsel, latency 32, IRQ 21
> I/O ports at 8000 [size=32]
> I/O ports at 8400 [size=16]
> I/O ports at 8800 [size=16]
> I/O ports at 8c00 [size=64]
> Capabilities: [80] Power Management version 1
>
> I've tried manually setting IRQs in the BIOS, moving the card around,
> etc. No amount of tweaking can move it any higher in the list. (It's
> set to IRQ 10 in the BIOS)
>
> I guess my question is: Does the IRQ priority matter when IRQs are
> abstracted by the APIC? If so, how does one change the priority in this
> situation? I'm running 2.4.22, with the low latency and kernel
> preemption patches installed.
>
> Thanks,
> Greg
>
> --
> Greg Jednaszewski
> greg(a)attenuated.org