proc files (Re: [Alsa-devel] Experimental USB audio support)

2002-06-04 Thread Takashi Iwai
At 4 Jun 2002 04:12:39 -, [EMAIL PROTECTED] wrote: > > > > > btw, creation of pcm devices is independent from mixer > devices. > > so, i'm wondering why, too... > > > > the descriptor info is necessary to build and look up > pcms and > > controls for alsa. basically the usb descriptor in

Re: Re: [Alsa-devel] Experimental USB audio support

2002-06-03 Thread pshirkey
On 6/3/2002 - 21:59:15, Takashi Iwai said: > At Mon, 03 Jun 2002 14:52:57 +0900, > Patrick Shirkey wrote: > > > > Takashi Iwai wrote: > > > > > > At Fri, 31 May 2002 20:55:01 +0900, > > > Patrick Shirkey wrote: > > > > > > > > Takashi Iwai wrote: > > > > > > > > > > now a new version is cvs. i

Re: [Alsa-devel] Experimental USB audio support

2002-06-03 Thread Takashi Iwai
At Mon, 03 Jun 2002 14:52:57 +0900, Patrick Shirkey wrote: > > Takashi Iwai wrote: > > > > At Fri, 31 May 2002 20:55:01 +0900, > > Patrick Shirkey wrote: > > > > > > Takashi Iwai wrote: > > > > > > > > now a new version is cvs. it dumps the descriptor at > > > > /proc/asound/cardX/descriptor.

Re: [Alsa-devel] Experimental USB audio support

2002-06-02 Thread Patrick Shirkey
Takashi Iwai wrote: > > At Fri, 31 May 2002 20:55:01 +0900, > Patrick Shirkey wrote: > > > > Takashi Iwai wrote: > > > > > > now a new version is cvs. it dumps the descriptor at > > > /proc/asound/cardX/descriptor. if the cvs servers is not sync'ed, > > > please let me know. i'll send you a pa

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Takashi Iwai
At Fri, 31 May 2002 20:14:36 +0900, Patrick Shirkey wrote: > > Takashi Iwai wrote: > > > > At Fri, 31 May 2002 11:41:46 +0200, > > I wrote: > > > > > > > > > devfs: devfs_register(): device already registered: "unknown" > > > > > > > > > > this is a bug of sound_core.c. you can fix it by replac

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Takashi Iwai
At Fri, 31 May 2002 20:55:01 +0900, Patrick Shirkey wrote: > > Takashi Iwai wrote: > > > > now a new version is cvs. it dumps the descriptor at > > /proc/asound/cardX/descriptor. if the cvs servers is not sync'ed, > > please let me know. i'll send you a patch. > > > > With this patch there i

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Patrick Shirkey
Just a thought. That new info from lsusb could be because I just upgraded my jernel from 2.4.16 to 2.4.19-pre9. Nodoubt there was a lot of additions to the usb code during the past 5 months. -- Patrick Shirkey - Boost Hardware Ltd. For the discerning hardware connoisseur Http://www.boosthar

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Patrick Shirkey
Here's the descriptor. Now there are two entries in the card2,3,4 dirs. 'descriptor' and 'id'. The descriptor files all appear to be the same. M Audio USB AudioSport Quattro (tm) 00: 09 02 ce 03 0a 01 00 40 00 09 04 00 00 00 01 01 10: 00 02 0a 24 01 00 01 34 00 02 01 02 0c 24 02 05 20: 01

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Patrick Shirkey
Takashi Iwai wrote: > > now a new version is cvs. it dumps the descriptor at > /proc/asound/cardX/descriptor. if the cvs servers is not sync'ed, > please let me know. i'll send you a patch. > With this patch there is *alot * more info in lsusb. Excellent work. Bus 001 Device 003: ID 07

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Patrick Shirkey
Takashi Iwai wrote: > > At Fri, 31 May 2002 11:41:46 +0200, > I wrote: > > > > > > > devfs: devfs_register(): device already registered: "unknown" > > > > > > > > this is a bug of sound_core.c. you can fix it by replacing > > > > sound_core.c with the one in alsa-kernel tree. > > > > > > > > > >

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Patrick Shirkey
Takashi Iwai wrote: > > now a new version is cvs. it dumps the descriptor at > /proc/asound/cardX/descriptor. if the cvs servers is not sync'ed, > please let me know. i'll send you a patch. > Will try now just recompiling the kernel. Can't get 2.4.19-pre9-ac3 to work though :( > btw, you mi

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Takashi Iwai
At Fri, 31 May 2002 11:38:53 +0200, I wrote: > > At Fri, 31 May 2002 18:23:31 +0900, > Patrick Shirkey wrote: > > > > Takashi Iwai wrote: > > > > > > > > just run lsusb (as root) without options. then it will list all > > > devices out. or, you can specify the vendor and device ids per -d >

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Takashi Iwai
At Fri, 31 May 2002 11:41:46 +0200, I wrote: > > > > > devfs: devfs_register(): device already registered: "unknown" > > > > > > this is a bug of sound_core.c. you can fix it by replacing > > > sound_core.c with the one in alsa-kernel tree. > > > > > > > General question. Is the above likely

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Takashi Iwai
At Fri, 31 May 2002 18:31:58 +0900, Patrick Shirkey wrote: > > Takashi Iwai wrote: > > > > > devfs: devfs_register(): device already registered: "unknown" > > > ALSA usbaudio.c:1191: 3:4:1 : frame size 3 doesn't match ALSA 24bit > > > sample format > > > > oh, that's interesting. apparently th

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Takashi Iwai
At Fri, 31 May 2002 18:23:31 +0900, Patrick Shirkey wrote: > > Takashi Iwai wrote: > > > > > just run lsusb (as root) without options. then it will list all > > devices out. or, you can specify the vendor and device ids per -d > > option. please send me the output. > > > > > > I enventual

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Patrick Shirkey
Takashi Iwai wrote: > > > devfs: devfs_register(): device already registered: "unknown" > > ALSA usbaudio.c:1191: 3:4:1 : frame size 3 doesn't match ALSA 24bit > > sample format > > oh, that's interesting. apparently the device uses 3 bytes for 24bit > sample format. alsa supports only 4bytes-

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Patrick Shirkey
Takashi Iwai wrote: > > just run lsusb (as root) without options. then it will list all > devices out. or, you can specify the vendor and device ids per -d > option. please send me the output. > > I enventually managed to get it. here it is again. - Bus 001 Device 004: ID 0763:2001

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Takashi Iwai
At Thu, 30 May 2002 13:16:27 +0900, Patrick Shirkey wrote: > > Takashi Iwai wrote: > > > > > btw, when you use snd-usb-audio module, please make sure that you > > don't load OSS audio.o together. hotplug likely loads both modules at > > the same time. > > > > So should we can turn off the mo

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Takashi Iwai
Hi Patrick, At Thu, 30 May 2002 14:15:55 +0900, Patrick Shirkey wrote: > > As you can tell I'm very excited about this. > > Here's some preliminary stuff. > > #dmesg > > usb.c: registered new driver audio > hub.c: USB new device connect on bus1/1, assigned device number 3 > ALSA usbaudio.

