Hello

I try to make a MP3 driver base on Usb-skeleton file for the Mpgio mp3
player

actually me and a friend have sniffed the mp3 player on Windows with usb
snoopy pro, it work fine , having a good log (I can send you if you
want)

but the big problem is about the reverse engine

when we send control msg with my C program the usb mpgio doesn't respond
and we don't know where is the problem

1/ must i reset the usb port before sending a request and how ??

2/ must i take the request (usb_control_msg) orderer of snoopy pro for
initialise my player and use it.

3/ have you tips for translating an usbsnoopy log for linux program
(such as the lego tower project)

4/in my program I think all is good (hehe, sometimes I dream.. ;-)) but
the Mpgio hardware doesn't respond to the driver : perhaps the problem
is due to :

-hardware initilisation failed
-order of request (C2 00 00 00 00 00 03 ...)


if you can sending me doc or informations about making this special usb
control msg or other usb initialisation :)

Best Regards, Olivier and Remy

ps : his midi project : www.sf.net/projects/portmanlinux (ok, totally
O/T, but he insist..)

Please CC :
[EMAIL PROTECTED]
[EMAIL PROTECTED]

PS : a part of the log

00000000  16:25:51
00000001  16:25:51  <<<<<<< URB 1201 coming back...
00000002  16:25:51  -- URB_FUNCTION_CONTROL_TRANSFER:
00000003  16:25:51    PipeHandle           = 815d0fb4
00000004  16:25:51    TransferFlags        = 00000002
(USBD_TRANSFER_DIRECTION_OUT, USBD_SHORT_TRANSFER_OK)
00000005  16:25:51    TransferBufferLength = 00000000
00000006  16:25:51    TransferBuffer       = 81371351
00000007  16:25:51    TransferBufferMDL    = 00000000
00000008  16:25:51    UrbLink              = 00000000
00000009  16:25:51    SetupPacket          : 42 04 06 01 00 00 00 00
00000010  16:25:51  UsbSnoop - IRP_MJ_INTERNAL_DEVICE_CONTROL,
IOCTL_INTERNAL_USB_SUBMIT_URB
00000011  16:25:51
00000012  16:25:51  >>>>>>> URB 1202 going down...
00000013  16:25:51  -- URB_FUNCTION_VENDOR_ENDPOINT:
00000014  16:25:51    TransferFlags          = 00000000
(USBD_TRANSFER_DIRECTION_OUT, ~USBD_SHORT_TRANSFER_OK)
00000015  16:25:51    TransferBufferLength = 00000000
00000016  16:25:51    TransferBuffer       = 81371351
00000017  16:25:51    TransferBufferMDL    = 00000000
00000018  16:25:51
00000019  16:25:51    UrbLink                 = 00000000
00000020  16:25:51    RequestTypeReservedBits = 00
00000021  16:25:51    Request                 = 04
00000022  16:25:51    Value                   = 0104
00000023  16:25:51    Index                   = 0000
00000024  16:25:51
00000025  16:25:51  <<<<<<< URB 1202 coming back...
00000026  16:25:51  -- URB_FUNCTION_CONTROL_TRANSFER:
00000027  16:25:51    PipeHandle           = 815d0fb4
00000028  16:25:51    TransferFlags        = 00000002
(USBD_TRANSFER_DIRECTION_OUT, USBD_SHORT_TRANSFER_OK)
00000029  16:25:51    TransferBufferLength = 00000000
00000030  16:25:51    TransferBuffer       = 81371351
00000031  16:25:51    TransferBufferMDL    = 00000000
00000032  16:25:51    UrbLink              = 00000000
00000033  16:25:51    SetupPacket          : 42 04 04 01 00 00 00 00
00000034  16:25:51  UsbSnoop - IRP_MJ_INTERNAL_DEVICE_CONTROL,
IOCTL_INTERNAL_USB_SUBMIT_URB
00000035  16:25:51
00000036  16:25:51  >>>>>>> URB 1203 going down...
00000037  16:25:51  -- URB_FUNCTION_VENDOR_ENDPOINT:
00000038  16:25:51    TransferFlags          = 00000000
(USBD_TRANSFER_DIRECTION_OUT, ~USBD_SHORT_TRANSFER_OK)
00000039  16:25:51    TransferBufferLength = 00000000
00000040  16:25:51    TransferBuffer       = 81371351
00000041  16:25:51    TransferBufferMDL    = 00000000
00000042  16:25:51
00000043  16:25:51    UrbLink                 = 00000000
00000044  16:25:51    RequestTypeReservedBits = 00
00000045  16:25:51    Request                 = 04
00000046  16:25:51    Value                   = 0103
00000047  16:25:51    Index                   = 0000
00000048  16:25:51
00000049  16:25:51  <<<<<<< URB 1203 coming back...
00000050  16:25:51  -- URB_FUNCTION_CONTROL_TRANSFER:
00000051  16:25:51    PipeHandle           = 815d0fb4
00000052  16:25:51    TransferFlags        = 00000002
(USBD_TRANSFER_DIRECTION_OUT, USBD_SHORT_TRANSFER_OK)
00000053  16:25:51    TransferBufferLength = 00000000
00000054  16:25:51    TransferBuffer       = 81371351
00000055  16:25:51    TransferBufferMDL    = 00000000
00000056  16:25:51    UrbLink              = 00000000
00000057  16:25:51    SetupPacket          : 42 04 03 01 00 00 00 00
00000058  16:25:51  UsbSnoop - IRP_MJ_INTERNAL_DEVICE_CONTROL,
IOCTL_INTERNAL_USB_SUBMIT_URB
00000059  16:25:51
00000060  16:25:51  >>>>>>> URB 1204 going down...
00000061  16:25:51  -- URB_FUNCTION_VENDOR_ENDPOINT:
00000062  16:25:51    TransferFlags          = 00000000
(USBD_TRANSFER_DIRECTION_OUT, ~USBD_SHORT_TRANSFER_OK)
00000063  16:25:51    TransferBufferLength = 00000000
00000064  16:25:51    TransferBuffer       = 81371351
00000065  16:25:51    TransferBufferMDL    = 00000000
00000066  16:25:51
00000067  16:25:51    UrbLink                 = 00000000
00000068  16:25:51    RequestTypeReservedBits = 00
00000069  16:25:51    Request                 = 04
00000070  16:25:51    Value                   = 0005
00000071  16:25:51    Index                   = 0000
00000072  16:25:51
00000073  16:25:51  <<<<<<< URB 1204 coming back...
00000074  16:25:51  -- URB_FUNCTION_CONTROL_TRANSFER:
00000075  16:25:51    PipeHandle           = 815d0fb4
00000076  16:25:51    TransferFlags        = 00000002
(USBD_TRANSFER_DIRECTION_OUT, USBD_SHORT_TRANSFER_OK)
00000077  16:25:51    TransferBufferLength = 00000000
00000078  16:25:51    TransferBuffer       = 81371351
00000079  16:25:51    TransferBufferMDL    = 00000000
00000080  16:25:51    UrbLink              = 00000000
00000081  16:25:51    SetupPacket          : 42 04 05 00 00 00 00 00
00000082  16:25:51  UsbSnoop - IRP_MJ_INTERNAL_DEVICE_CONTROL,
IOCTL_INTERNAL_USB_SUBMIT_URB
00000083  16:25:51
00000084  16:25:51  >>>>>>> URB 1205 going down...
00000085  16:25:51  -- URB_FUNCTION_VENDOR_ENDPOINT:
00000086  16:25:51    TransferFlags          = 00000000
(USBD_TRANSFER_DIRECTION_OUT, ~USBD_SHORT_TRANSFER_OK)
00000087  16:25:51    TransferBufferLength = 00000007
00000088  16:25:51    TransferBuffer       = 81371351
00000089  16:25:51    TransferBufferMDL    = 00000000
00000090  16:25:51
00000091  16:25:51      0000: 00 00 ff 00 00 00 00
00000092  16:25:51    UrbLink                 = 00000000
00000093  16:25:51    RequestTypeReservedBits = 00
00000094  16:25:51    Request                 = 00
00000095  16:25:51    Value                   = 0000
00000096  16:25:51    Index                   = 0000
00000097  16:25:52
00000098  16:25:52  <<<<<<< URB 1205 coming back...
00000099  16:25:52  -- URB_FUNCTION_CONTROL_TRANSFER:
00000100  16:25:52    PipeHandle           = 815d0fb4
00000101  16:25:52    TransferFlags        = 00000002
(USBD_TRANSFER_DIRECTION_OUT, USBD_SHORT_TRANSFER_OK)
00000102  16:25:52    TransferBufferLength = 00000007
00000103  16:25:52    TransferBuffer       = 81371351
00000104  16:25:52    TransferBufferMDL    = 815037e8
00000105  16:25:52    UrbLink              = 00000000
00000106  16:25:52    SetupPacket          : 42 00 00 00 00 00 07 00
00000107  16:25:52  UsbSnoop - IRP_MJ_INTERNAL_DEVICE_CONTROL,
IOCTL_INTERNAL_USB_SUBMIT_URB
00000108  16:25:52
00000109  16:25:52  >>>>>>> URB 1206 going down...
00000110  16:25:52  -- URB_FUNCTION_VENDOR_ENDPOINT:
00000111  16:25:52    TransferFlags          = 00000000
(USBD_TRANSFER_DIRECTION_OUT, ~USBD_SHORT_TRANSFER_OK)
00000112  16:25:52    TransferBufferLength = 00000007
00000113  16:25:52    TransferBuffer       = 81371351
00000114  16:25:52    TransferBufferMDL    = 00000000
00000115  16:25:52
00000116  16:25:52      0000: 00 00 90 00 00 00 00
00000117  16:25:52    UrbLink                 = 00000000
00000118  16:25:52    RequestTypeReservedBits = 00
00000119  16:25:52    Request                 = 00
00000120  16:25:52    Value                   = 0000
00000121  16:25:52    Index                   = 0000
00000122  16:25:52
00000123  16:25:52  <<<<<<< URB 1206 coming back...
00000124  16:25:52  -- URB_FUNCTION_CONTROL_TRANSFER:
00000125  16:25:52    PipeHandle           = 815d0fb4
00000126  16:25:52    TransferFlags        = 00000002
(USBD_TRANSFER_DIRECTION_OUT, USBD_SHORT_TRANSFER_OK)
00000127  16:25:52    TransferBufferLength = 00000007
00000128  16:25:52    TransferBuffer       = 81371351
00000129  16:25:52    TransferBufferMDL    = 815037e8
00000130  16:25:52    UrbLink              = 00000000
00000131  16:25:52    SetupPacket          : 42 00 00 00 00 00 07 00
00000132  16:25:52  UsbSnoop - IRP_MJ_INTERNAL_DEVICE_CONTROL,
IOCTL_INTERNAL_USB_SUBMIT_URB
00000133  16:25:52
00000134  16:25:52  >>>>>>> URB 1207 going down...
00000135  16:25:52  -- URB_FUNCTION_VENDOR_ENDPOINT:
00000136  16:25:52    TransferFlags          = 00000003
(USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
00000137  16:25:52    TransferBufferLength = 00000003
00000138  16:25:52    TransferBuffer       = 81371348
00000139  16:25:52    TransferBufferMDL    = 00000000
00000140  16:25:52    UrbLink                 = 00000000
00000141  16:25:52    RequestTypeReservedBits = 00
00000142  16:25:52    Request                 = 01
00000143  16:25:52    Value                   = 0000
00000144  16:25:52    Index                   = 0000
00000145  16:25:52
00000146  16:25:52  <<<<<<< URB 1207 coming back...
00000147  16:25:52  -- URB_FUNCTION_CONTROL_TRANSFER:
00000148  16:25:52    PipeHandle           = 815d0fb4
00000149  16:25:52    TransferFlags        = 00000003
(USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
00000150  16:25:52    TransferBufferLength = 00000003
00000151  16:25:52    TransferBuffer       = 81371348
00000152  16:25:52    TransferBufferMDL    = 815037e8
00000153  16:25:52
00000154  16:25:52      0000: 00 00 00
00000155  16:25:52    UrbLink              = 00000000
00000156  16:25:52    SetupPacket          : c2 01 00 00 00 00 03 00
00000157  16:25:52  UsbSnoop - IRP_MJ_INTERNAL_DEVICE_CONTROL,
IOCTL_INTERNAL_USB_SUBMIT_URB
00000158  16:25:52
00000159  16:25:52  >>>>>>> URB 1208 going down...
00000160  16:25:52  -- URB_FUNCTION_VENDOR_ENDPOINT:
00000161  16:25:52    TransferFlags          = 00000000
(USBD_TRANSFER_DIRECTION_OUT, ~USBD_SHORT_TRANSFER_OK)
00000162  16:25:52    TransferBufferLength = 00000000
00000163  16:25:52    TransferBuffer       = 81371351
00000164  16:25:52    TransferBufferMDL    = 00000000
00000165  16:25:52
00000166  16:25:52    UrbLink                 = 00000000
00000167  16:25:52    RequestTypeReservedBits = 00
00000168  16:25:52    Request                 = 0a
00000169  16:25:52    Value                   = 0003
00000170  16:25:52    Index                   = 0000
00000171  16:25:52
00000172  16:25:52  <<<<<<< URB 1208 coming back...
00000173  16:25:52  -- URB_FUNCTION_CONTROL_TRANSFER:
00000174  16:25:52    PipeHandle           = 815d0fb4
00000175  16:25:52    TransferFlags        = 00000002
(USBD_TRANSFER_DIRECTION_OUT, USBD_SHORT_TRANSFER_OK)
00000176  16:25:52    TransferBufferLength = 00000000
00000177  16:25:52    TransferBuffer       = 81371351
00000178  16:25:52    TransferBufferMDL    = 00000000
00000179  16:25:52    UrbLink              = 00000000
00000180  16:25:52    SetupPacket          : 42 0a 03 00 00 00 00 00
00000181  16:25:52  UsbSnoop - IRP_MJ_INTERNAL_DEVICE_CONTROL,
IOCTL_INTERNAL_USB_SUBMIT_URB
00000182  16:25:52

<[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
  • ... Ashok H
  • ... JD Lawson
  • ... Astarte Turizm
  • ... Linux Seibolds
  • ... Dr . David Bola
  • ... Astarte Turizm
  • ... anton wilson
  • ... anton wilson
  • ... srinivas yarra
    • ... David Brownell
  • ... dupont rémy
    • ... dupont rémy
  • ... Dhirendra Pal Singh
  • ... 深圳市帝昊电子有限公司
  • ... 深圳市帝昊电子有限公司
  • ... admin
  • ... dave caswell
    • ... Stephen J. Gowdy
  • ... yyc
  • ... yamada1
  • ... hide tech

Reply via email to