lkml.org 
[lkml]   [2006]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: sysfs & ALSA card
On Sat, Oct 07, 2006 at 09:12:28PM +0200, Kay Sievers wrote:
> On Sat, Oct 07, 2006 at 02:55:31PM +0200, Kay Sievers wrote:
> > On Sat, 2006-10-07 at 00:44 -0700, Greg KH wrote:
> > > $ tree /sys/class/sound/
> > > /sys/class/sound/
> > > |-- Audigy2 -> ../../devices/pci0000:00/0000:00:1e.0/0000:06:0d.0/Audigy2
> > > |-- admmidi1 -> ../../devices/pci0000:00/0000:00:1e.0/0000:06:0d.0/Audigy2/admmidi1
>
> > > Yeah, I picked the wrong name for the card, it should be "card1" instead
> > > of "Audigy2" here, but you get the idea.
> >
> > That looks nice. Yeah, it should something that matches to the C1 in the
> > other names.
>
> This works fine for me with two soundcards and connect/disconnect
> module load/unload.
>
> All devices are in a flat list in the class directory, also the card%i
> ones:

Yes, nice, your tweak solved my oops problem, which was wierd. I've
added some error checks now and added it back into my tree, thanks for
the fixes.

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-07 22:25    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site