Re: [PATCH] em28xx: register device to soundcard for sysfs

2009-02-19 Thread Markus Rechberger
On Thu, Feb 19, 2009 at 6:15 PM, Nicola Soranzo wrote: > Alle giovedì 19 febbraio 2009, Markus Rechberger ha scritto: >> On Thu, Feb 19, 2009 at 5:41 PM, Nicola Soranzo wrote: >> > As explained in "Writing an ALSA driver" (T. Iwai), >> >> when writing a patch write the truth about where it comes

Re: [PATCH] em28xx: register device to soundcard for sysfs

2009-02-19 Thread Nicola Soranzo
Alle giovedì 19 febbraio 2009, Markus Rechberger ha scritto: > On Thu, Feb 19, 2009 at 5:41 PM, Nicola Soranzo wrote: > > As explained in "Writing an ALSA driver" (T. Iwai), > > when writing a patch write the truth about where it comes from, eg. > the author of the patch. I'm sorry Markus, but yo

Re: [PATCH] em28xx: register device to soundcard for sysfs

2009-02-19 Thread Douglas Schilling Landgraf
On Thu, 19 Feb 2009 17:41:56 +0100 Nicola Soranzo wrote: > As explained in "Writing an ALSA driver" (T. Iwai), audio drivers > should set the struct device for the card before registering the card > instance. This will add the correct /sys/class/sound/cardN/device > symlink, so HAL can see the de

Re: [PATCH] em28xx: register device to soundcard for sysfs

2009-02-19 Thread Markus Rechberger
On Thu, Feb 19, 2009 at 5:41 PM, Nicola Soranzo wrote: > As explained in "Writing an ALSA driver" (T. Iwai), when writing a patch write the truth about where it comes from, eg. the author of the patch. thanks, Markus > audio drivers should > set the struct device for the card before registering

[PATCH] em28xx: register device to soundcard for sysfs

2009-02-19 Thread Nicola Soranzo
As explained in "Writing an ALSA driver" (T. Iwai), audio drivers should set the struct device for the card before registering the card instance. This will add the correct /sys/class/sound/cardN/device symlink, so HAL can see the device and ConsoleKit sets its ACL permissions for the logged-in user