Re: [Alsa-devel] Experimental USB audio support

2002-05-30 Thread tpeltone
Takashi Iwai <[EMAIL PROTECTED]> writes: > Hi, > right now you can find a driver for USB audio on cvs. Hello, what happen? Tried to run cvscompile in alsa-driver... make[1]: Entering directory `/usr/local/src/alsa-cvs/alsa-driver/usb' /usr/local/src/alsa-cvs/alsa-driver/include/sndversions.h w

Re: [Alsa-devel] Experimental USB audio support

2002-05-29 Thread Patrick Shirkey
At this point I cannot access any of the channels using amixer. This card has 4 channels I/O but the devices in /proc/asound suggest that only 3 are being accessed. Also the only file that shows up in the dirs for card2 card3 and car4 is 'id' which just says card2 card3 or card4. Here's the re

Re: [Alsa-devel] Experimental USB audio support

2002-05-29 Thread Patrick Shirkey
As you can tell I'm very excited about this. Here's some preliminary stuff. #dmesg usb.c: registered new driver audio hub.c: USB new device connect on bus1/1, assigned device number 3 ALSA usbaudio.c:1134: 3:1:1 : AS_GENERAL descriptor not found ALSA usbaudio.c:1134: 3:2:1 : AS_GENERAL desc

Re: [Alsa-devel] Experimental USB audio support

2002-05-29 Thread Patrick Shirkey
Takashi Iwai wrote: > > btw, when you use snd-usb-audio module, please make sure that you > don't load OSS audio.o together. hotplug likely loads both modules at > the same time. > So should we can turn off the module option in the kernel or just rmmod audio.o? -- Patrick Shirkey - Boost H

Re: [Alsa-devel] Experimental USB audio support

2002-05-29 Thread Patrick Shirkey
This is great but it seems that the cvs server is down :( Takashi Iwai wrote: > > Hi, > > right now you can find a driver for USB audio on cvs. > it's in alsa-driver not in alsa-kernel. > the driver will be built automatically when CONFIG_USB is specified in > kernel config. > > please note t

[Alsa-devel] Experimental USB audio support

2002-05-29 Thread Takashi Iwai
Hi, right now you can find a driver for USB audio on cvs. it's in alsa-driver not in alsa-kernel. the driver will be built automatically when CONFIG_USB is specified in kernel config. please note that this driver is EXPERIMENTAL and TENTATIVE. my first plan was to implement a USB library layer o