* usb Duo no device ? using midisport-firmware
@ 2003-07-24 7:01 Matt Flax
2003-07-24 7:59 ` Clemens Ladisch
0 siblings, 1 reply; 5+ messages in thread
From: Matt Flax @ 2003-07-24 7:01 UTC (permalink / raw)
To: core sound
Hello,
I am having trouble with the usb driver for the M-Audio Duo usb
external sound card. I use kernel 2.4.21-2-686 on a Debian system.
alsa-driver-0.9.5
In order to do this I used Clemens Ladisch's midisport-firmware driver
:
http://www.informatik.uni-halle.de/~ladischc/midisport_linux_firmware.html
I get the following message in /var/log/syslog :
localhost kernel: ALSA usbaudio.c:686: cannot submit datapipe for urb 0,
err = -22
I disconnect and reconnect the device and get the following
/var/log/messages:
Jul 24 13:51:58 localhost kernel: usb.c: USB disconnect on device
00:03.0-1 address 3
Jul 24 13:52:05 localhost kernel: hub.c: new USB device 00:03.0-1,
assigned address 4
Jul 24 13:52:09 localhost kernel: usb_control/bulk_msg: timeout
Jul 24 13:52:09 localhost last message repeated 5 times
Jul 24 13:52:10 localhost usb.agent: ... no modules for USB product
763/2002/101
dmesg prints out the following :
usb.c: USB disconnect on device 00:03.0-1 address 3
hub.c: new USB device 00:03.0-1, assigned address 4
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 809 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 809 ret -12
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 9 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 18 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 809 ret -110
ALSA usbaudio.c:686: cannot submit datapipe for urb 0, err = -22
ALSA usbaudio.c:686: cannot submit datapipe for urb 0, err = -22
The last two lines are from trying aply with a wav file.
/etc/hotplug/usb/midisport_fw reads like so :
#!/bin/sh
# load the firmware into Midiman MidiSport devices
FIRMWARE=
FIRMWAREDIR=/usr/share/usb
FLAGS=
LOADER=/sbin/fxload
LOADERFIRMWARE=$FIRMWAREDIR/MidiSportLoader.ihx
case $PRODUCT in
763/1001/*)
FIRMWARE=$FIRMWAREDIR/MidiSport2x2.ihx
;;
763/1010/*)
FIRMWARE=$FIRMWAREDIR/MidiSport1x1.ihx
;;
763/1014/*)
FIRMWARE=$FIRMWAREDIR/MidiSportKS.ihx
;;
763/1020/*)
FIRMWARE=$FIRMWAREDIR/MidiSport4x4.ihx
;;
763/1031/110)
FIRMWARE=$FIRMWAREDIR/MidiSport8x8-2.10.ihx
;;
763/1031/121)
FIRMWARE=$FIRMWAREDIR/MidiSport8x8-2.21.ihx
;;
*)
if [ -x /usr/bin/logger ]; then
/usr/bin/logger -t $0 "unknown product $PRODUCT"
fi
exit 1
esac
# missing loader firmware?
if [ ! -r $LOADERFIRMWARE ]; then
if [ -x /usr/bin/logger ]; then
/usr/bin/logger -t $0 "missing $LOADERFIRMWARE ??"
fi
exit 1
fi
# missing firmware?
if [ ! -r $FIRMWARE ]; then
if [ -x /usr/bin/logger ]; then
/usr/bin/logger -t $0 "missing $FIRMWARE for $PRODUCT
??"
fi
exit 1
fi
# missing loader?
if [ ! -x $LOADER ]; then
if [ -x /usr/bin/logger ]; then
/usr/bin/logger -t $0 "missing $LOADER ??"
fi
exit 1
fi
if [ -x /usr/bin/logger ]; then
/usr/bin/logger -t $0 "load $FIRMWARE for $PRODUCT to $DEVICE"
fi
$LOADER $FLAGS -s $LOADERFIRMWARE -I $FIRMWARE
flatmax# ls /usr/share/usb/
MidiSport1x1.ihx MidiSport8x8-2.10.ihx MidiSportLoader.ihx
MidiSport2x2.ihx MidiSport8x8-2.21.ihx a3load.hex
MidiSport4x4.ihx MidiSportKS.ihx
Help requested !
thanks
Matt
--
http://mffm.ee.unsw.edu.au
WSOLA TimeScale Audio Mod : http://mffmtimescale.sourceforge.net/
FFTw C++ : http://mffmfftwrapper.sourceforge.net/
Vector Bass : http://mffmvectorbass.sourceforge.net/
Multimedia Time Code : http://mffmtimecode.sourceforge.net/
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: usb Duo no device ? using midisport-firmware
2003-07-24 7:01 usb Duo no device ? using midisport-firmware Matt Flax
@ 2003-07-24 7:59 ` Clemens Ladisch
2003-07-25 6:10 ` Matt Flax
2003-07-28 5:26 ` Matt Flax
0 siblings, 2 replies; 5+ messages in thread
From: Clemens Ladisch @ 2003-07-24 7:59 UTC (permalink / raw)
To: Matt Flax; +Cc: core sound
Matt Flax wrote:
> I am having trouble with the usb driver for the M-Audio Duo usb
> external sound card. I use kernel 2.4.21-2-686 on a Debian system.
> alsa-driver-0.9.5
>
> In order to do this I used Clemens Ladisch's midisport-firmware driver
You don't need this to use the Duo, the loader is for MIDI devices
only.
> I get the following message in /var/log/syslog :
> localhost kernel: ALSA usbaudio.c:686: cannot submit datapipe for urb 0,
> err = -22
>
> dmesg prints out the following :
> usb.c: USB disconnect on device 00:03.0-1 address 3
> hub.c: new USB device 00:03.0-1, assigned address 4
> usb_control/bulk_msg: timeout
> usb_control/bulk_msg: timeout
> usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 809 ret -110
> usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 809 ret -12
> usb_control/bulk_msg: timeout
> usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 9 ret -110
> usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 18 ret -110
> usb_control/bulk_msg: timeout
> usb_control/bulk_msg: timeout
> usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 18 ret -110
> usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 18 ret -110
> usb_control/bulk_msg: timeout
> usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 809 ret -110
> ALSA usbaudio.c:686: cannot submit datapipe for urb 0, err = -22
> ALSA usbaudio.c:686: cannot submit datapipe for urb 0, err = -22
>
> The last two lines are from trying aply with a wav file.
Please try to use the latest CVS version of ALSA, there have been some
fixes in the USB Audio driver.
If you're using the uhci driver, try usb-uhci instead.
HTH
Clemens
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: usb Duo no device ? using midisport-firmware
2003-07-24 7:59 ` Clemens Ladisch
@ 2003-07-25 6:10 ` Matt Flax
2003-07-25 9:05 ` Takashi Iwai
2003-07-28 5:26 ` Matt Flax
1 sibling, 1 reply; 5+ messages in thread
From: Matt Flax @ 2003-07-25 6:10 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: core sound
Hmmm,
Right you are. There is no midi !
I have to use the usb-ohci driver as I have a laptop with a SiS chipset.
I can't use the onboard sound card 'cause the chipset is not supported
properly. Its a SiS 7018 audio chip onboard.
>From this page you can see that the core logic are SiS M650+ SiS 962
chips :
http://www.clevo.com.tw/products/D400.asp
So back to the usb-audio ...
On Thu, Jul 24, 2003 at 09:59:00AM +0200, Clemens Ladisch wrote:
> Matt Flax wrote:
> > I am having trouble with the usb driver for the M-Audio Duo usb
> > external sound card. I use kernel 2.4.21-2-686 on a Debian system.
> > alsa-driver-0.9.5
> >
> > In order to do this I used Clemens Ladisch's midisport-firmware driver
>
> You don't need this to use the Duo, the loader is for MIDI devices
> only.
>
> > I get the following message in /var/log/syslog :
> > localhost kernel: ALSA usbaudio.c:686: cannot submit datapipe for urb 0,
> > err = -22
> >
> > dmesg prints out the following :
> > usb.c: USB disconnect on device 00:03.0-1 address 3
> > hub.c: new USB device 00:03.0-1, assigned address 4
> > usb_control/bulk_msg: timeout
> > usb_control/bulk_msg: timeout
> > usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 809 ret -110
> > usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 809 ret -12
> > usb_control/bulk_msg: timeout
> > usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 9 ret -110
> > usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 18 ret -110
> > usb_control/bulk_msg: timeout
> > usb_control/bulk_msg: timeout
> > usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 18 ret -110
> > usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 18 ret -110
> > usb_control/bulk_msg: timeout
> > usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 809 ret -110
> > ALSA usbaudio.c:686: cannot submit datapipe for urb 0, err = -22
> > ALSA usbaudio.c:686: cannot submit datapipe for urb 0, err = -22
> >
> > The last two lines are from trying aply with a wav file.
>
> Please try to use the latest CVS version of ALSA, there have been some
> fixes in the USB Audio driver.
>
> If you're using the uhci driver, try usb-uhci instead.
>
>
> HTH
> Clemens
>
--
http://mffm.ee.unsw.edu.au
WSOLA TimeScale Audio Mod : http://mffmtimescale.sourceforge.net/
FFTw C++ : http://mffmfftwrapper.sourceforge.net/
Vector Bass : http://mffmvectorbass.sourceforge.net/
Multimedia Time Code : http://mffmtimecode.sourceforge.net/
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: usb Duo no device ? using midisport-firmware
2003-07-25 6:10 ` Matt Flax
@ 2003-07-25 9:05 ` Takashi Iwai
0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2003-07-25 9:05 UTC (permalink / raw)
To: Matt Flax; +Cc: alsa-devel
At Fri, 25 Jul 2003 16:10:10 +1000,
Matt Flax wrote:
>
> Hmmm,
>
> Right you are. There is no midi !
>
> I have to use the usb-ohci driver as I have a laptop with a SiS chipset.
> I can't use the onboard sound card 'cause the chipset is not supported
> properly. Its a SiS 7018 audio chip onboard.
SIS7018 is supported by snd-trident driver.
did you try that?
Takashi
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: usb Duo no device ? using midisport-firmware
2003-07-24 7:59 ` Clemens Ladisch
2003-07-25 6:10 ` Matt Flax
@ 2003-07-28 5:26 ` Matt Flax
1 sibling, 0 replies; 5+ messages in thread
From: Matt Flax @ 2003-07-28 5:26 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: core sound
Hello again,
To continue on the debugging of the Duo with the SiS chipset.
I have now installed the CVS version of alsa.
once I load all of the modules, I get no errors.
When I try to play a sound, I get the following from dmesg :
ALSA usbaudio.c:686: cannot submit datapipe for urb 0, err = -22
I turn off the usb device and unload all of the alsa modules. I then
turn on the device and get the following :
usb.c: USB disconnect on device 00:03.0-1 address 3
usb.c: deregistering driver audio
usb.c: deregistering driver snd-usb-audio
hub.c: new USB device 00:03.0-1, assigned address 4
usb.c: USB device 4 (vend/prod 0x763/0x2002) is not claimed by any
active driver.
usb.c: registered new driver snd-usb-audio
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
All looks good.
I then try to aplayt a wav file and again get the following :
ALSA usbaudio.c:686: cannot submit datapipe for urb 0, err = -22
Which corresponds to the following block of code (usbaudio.c):
subs->running = 1;
for (i = 0; i < subs->nurbs; i++) {
if ((err = usb_submit_urb(subs->dataurb[i].urb,
GFP_KERNEL)) < 0) {
snd_printk(KERN_ERR "cannot submit datapipe for
urb %d, err = %d\n", i, err);
goto __error;
}
set_bit(i, &subs->active_mask);
}
Matt
On Thu, Jul 24, 2003 at 09:59:00AM +0200, Clemens Ladisch wrote:
> Matt Flax wrote:
> > I am having trouble with the usb driver for the M-Audio Duo usb
> > external sound card. I use kernel 2.4.21-2-686 on a Debian system.
> > alsa-driver-0.9.5
> >
> > In order to do this I used Clemens Ladisch's midisport-firmware driver
>
> You don't need this to use the Duo, the loader is for MIDI devices
> only.
>
> > I get the following message in /var/log/syslog :
> > localhost kernel: ALSA usbaudio.c:686: cannot submit datapipe for urb 0,
> > err = -22
> >
> > dmesg prints out the following :
> > usb.c: USB disconnect on device 00:03.0-1 address 3
> > hub.c: new USB device 00:03.0-1, assigned address 4
> > usb_control/bulk_msg: timeout
> > usb_control/bulk_msg: timeout
> > usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 809 ret -110
> > usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 809 ret -12
> > usb_control/bulk_msg: timeout
> > usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 9 ret -110
> > usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 18 ret -110
> > usb_control/bulk_msg: timeout
> > usb_control/bulk_msg: timeout
> > usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 18 ret -110
> > usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 18 ret -110
> > usb_control/bulk_msg: timeout
> > usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 809 ret -110
> > ALSA usbaudio.c:686: cannot submit datapipe for urb 0, err = -22
> > ALSA usbaudio.c:686: cannot submit datapipe for urb 0, err = -22
> >
> > The last two lines are from trying aply with a wav file.
>
> Please try to use the latest CVS version of ALSA, there have been some
> fixes in the USB Audio driver.
>
> If you're using the uhci driver, try usb-uhci instead.
>
>
> HTH
> Clemens
>
--
http://mffm.ee.unsw.edu.au
WSOLA TimeScale Audio Mod : http://mffmtimescale.sourceforge.net/
FFTw C++ : http://mffmfftwrapper.sourceforge.net/
Vector Bass : http://mffmvectorbass.sourceforge.net/
Multimedia Time Code : http://mffmtimecode.sourceforge.net/
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-07-28 4:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-24 7:01 usb Duo no device ? using midisport-firmware Matt Flax
2003-07-24 7:59 ` Clemens Ladisch
2003-07-25 6:10 ` Matt Flax
2003-07-25 9:05 ` Takashi Iwai
2003-07-28 5:26 ` Matt Flax
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.