* [PATCH]snd-usb-usx2y 0.8.0 against alsa-kernel cvshead: OHCI doesn't crash anymore @ 2004-09-30 18:46 Karsten Wiese 2004-10-01 13:50 ` Takashi Iwai 0 siblings, 1 reply; 16+ messages in thread From: Karsten Wiese @ 2004-09-30 18:46 UTC (permalink / raw) To: alsa-devel [-- Attachment #1: Type: text/plain, Size: 519 bytes --] Summary: Prevents crashes when communicating over ohci usb-hcds. Work on this started, when rumors spread that ohci equipped machines would crash. This was due to me missing two facts: 1) Ohci has a bigger usb frame number wrap around. 2) It only supports URB_ISO_ASAP when submitting iso urbs. Fixed now. Usb-traffic for playback starts now in the prepare callback, like it previously only did for capture. As a side effect code became simpler and smaller. Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de> [-- Attachment #2: snd-usb-usx2y.patch.0.8.0.bz2 --] [-- Type: application/x-bzip2, Size: 6758 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH]snd-usb-usx2y 0.8.0 against alsa-kernel cvshead: OHCI doesn't crash anymore 2004-09-30 18:46 [PATCH]snd-usb-usx2y 0.8.0 against alsa-kernel cvshead: OHCI doesn't crash anymore Karsten Wiese @ 2004-10-01 13:50 ` Takashi Iwai 2004-10-01 16:28 ` Karsten Wiese 2004-10-02 22:38 ` [PATCH]snd-usb-usx2y 0.8.1 " Karsten Wiese 0 siblings, 2 replies; 16+ messages in thread From: Takashi Iwai @ 2004-10-01 13:50 UTC (permalink / raw) To: Karsten Wiese; +Cc: alsa-devel At Thu, 30 Sep 2004 20:46:29 +0200, Karsten Wiese wrote: > > Summary: Prevents crashes when communicating over ohci usb-hcds. > > Work on this started, when rumors spread that ohci equipped machines would > crash. > This was due to me missing two facts: > 1) Ohci has a bigger usb frame number wrap around. > 2) It only supports URB_ISO_ASAP when submitting iso urbs. > Fixed now. > Usb-traffic for playback starts now in the prepare callback, like it > previously only did for capture. > As a side effect code became simpler and smaller. > > Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de> Thanks for the patch. What is the purpose of the replacement with USX2Y_STATIC? One thing I'm not sure is that the possible race of usX2Y_urbs_start() and usX2Y_subs_startup_finish(). Better to use complete handler? Takashi ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH]snd-usb-usx2y 0.8.0 against alsa-kernel cvshead: OHCI doesn't crash anymore 2004-10-01 13:50 ` Takashi Iwai @ 2004-10-01 16:28 ` Karsten Wiese 2004-10-01 17:34 ` Takashi Iwai 2004-10-02 22:38 ` [PATCH]snd-usb-usx2y 0.8.1 " Karsten Wiese 1 sibling, 1 reply; 16+ messages in thread From: Karsten Wiese @ 2004-10-01 16:28 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel Am Freitag 01 Oktober 2004 15:50 schrieb Takashi Iwai: > > What is the purpose of the replacement with USX2Y_STATIC? > Its for easier appliance of the patch, I sent a little later yesterday 22:01:50: "[Alsa-devel] [PATCH]hwdep addon for raw usb mmap from userspace against snd-usb-usx2y 0.8.0 in alsa-kernel tree" The addon needs the functions with the USX2Y_STATIC. So the addon patch only needs to change #define USX2Y_STATIC static to #define USX2Y_STATIC . > One thing I'm not sure is that the possible race of usX2Y_urbs_start() > and usX2Y_subs_startup_finish(). Better to use complete handler? > Thanks for the hint. Will look at it again. Karsten ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH]snd-usb-usx2y 0.8.0 against alsa-kernel cvshead: OHCI doesn't crash anymore 2004-10-01 16:28 ` Karsten Wiese @ 2004-10-01 17:34 ` Takashi Iwai 0 siblings, 0 replies; 16+ messages in thread From: Takashi Iwai @ 2004-10-01 17:34 UTC (permalink / raw) To: Karsten Wiese; +Cc: alsa-devel At Fri, 1 Oct 2004 18:28:32 +0200, Karsten Wiese wrote: > > Am Freitag 01 Oktober 2004 15:50 schrieb Takashi Iwai: > > > > What is the purpose of the replacement with USX2Y_STATIC? > > > Its for easier appliance of the patch, I sent a little later yesterday > 22:01:50: > "[Alsa-devel] [PATCH]hwdep addon for raw usb mmap from userspace against > snd-usb-usx2y 0.8.0 in alsa-kernel tree" > The addon needs the functions with the USX2Y_STATIC. > So the addon patch only needs to change > #define USX2Y_STATIC static > to > #define USX2Y_STATIC > . Well, this won't make the patch applicance easier at all. If the second patch weren't accepted, it's because the patch does really bad indeed (e.g. written too dirty or conceptually wrong). Then USX2Y_STATIC in the first patch would be useless, anyway. If the second patch were accepted, you can include static -> extern conversion in this patch without problems. Thus, having USX2Y_STATIC in the first patch isn't necessary, too. In sort: You shouldn't sacrifice the right patch just because of others :) Takashi ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH]snd-usb-usx2y 0.8.1 against alsa-kernel cvshead: OHCI doesn't crash anymore 2004-10-01 13:50 ` Takashi Iwai 2004-10-01 16:28 ` Karsten Wiese @ 2004-10-02 22:38 ` Karsten Wiese 2004-10-04 16:22 ` Takashi Iwai 1 sibling, 1 reply; 16+ messages in thread From: Karsten Wiese @ 2004-10-02 22:38 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel [-- Attachment #1: Type: text/plain, Size: 863 bytes --] Am Freitag 01 Oktober 2004 15:50 schrieben Sie: > What is the purpose of the replacement with USX2Y_STATIC? gone now. > > One thing I'm not sure is that the possible race of usX2Y_urbs_start() > and usX2Y_subs_startup_finish(). Better to use complete handler? did I care for any possible racing now? Best, Karsten patch header: >>>> Summary: Prevents crashes when communicating over ohci usb-hcds. Work on this started, when rumors spread that ohci equipped machines would crash. This was due to me missing two facts: 1) Ohci has a bigger usb frame number wrap around. 2) It only supports URB_ISO_ASAP when submitting iso urbs. Fixed now. Usb-traffic for playback starts now in the prepare callback, like it previously only did for capture. As a side effect code became simpler and smaller. Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de> <<<< [-- Attachment #2: snd-usb-usx2y.patch.0.8.1.bz2 --] [-- Type: application/x-bzip2, Size: 7068 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH]snd-usb-usx2y 0.8.1 against alsa-kernel cvshead: OHCI doesn't crash anymore 2004-10-02 22:38 ` [PATCH]snd-usb-usx2y 0.8.1 " Karsten Wiese @ 2004-10-04 16:22 ` Takashi Iwai 2004-10-18 12:06 ` Karsten Wiese 0 siblings, 1 reply; 16+ messages in thread From: Takashi Iwai @ 2004-10-04 16:22 UTC (permalink / raw) To: Karsten Wiese; +Cc: alsa-devel At Sun, 3 Oct 2004 00:38:04 +0200, Karsten Wiese wrote: > > > One thing I'm not sure is that the possible race of usX2Y_urbs_start() > > and usX2Y_subs_startup_finish(). Better to use complete handler? > > did I care for any possible racing now? You need to call spin_lock(&usX2Y->prepare_lock) before checking subs->prepared in usX2Y_urbs_start(). In this kind of implementation, all the access to subs->prepared should be protected in the spinlock to avoid races. Also, the spin_lock(&usX2Y->prepare_lock) in usX2Y_urbs_start() may cause deadlock. Use spin_lock_irq(&usX2y->prepare_lock) instead. Thanks, Takashi ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH]snd-usb-usx2y 0.8.1 against alsa-kernel cvshead: OHCI doesn't crash anymore 2004-10-04 16:22 ` Takashi Iwai @ 2004-10-18 12:06 ` Karsten Wiese 2004-10-19 13:33 ` Takashi Iwai 0 siblings, 1 reply; 16+ messages in thread From: Karsten Wiese @ 2004-10-18 12:06 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel, Rui Nuno Capela [-- Attachment #1: Type: text/plain, Size: 1294 bytes --] Am Montag 04 Oktober 2004 18:22 schrieb Takashi Iwai: > At Sun, 3 Oct 2004 00:38:04 +0200, > > Karsten Wiese wrote: > > > One thing I'm not sure is that the possible race of usX2Y_urbs_start() > > > and usX2Y_subs_startup_finish(). Better to use complete handler? > > > > did I care for any possible racing now? > > You need to call spin_lock(&usX2Y->prepare_lock) before checking > subs->prepared in usX2Y_urbs_start(). In this kind of implementation, > all the access to subs->prepared should be protected in the spinlock > to avoid races. > > Also, the spin_lock(&usX2Y->prepare_lock) in usX2Y_urbs_start() may > cause deadlock. Use spin_lock_irq(&usX2y->prepare_lock) instead. > Hi Takashi No spinlock no more. atomic_t instead. Please check. Rui, the error in your dmesg log: "Debug: sleeping function called from invalid context .... " should be gone with this. thanks, Karsten patch header: >>>> Summary: Fixes crashes that occured when communicating over ohci usb-hcds. Work on this started, when rumors spread that ohci equipped machines would crash. This was due to me missing two facts: 1) Ohci has a bigger usb frame number wrap around. 2) It only supports URB_ISO_ASAP when submitting iso urbs. Fixed now. Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de> <<<< [-- Attachment #2: snd-usb-usx2y.patch.0.8.4.bz2 --] [-- Type: application/x-bzip2, Size: 8265 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH]snd-usb-usx2y 0.8.1 against alsa-kernel cvshead: OHCI doesn't crash anymore 2004-10-18 12:06 ` Karsten Wiese @ 2004-10-19 13:33 ` Takashi Iwai 2004-10-20 0:28 ` Karsten Wiese 0 siblings, 1 reply; 16+ messages in thread From: Takashi Iwai @ 2004-10-19 13:33 UTC (permalink / raw) To: Karsten Wiese; +Cc: alsa-devel, Rui Nuno Capela At Mon, 18 Oct 2004 14:06:43 +0200, Karsten Wiese wrote: > > [1 <text/plain; iso-8859-1 (7bit)>] > Am Montag 04 Oktober 2004 18:22 schrieb Takashi Iwai: > > At Sun, 3 Oct 2004 00:38:04 +0200, > > > > Karsten Wiese wrote: > > > > One thing I'm not sure is that the possible race of usX2Y_urbs_start() > > > > and usX2Y_subs_startup_finish(). Better to use complete handler? > > > > > > did I care for any possible racing now? > > > > You need to call spin_lock(&usX2Y->prepare_lock) before checking > > subs->prepared in usX2Y_urbs_start(). In this kind of implementation, > > all the access to subs->prepared should be protected in the spinlock > > to avoid races. > > > > Also, the spin_lock(&usX2Y->prepare_lock) in usX2Y_urbs_start() may > > cause deadlock. Use spin_lock_irq(&usX2y->prepare_lock) instead. > > > Hi Takashi > > No spinlock no more. atomic_t instead. Please check. I'm afraid it's still racy. In usX2Y_urbs_start(), the complete callback may be called between usb_submit_urb() and the loop of schedule_timeout(). So, the loop should check at first the condition before sleeping like below: while (atomic_read(&subs->state) != state_PREPARED) { timeout = schedule_timeout(timeout); if (signal_pending(current)) ... if (! timeout) ... } Regarding the new config stuff: Let's kill CONFIG_SND_USB_USX2Y_NRPACKS_VARIABLE option. No one will want to disable such a module option. Also, please avoid the Kconfig int value as much as possible if you want to support the driver for 2.2/2.4 kernels, too. I believe it's ok to put a hardcoded value 4 like usbaudio.c if you describe the module option properly in the document. Takashi ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH]snd-usb-usx2y 0.8.1 against alsa-kernel cvshead: OHCI doesn't crash anymore 2004-10-19 13:33 ` Takashi Iwai @ 2004-10-20 0:28 ` Karsten Wiese 2004-10-20 9:35 ` Takashi Iwai 0 siblings, 1 reply; 16+ messages in thread From: Karsten Wiese @ 2004-10-20 0:28 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel, Rui Nuno Capela Am Dienstag 19 Oktober 2004 15:33 schrieb Takashi Iwai: > > I'm afraid it's still racy. > In usX2Y_urbs_start(), the complete callback may be called between > usb_submit_urb() and the loop of schedule_timeout(). > So, the loop should check at first the condition before sleeping like > below: > > while (atomic_read(&subs->state) != state_PREPARED) { > timeout = schedule_timeout(timeout); > if (signal_pending(current)) > ... > if (! timeout) > ... > } > <click, beep, ring> ok, thanks! But there is still a small race window between while (atomic_read(&subs->state) != state_PREPARED) { and /* right here the complete callback may be called */ timeout = schedule_timeout(timeout); no? Is there a trick to avoid even this small race window? > > Regarding the new config stuff: > Let's kill CONFIG_SND_USB_USX2Y_NRPACKS_VARIABLE option. > No one will want to disable such a module option. > Well, me wants to disable it as it works best with nrpacks=1 here and I'd like the machine code to not contain the unneeded loops then... (gcc optimizes those loops away if it reads "#define nrpacks 1") Can I keep some (commented out?) define switch inside the source (invisible to KConfig) to suit my needs? > Also, please avoid the Kconfig int value as much as possible if you > want to support the driver for 2.2/2.4 kernels, too. I believe it's > ok to put a hardcoded value 4 like usbaudio.c if you describe the > module option properly in the document. > Erm, which document? And I'm not too keen to do the driver (sup/back)port for 2.2/2.4 kernels myself. I'll avoid the Kconfig int value, making it simpler for volunteers. Karsten ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH]snd-usb-usx2y 0.8.1 against alsa-kernel cvshead: OHCI doesn't crash anymore 2004-10-20 0:28 ` Karsten Wiese @ 2004-10-20 9:35 ` Takashi Iwai 2004-10-21 18:21 ` Karsten Wiese 0 siblings, 1 reply; 16+ messages in thread From: Takashi Iwai @ 2004-10-20 9:35 UTC (permalink / raw) To: Karsten Wiese; +Cc: alsa-devel, Rui Nuno Capela At Wed, 20 Oct 2004 02:28:15 +0200, Karsten Wiese wrote: > > Am Dienstag 19 Oktober 2004 15:33 schrieb Takashi Iwai: > > > > I'm afraid it's still racy. > > In usX2Y_urbs_start(), the complete callback may be called between > > usb_submit_urb() and the loop of schedule_timeout(). > > So, the loop should check at first the condition before sleeping like > > below: > > > > while (atomic_read(&subs->state) != state_PREPARED) { > > timeout = schedule_timeout(timeout); > > if (signal_pending(current)) > > ... > > if (! timeout) > > ... > > } > > > <click, beep, ring> ok, thanks! > But there is still a small race window between > while (atomic_read(&subs->state) != state_PREPARED) { > and /* right here the complete callback may be called */ > timeout = schedule_timeout(timeout); > no? Oh yes, sure. > Is there a trick to avoid even this small race window? As I wrote before, use spinlock around it or completion. The latter might be easier although it's UNINTERRUPTIBLE only. > > Regarding the new config stuff: > > Let's kill CONFIG_SND_USB_USX2Y_NRPACKS_VARIABLE option. > > No one will want to disable such a module option. > > > Well, me wants to disable it as it works best with nrpacks=1 here and I'd like > the machine code to not contain the unneeded loops then... > (gcc optimizes those loops away if it reads "#define nrpacks 1") > Can I keep some (commented out?) define switch inside the source (invisible to > KConfig) to suit my needs? Then it's ok. Having a new stuff in Kconfig would make it difficult to build for older systems. > > Also, please avoid the Kconfig int value as much as possible if you > > want to support the driver for 2.2/2.4 kernels, too. I believe it's > > ok to put a hardcoded value 4 like usbaudio.c if you describe the > > module option properly in the document. > > > Erm, which document? Create a new one for your driver ;) > And I'm not too keen to do the driver (sup/back)port for 2.2/2.4 kernels > myself. I'll avoid the Kconfig int value, making it simpler for volunteers. Ok, thanks. Takashi ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH]snd-usb-usx2y 0.8.1 against alsa-kernel cvshead: OHCI doesn't crash anymore 2004-10-20 9:35 ` Takashi Iwai @ 2004-10-21 18:21 ` Karsten Wiese 2004-10-25 22:10 ` snd-usb-usx2y 0.8.5 " Rui Nuno Capela 0 siblings, 1 reply; 16+ messages in thread From: Karsten Wiese @ 2004-10-21 18:21 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel, Rui Nuno Capela [-- Attachment #1: Type: text/plain, Size: 2822 bytes --] Am Mittwoch 20 Oktober 2004 11:35 schrieb Takashi Iwai: > At Wed, 20 Oct 2004 02:28:15 +0200, > > Karsten Wiese wrote: > > Am Dienstag 19 Oktober 2004 15:33 schrieb Takashi Iwai: > > > I'm afraid it's still racy. > > > In usX2Y_urbs_start(), the complete callback may be called between > > > usb_submit_urb() and the loop of schedule_timeout(). > > > So, the loop should check at first the condition before sleeping like > > > below: > > > > > > while (atomic_read(&subs->state) != state_PREPARED) { > > > timeout = schedule_timeout(timeout); > > > if (signal_pending(current)) > > > ... > > > if (! timeout) > > > ... > > > } > > > > <click, beep, ring> ok, thanks! > > But there is still a small race window between > > while (atomic_read(&subs->state) != state_PREPARED) { > > and /* right here the complete callback may be called */ > > timeout = schedule_timeout(timeout); > > no? > > Oh yes, sure. > > > Is there a trick to avoid even this small race window? > > As I wrote before, use spinlock around it or completion. > The latter might be easier although it's UNINTERRUPTIBLE only. > I used the wait_event macro in this version. Its also used in snd_card_free(), so I hope stuff is not too hard to port to 2.4 and 2.2 kernels. > > > Regarding the new config stuff: > > > Let's kill CONFIG_SND_USB_USX2Y_NRPACKS_VARIABLE option. > > > No one will want to disable such a module option. > > > > Well, me wants to disable it as it works best with nrpacks=1 here and I'd > > like the machine code to not contain the unneeded loops then... > > (gcc optimizes those loops away if it reads "#define nrpacks 1") > > Can I keep some (commented out?) define switch inside the source > > (invisible to KConfig) to suit my needs? > > Then it's ok. Having a new stuff in Kconfig would make it difficult > to build for older systems. > > > > Also, please avoid the Kconfig int value as much as possible if you > > > want to support the driver for 2.2/2.4 kernels, too. I believe it's > > > ok to put a hardcoded value 4 like usbaudio.c if you describe the > > > module option properly in the document. > > > > Erm, which document? > > Create a new one for your driver ;) > > > And I'm not too keen to do the driver (sup/back)port for 2.2/2.4 kernels > > myself. I'll avoid the Kconfig int value, making it simpler for > > volunteers. > > Ok, thanks. > version 0.8.5 patch is attached. thanks, Karsten patch header: >>>> Summary: Fixes crashes that occured when communicating over ohci usb-hcds. Work on this started, when rumors spread that ohci equipped machines would crash. This was due to me missing two facts: 1) Ohci has a bigger usb frame number wrap around. 2) It only supports URB_ISO_ASAP when submitting iso urbs. Fixed now. Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de> <<<< [-- Attachment #2: snd-usb-usx2y.patch.0.8.5.bz2 --] [-- Type: application/x-bzip2, Size: 9039 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* snd-usb-usx2y 0.8.5 against alsa-kernel cvshead: OHCI doesn't crash anymore 2004-10-21 18:21 ` Karsten Wiese @ 2004-10-25 22:10 ` Rui Nuno Capela 2004-10-26 8:15 ` Jaroslav Kysela 0 siblings, 1 reply; 16+ messages in thread From: Rui Nuno Capela @ 2004-10-25 22:10 UTC (permalink / raw) To: alsa-devel; +Cc: Takashi Iwai, Karsten Wiese Karsten Wiese wrote: > > Summary: Fixes crashes that occured when communicating over ohci usb-hcds. > > Work on this started, when rumors spread that ohci equipped machines would > crash. > This was due to me missing two facts: > 1) Ohci has a bigger usb frame number wrap around. > 2) It only supports URB_ISO_ASAP when submitting iso urbs. > Fixed now. > > Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de> > May I ask what's the status of this, wrt.including snd-usb-usx2y version 0.8.5 on the official alsa-kernel tree? People seem to be happy with it, specially the OHCI owners, for whom the current alsa-driver-1.0.7rc2/CVS is badly broken and causes a serious kernel oops (bug #0000425). I hope it makes into 1.0.7 release :) Cheers. -- rncbc aka Rui Nuno Capela rncbc@rncbc.org ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: snd-usb-usx2y 0.8.5 against alsa-kernel cvshead: OHCI doesn't crash anymore 2004-10-25 22:10 ` snd-usb-usx2y 0.8.5 " Rui Nuno Capela @ 2004-10-26 8:15 ` Jaroslav Kysela 2004-10-26 9:11 ` karsten wiese 2004-10-26 9:13 ` Rui Nuno Capela 0 siblings, 2 replies; 16+ messages in thread From: Jaroslav Kysela @ 2004-10-26 8:15 UTC (permalink / raw) To: Rui Nuno Capela; +Cc: alsa-devel, Takashi Iwai, Karsten Wiese On Mon, 25 Oct 2004, Rui Nuno Capela wrote: > May I ask what's the status of this, wrt.including snd-usb-usx2y version > 0.8.5 on the official alsa-kernel tree? Could you resend this patch? Jaroslav ----- Jaroslav Kysela <perex@perex.cz> ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: snd-usb-usx2y 0.8.5 against alsa-kernel cvshead: OHCI doesn't crash anymore 2004-10-26 8:15 ` Jaroslav Kysela @ 2004-10-26 9:11 ` karsten wiese 2004-10-26 9:13 ` Rui Nuno Capela 1 sibling, 0 replies; 16+ messages in thread From: karsten wiese @ 2004-10-26 9:11 UTC (permalink / raw) To: Jaroslav Kysela, Rui Nuno Capela; +Cc: alsa-devel, Takashi Iwai, Karsten Wiese --- Jaroslav Kysela <perex@perex.cz> schrieb: > On Mon, 25 Oct 2004, Rui Nuno Capela wrote: > > > May I ask what's the status of this, wrt.including > snd-usb-usx2y version > > 0.8.5 on the official alsa-kernel tree? > > Could you resend this patch? > wait some minutes, then I'll send the newest Version Karsten ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: snd-usb-usx2y 0.8.5 against alsa-kernel cvshead: OHCI doesn't crash anymore 2004-10-26 8:15 ` Jaroslav Kysela 2004-10-26 9:11 ` karsten wiese @ 2004-10-26 9:13 ` Rui Nuno Capela 2004-10-26 9:53 ` Karsten Wiese 1 sibling, 1 reply; 16+ messages in thread From: Rui Nuno Capela @ 2004-10-26 9:13 UTC (permalink / raw) To: Jaroslav Kysela; +Cc: alsa-devel, Takashi Iwai, Karsten Wiese [-- Attachment #1: Type: text/plain, Size: 640 bytes --] Jaroslav Kysela wrote: > On Mon, 25 Oct 2004, Rui Nuno Capela wrote: > >> May I ask what's the status of this, wrt.including snd-usb-usx2y version >> 0.8.5 on the official alsa-kernel tree? > > Could you resend this patch? > Sure. On behalf of Karten's :) >>> Summary: Fixes crashes that occured when communicating over ohci usb-hcds. Work on this started, when rumors spread that ohci equipped machines would crash. This was due to me missing two facts: 1) Ohci has a bigger usb frame number wrap around. 2) It only supports URB_ISO_ASAP when submitting iso urbs. Fixed now. Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de> <<< [-- Attachment #2: snd-usb-usx2y.patch.0.8.5.bz2 --] [-- Type: application/octet-stream, Size: 9039 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: snd-usb-usx2y 0.8.5 against alsa-kernel cvshead: OHCI doesn't crash anymore 2004-10-26 9:13 ` Rui Nuno Capela @ 2004-10-26 9:53 ` Karsten Wiese 0 siblings, 0 replies; 16+ messages in thread From: Karsten Wiese @ 2004-10-26 9:53 UTC (permalink / raw) To: Jaroslav Kysela, Rui Nuno Capela; +Cc: alsa-devel, Takashi Iwai [-- Attachment #1: Type: text/plain, Size: 779 bytes --] Am Dienstag 26 Oktober 2004 11:13 schrieb Rui Nuno Capela: > Jaroslav Kysela wrote: > > On Mon, 25 Oct 2004, Rui Nuno Capela wrote: > >> May I ask what's the status of this, wrt.including snd-usb-usx2y version > >> 0.8.5 on the official alsa-kernel tree? > > > > Could you resend this patch? > > Sure. On behalf of Karten's :) attached 0.8.6 has on more bug fixed ;-) Karsten ************* Summary: Fixes crashes that occurred when communicating over ohci usb-hcds. Version: 0.8.6 Work on this started, when rumors spread that ohci equipped machines would crash. This was due to me missing two facts: 1) Ohci has a bigger usb frame number wrap around. 2) It only supports URB_ISO_ASAP when submitting iso urbs. Fixed. Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de> [-- Attachment #2: snd-usb-usx2y.patch.0.8.6.bz2 --] [-- Type: application/x-bzip2, Size: 9043 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2004-10-26 9:53 UTC | newest] Thread overview: 16+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2004-09-30 18:46 [PATCH]snd-usb-usx2y 0.8.0 against alsa-kernel cvshead: OHCI doesn't crash anymore Karsten Wiese 2004-10-01 13:50 ` Takashi Iwai 2004-10-01 16:28 ` Karsten Wiese 2004-10-01 17:34 ` Takashi Iwai 2004-10-02 22:38 ` [PATCH]snd-usb-usx2y 0.8.1 " Karsten Wiese 2004-10-04 16:22 ` Takashi Iwai 2004-10-18 12:06 ` Karsten Wiese 2004-10-19 13:33 ` Takashi Iwai 2004-10-20 0:28 ` Karsten Wiese 2004-10-20 9:35 ` Takashi Iwai 2004-10-21 18:21 ` Karsten Wiese 2004-10-25 22:10 ` snd-usb-usx2y 0.8.5 " Rui Nuno Capela 2004-10-26 8:15 ` Jaroslav Kysela 2004-10-26 9:11 ` karsten wiese 2004-10-26 9:13 ` Rui Nuno Capela 2004-10-26 9:53 ` Karsten Wiese
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox