Re: Linux USB file storage gadget with new UDC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

>> The hardware handles Set Address request, and i can see the address of
>> the USB gadget being shown in Windows host. Here i attach the gadget
>> driver log for the "Device Descriptor Test - Addressed State". The
>> test just failed after Get Configuration request.
>
> I can't tell what's wrong.  You will have to use a USB bus analyzer.

Ok. Today i tested the same mass storage gadget driver on Lenovo x100e
Ubuntu. There is a strange problem. After SCSI_READ_10 command data is
returned to the Ubuntu host. The gadget driver says:

g_file_storage gadget: reset config
g_file_storage gadget: reset interface

Then the same process to get descriptors and receive SCSI commands are
repeated. Is the SCSI_READ_10 command or something else causing the
problem? Please see the attached gadget driver log.

Thanks,
Victor
[start_transfer] 0 0
ept1 out queue len 0x200, buffer 0xc1340000
before kagen2_ep_queue
after kagen2_ep_queue
kagen2_ep_queue 31 512 31
[kagen2_ep_queue] 43425355 12
g_file_storage gadget: bulk-out, length 31:
00000000: 55 53 42 43 12 00 00 00 00 10 00 00 80 00 0a 28
00000010: 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00
g_file_storage gadget: SCSI command: READ(10);  Dc=10, Di=4096;  Hc=10, Hi=4096
g_file_storage gadget-lun0: file read 4096 @ 0 -> 4096
[start_transfer] 0 0
ept1 in queue len 0x1000, buffer 0xc1340000
len_num 4096, iter_num 0
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 
len_num 3584, iter_num 1
0: 0x6d903ceb 
4: 0x736f646b 
8: 0x7366 
c: 0x10402 
len_num 3072, iter_num 2
0: 0xfffff8 
4: 0xfff0 
8: 0x0 
c: 0x0 
len_num 2560, iter_num 3
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 
len_num 2048, iter_num 4
0: 0xfffff8 
4: 0xfff0 
8: 0x0 
c: 0x0 
len_num 1536, iter_num 5
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 
len_num 1024, iter_num 6
0: 0x6f007442 
4: 0x7000 
8: 0xfffff00 
c: 0xffffc100 
len_num 512, iter_num 7
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 bulk_in_complete --> 0, 4096/4096
g_file_storage gadget: before calling send_status
g_file_storage gadget: bulk-in, length 13:
00000000: 55 53 42 53 12 00 00 00 00 00 00 00 00
[start_transfer] 53425355 12
ept1 in queue len 0xd, buffer 0xc0c5c000
0: 0x53425355
4: 0x12
8: 0x0
bulk_in_complete --> 0, 13/13
[start_transfer] 0 0
ept1 out queue len 0x200, buffer 0xc1340000
before kagen2_ep_queue
g_file_storage gadget: disconnect or port reset
after kagen2_ep_queue
kagen2_ep_queue 31 512 31
[kagen2_ep_queue] 43425355 12
g_file_storage gadget: bulk-out, length 31:
00000000: 55 53 42 43 12 00 00 00 00 10 00 00 80 00 0a 28
00000010: 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00
g_file_storage gadget: SCSI command: READ(10);  Dc=10, Di=4096;  Hc=10, Hi=4096
g_file_storage gadget-lun0: file read 4096 @ 0 -> 4096
g_file_storage gadget: after calling do_scsi_command
handle_exception begin
handle_exception wait until
handle_exception old_state 5
g_file_storage gadget: reset config
g_file_storage gadget: reset interface
g_file_storage gadget: in handle_exception loop
g_file_storage gadget: in fsg->running loop
g_file_storage gadget: in fsg->running loop
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 00 01 00 00 40 00
g_file_storage gadget: get device descriptor
ept0 in queue len 0x12, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 18:
00000000: 12 01 00 02 00 00 00 40 25 05 a5 a4 33 03 01 02
00000010: 00 01
g_file_storage gadget: disconnect or port reset
handle_exception begin
handle_exception wait until
handle_exception old_state 5
g_file_storage gadget: in handle_exception loop
g_file_storage gadget: in fsg->running loop
USB_RECIP_DEVICE
function address is 0x5d
exit A
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 00 01 00 00 12 00
g_file_storage gadget: get device descriptor
ept0 in queue len 0x12, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 18:
00000000: 12 01 00 02 00 00 00 40 25 05 a5 a4 33 03 01 02
00000010: 00 01
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 00 06 00 00 0a 00
g_file_storage gadget: get device qualifier
ept0 in queue len 0xa, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 10:
00000000: 0a 06 00 02 00 00 00 40 01 00
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 00 02 00 00 09 00
g_file_storage gadget: get configuration descriptor
ept0 in queue len 0x9, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 9:
00000000: 09 02 20 00 01 01 04 c0 01
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 00 02 00 00 20 00
g_file_storage gadget: get configuration descriptor
ept0 in queue len 0x20, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 32:
00000000: 09 02 20 00 01 01 04 c0 01 09 04 00 00 02 08 06
00000010: 50 05 07 05 81 02 00 02 00 07 05 01 02 00 02 01
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 00 03 00 00 ff 00
g_file_storage gadget: get string descriptor
ept0 in queue len 0x4, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 4:
00000000: 04 03 09 04
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 02 03 09 04 ff 00
g_file_storage gadget: get string descriptor
ept0 in queue len 0x36, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 54:
00000000: 36 03 46 00 69 00 6c 00 65 00 2d 00 62 00 61 00
00000010: 63 00 6b 00 65 00 64 00 20 00 53 00 74 00 6f 00
00000020: 72 00 61 00 67 00 65 00 20 00 47 00 61 00 64 00
00000030: 67 00 65 00 74 00
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 01 03 09 04 ff 00
g_file_storage gadget: get string descriptor
ept0 in queue len 0x3a, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 58:
00000000: 3a 03 4c 00 69 00 6e 00 75 00 78 00 20 00 33 00
00000010: 2e 00 34 00 2e 00 34 00 2b 00 20 00 77 00 69 00
00000020: 74 00 68 00 20 00 6b 00 61 00 67 00 65 00 6e 00
00000030: 32 00 5f 00 75 00 73 00 62 00
g_file_storage gadget: ep0-setup, length 8:
00000000: 00 09 01 00 00 00 00 00
g_file_storage gadget: set configuration
handle_exception begin
handle_exception wait until
handle_exception old_state 4
g_file_storage gadget: set interface 0
g_file_storage gadget: high-speed config #1
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 04 03 09 04 ff 00
g_file_storage gadget: get string descriptor
ept0 in queue len 0x1a, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 26:
00000000: 1a 03 53 00 65 00 6c 00 66 00 2d 00 70 00 6f 00
00000010: 77 00 65 00 72 00 65 00 64 00
g_file_storage gadget: in handle_exception loop
[start_transfer] 0 0
ept1 out queue len 0x200, buffer 0xc1340000
before kagen2_ep_queue
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 05 03 09 04 ff 00
g_file_storage gadget: get string descriptor
ept0 in queue len 0x1a, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 26:
00000000: 1a 03 4d 00 61 00 73 00 73 00 20 00 53 00 74 00
00000010: 6f 00 72 00 61 00 67 00 65 00
g_file_storage gadget: ep0-setup, length 8:
00000000: a1 fe 00 00 00 00 01 00
g_file_storage gadget: get max LUN
ept0 in queue len 0x1, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 1:
00000000: 00
EP1 OUT IRQ 0x28
after kagen2_ep_queue
kagen2_ep_queue 31 512 31
[kagen2_ep_queue] 43425355 1
g_file_storage gadget: bulk-out, length 31:
00000000: 55 53 42 43 01 00 00 00 24 00 00 00 80 00 06 12
00000010: 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00
g_file_storage gadget: SCSI command: INQUIRY;  Dc=6, Di=36;  Hc=6, Hi=36
g_file_storage gadget: bulk-in, length 36:
00000000: 00 00 02 02 1f 00 00 00 4c 69 6e 75 78 20 20 20
00000010: 46 69 6c 65 2d 53 74 6f 72 20 47 61 64 67 65 74
00000020: 30 33 33 33
[start_transfer] 2020000 1f
ept1 in queue len 0x24, buffer 0xc1340000
0: 0x2020000
4: 0x1f
8: 0x756e694c
c: 0x20202078
bulk_in_complete --> 0, 36/36
g_file_storage gadget: before calling send_status
g_file_storage gadget: bulk-in, length 13:
00000000: 55 53 42 53 01 00 00 00 00 00 00 00 00
[start_transfer] 53425355 1
ept1 in queue len 0xd, buffer 0xc0c5c000
0: 0x53425355
4: 0x1
8: 0x0
bulk_in_complete --> 0, 13/13
EP1 OUT IRQ 0x28
[start_transfer] 2020000 1f
ept1 out queue len 0x200, buffer 0xc1340000
before kagen2_ep_queue
after kagen2_ep_queue
kagen2_ep_queue 31 512 31
[kagen2_ep_queue] 43425355 2
g_file_storage gadget: bulk-out, length 31:
00000000: 55 53 42 43 02 00 00 00 00 00 00 00 00 00 06 00
00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
g_file_storage gadget: SCSI command: TEST UNIT READY;  Dc=6, Dn=0;  Hc=6, Hn=0
attention condition
g_file_storage gadget: before calling send_status
g_file_storage gadget: sending command-failure status
g_file_storage gadget:   sense data: SK x06, ASC x29, ASCQ x00;  info x0
g_file_storage gadget: bulk-in, length 13:
00000000: 55 53 42 53 02 00 00 00 00 00 00 00 01
[start_transfer] 53425355 2
ept1 in queue len 0xd, buffer 0xc1340000
0: 0x53425355
4: 0x2
8: 0x0
bulk_in_complete --> 0, 13/13
[start_transfer] 53425355 1
ept1 out queue len 0x200, buffer 0xc0c5c000
before kagen2_ep_queue
after kagen2_ep_queue
kagen2_ep_queue 31 512 31
[kagen2_ep_queue] 43425355 3
g_file_storage gadget: bulk-out, length 31:
00000000: 55 53 42 43 03 00 00 00 12 00 00 00 80 00 06 03
00000010: 00 00 00 12 00 00 00 00 00 00 00 00 00 00 00
g_file_storage gadget: SCSI command: REQUEST SENSE;  Dc=6, Di=18;  Hc=6, Hi=18
g_file_storage gadget: bulk-in, length 18:
00000000: 70 00 06 00 00 00 00 0a 00 00 00 00 29 00 00 00
00000010: 00 00
[start_transfer] 60070 a000000
ept1 in queue len 0x12, buffer 0xc0c5c000
0: 0x60070
4: 0xa000000
8: 0x0
c: 0x29
bulk_in_complete --> 0, 18/18
g_file_storage gadget: before calling send_status
g_file_storage gadget: bulk-in, length 13:
00000000: 55 53 42 53 03 00 00 00 00 00 00 00 00
[start_transfer] 53425355 3
ept1 in queue len 0xd, buffer 0xc1340000
0: 0x53425355
4: 0x3
8: 0x0
bulk_in_complete --> 0, 13/13
[start_transfer] 60070 a000000
ept1 out queue len 0x200, buffer 0xc0c5c000
before kagen2_ep_queue
after kagen2_ep_queue
kagen2_ep_queue 31 512 31
[kagen2_ep_queue] 43425355 4
g_file_storage gadget: bulk-out, length 31:
00000000: 55 53 42 43 04 00 00 00 00 00 00 00 00 00 06 00
00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
g_file_storage gadget: SCSI command: TEST UNIT READY;  Dc=6, Dn=0;  Hc=6, Hn=0
g_file_storage gadget: before calling send_status
g_file_storage gadget: bulk-in, length 13:
00000000: 55 53 42 53 04 00 00 00 00 00 00 00 00
[start_transfer] 53425355 4
ept1 in queue len 0xd, buffer 0xc0c5c000
0: 0x53425355
4: 0x4
8: 0x0
bulk_in_complete --> 0, 13/13
[start_transfer] 53425355 3
ept1 out queue len 0x200, buffer 0xc1340000
before kagen2_ep_queue
after kagen2_ep_queue
kagen2_ep_queue 31 512 31
[kagen2_ep_queue] 43425355 5
g_file_storage gadget: bulk-out, length 31:
00000000: 55 53 42 43 05 00 00 00 08 00 00 00 80 00 0a 25
00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
g_file_storage gadget: SCSI command: READ CAPACITY;  Dc=10, Di=8;  Hc=10, Hi=8
g_file_storage gadget: bulk-in, length 8:
00000000: 00 00 07 ff 00 00 02 00
[start_transfer] ff070000 20000
ept1 in queue len 0x8, buffer 0xc1340000
0: 0xff070000
4: 0x20000
bulk_in_complete --> 0, 8/8
g_file_storage gadget: before calling send_status
g_file_storage gadget: bulk-in, length 13:
00000000: 55 53 42 53 05 00 00 00 00 00 00 00 00
[start_transfer] 53425355 5
ept1 in queue len 0xd, buffer 0xc0c5c000
0: 0x53425355
4: 0x5
8: 0x0
bulk_in_complete --> 0, 13/13
[start_transfer] ff070000 20000
ept1 out queue len 0x200, buffer 0xc1340000
before kagen2_ep_queue
after kagen2_ep_queue
kagen2_ep_queue 31 512 31
[kagen2_ep_queue] 43425355 6
g_file_storage gadget: bulk-out, length 31:
00000000: 55 53 42 43 06 00 00 00 c0 00 00 00 80 00 06 1a
00000010: 00 3f 00 c0 00 00 00 00 00 00 00 00 00 00 00
g_file_storage gadget: SCSI command: MODE SENSE(6);  Dc=6, Di=192;  Hc=6, Hi=192
g_file_storage gadget: bulk-in, length 16:
00000000: 0f 00 00 00 08 0a 04 00 ff ff 00 00 ff ff ff ff
[start_transfer] f 40a08
ept1 in queue len 0x10, buffer 0xc1340000
0: 0xf
4: 0x40a08
8: 0xffff
c: 0xffffffff
bulk_in_complete --> 0, 16/16
g_file_storage gadget: bulk-in set halt
kagen2_set_halt 1 1
g_file_storage gadget: before calling send_status
g_file_storage gadget: bulk-in, length 13:
00000000: 55 53 42 53 06 00 00 00 b0 00 00 00 00
[start_transfer] 53425355 6
ept1 in queue len 0xd, buffer 0xc0c5c000
0: 0x53425355
4: 0x6
8: 0xb0
bulk_in_complete --> 0, 13/13
[start_transfer] f 40a08
ept1 out queue len 0x200, buffer 0xc1340000
before kagen2_ep_queue
after kagen2_ep_queue
kagen2_ep_queue 31 512 31
[kagen2_ep_queue] 43425355 7
g_file_storage gadget: bulk-out, length 31:
00000000: 55 53 42 43 07 00 00 00 00 00 00 00 00 00 06 00
00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
g_file_storage gadget: SCSI command: TEST UNIT READY;  Dc=6, Dn=0;  Hc=6, Hn=0
g_file_storage gadget: before calling send_status
g_file_storage gadget: bulk-in, length 13:
00000000: 55 53 42 53 07 00 00 00 00 00 00 00 00
[start_transfer] 53425355 7
ept1 in queue len 0xd, buffer 0xc1340000
0: 0x53425355
4: 0x7
8: 0x0
bulk_in_complete --> 0, 13/13
[start_transfer] 53425355 6
ept1 out queue len 0x200, buffer 0xc0c5c000
before kagen2_ep_queue
after kagen2_ep_queue
kagen2_ep_queue 31 512 31
[kagen2_ep_queue] 43425355 8
g_file_storage gadget: bulk-out, length 31:
00000000: 55 53 42 43 08 00 00 00 08 00 00 00 80 00 0a 25
00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
g_file_storage gadget: SCSI command: READ CAPACITY;  Dc=10, Di=8;  Hc=10, Hi=8
g_file_storage gadget: bulk-in, length 8:
00000000: 00 00 07 ff 00 00 02 00
[start_transfer] ff070000 20000
ept1 in queue len 0x8, buffer 0xc0c5c000
0: 0xff070000
4: 0x20000
bulk_in_complete --> 0, 8/8
g_file_storage gadget: before calling send_status
g_file_storage gadget: bulk-in, length 13:
00000000: 55 53 42 53 08 00 00 00 00 00 00 00 00
[start_transfer] 53425355 8
ept1 in queue len 0xd, buffer 0xc1340000
0: 0x53425355
4: 0x8
8: 0x0
bulk_in_complete --> 0, 13/13
[start_transfer] ff070000 20000
ept1 out queue len 0x200, buffer 0xc0c5c000
before kagen2_ep_queue
after kagen2_ep_queue
kagen2_ep_queue 31 512 31
[kagen2_ep_queue] 43425355 9
g_file_storage gadget: bulk-out, length 31:
00000000: 55 53 42 43 09 00 00 00 c0 00 00 00 80 00 06 1a
00000010: 00 3f 00 c0 00 00 00 00 00 00 00 00 00 00 00
g_file_storage gadget: SCSI command: MODE SENSE(6);  Dc=6, Di=192;  Hc=6, Hi=192
g_file_storage gadget: bulk-in, length 16:
00000000: 0f 00 00 00 08 0a 04 00 ff ff 00 00 ff ff ff ff
[start_transfer] f 40a08
ept1 in queue len 0x10, buffer 0xc0c5c000
0: 0xf
4: 0x40a08
8: 0xffff
c: 0xffffffff
bulk_in_complete --> 0, 16/16
g_file_storage gadget: bulk-in set halt
kagen2_set_halt 1 1
g_file_storage gadget: before calling send_status
g_file_storage gadget: bulk-in, length 13:
00000000: 55 53 42 53 09 00 00 00 b0 00 00 00 00
[start_transfer] 53425355 9
ept1 in queue len 0xd, buffer 0xc1340000
0: 0x53425355
4: 0x9
8: 0xb0
bulk_in_complete --> 0, 13/13
[start_transfer] f 40a08
ept1 out queue len 0x200, buffer 0xc0c5c000
before kagen2_ep_queue
after kagen2_ep_queue
kagen2_ep_queue 31 512 31
[kagen2_ep_queue] 43425355 a
g_file_storage gadget: bulk-out, length 31:
00000000: 55 53 42 43 0a 00 00 00 00 10 00 00 80 00 0a 28
00000010: 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00
g_file_storage gadget: SCSI command: READ(10);  Dc=10, Di=4096;  Hc=10, Hi=4096
g_file_storage gadget-lun0: file read 4096 @ 0 -> 4096
[start_transfer] 0 0
ept1 in queue len 0x1000, buffer 0xc0c5c000
len_num 4096, iter_num 0
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 
len_num 3584, iter_num 1
0: 0x6d903ceb 
4: 0x736f646b 
8: 0x7366 
c: 0x10402 
len_num 3072, iter_num 2
0: 0xfffff8 
4: 0xfff0 
8: 0x0 
c: 0x0 
len_num 2560, iter_num 3
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 
len_num 2048, iter_num 4
0: 0xfffff8 
4: 0xfff0 
8: 0x0 
c: 0x0 
len_num 1536, iter_num 5
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 
len_num 1024, iter_num 6
0: 0x6f007442 
4: 0x7000 
8: 0xfffff00 
c: 0xffffc100 
len_num 512, iter_num 7
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 bulk_in_complete --> 0, 4096/4096
g_file_storage gadget: before calling send_status
g_file_storage gadget: bulk-in, length 13:
00000000: 55 53 42 53 0a 00 00 00 00 00 00 00 00
[start_transfer] 53425355 a
ept1 in queue len 0xd, buffer 0xc1340000
0: 0x53425355
4: 0xa
8: 0x0
bulk_in_complete --> 0, 13/13
[start_transfer] 0 0
ept1 out queue len 0x200, buffer 0xc0c5c000
before kagen2_ep_queue
after kagen2_ep_queue
kagen2_ep_queue 31 512 31
[kagen2_ep_queue] 43425355 b
g_file_storage gadget: bulk-out, length 31:
00000000: 55 53 42 43 0b 00 00 00 00 10 00 00 80 00 0a 28
00000010: 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00
g_file_storage gadget: SCSI command: READ(10);  Dc=10, Di=4096;  Hc=10, Hi=4096
g_file_storage gadget-lun0: file read 4096 @ 0 -> 4096
[start_transfer] 0 0
ept1 in queue len 0x1000, buffer 0xc0c5c000
len_num 4096, iter_num 0
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 
len_num 3584, iter_num 1
0: 0x6d903ceb 
4: 0x736f646b 
8: 0x7366 
c: 0x10402 
len_num 3072, iter_num 2
0: 0xfffff8 
4: 0xfff0 
8: 0x0 
c: 0x0 
len_num 2560, iter_num 3
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 
len_num 2048, iter_num 4
0: 0xfffff8 
4: 0xfff0 
8: 0x0 
c: 0x0 
len_num 1536, iter_num 5
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 
len_num 1024, iter_num 6
0: 0x6f007442 
4: 0x7000 
8: 0xfffff00 
c: 0xffffc100 
len_num 512, iter_num 7
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 bulk_in_complete --> 0, 4096/4096
g_file_storage gadget: before calling send_status
g_file_storage gadget: bulk-in, length 13:
00000000: 55 53 42 53 0b 00 00 00 00 00 00 00 00
[start_transfer] 53425355 b
ept1 in queue len 0xd, buffer 0xc1340000
0: 0x53425355
4: 0xb
8: 0x0
bulk_in_complete --> 0, 13/13
[start_transfer] 0 0
ept1 out queue len 0x200, buffer 0xc0c5c000
before kagen2_ep_queue
after kagen2_ep_queue
kagen2_ep_queue 31 512 31
[kagen2_ep_queue] 43425355 c
g_file_storage gadget: bulk-out, length 31:
00000000: 55 53 42 43 0c 00 00 00 00 10 00 00 80 00 0a 28
00000010: 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00
g_file_storage gadget: SCSI command: READ(10);  Dc=10, Di=4096;  Hc=10, Hi=4096
g_file_storage gadget-lun0: file read 4096 @ 0 -> 4096
[start_transfer] 0 0
ept1 in queue len 0x1000, buffer 0xc0c5c000
len_num 4096, iter_num 0
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 
len_num 3584, iter_num 1
0: 0x6d903ceb 
4: 0x736f646b 
8: 0x7366 
c: 0x10402 
len_num 3072, iter_num 2
0: 0xfffff8 
4: 0xfff0 
8: 0x0 
c: 0x0 
len_num 2560, iter_num 3
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 
len_num 2048, iter_num 4
0: 0xfffff8 
4: 0xfff0 
8: 0x0 
c: 0x0 
len_num 1536, iter_num 5
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 
len_num 1024, iter_num 6
0: 0x6f007442 
4: 0x7000 
8: 0xfffff00 
c: 0xffffc100 
len_num 512, iter_num 7
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 bulk_in_complete --> 0, 4096/4096
g_file_storage gadget: before calling send_status
g_file_storage gadget: bulk-in, length 13:
00000000: 55 53 42 53 0c 00 00 00 00 00 00 00 00
[start_transfer] 53425355 c
ept1 in queue len 0xd, buffer 0xc1340000
0: 0x53425355
4: 0xc
8: 0x0
bulk_in_complete --> 0, 13/13
[start_transfer] 0 0
ept1 out queue len 0x200, buffer 0xc0c5c000
before kagen2_ep_queue
after kagen2_ep_queue
kagen2_ep_queue 31 512 31
[kagen2_ep_queue] 43425355 d
g_file_storage gadget: bulk-out, length 31:
00000000: 55 53 42 43 0d 00 00 00 00 10 00 00 80 00 0a 28
00000010: 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00
g_file_storage gadget: SCSI command: READ(10);  Dc=10, Di=4096;  Hc=10, Hi=4096
g_file_storage gadget-lun0: file read 4096 @ 0 -> 4096
[start_transfer] 0 0
ept1 in queue len 0x1000, buffer 0xc0c5c000
len_num 4096, iter_num 0
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 
len_num 3584, iter_num 1
0: 0x6d903ceb 
4: 0x736f646b 
8: 0x7366 
c: 0x10402 
len_num 3072, iter_num 2
0: 0xfffff8 
4: 0xfff0 
8: 0x0 
c: 0x0 
len_num 2560, iter_num 3
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 
len_num 2048, iter_num 4
0: 0xfffff8 
4: 0xfff0 
8: 0x0 
c: 0x0 
len_num 1536, iter_num 5
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 
len_num 1024, iter_num 6
0: 0x6f007442 
4: 0x7000 
8: 0xfffff00 
c: 0xffffc100 
len_num 512, iter_num 7
0: 0x0 
4: 0x0 
8: 0x0 
c: 0x0 bulk_in_complete --> 0, 4096/4096
g_file_storage gadget: before calling send_status
g_file_storage gadget: bulk-in, length 13:
00000000: 55 53 42 53 0d 00 00 00 00 00 00 00 00
[start_transfer] 53425355 d
ept1 in queue len 0xd, buffer 0xc1340000
0: 0x53425355
4: 0xd
8: 0x0
bulk_in_complete --> 0, 13/13
[start_transfer] 0 0
ept1 out queue len 0x200, buffer 0xc0c5c000
before kagen2_ep_queue
g_file_storage gadget: disconnect or port reset
after kagen2_ep_queue
kagen2_ep_queue 31 512 31
[kagen2_ep_queue] 43425355 d
g_file_storage gadget: bulk-out, length 31:
00000000: 55 53 42 43 0d 00 00 00 00 10 00 00 80 00 0a 28
00000010: 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00
g_file_storage gadget: SCSI command: READ(10);  Dc=10, Di=4096;  Hc=10, Hi=4096
g_file_storage gadget-lun0: file read 4096 @ 0 -> 4096
g_file_storage gadget: after calling do_scsi_command
handle_exception begin
handle_exception wait until
handle_exception old_state 5
g_file_storage gadget: reset config
g_file_storage gadget: reset interface
g_file_storage gadget: in handle_exception loop
g_file_storage gadget: in fsg->running loop
g_file_storage gadget: in fsg->running loop
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 00 01 00 00 40 00
g_file_storage gadget: get device descriptor
ept0 in queue len 0x12, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 18:
00000000: 12 01 00 02 00 00 00 40 25 05 a5 a4 33 03 01 02
00000010: 00 01
g_file_storage gadget: disconnect or port reset
handle_exception begin
handle_exception wait until
handle_exception old_state 5
g_file_storage gadget: in handle_exception loop
g_file_storage gadget: in fsg->running loop
USB_RECIP_DEVICE
function address is 0x5e
exit A
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 00 01 00 00 12 00
g_file_storage gadget: get device descriptor
ept0 in queue len 0x12, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 18:
00000000: 12 01 00 02 00 00 00 40 25 05 a5 a4 33 03 01 02
00000010: 00 01
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 00 06 00 00 0a 00
g_file_storage gadget: get device qualifier
ept0 in queue len 0xa, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 10:
00000000: 0a 06 00 02 00 00 00 40 01 00
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 00 02 00 00 09 00
g_file_storage gadget: get configuration descriptor
ept0 in queue len 0x9, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 9:
00000000: 09 02 20 00 01 01 04 c0 01
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 00 02 00 00 20 00
g_file_storage gadget: get configuration descriptor
ept0 in queue len 0x20, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 32:
00000000: 09 02 20 00 01 01 04 c0 01 09 04 00 00 02 08 06
00000010: 50 05 07 05 81 02 00 02 00 07 05 01 02 00 02 01
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 00 03 00 00 ff 00
g_file_storage gadget: get string descriptor
ept0 in queue len 0x4, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 4:
00000000: 04 03 09 04
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 02 03 09 04 ff 00
g_file_storage gadget: get string descriptor
ept0 in queue len 0x36, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 54:
00000000: 36 03 46 00 69 00 6c 00 65 00 2d 00 62 00 61 00
00000010: 63 00 6b 00 65 00 64 00 20 00 53 00 74 00 6f 00
00000020: 72 00 61 00 67 00 65 00 20 00 47 00 61 00 64 00
00000030: 67 00 65 00 74 00
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 01 03 09 04 ff 00
g_file_storage gadget: get string descriptor
ept0 in queue len 0x3a, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 58:
00000000: 3a 03 4c 00 69 00 6e 00 75 00 78 00 20 00 33 00
00000010: 2e 00 34 00 2e 00 34 00 2b 00 20 00 77 00 69 00
00000020: 74 00 68 00 20 00 6b 00 61 00 67 00 65 00 6e 00
00000030: 32 00 5f 00 75 00 73 00 62 00
g_file_storage gadget: ep0-setup, length 8:
00000000: 00 09 01 00 00 00 00 00
g_file_storage gadget: set configuration
handle_exception begin
handle_exception wait until
handle_exception old_state 4
g_file_storage gadget: set interface 0
g_file_storage gadget: high-speed config #1
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 04 03 09 04 ff 00
g_file_storage gadget: get string descriptor
ept0 in queue len 0x1a, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 26:
00000000: 1a 03 53 00 65 00 6c 00 66 00 2d 00 70 00 6f 00
00000010: 77 00 65 00 72 00 65 00 64 00
g_file_storage gadget: ep0-setup, length 8:
00000000: 80 06 05 03 09 04 ff 00
g_file_storage gadget: get string descriptor
ept0 in queue len 0x1a, buffer 0xc128b800
ep0_complete
g_file_storage gadget: ep0-in, length 26:
00000000: 1a 03 4d 00 61 00 73 00 73 00 20 00 53 00 74 00
00000010: 6f 00 72 00 61 00 67 00 65 00
g_file_storage gadget: in handle_exception loop
[start_transfer] 53425355 d
ept1 out queue len 0x200, buffer 0xc1340000
before kagen2_ep_queue

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux