Cargadores firmware para tarjetas USB M-Audio

  • 2
wynton
#16 por wynton el 31/05/2007
aransolo @ 29 May 2007 - 11:07 PM escribió:

cannot read device status, Operation not permitted (1)


Hola,

soy nuevo en el foro. Me he registrado porque justo este tema me interesa mucho.

A la vista de la salida de lsusb y de esta linea, se me ocurre preguntar una obviedad pero que a lo mejor es lo que pasa: ¿Estás ejecutando el programa como usuario "root"?
Por lo que parece no tienes permiso para acceder a leer el estado de este recurso.
Tal cual viene programado este cargador, parece ser que funciona con udev de modo automático. En teoría debería ser pinchar y se cargaría el firmware.

Suerte.
Subir
OFERTASVer todas
  • -21%
    Zoom H4n Pro Black
    158 €
    Ver oferta
  • -26%
    AKAI MPC Key 61
    1.290 €
    Ver oferta
  • -8%
    Behringer X Air XR18
    645 €
    Ver oferta
aransolo
#17 por aransolo el 01/06/2007
Gracias wynton. Es una idea.
En cuanto tenga un ratito voy a repetir todo el proceso como root a ver que pasa.
Mucha paz.
Subir
aransolo
#18 por aransolo el 01/06/2007
Bueno. Aquí resumo el proceso entero. Como root.
Alguien escribió:

root@aransolo-laptop:~/madfuload-1.2# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for udev version... 108
checking for /etc/udev/udev.conf... yes
checking for udev rules directory... not found; assuming /etc/udev/rules.d
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
root@aransolo-laptop:~/madfuload-1.2# make
rm -f 42-madfuload.rules 42-madfuload.rules.tmp
sed -e 's,@firmwaredir\@,/usr/local/share/usb/maudio,g' \
-e 's,@sbindir\@,/usr/local/sbin,g' \
./42-madfuload.rules.in >42-madfuload.rules.tmp
mv 42-madfuload.rules.tmp 42-madfuload.rules
rm -f files.list
for i in madfuload; do \
echo "/usr/local/sbin/$i"; \
done >> files.list
for i in 42-madfuload.rules; do \
echo "/etc/udev/rules.d/$i"; \
done >> files.list
for i in ma003101.bin ma004103.bin ma005101.bin ma006100.bin ma008100.bin; do \
echo "/usr/local/share/usb/maudio/$i"; \
done >> files.list
root@aransolo-laptop:~/madfuload-1.2# make install
make[1]: se ingresa al directorio `/home/aransolo/madfuload-1.2'
test -z "/usr/local/sbin" || mkdir -p -- . "/usr/local/sbin"
/usr/bin/install -c 'madfuload' '/usr/local/sbin/madfuload'
test -z "/usr/local/share/usb/maudio" || mkdir -p -- . "/usr/local/share/usb/maudio"
/usr/bin/install -c -m 644 'ma003101.bin' '/usr/local/share/usb/maudio/ma003101.bin'
/usr/bin/install -c -m 644 'ma004103.bin' '/usr/local/share/usb/maudio/ma004103.bin'
/usr/bin/install -c -m 644 'ma005101.bin' '/usr/local/share/usb/maudio/ma005101.bin'
/usr/bin/install -c -m 644 'ma006100.bin' '/usr/local/share/usb/maudio/ma006100.bin'
/usr/bin/install -c -m 644 'ma008100.bin' '/usr/local/share/usb/maudio/ma008100.bin'
test -z "/etc/udev/rules.d" || mkdir -p -- . "/etc/udev/rules.d"
/usr/bin/install -c -m 644 '42-madfuload.rules' '/etc/udev/rules.d/42-madfuload.rules'
make[1]: se sale del directorio `/home/aransolo/madfuload-1.2'
root@aransolo-laptop:~/madfuload-1.2# lsusb -v
Bus 005 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.20-16-lowlatency ehci_hcd
iProduct 2 EHCI Host Controller
iSerial 1 0000:00:1d.7
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 11
bDescriptorType 41
nNbrPorts 8
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00 0x00
PortPwrCtrlMask 0xff 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0000
Port 3: 0000.0000
Port 4: 0000.0100 power
Port 5: 0000.0100 power
Port 6: 0000.0100 power
Port 7: 0000.0100 power
Port 8: 0000.0100 power
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled

Bus 001 Device 003: ID 0763:2808 Midiman
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 254 Application Specific Interface
bDeviceSubClass 1 Device Firmware Update
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0763 Midiman
idProduct 0x2808
bcdDevice 1.00
iManufacturer 1 Unknown
iProduct 2 Unknown
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x40
(Missing must-be-set bit!)
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 254 Application Specific Interface
bInterfaceSubClass 1 Device Firmware Update
bInterfaceProtocol 0
iInterface 3 RAM
Device Status: 0x0000
(Bus Powered)

Bus 001 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed hub
bMaxPacketSize0 64
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.20-16-lowlatency uhci_hcd
iProduct 2 UHCI Host Controller
iSerial 1 0000:00:1d.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0103 power enable connect
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled

Bus 004 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed hub
bMaxPacketSize0 64
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.20-16-lowlatency uhci_hcd
iProduct 2 UHCI Host Controller
iSerial 1 0000:00:1d.3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled

Bus 003 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed hub
bMaxPacketSize0 64
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.20-16-lowlatency uhci_hcd
iProduct 2 UHCI Host Controller
iSerial 1 0000:00:1d.2
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled

Bus 002 Device 003: ID 1241:1177 Belkin F8E842-DL Mouse
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x1241 Belkin
idProduct 0x1177 F8E842-DL Mouse
bcdDevice 2.70
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 52
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)

Bus 002 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed hub
bMaxPacketSize0 64
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.20-16-lowlatency uhci_hcd
iProduct 2 UHCI Host Controller
iSerial 1 0000:00:1d.1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0303 lowspeed power enable connect
Port 2: 0000.0100 power
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled
root@aransolo-laptop:~/madfuload-1.2# cd
root@aransolo-laptop:~# cd /usr/local/share/usb/maudio

root@aransolo-laptop:/usr/local/share/usb/maudio# madfuload -D /proc/bus/USB/001/003 -f ma005101.bin -v -v -3
ma005101.bin: 5959 bytes read successfully
cannot open /proc/bus/USB/001/003: No such file or directory


He estado pensando que cuando el windows me reconocía el teclado, distinguía varios dispositivos USB, un dispositivo MIDI, una tarjeta de sonido externa. De hecho el M-audio Ozone tiene esa característica. Es controlador MIDI y tarjeta de sonido en uno. Podría esto influir?

Aquí divagando :-k

Paz
Subir
aransolo
#19 por aransolo el 04/06/2007
Sigo en ello.
He instalado la versión anterior del firmware y he descubierto que el fichero auxiliar .bin que corresponde a la M-audio ozone es el ma008100.bin en lugar del ma005101.bin al que estaba llamando en la última línea de comandos.
En la versión anterior lo especificaba en el leeme.txt.
Alguien escribió:

The file name depends on the device you have:
Audiophile: ma003101.bin
MobilePre: ma004103.bin
Sonica: ma005101.bin
Transit: ma006100.bin
Ozone: ma008100.bin

Aun así el resultado sigue siendo el mismo. No va.
Sigo en ello.
Subir
aransolo
#20 por aransolo el 06/06/2007
Alguien podría darme alguna pista acerca de dónde colgar este chorizo que me devuelve la consola y probar suerte a ver si encuentro solución? Una lista de correo o foro... yo que sé.

Ñia.
Subir
wynton
#21 por wynton el 07/06/2007
Hola de nuevo,

pues ni idea de una lista de correos concreta de este tema.

Ya me he hecho con una MAudio MobilePre y voy a ver que tal se me da cargarle el firmware en linux y por comparación quizás encontremos que pasa.

Saludos,
Subir
wynton
#22 por wynton el 13/06/2007
Hola de nuevo,

desconozco el motivo, pero con kernels (vanilla version, RT-preemptive) menores del 2.6.21 la MAudio MobilePre que me han pasado no funciona. Ni cargando firmware. Mejor dicho, intentándolo, porque no sé si lo hacía bien o no. Curiosamente si la identifica como interfaz de sonido cuando se hace un "lsusb -v".

Con el kernel 2.6.21.1 la tarjeta va fina fina; como un tiro. Sin necesidad de cargar ningún firmware.

Lamento que mi caso no te sirva de ayuda, aransolo.

Voy a mirar la configuración de /proc/bus/USB cuando conecto la tarjeta a ver si por ahí encontramos otra pista.

Saludos,
Subir
aransolo
#23 por aransolo el 15/06/2007
Aupa ahi. Yo creo que tengo la versión 2.6.20-16. lowlatency. y he visto en kernel.org la 2.1.21.5 y cómo actualizarla en este de blog. No tengo claro si esto me va a llevar a algún lado ¿?¿?. Aun así pruebo y os cuento.

Gracias Wynton. Me alegra no sentirme solo en esto.
Subir
aransolo
#24 por aransolo el 03/07/2007
Alguien escribió:
$ cat /proc/asound/cards

0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xd8240000 irq 22
1 [Ozone ]: USB-Audio - Ozone
M-Audio Ozone at usb-0000:00:1d.0-2, full speed



Leidis an yeltenmans, lo conseguí o eso creo.
La respuesta estaba aquí.

Un saludo a las almas caritativas que me han echado una mano.
Paz.
Subir
Ismael Valladolid Torres
#25 por Ismael Valladolid Torres el 04/07/2007
¡Enhorabuena!
Subir
invitado
#26 por invitado el 02/12/2007
Yo he usado este tutorial y en Mandriva me ha tira perfecta mi M-AUDIO transit usb, a ver si puede ayudar a alguien más :) :

http://www.busindre.com/tarjetas-de-son ... -gnulinux/

aransolo lo tienes medio hecho!
Subir
aransolo
#27 por aransolo el 18/10/2008
Hola de nuevo.
Cuidado si lo que quieres es instalar tu ozone en Hardy Heron. Leed al final del post. Y dentro de unos días con el intrepid ibex??
http://foros.ubuntu-cl.org/viewtopic.php?t=3498&start=0&postdays=0&postorder=asc&highlight=&sid=3c77736277842b154b808a1c96f51767
Subir
aransolo
#28 por aransolo el 14/02/2010
Para todos aquellos que quieran instalar los cargadores firmware para las m-audio usb - MobilePre, Sonica, Ozone, Transit, Audiophile USB - a partir de ubuntu 9.04 Jaunty Jackalope, el siguiente enlace http://ubuntuforums.org/showthread.php?t=846621&page=3 . En rojo las correcciones al proceso anterior.
Subir
clubdelmusico
#29 por clubdelmusico el 12/01/2012
Como estas aransolo despues de este largo recorrido y experiencia quisiera saber como te va con ubuntu ya que tengo una ozone m audio que me parece magnifica y la usaba muy bien en xp, pero en W7 me ha traido problemas con el muestreo y compatibilidad. Si puedes ayudarme y ahorrame tiempo en conocer concretamente como manejar linux ya que veo que todo es con programacion??? y yo soy musico.
Subir
Pablo_F
#30 por Pablo_F el 12/01/2012
Este post tiene casi 4 años... Ya ha llovido. Ahora es mucho más fácil instalar el firmware para la ozone en ubuntu.

Abres el centro de software y buscas "madfuload". Lo instalas y reinicias el ordenador.

Vas a las preferencias de sonido y ya deberías ver la tarjeta disponible.

(esto no lo he probado pero en teoría debería funcionar)

De todas formas, todo eso de arriba no era programación, eran salidas de la terminal. Pasa que, si algo no va bien, es posible que la persona que te intenta ayudar te pida información acerca de tu sistema. Normalmente es más eficiente y preciso cuando "le hablas" a tu ordenador por medio de algunos comandos. Eso no significa que te tengas que saber los comandos. Si estás bien asesorado, basta con saber copiar y pegar.

Dicho esto, hay otras partes poco "user-friendly" de ubuntu, la peor: El sistema de audio por defecto (lo que se encarga de repartir el sonido entre las aplicaciones y la tarjeta de sonido), llamado "pulseaudio", no está diseñado para trabajo en "tiempo real", estable y a baja latencia. Entonces, si quieres usar programas para grabar, mezclar, etc, te hace falta otro sistema de audio diferente, llamado JACK.

Instalar jack no tiene misterio, de hecho se instalará automáticamente cuando instales, por ejemplo, ardour. La parte más complicada suele ser la configuración de jack y algunos ajustes del sistema, incluida la compatibilidad con pulseaudio. Pero las cosas cambian mucho de ordenador a ordenador, así que si ves algo raro, lo mejor es preguntar o buscar por ahí.

Regla de oro, en mi experiencia:
Si encuentras unas instrucciones que de primeras parecen complicadas, antes de intentar nada mira la fecha. Si la fecha es reciente y aún no entiendes nada, pregunta. Pues algunas cosas en linux cambian muy rápido y además tiene una gran diversidad.

Por cierto, existen distribuciones especializadas que ya vienen con jack instalado y funcionando, por ejemplo, ubuntustudio, tango studio, dream linux, musix, kxstudio, AVLinux.

Saludos, Pablo
Subir
Hilos similares
Nuevo post

Regístrate o para poder postear en este hilo