* [PATCH]snd-usb-usx2y 0.7.1 against cvs head: please test it!
@ 2004-07-13 9:55 Karsten Wiese
2004-07-13 16:21 ` Takashi Iwai
2004-07-13 20:06 ` [PATCH]snd-usb-usx2y " Martin Langer
0 siblings, 2 replies; 15+ messages in thread
From: Karsten Wiese @ 2004-07-13 9:55 UTC (permalink / raw)
To: Martin Langer, Werner Schweer, Rui Nuno Capela; +Cc: alsa-devel, Takashi Iwai
[-- Attachment #1: Type: text/plain, Size: 351 bytes --]
Hi,
this module version sports "no sleeping" in ALSA's pcm START/STOP callbacks.
It could need a little more testing, as the changes are many.
Here it works well with kernels "planet CCRMA's 2.4.26" and "vanilla 2.6.7 all
debug flags I found enabled".
Thanks & regards,
Karsten
P.S.: Please ignore the previously postet "[PATCH]snd-usb-usx2y 0.7"
[-- Attachment #2: snd-usb-usx2y.patch.0.7.1.tar.bz2 --]
[-- Type: application/x-tbz, Size: 9269 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH]snd-usb-usx2y 0.7.1 against cvs head: please test it!
2004-07-13 9:55 [PATCH]snd-usb-usx2y 0.7.1 against cvs head: please test it! Karsten Wiese
@ 2004-07-13 16:21 ` Takashi Iwai
2004-07-13 22:12 ` Rui Nuno Capela
2004-07-13 20:06 ` [PATCH]snd-usb-usx2y " Martin Langer
1 sibling, 1 reply; 15+ messages in thread
From: Takashi Iwai @ 2004-07-13 16:21 UTC (permalink / raw)
To: Karsten Wiese; +Cc: Martin Langer, Werner Schweer, Rui Nuno Capela, alsa-devel
At Tue, 13 Jul 2004 11:55:43 +0200,
Karsten Wiese wrote:
>
> Hi,
>
> this module version sports "no sleeping" in ALSA's pcm START/STOP callbacks.
> It could need a little more testing, as the changes are many.
> Here it works well with kernels "planet CCRMA's 2.4.26" and "vanilla 2.6.7 all
> debug flags I found enabled".
Applied to cvs. Thanks.
Takashi
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH]snd-usb-usx2y 0.7.1 against cvs head: please test it!
2004-07-13 9:55 [PATCH]snd-usb-usx2y 0.7.1 against cvs head: please test it! Karsten Wiese
2004-07-13 16:21 ` Takashi Iwai
@ 2004-07-13 20:06 ` Martin Langer
1 sibling, 0 replies; 15+ messages in thread
From: Martin Langer @ 2004-07-13 20:06 UTC (permalink / raw)
To: Karsten Wiese; +Cc: Werner Schweer, Rui Nuno Capela, alsa-devel, Takashi Iwai
On Tue, Jul 13, 2004 at 11:55:43AM +0200, Karsten Wiese wrote:
> Hi,
>
> this module version sports "no sleeping" in ALSA's pcm START/STOP callbacks.
> It could need a little more testing, as the changes are many.
> Here it works well with kernels "planet CCRMA's 2.4.26" and "vanilla 2.6.7 all
> debug flags I found enabled".
No problems on debian with 2.4.25-rc1 using an us122 :)
martin
--
Living on earth may be expensive,
but it includes an annual free trip around the sun.
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH]snd-usb-usx2y 0.7.1 against cvs head: please test it!
2004-07-13 16:21 ` Takashi Iwai
@ 2004-07-13 22:12 ` Rui Nuno Capela
2004-07-14 8:52 ` Takashi Iwai
0 siblings, 1 reply; 15+ messages in thread
From: Rui Nuno Capela @ 2004-07-13 22:12 UTC (permalink / raw)
To: alsa-devel; +Cc: Karsten Wiese, Martin Langer, Werner Schweer, Takashi Iwai
Karsten Wiese wrote:
> Hi,
> this module version sports "no sleeping" in ALSA's pcm START/STOP
> callbacks.
> It could need a little more testing, as the changes are many.
> Here it works well with kernels "planet CCRMA's 2.4.26" and "vanilla
> 2.6.7 all debug flags I found enabled".
Just built from cvs against a custom 2.6.7-cko6 kernel on a SUSE 9.1
SMP/HT box, and assured that the patch is already applied.
Erm... I get the following while modprobing snd-usb-usx2y:
WARNING: Error inserting snd_hwdep
(/lib/modules/2.6.7-cko6.0smp/kernel/sound/acore/snd-hwdep.ko): Unknown
symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_usb_usx2y
(/lib/modules/2.6.7-cko6.0smp/kernel/sound/snd-usb-usx2y.ko): Unknown
symbol in module, or unknown parameter (see dmesg)
Then the relevant dmesg says:
snd_hwdep: Unknown symbol snd_kcalloc
snd_usb_usx2y: Unknown symbol snd_hwdep_new
So I guess something went wrong on my snd-usb-usx2y build. OTOH, the
onboard snd-intel8x0 based is loaded and working without a glitch.
So, too pity I can't get my us224 onto the testing right now.
Any ideas?
--
rncbc aka Rui Nuno Capela
rncbc@rncbc.org
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH]snd-usb-usx2y 0.7.1 against cvs head: please test it!
2004-07-13 22:12 ` Rui Nuno Capela
@ 2004-07-14 8:52 ` Takashi Iwai
2004-07-14 11:37 ` Rui Nuno Capela
0 siblings, 1 reply; 15+ messages in thread
From: Takashi Iwai @ 2004-07-14 8:52 UTC (permalink / raw)
To: Rui Nuno Capela; +Cc: alsa-devel, Karsten Wiese, Martin Langer, Werner Schweer
At Tue, 13 Jul 2004 23:12:26 +0100 (WEST),
Rui Nuno Capela wrote:
>
> Karsten Wiese wrote:
> > Hi,
> > this module version sports "no sleeping" in ALSA's pcm START/STOP
> > callbacks.
> > It could need a little more testing, as the changes are many.
> > Here it works well with kernels "planet CCRMA's 2.4.26" and "vanilla
> > 2.6.7 all debug flags I found enabled".
>
> Just built from cvs against a custom 2.6.7-cko6 kernel on a SUSE 9.1
> SMP/HT box, and assured that the patch is already applied.
>
> Erm... I get the following while modprobing snd-usb-usx2y:
>
> WARNING: Error inserting snd_hwdep
> (/lib/modules/2.6.7-cko6.0smp/kernel/sound/acore/snd-hwdep.ko): Unknown
> symbol in module, or unknown parameter (see dmesg)
> FATAL: Error inserting snd_usb_usx2y
> (/lib/modules/2.6.7-cko6.0smp/kernel/sound/snd-usb-usx2y.ko): Unknown
> symbol in module, or unknown parameter (see dmesg)
>
> Then the relevant dmesg says:
>
> snd_hwdep: Unknown symbol snd_kcalloc
> snd_usb_usx2y: Unknown symbol snd_hwdep_new
Did you run cvscompile? configure script must be regenerated.
Takashi
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH]snd-usb-usx2y 0.7.1 against cvs head: please test it!
2004-07-14 8:52 ` Takashi Iwai
@ 2004-07-14 11:37 ` Rui Nuno Capela
2004-07-14 15:05 ` Takashi Iwai
0 siblings, 1 reply; 15+ messages in thread
From: Rui Nuno Capela @ 2004-07-14 11:37 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel, Karsten Wiese, Martin Langer, Werner Schweer
Takashi Iwai wrote:
> Rui Nuno Capela wrote:
>>
>> Erm... I get the following while modprobing snd-usb-usx2y:
>>
>> WARNING: Error inserting snd_hwdep
>> (/lib/modules/2.6.7-cko6.0smp/kernel/sound/acore/snd-hwdep.ko): Unknown
>> symbol in module, or unknown parameter (see dmesg)
>> FATAL: Error inserting snd_usb_usx2y
>> (/lib/modules/2.6.7-cko6.0smp/kernel/sound/snd-usb-usx2y.ko): Unknown
>> symbol in module, or unknown parameter (see dmesg)
>>
>> Then the relevant dmesg says:
>>
>> snd_hwdep: Unknown symbol snd_kcalloc
>> snd_usb_usx2y: Unknown symbol snd_hwdep_new
>
> Did you run cvscompile? configure script must be regenerated.
>
>
Yes, I've ran ./cvscompile. My steps were just the following:
cvs co alsa-kernel
cvs co alsa-driver
cd alsa-driver
export ALSAKERNELDIR=../alsa-kernel
./cvscompile
su -c "make install"
Something wrong?
--
rncbc aka Rui Nuno Capela
rncbc@rncbc.org
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH]snd-usb-usx2y 0.7.1 against cvs head: please test it!
2004-07-14 11:37 ` Rui Nuno Capela
@ 2004-07-14 15:05 ` Takashi Iwai
2004-07-14 15:33 ` Martin Langer
2004-07-14 16:46 ` snd-usb-usx2y " Werner Schweer
0 siblings, 2 replies; 15+ messages in thread
From: Takashi Iwai @ 2004-07-14 15:05 UTC (permalink / raw)
To: Rui Nuno Capela; +Cc: alsa-devel, Karsten Wiese, Martin Langer, Werner Schweer
At Wed, 14 Jul 2004 12:37:55 +0100 (WEST),
Rui Nuno Capela wrote:
>
> Takashi Iwai wrote:
> > Rui Nuno Capela wrote:
> >>
> >> Erm... I get the following while modprobing snd-usb-usx2y:
> >>
> >> WARNING: Error inserting snd_hwdep
> >> (/lib/modules/2.6.7-cko6.0smp/kernel/sound/acore/snd-hwdep.ko): Unknown
> >> symbol in module, or unknown parameter (see dmesg)
> >> FATAL: Error inserting snd_usb_usx2y
> >> (/lib/modules/2.6.7-cko6.0smp/kernel/sound/snd-usb-usx2y.ko): Unknown
> >> symbol in module, or unknown parameter (see dmesg)
> >>
> >> Then the relevant dmesg says:
> >>
> >> snd_hwdep: Unknown symbol snd_kcalloc
> >> snd_usb_usx2y: Unknown symbol snd_hwdep_new
> >
> > Did you run cvscompile? configure script must be regenerated.
> >
> >
>
> Yes, I've ran ./cvscompile. My steps were just the following:
>
> cvs co alsa-kernel
> cvs co alsa-driver
> cd alsa-driver
> export ALSAKERNELDIR=../alsa-kernel
> ./cvscompile
> su -c "make install"
>
> Something wrong?
Should be ok.
snd_kcalloc() is an obsolete function which was replaced recently with
kcalloc(). I guess the modules are not installed correctly, or the
detection of the kernel verion was wrong.
Takashi
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH]snd-usb-usx2y 0.7.1 against cvs head: please test it!
2004-07-14 15:05 ` Takashi Iwai
@ 2004-07-14 15:33 ` Martin Langer
2004-07-14 21:23 ` Rui Nuno Capela
2004-07-14 16:46 ` snd-usb-usx2y " Werner Schweer
1 sibling, 1 reply; 15+ messages in thread
From: Martin Langer @ 2004-07-14 15:33 UTC (permalink / raw)
To: Takashi Iwai; +Cc: rncbc, alsa-devel, annabellesgarden, ws
> At Wed, 14 Jul 2004 12:37:55 +0100 (WEST),
> Rui Nuno Capela wrote:
> >
> > Takashi Iwai wrote:
> > > Rui Nuno Capela wrote:
> > >>
> > >> Erm... I get the following while modprobing snd-usb-usx2y:
> > >>
> > >> WARNING: Error inserting snd_hwdep
> > >> (/lib/modules/2.6.7-cko6.0smp/kernel/sound/acore/snd-hwdep.ko):
> Unknown
> > >> symbol in module, or unknown parameter (see dmesg)
> > >> FATAL: Error inserting snd_usb_usx2y
> > >> (/lib/modules/2.6.7-cko6.0smp/kernel/sound/snd-usb-usx2y.ko): Unknown
> > >> symbol in module, or unknown parameter (see dmesg)
> > >>
> > >> Then the relevant dmesg says:
> > >>
> > >> snd_hwdep: Unknown symbol snd_kcalloc
> > >> snd_usb_usx2y: Unknown symbol snd_hwdep_new
> > >
> > > Did you run cvscompile? configure script must be regenerated.
> > >
> > >
> >
> > Yes, I've ran ./cvscompile. My steps were just the following:
> >
> > cvs co alsa-kernel
> > cvs co alsa-driver
> > cd alsa-driver
> > export ALSAKERNELDIR=../alsa-kernel
> > ./cvscompile
> > su -c "make install"
> >
> > Something wrong?
>
> Should be ok.
>
> snd_kcalloc() is an obsolete function which was replaced recently with
> kcalloc(). I guess the modules are not installed correctly, or the
> detection of the kernel verion was wrong.
>
Checkout alsa-tools and rebuild your usx2yloader
martin
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
^ permalink raw reply [flat|nested] 15+ messages in thread
* snd-usb-usx2y 0.7.1 against cvs head: please test it!
2004-07-14 15:05 ` Takashi Iwai
2004-07-14 15:33 ` Martin Langer
@ 2004-07-14 16:46 ` Werner Schweer
2004-07-14 17:19 ` Karsten Wiese
1 sibling, 1 reply; 15+ messages in thread
From: Werner Schweer @ 2004-07-14 16:46 UTC (permalink / raw)
To: alsa-devel; +Cc: Takash Karsten Wiese, Martin Langer
testing on 2.6.7-bk20 i get the following message when starting
JACK:
ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken
pipe
could not start playback (Broken pipe)
jackd watchdog: timeout - killing jackd
the system log says:
Jul 14 18:40:53 t10 vmunix:
ALSA /home/ws/projects/alsa/alsa-driver/kbuild/../usb/usx2y/usbusx2yaudio.c:246:
-28
Jul 14 18:40:53 t10 vmunix:
ALSA /home/ws/projects/alsa/alsa-driver/kbuild/../usb/usx2y/usbusx2yaudio.c:347:
Sequence Error!(ep=10;nuc=1,frame=860)
Jul 14 18:40:53 t10 vmunix:
ALSA /home/ws/projects/alsa/alsa-driver/kbuild/../usb/usx2y/usbusx2yaudio.c:347:
Sequence Error!(ep=8;nuc=1,frame=860)
/werner
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: snd-usb-usx2y 0.7.1 against cvs head: please test it!
2004-07-14 16:46 ` snd-usb-usx2y " Werner Schweer
@ 2004-07-14 17:19 ` Karsten Wiese
2004-07-14 17:41 ` Werner Schweer
0 siblings, 1 reply; 15+ messages in thread
From: Karsten Wiese @ 2004-07-14 17:19 UTC (permalink / raw)
To: Werner Schweer; +Cc: alsa-devel
> testing on 2.6.7-bk20 i get the following message when starting
> JACK:
>
> ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed:
> Broken pipe
> could not start playback (Broken pipe)
> jackd watchdog: timeout - killing jackd
>
> the system log says:
>
> Jul 14 18:40:53 t10 vmunix:
> ALSA
> /home/ws/projects/alsa/alsa-driver/kbuild/../usb/usx2y/usbusx2yaudio.c:246:
> -28
#define ENOSPC 28 /* No space left on device */
If you didn't try yet,
please start Jack with the -S alsa driver option to use 16bit format.
Using 24bit on kernels with "uhci debugging" I get lots of dmesg warnings
complaining about overusing the usb - bandwidth although everything works
fine. Using 16bit the kernel doesn't complain.
Maybe usb bandwidth checks are broken?
> Jul 14 18:40:53 t10 vmunix:
> ALSA
> /home/ws/projects/alsa/alsa-driver/kbuild/../usb/usx2y/usbusx2yaudio.c:347:
> Sequence Error!(ep=10;nuc=1,frame=860)
> Jul 14 18:40:53 t10 vmunix:
> ALSA
> /home/ws/projects/alsa/alsa-driver/kbuild/../usb/usx2y/usbusx2yaudio.c:347:
> Sequence Error!(ep=8;nuc=1,frame=860)
>
> /werner
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: snd-usb-usx2y 0.7.1 against cvs head: please test it!
2004-07-14 17:19 ` Karsten Wiese
@ 2004-07-14 17:41 ` Werner Schweer
2004-07-14 18:34 ` Werner Schweer
0 siblings, 1 reply; 15+ messages in thread
From: Werner Schweer @ 2004-07-14 17:41 UTC (permalink / raw)
To: Karsten Wiese; +Cc: alsa-devel
On Wednesday 14 July 2004 19:19, Karsten Wiese wrote:
> > testing on 2.6.7-bk20 i get the following message when starting
> > JACK:
> >
> > ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed:
> > Broken pipe
> > could not start playback (Broken pipe)
> > jackd watchdog: timeout - killing jackd
> >
> > the system log says:
> >
> > Jul 14 18:40:53 t10 vmunix:
> > ALSA
> > /home/ws/projects/alsa/alsa-driver/kbuild/../usb/usx2y/usbusx2yaudio.c:24
> >6: -28
>
> #define ENOSPC 28 /* No space left on device */
>
> If you didn't try yet,
> please start Jack with the -S alsa driver option to use 16bit format.
> Using 24bit on kernels with "uhci debugging" I get lots of dmesg warnings
> complaining about overusing the usb - bandwidth although everything works
> fine. Using 16bit the kernel doesn't complain.
> Maybe usb bandwidth checks are broken?
>
> > Jul 14 18:40:53 t10 vmunix:
> > ALSA
> > /home/ws/projects/alsa/alsa-driver/kbuild/../usb/usx2y/usbusx2yaudio.c:34
> >7: Sequence Error!(ep=10;nuc=1,frame=860)
> > Jul 14 18:40:53 t10 vmunix:
> > ALSA
> > /home/ws/projects/alsa/alsa-driver/kbuild/../usb/usx2y/usbusx2yaudio.c:34
> >7: Sequence Error!(ep=8;nuc=1,frame=860)
starting jackd with -S (force 16bit format) works!
/werner
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: snd-usb-usx2y 0.7.1 against cvs head: please test it!
2004-07-14 17:41 ` Werner Schweer
@ 2004-07-14 18:34 ` Werner Schweer
2004-07-15 8:53 ` Karsten Wiese
0 siblings, 1 reply; 15+ messages in thread
From: Werner Schweer @ 2004-07-14 18:34 UTC (permalink / raw)
To: Karsten Wiese; +Cc: alsa-devel
On Wednesday 14 July 2004 19:41, Werner Schweer wrote:
> On Wednesday 14 July 2004 19:19, Karsten Wiese wrote:
> > > testing on 2.6.7-bk20 i get the following message when starting
> > > JACK:
> > >
> > > ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed:
> > > Broken pipe
> > > could not start playback (Broken pipe)
> > > jackd watchdog: timeout - killing jackd
> > >
> > > the system log says:
> > >
> > > Jul 14 18:40:53 t10 vmunix:
> > > ALSA
> > > /home/ws/projects/alsa/alsa-driver/kbuild/../usb/usx2y/usbusx2yaudio.c:
> > >24 6: -28
> >
> > #define ENOSPC 28 /* No space left on device */
> >
> > If you didn't try yet,
> > please start Jack with the -S alsa driver option to use 16bit format.
> > Using 24bit on kernels with "uhci debugging" I get lots of dmesg warnings
> > complaining about overusing the usb - bandwidth although everything works
> > fine. Using 16bit the kernel doesn't complain.
> > Maybe usb bandwidth checks are broken?
> >
> > > Jul 14 18:40:53 t10 vmunix:
> > > ALSA
> > > /home/ws/projects/alsa/alsa-driver/kbuild/../usb/usx2y/usbusx2yaudio.c:
> > >34 7: Sequence Error!(ep=10;nuc=1,frame=860)
> > > Jul 14 18:40:53 t10 vmunix:
> > > ALSA
> > > /home/ws/projects/alsa/alsa-driver/kbuild/../usb/usx2y/usbusx2yaudio.c:
> > >34 7: Sequence Error!(ep=8;nuc=1,frame=860)
>
> starting jackd with -S (force 16bit format) works!
>
but only for about 20 minutes, then jackd dies with same error, same
system error message :-(
/werner
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH]snd-usb-usx2y 0.7.1 against cvs head: please test it!
2004-07-14 15:33 ` Martin Langer
@ 2004-07-14 21:23 ` Rui Nuno Capela
0 siblings, 0 replies; 15+ messages in thread
From: Rui Nuno Capela @ 2004-07-14 21:23 UTC (permalink / raw)
To: Martin Langer; +Cc: Takashi Iwai, alsa-devel, annabellesgarden, ws
> Martin Langer wrote:
>> Rui Nuno Capela wrote:
>>> Takashi Iwai wrote:
>>>> Rui Nuno Capela wrote:
>>>>>
>>>>> Erm... I get the following while modprobing snd-usb-usx2y:
>>>>>
>>>>> WARNING: Error inserting snd_hwdep
>>>>> (/lib/modules/2.6.7-cko6.0smp/kernel/sound/acore/snd-hwdep.ko):
>>>>> Unknown symbol in module, or unknown parameter (see dmesg)
>>>>> FATAL: Error inserting snd_usb_usx2y
>>>>> (/lib/modules/2.6.7-cko6.0smp/kernel/sound/snd-usb-usx2y.ko):
>>>>> Unknown symbol in module, or unknown parameter (see dmesg)
>>>>>
>>>>> Then the relevant dmesg says:
>>>>>
>>>>> snd_hwdep: Unknown symbol snd_kcalloc
>>>>> snd_usb_usx2y: Unknown symbol snd_hwdep_new
>>>>
>>>> Did you run cvscompile? configure script must be regenerated.
>>>>
>>>>
>>>
>>> Yes, I've ran ./cvscompile. My steps were just the following:
>>>
>>> cvs co alsa-kernel
>>> cvs co alsa-driver
>>> cd alsa-driver
>>> export ALSAKERNELDIR=../alsa-kernel
>>> ./cvscompile
>>> su -c "make install"
>>>
>>> Something wrong?
>>
>> Should be ok.
>>
>> snd_kcalloc() is an obsolete function which was replaced recently with
>> kcalloc(). I guess the modules are not installed correctly, or the
>> detection of the kernel verion was wrong.
>>
>
> Checkout alsa-tools and rebuild your usx2yloader
>
OK. It was something I've screwed up. A second 'make install' and
everything is up and running on my US-224, at least as it was before.
JACK seems to work fine, and MIDI also gets it thru. So chalk one for
US-224 and 2.6.7-cko6.
Anything I should check deeper?
--
rncbc aka Rui Nuno Capela
rncbc@rncbc.org
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: snd-usb-usx2y 0.7.1 against cvs head: please test it!
2004-07-14 18:34 ` Werner Schweer
@ 2004-07-15 8:53 ` Karsten Wiese
2004-07-15 21:16 ` Werner Schweer
0 siblings, 1 reply; 15+ messages in thread
From: Karsten Wiese @ 2004-07-15 8:53 UTC (permalink / raw)
To: Werner Schweer; +Cc: alsa-devel
Am Mittwoch 14 Juli 2004 20:34 schrieb Werner Schweer:
> On Wednesday 14 July 2004 19:41, Werner Schweer wrote:
> > On Wednesday 14 July 2004 19:19, Karsten Wiese wrote:
> > > > testing on 2.6.7-bk20 i get the following message when starting
> > > > JACK:
> > > >
> > > > ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START
> > > > failed: Broken pipe
> > > > could not start playback (Broken pipe)
> > > > jackd watchdog: timeout - killing jackd
> > > >
> > > > the system log says:
> > > >
> > > > Jul 14 18:40:53 t10 vmunix:
> > > > ALSA
> > > > /home/ws/projects/alsa/alsa-driver/kbuild/../usb/usx2y/usbusx2yaudio.
> > > >c: 24 6: -28
> > >
> > > #define ENOSPC 28 /* No space left on device */
> > >
> > > If you didn't try yet,
> > > please start Jack with the -S alsa driver option to use 16bit format.
> > > Using 24bit on kernels with "uhci debugging" I get lots of dmesg
> > > warnings complaining about overusing the usb - bandwidth although
> > > everything works fine. Using 16bit the kernel doesn't complain.
> > > Maybe usb bandwidth checks are broken?
> > >
> > > > Jul 14 18:40:53 t10 vmunix:
> > > > ALSA
> > > > /home/ws/projects/alsa/alsa-driver/kbuild/../usb/usx2y/usbusx2yaudio.
> > > >c: 34 7: Sequence Error!(ep=10;nuc=1,frame=860)
> > > > Jul 14 18:40:53 t10 vmunix:
> > > > ALSA
> > > > /home/ws/projects/alsa/alsa-driver/kbuild/../usb/usx2y/usbusx2yaudio.
> > > >c: 34 7: Sequence Error!(ep=8;nuc=1,frame=860)
> >
> > starting jackd with -S (force 16bit format) works!
>
> but only for about 20 minutes, then jackd dies with same error, same
> system error message :-(
if your kernel is currently configured with CONFIG_USB_BANDWIDTH=y
(and you like to spend some more time testing):
Please recompile the kernel without that option and retry.
the relevant part of the .config would look like:
>>>>>>
#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
<<<<<<
karsten
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: snd-usb-usx2y 0.7.1 against cvs head: please test it!
2004-07-15 8:53 ` Karsten Wiese
@ 2004-07-15 21:16 ` Werner Schweer
0 siblings, 0 replies; 15+ messages in thread
From: Werner Schweer @ 2004-07-15 21:16 UTC (permalink / raw)
To: alsa-devel; +Cc: Karsten Wiese
On Thursday 15 July 2004 10:53, Karsten Wiese wrote:
> Am Mittwoch 14 Juli 2004 20:34 schrieb Werner Schweer:
> > On Wednesday 14 July 2004 19:41, Werner Schweer wrote:
> > > On Wednesday 14 July 2004 19:19, Karsten Wiese wrote:
...
> > > > > /home/ws/projects/alsa/alsa-driver/kbuild/../usb/usx2y/usbusx2yaudi
> > > > >o. c: 34 7: Sequence Error!(ep=8;nuc=1,frame=860)
> > >
> > > starting jackd with -S (force 16bit format) works!
> >
> > but only for about 20 minutes, then jackd dies with same error, same
> > system error message :-(
>
> if your kernel is currently configured with CONFIG_USB_BANDWIDTH=y
> (and you like to spend some more time testing):
> Please recompile the kernel without that option and retry.
> the relevant part of the .config would look like:
>
> #
> # Miscellaneous USB options
> #
> CONFIG_USB_DEVICEFS=y
> # CONFIG_USB_BANDWIDTH is not set
> # CONFIG_USB_DYNAMIC_MINORS is not set
> <<<<<<
>
> karsten
without USB_BANDWIDTH enabled all works fine now! I tested JACK with
period size 144 / 2 buffers / 24 samples and it now works very stable.
/werner
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2004-07-15 21:16 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-13 9:55 [PATCH]snd-usb-usx2y 0.7.1 against cvs head: please test it! Karsten Wiese
2004-07-13 16:21 ` Takashi Iwai
2004-07-13 22:12 ` Rui Nuno Capela
2004-07-14 8:52 ` Takashi Iwai
2004-07-14 11:37 ` Rui Nuno Capela
2004-07-14 15:05 ` Takashi Iwai
2004-07-14 15:33 ` Martin Langer
2004-07-14 21:23 ` Rui Nuno Capela
2004-07-14 16:46 ` snd-usb-usx2y " Werner Schweer
2004-07-14 17:19 ` Karsten Wiese
2004-07-14 17:41 ` Werner Schweer
2004-07-14 18:34 ` Werner Schweer
2004-07-15 8:53 ` Karsten Wiese
2004-07-15 21:16 ` Werner Schweer
2004-07-13 20:06 ` [PATCH]snd-usb-usx2y " Martin Langer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.