[Alsa-devel] alsa-driver-1.0.0pre2, cmipci, opl3, mpu401 problems

2003-11-24 Thread Jonathan Kraut
Everything works really well (hooray dmix! and thanks) with 
alsa-driver-1.0.0pre2 and cmedia-8738 except the following midi related 
things, which were working fine in version 0.9.8 and earlier:

here's what i did (on gentoo)

$ /etc/init.d/alsasound start

$ cat /proc/asound/cards
0 [CMI8738MC6 ]: CMI8738-MC6 - C-Media PCI CMI8738-MC6
 C-Media PCI CMI8738-MC6 (model 55) at 0xd400, irq 9
1 [VirMIDI]: VirMIDI - VirMIDI
 Virtual MIDI Card 1
2 [M2x2   ]: USB-Audio - Midisport 2x2
 Midiman Midisport 2x2 at usb-00:02.2-1
3 [Dummy  ]: Dummy - Dummy
 Dummy 1

$ aconnect -o
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 '
client 80: 'Rawmidi 2 - Midisport 2x2' [type=kernel]
0 'Midisport 2x2 Port 0'
1 'Midisport 2x2 Port 1'

note: in previous releases at this point i was also able to see the 
mpu-401-uart port and the opl3 synth port. so here i modprobed them to make 
sure. but though they seemed to load ok with modprobe, i still can't connect 
to them.

$ modprobe snd-mpu401-uart
$ modprobe snd-opl3-synth
$ lsmod
Module  Size  Used byTainted: P  
snd-opl3-synth 10564   0  (unused)
snd-seq-instr   6096   0  [snd-opl3-synth]
snd-seq-midi-emul   5344   0  [snd-opl3-synth]
snd-ainstr-fm   1972   0  [snd-opl3-synth]
snd-pcm-oss39012   0  (autoclean)
snd-mixer-oss  13552   0  (autoclean) [snd-pcm-oss]
snd-seq-midi4160   0  (autoclean) (unused)
snd-dummy   4248   0 
snd-usb-audio  46176   0 
snd-virmidi 1408   0 
snd-seq-virmidi 3432   0  [snd-virmidi]
snd-seq-midi-event  3840   0  [snd-seq-midi snd-seq-virmidi]
snd-seq39920   0  [snd-opl3-synth snd-seq-instr 
snd-seq-midi-emul snd-seq-midi snd-seq-virmidi snd-seq-midi-event]
snd-cmipci 20820   0 
snd-opl3-lib6628   0  [snd-opl3-synth snd-cmipci]
snd-hwdep   5408   0  [snd-opl3-lib]
snd-mpu401-uart 3808   0  [snd-cmipci]
snd-rawmidi14720   0  [snd-seq-midi snd-usb-audio snd-seq-virmidi 
snd-mpu401-uart]
snd-seq-device  4320   0  [snd-opl3-synth snd-seq-midi snd-seq 
snd-opl3-lib snd-rawmidi]
snd-pcm64416   0  [snd-pcm-oss snd-dummy snd-usb-audio 
snd-cmipci]
snd-timer  15876   0  [snd-seq snd-opl3-lib snd-pcm]
snd34244   1  [snd-opl3-synth snd-seq-instr snd-pcm-oss 
snd-mixer-oss snd-seq-midi snd-dummy snd-usb-audio snd-virmidi snd-seq-virmidi 
snd-seq-midi-event snd-seq snd-cmipci snd-opl3-lib snd-hwdep snd-mpu401-uart 
snd-rawmidi snd-seq-device snd-pcm snd-timer]
soundcore   4196  15  [snd]
snd-page-alloc  6484   0  [snd-dummy snd-pcm]

$ aconnect -o
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 '
client 80: 'Rawmidi 2 - Midisport 2x2' [type=kernel]
0 'Midisport 2x2 Port 0'
1 'Midisport 2x2 Port 1'

thanks again,
-jon


Jonathan Kraut
NYC
[EMAIL PROTECTED]


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] alsa-driver-1.0.0pre2, cmipci, opl3, mpu401 problems

2003-11-24 Thread Jonathan Kraut
On Mon, 24 Nov 2003 14:01:16 +0100, Takashi Iwai wrote:
At Mon, 24 Nov 2003 02:20:07 -0500,
Jonathan Kraut wrote:
 
 Everything works really well (hooray dmix! and thanks) with 
 alsa-driver-1.0.0pre2 and cmedia-8738 except the following midi related 
 things, which were working fine in version 0.9.8 and earlier:

specify mpu_port=0x330 and fm_port=0x388 to the option of snd-cmipci.
they are disabled as default.

i don't know why they were enabled in the older version.
it wasn't intentional.


Takashi

that did it. thanks again!
-j



Jonathan Kraut
NYC
[EMAIL PROTECTED]


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] alsa-driver-0.9.8, jack, cmipci

2003-11-16 Thread Jonathan Kraut

On Tue, 04 Nov 2003 12:10:23 -0500, Paul Davis wrote:
At Mon, 03 Nov 2003 14:41:51 -0500,
Jonathan Kraut wrote:
 
 
 Hello again.  Further research:
 
 I tried an earlier version of jack (0.71.0) with alsa-driver-0.9.8, accessi
n
g hw:0,2 via my .asoundrc. I get the same result as before, but in addition t
h
is particular version of jackd tells me:
 
 ...
 Sorry. The PCM device cmipcidoesn't support the same sample format for ca
p
ture and playback.We cannot use this PCM device.
 ...
 
 and jackd quits.

this is likely because the newer version of cmipci driver supports
24bit SPDIF output, but no input yet...

a reminder that for some time now, JACK supports the -P option which
limits it to playback only. useful if that's all you want and/or all
your hardware can do.

--p

well, using jack-0.90.0/alsa-driver-0.9.8 now seems to work just fine again for full 
duplex using jacks default (in other words i can capture off of spdif using hw:0, 
which didn't work with jack-0.80). so great! (btw playback using hw:0,2 still throws 
my system into the same weird state, but i can ignore that now). thanks for listening! 
 i guess jack capturing off of hw:0 was a jack issue, and jack playing back to hw:0,2 
is an alsa-issue? (but i don't know very much, so i could be very wrong).

btw sorry about the multiple posts before...got too cute with multiple email addresses.

thanks again.

-j


Jonathan Kraut
NYC
[EMAIL PROTECTED]


---
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] alsa-driver-0.9.8, jack, cmipci

2003-11-03 Thread Jonathan Kraut

Hello again.  Further research:

I tried an earlier version of jack (0.71.0) with alsa-driver-0.9.8, accessing hw:0,2 
via my .asoundrc. I get the same result as before, but in addition this particular 
version of jackd tells me:

...
Sorry. The PCM device cmipcidoesn't support the same sample format for capture and 
playback.We cannot use this PCM device.
...

and jackd quits.

Accesssing hw:0 works fine with jack, but again, I can't record from spdif. So there 
really seems to be a problem with hw:0,2 in alsa-driver-0.9.8 (I also test 0.9.7c, 
same results).

Does anyone have any thoughts?  If this really is not a problem with alsa I'll post to 
the jack list instead, and use 0.9.2 in the meanwhile.  Please let me know.

Thanks!

Jon

On Fri, 31 Oct 2003 12:06:26 -0500, Jonathan Kraut wrote:

(I sent this earlier twice but forgot to subscribe and then gave wrong email a
ddress, so earlier two are pending moderator approval.  Please ignore those, a
nd sorry).

Hi,

Alsa-driver-0.9.8 doesn't work properly for full duplex operation with jack-0.
80 and spdif from a cmedia 8738. (I had been using alsa 0.9.2, before, and it 
worked just fine).  Here's what happens:

starting jack with
jackd -d alsa -d cmipci
causes the D/A Valid light on my external DA converter (a midiman flying cow) 
to go off, the levels to get pegged, and i can hear what sounds like spdif in 
my speakers.  I quit jack, the flying cow remains in it's weird loop, and i do
 something like starting and quitting esd to reset it.

