Re: Twinhan StarBox 7021 DVB-S

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

 



Hi,

your usbsnoop snipset is a bit small.
Anyway here a prepared version:
000221:  OUT: 000281 ms 037765 ms c0 b8 00 00 00 00 0a 00 <<<  20 00
00 08 01 b8 69 37 7e bf
000222:  OUT: -38046 ms 038046 ms <<<  00 11 00 12 00 00 00 00 00 00
00 00 00 00 00 01
000227:  OUT: 000030 ms 038713 ms c0 b4 00 00 00 00 0a 00 <<<  b4 44
00 08 01 b8 00 00 00 00
000228:  OUT: -38743 ms 038743 ms c0 b8 00 00 00 00 0a 00 <<<  20 00
00 08 01 b8 00 00 00 00
000236:  OUT: -41735 ms 041735 ms c0 b4 00 00 00 00 0a 00 <<<  b4 44
01 3a 2e 80 00 29 00 f7

urb 221 .. a read request from the host to the device, the device
returned 0x20 0x00 etc.
urb 222 .. not sure URB_FUNCTION_VENDOR_DEVICE, have a closer look at
the USB 2.0 specifications which are freely available on www.usb.org
urb 228 ..  is also a read request
urb 236 .. another read request

These commands will not tune for sure since they are only read requests.
Sniff a frequency scan in windows and have a look at repeating sequences.
Only write requests should change the behaviour of your device.
Also have a look at:
http://linuxtv.org/v4lwiki/index.php/USBVideo

http://linuxtv.org/v4lwiki/index.php/Em2820#USB_Control_Message

cheers,
Markus

On 5/14/06, Dave Tapuska <dftapusk@xxxxxxxxx> wrote:
I have been looking at the vp702x driver and I can't
seem to match the commans up against a USBSnoop that I
have done on a windows machine when tuning the card.
Apparently the linux driver is alpha and doesn't work
so I thought that there might be something that I
could figure out. Does anyone have any documentation
to share on this card?

I'm interested in what the following packets mean:
[37765 ms] UsbSnoop -
MyInternalIOCTLCompletion(f88a0db0) : fido=00000000,
Irp=8226c2d8, Context=82293950, IRQL=2
[37765 ms]  <<<  URB 221 coming back  <<<
-- URB_FUNCTION_CONTROL_TRANSFER:
  PipeHandle           = 821422c8
  TransferFlags        = 0000000b
(USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
  TransferBufferLength = 0000000a
  TransferBuffer       = f88c47c0
  TransferBufferMDL    = 821c3a88
    00000000: 20 00 00 08 01 b8 69 37 7e bf
  UrbLink              = 00000000
  SetupPacket          =
    00000000: c0 b8 00 00 00 00 0a 00
[38046 ms] UsbSnoop - DispatchAny(f889f610) :
IRP_MJ_INTERNAL_DEVICE_CONTROL
[38046 ms] UsbSnoop -
MyDispatchInternalIOCTL(f88a0e80) : fdo=821cec38,
Irp=8226c2d8, IRQL=0
[38046 ms]  >>>  URB 222 going down  >>>
-- URB_FUNCTION_VENDOR_DEVICE:
  TransferFlags          = 00000000
(USBD_TRANSFER_DIRECTION_OUT, ~USBD_SHORT_TRANSFER_OK)
  TransferBufferLength = 00000013
  TransferBuffer       = ba0bdbb4
  TransferBufferMDL    = 00000000
    00000000: 00 11 00 12 00 00 00 00 00 00 00 00 00
00 00 00
    00000010: 00 00 01
  UrbLink                 = 00000000
  RequestTypeReservedBits = 00000000
  Request                 = 000000b2
  Value                   = 00000000
  Index                   = 00000000
[38713 ms] UsbSnoop -
MyInternalIOCTLCompletion(f88a0db0) : fido=00000000,
Irp=820bc008, Context=8229e0b8, IRQL=2
[38713 ms]  <<<  URB 227 coming back  <<<
-- URB_FUNCTION_CONTROL_TRANSFER:
  PipeHandle           = 821422c8
  TransferFlags        = 0000000b
(USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
  TransferBufferLength = 0000000a
  TransferBuffer       = babafc1c
  TransferBufferMDL    = 8217dc38
    00000000: b4 44 00 08 01 b8 00 00 00 00
  UrbLink              = 00000000
  SetupPacket          =
    00000000: c0 b4 00 00 00 00 0a 00
[38742 ms] UsbSnoop - DispatchAny(f889f610) :
IRP_MJ_INTERNAL_DEVICE_CONTROL
[38742 ms] UsbSnoop -
MyDispatchInternalIOCTL(f88a0e80) : fdo=821cec38,
Irp=820bc008, IRQL=0
[38742 ms]  >>>  URB 228 going down  >>>
-- URB_FUNCTION_VENDOR_DEVICE:
  TransferFlags          = 00000003
(USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
  TransferBufferLength = 0000000a
  TransferBuffer       = f88c47c0
  TransferBufferMDL    = 00000000
  UrbLink                 = 00000000
  RequestTypeReservedBits = 00000000
  Request                 = 000000b8
  Value                   = 00000000
  Index                   = 00000000
[38743 ms] UsbSnoop -
MyInternalIOCTLCompletion(f88a0db0) : fido=00000000,
Irp=820bc008, Context=82359658, IRQL=2
[38743 ms]  <<<  URB 228 coming back  <<<
-- URB_FUNCTION_CONTROL_TRANSFER:
  PipeHandle           = 821422c8
  TransferFlags        = 0000000b
(USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
  TransferBufferLength = 0000000a
  TransferBuffer       = f88c47c0
  TransferBufferMDL    = 8217dc38
    00000000: 20 00 00 08 01 b8 00 00 00 00
  UrbLink              = 00000000
  SetupPacket          =
    00000000: c0 b8 00 00 00 00 0a 00
[39049 ms] UsbSnoop - DispatchAny(f889f610) :
IRP_MJ_INTERNAL_DEVICE_CONTROL
[39049 ms] UsbSnoop -
MyDispatchInternalIOCTL(f88a0e80) : fdo=821cec38,
Irp=820bc008, IRQL=0

[41735 ms] UsbSnoop -
MyInternalIOCTLCompletion(f88a0db0) : fido=00000000,
Irp=82164008, Context=820d9268, IRQL=2
[41735 ms]  <<<  URB 236 coming back  <<<
-- URB_FUNCTION_CONTROL_TRANSFER:
  PipeHandle           = 821422c8
  TransferFlags        = 0000000b
(USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
  TransferBufferLength = 0000000a
  TransferBuffer       = babafc1c
  TransferBufferMDL    = 8217dc38
    00000000: b4 44 01 3a 2e 80 00 29 00 f7
  UrbLink              = 00000000
  SetupPacket          =
    00000000: c0 b4 00 00 00 00 0a 00


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb



--
Markus Rechberger

_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux