I'm trying madfuload under an i386 kernel and get the following:
lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 0763:2805 Midiman
Bus 002 Device 002: ID 046d:c50b Logitech, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 0781:0621 SanDisk Corp.
Bus 001 Device 001: ID 0000:0000
./madfuload -D /proc/bus/usb/002/003 -f ma005101.bin -3 -v
ma005101.bin: 5959 bytes read successfully
reading device descriptor ...
interface descriptor 0:0
DFU interface is 0
DFU descriptor found
transfer size is 64
control transfer failed: (2) No such file or directory
control transfer failed: (2) No such file or directory
control transfer failed: (2) No such file or directory
downloading block 1 failed
and the kernel jabbers:
usb 2-2: usbfs: process 1949 (madfuload) did not claim interface 1
before use
usb 2-2: usbfs: process 1949 (madfuload) did not claim interface 1
before use
usb 2-2: usbfs: process 1949 (madfuload) did not claim interface 1
before use
Thanks,
Steve Hassard
Stephen Hassard wrote:
Clemens,
This is what I get:
debian:~/madfdebian:~/madfu-firmware-0.2# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 0763:2805 Midiman
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 0781:0621 SanDisk Corp.
Bus 001 Device 001: ID 0000:0000
u-firmware-0.2# ./madfuload -f ma005101.bin --waitbyte3 -D
/proc/bus/usb/002/002 -v
ma005101.bin: 5959 bytes read successfully
reading device descriptor ...
interface descriptor 0:0
DFU interface is 0
DFU descriptor found
transfer size is 64
Segmentation fault
madfuload[1819]: segfault at 000000009577c860 rip 0000002a956e3790 rsp
0000007fbfffc918 error 4
I'm running an AMD64 kernel in 64bits mode, if that makes any difference.
Thanks,
Steve
Clemens Ladisch wrote:
> Stephen Hassard wrote:
>
>> I just tried madfu with my Sonica, and I get a segfault.
>>
>> madfuload -f ma005101.bin --waitbyte3 -D /proc/bus/usb/002/003
>> Segmentation fault
>
>
>
> Please show the output when you add the -v parameter.
>
>
> Clemens
>