if i only do capture (jackd -d alsa -d cmipci -C) it seems fine, but of course
 no output.

if i don't use .asoundrc (jackd -d alsa -d hw:0) the output is fine, but jack 
can't read any input. Note: recording without jack using arecord doesn't work 
with hw:0,0, but arecord -Dhw:0,2 does (as expected)

Since 0.92 works with the same jack version (0.80), I decided to post here fir
st.  I'm more than willing to send along any other info to help resolve this p
roblem.

my .asoundrc:
pcm.cmipci {
   type hw
   card 0
   device 2
}

ctl.cmipci {
   type hw
   card 0
}


my /proc/asound/devices: (device 3 is the dummy driver)
  1:   : sequencer
  0: [0- 0]: ctl
  8: [0- 0]: raw midi
 18: [0- 2]: digital audio playback
 26: [0- 2]: digital audio capture
 17: [0- 1]: digital audio playback
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  4: [0- 0]: hardware dependent
 33:   : timer
 32: [1- 0]: ctl
 43: [1- 3]: raw midi
 42: [1- 2]: raw midi
 41: [1- 1]: raw midi
 40: [1- 0]: raw midi
 64: [2- 0]: ctl
 72: [2- 0]: raw midi
 96: [3- 0]: ctl
112: [3- 0]: digital audio playback
120: [3- 0]: digital audio capture

Thanks a bunch!
Jon


Jonathan Kraut
NYC
[EMAIL PROTECTED]



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel




Jonathan Kraut
NYC
[EMAIL PROTECTED]




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


[Alsa-devel] alsa-driver-0.9.8, jack, cmipci

2003-10-31 Thread Jonathan Kraut

(I sent this earlier twice but forgot to subscribe and then gave wrong email address, 
so earlier two are pending moderator approval.  Please ignore those, and sorry).

Hi,

Alsa-driver-0.9.8 doesn't work properly for full duplex operation with jack-0.80 and 
spdif from a cmedia 8738. (I had been using alsa 0.9.2, before, and it worked just 
fine).  Here's what happens:

starting jack with
jackd -d alsa -d cmipci
causes the D/A Valid light on my external DA converter (a midiman flying cow) to go 
off, the levels to get pegged, and i can hear what sounds like spdif in my speakers.  
I quit jack, the flying cow remains in it's weird loop, and i do something like 
starting and quitting esd to reset it.

if i only do capture (jackd -d alsa -d cmipci -C) it seems fine, but of course no 
output.

if i don't use .asoundrc (jackd -d alsa -d hw:0) the output is fine, but jack can't 
read any input. Note: recording without jack using arecord doesn't work with hw:0,0, 
but arecord -Dhw:0,2 does (as expected)

Since 0.92 works with the same jack version (0.80), I decided to post here first.  I'm 
more than willing to send along any other info to help resolve this problem.

my .asoundrc:
pcm.cmipci {
type hw
card 0
device 2
}

ctl.cmipci {
type hw
card 0
}


my /proc/asound/devices: (device 3 is the dummy driver)
  1:   : sequencer
  0: [0- 0]: ctl
  8: [0- 0]: raw midi
 18: [0- 2]: digital audio playback
 26: [0- 2]: digital audio capture
 17: [0- 1]: digital audio playback
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  4: [0- 0]: hardware dependent
 33:   : timer
 32: [1- 0]: ctl
 43: [1- 3]: raw midi
 42: [1- 2]: raw midi
 41: [1- 1]: raw midi
 40: [1- 0]: raw midi
 64: [2- 0]: ctl
 72: [2- 0]: raw midi
 96: [3- 0]: ctl
112: [3- 0]: digital audio playback
120: [3- 0]: digital audio capture

Thanks a bunch!
Jon

- 
Jonathan Kraut
NYC
[EMAIL PROTECTED]

--- End of Forwarded Message



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel