Comment 5 for bug 330573

Revision history for this message
Neil Wilson (neil-aldur) wrote : Re: madfuload doesn't work on Jaunty

Just to eliminate the madfuload program, I did a test with good old 'stat' and 'head'. You can 'stat' the device, but you can't 'head' it.

STAT trace

May 17 07:51:01 neil-laptop udevd-event[7886]: '/usr/bin/stat /dev/bus/usb/002/004'
May 17 07:51:01 neil-laptop kernel: [ 1290.888798] usb 2-1: configuration #1 chosen from 1 choice
May 17 07:51:01 neil-laptop udevd-event[7886]: '/usr/bin/stat' (stdout) ' File: `/dev/bus/usb/002/004''
May 17 07:51:01 neil-laptop udevd-event[7886]: '/usr/bin/stat' (stdout) ' Size: 0 ^IBlocks: 0 IO Block: 4096 character special file'
May 17 07:51:01 neil-laptop udevd-event[7886]: '/usr/bin/stat' (stdout) 'Device: fh/15d^IInode: 24726 Links: 1 Device type: bd,83'
May 17 07:51:01 neil-laptop udevd-event[7886]: '/usr/bin/stat' (stdout) 'Access: (0664/crw-rw-r--) Uid: ( 0/ root) Gid: ( 0/ root)'
May 17 07:51:01 neil-laptop udevd-event[7886]: '/usr/bin/stat' (stdout) 'Access: 2009-05-17 07:51:01.882187755 +0100'
May 17 07:51:01 neil-laptop udevd-event[7886]: '/usr/bin/stat' (stdout) 'Modify: 2009-05-17 07:51:01.882187755 +0100'
May 17 07:51:01 neil-laptop udevd-event[7886]: '/usr/bin/stat' (stdout) 'Change: 2009-05-17 07:51:01.882187755 +0100'
May 17 07:51:01 neil-laptop udevd-event[7886]: '/usr/bin/stat' returned with status 0
May 17 07:51:01 neil-laptop udevd-event[7886]: passed 324 bytes to monitor 0x7f197ea79540
May 17 07:51:01 neil-laptop udevd-event[7886]: passed -1 bytes to monitor 0x7f197ea4c670
May 17 07:51:01 neil-laptop udevd-event[7886]: seq 1576 exit with 0

HEAD trace

May 17 08:56:02 neil-laptop udevd-event[9925]: '/usr/bin/head /dev/bus/usb/002/006'
May 17 08:56:02 neil-laptop udevd-event[9925]: '/usr/bin/head' (stderr) '/usr/bin/head: cannot open `/dev/bus/usb/002/006' for reading: No such file or directory'
May 17 08:56:02 neil-laptop kernel: [ 5191.186309] usb 2-1: configuration #1 chosen from 1 choice
May 17 08:56:02 neil-laptop udevd-event[9925]: '/usr/bin/head' returned with status 1
May 17 08:56:02 neil-laptop udevd-event[9925]: passed 324 bytes to monitor 0x7f197ea5d460
May 17 08:56:02 neil-laptop udevd-event[9925]: passed -1 bytes to monitor 0x7f197ea4c670
May 17 08:56:02 neil-laptop udevd-event[9925]: seq 1588 exit with 0