Welcome, Guest. Please login or register.

Author Topic: USB VIDEO ON THE DENEB?  (Read 21462 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show all replies
    • http://www.platon42.de/
Re: USB VIDEO ON THE DENEB?
« Reply #14 from previous page: September 11, 2008, 12:07:50 AM »
Well... what can I say, probably *all* USB Display Adapters use the same kind of chipset: The DisplayLink DL-120 or DL-160 (latter has the higher resolutions). I opened the box and the thing consists of only three chips. The very fat ASIC BGA DL-120, a DVI encoder chip and 16MB of DDR memory. 16 MB, seems a lot for an adapter that can only display 1280x1024 in 24 bit. But then again, it surely has at least two frame buffers (double buffering) to avoid tearing effects and probably a rather large decompression buffer for the compressed data. The device only has one bulk output with 512 bytes per packet and on interrupt in endpoint. The rest is done via control transfers.

This means, there is no way the to read back pixels from the framebuffer on the adapter, only a "write to memory" feature. This means the Amiga has to have a copy of the current framebuffer in memory. One could save the memory for the delta buffer, if the MMU would be used to calculate accesses (like the Savage Shapeshifter driver).

Except for the decompression, I expect the device to be rather simple hardwarewise -- maybe the registers of the DVI encoder chip are directly accessible over control transfers. If that's the case, luckily the docs of the chip are available on the net.

I'll keep you informed how it turns out. But I really need some more sleep...
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM
 

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show all replies
    • http://www.platon42.de/
Re: USB VIDEO ON THE DENEB?
« Reply #15 on: September 11, 2008, 12:11:04 AM »
Quote

Zac67 wrote:
Just got a DeLock 61644 USB-DVI adapter for evaluation with our notebooks (all are docking and TFT equipped, but DVI-capable machines are out of the budget).


The DeLock looks *exactly* like the one wawa provided. If can determine the DL-chipset by opening it. I would like to know if it is the DL-160, because according to the specs, it should support 1600x1280, which mine doesn't :-(
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM
 

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show all replies
    • http://www.platon42.de/
Re: USB VIDEO ON THE DENEB?
« Reply #16 on: September 11, 2008, 07:42:01 AM »
Quote

wawrzon wrote:
Quote
But about false advertising: The adapter sold at Pearl only goes up to 1280x1024 and not to 1600x1200 as they say on the website. wawa should report that.


is it definite? if so i could fill a complaint, but pearl isnt that dependable anyway.


Yes, that's definitely a fact. I opened the box and is says DL-120 there. Only the DL-160 is able to provide the 1600x1200 resolution (and also I cannot set the resolution on my screen at work).

PS: Sleep is overrated  :crazy:
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM
 

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show all replies
    • http://www.platon42.de/
Re: USB VIDEO ON THE DENEB?
« Reply #17 on: September 11, 2008, 07:01:50 PM »
Quote

Zac67 wrote:
The DeLock really uses the same chip, but it's a DL-160 - so the high resolutions should work as advertised/mentioned in the 'manual'. But I bet it's the very same board design (=reference design from chip manufacturer).


Except for the DL-160, my adapter has the same components, even the same amount of memory (16 MB).
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM
 

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show all replies
    • http://www.platon42.de/
Re: USB VIDEO ON THE DENEB?
« Reply #18 on: September 13, 2008, 02:32:01 PM »
Quote

wawrzon wrote:
@platon42:
hi chris. i quote here the answer iv received from pearl on my complaint. seems to me bllsht since 1600x1200 is a 4:3 resolution but wanted to hear what u say.


Yeah, that is bull indeed (I had a monitor connected with a natural resolution of 1600x1050). They should open the box and see for theirselves that it only has the DL-120 inside and not the DL-160 that is needed for the higher resolutions. Also, when searching for the product number "Y-2240" you will find that this device has also been rebranded as "Unitek USB 2.0 External graphic card" with the description "Enjoy resolutions of up to 1200x 1040 at 32 bit color".

--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM
 

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show all replies
    • http://www.platon42.de/
Re: USB VIDEO ON THE DENEB?
« Reply #19 on: December 30, 2008, 09:31:49 AM »
Quote

platon42 wrote:

Except for the decompression, I expect the device to be rather simple hardwarewise -- maybe the registers of the DVI encoder chip are directly accessible over control transfers. If that's the case, luckily the docs of the chip are available on the net.

I'll keep you informed how it turns out. But I really need some more sleep...


The thing seems to use some XOR encryption/scrambling with a period of 4095 (LFSR?). Luckily, I found out that it can also operate in an unencrypted "debug" mode, which makes it much easier to analyse the protocol :-) A university friend of mine is helping me as he has a similar aim by writing a driver for linux for it :-)

BTW: x86 assembler sucks big time.
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM
 

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show all replies
    • http://www.platon42.de/
Re: USB VIDEO ON THE DENEB?
« Reply #20 on: December 30, 2008, 12:44:53 PM »
Quote

alexh wrote:
Quote

platon42 wrote:
BTW: x86 assembler sucks big time.

You looking at the Intel MacOS drivers?

DisplayLinkGA
DisplayLinkDriver

I thought with them being beta they might have accidentally left in source level debugging but no such luck!


I only got a PPC Mac, and they unfortunately don't provide drivers for PPC Macs. Hence, I've been looking in the wintel drivers. The actual "driver" logic is in the DisplayLinkManager.exe, which in my version does contain a lot of kprintf() debug statements, that led in the right direction already. There are a few debug symbols too, but not in the important parts.
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM
 

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show all replies
    • http://www.platon42.de/
Re: USB VIDEO ON THE DENEB?
« Reply #21 on: December 31, 2008, 01:01:12 PM »
Quote

alexh wrote:
The MacOSX intel beta drivers would probably be a better place to start? They have no hardware acceleration etc.

Use TransMac to open the .dmg stuffit file and 7Zip to open the .pak file


The cruel & crucial point is still that I have to read that brainf*cking x86 code. Anyway. I'm at a stage now that I have identified and understood the display memory (16MB) accessing functions and can display a nice gradient. I also have found the registers that are used for the frame buffer start addresses, so I can actually switch between two memory locations now.

I have yet to find out the calculation for the video registers (I'm using a pre-recorded setup right now) and the delta-compression scheme, among other things of course.

But things are progressing well...
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM
 

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show all replies
    • http://www.platon42.de/
USB VIDEO ON THE DENEB?
« Reply #22 on: May 17, 2009, 11:33:07 AM »
Quote from: MarkWatson;454491
In case no-one noticed, new Linux GPL'ed drivers are available:
http://freedesktop.org/wiki/Software/libdlo

I haven't checked the code yet, but seems this might be very helpful when writing an amiga driver...

Mark

The lib is not that helpful yet, though DisplayLink have announced that they will extend it to also support "a" compression, whatever that means. There is more information about internal workings on our butterbrot site:

http://floe.butterbrot.org/displaylink/doku.php

If I'm going to pick up on it, it's going to be after the AROS Port of Poseidon. The Linux and X window guys are currently poking around the lib (but they are not really happy), so I'd wait some time to see what they find out...

PS: There's also a mailing list for the DisplayLink stuff, if you want to join it, contact FloE under the address echtler at fs dot tum dot de.
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM
 

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show all replies
    • http://www.platon42.de/
Re: USB VIDEO ON THE DENEB?
« Reply #23 on: March 23, 2011, 08:52:10 PM »
Quote from: LoadWB;624001
Has there been any forward motion on USB video for the Deneb?


No, don't think so.
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM
 

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show all replies
    • http://www.platon42.de/
Re: USB VIDEO ON THE DENEB?
« Reply #24 on: March 25, 2011, 11:25:40 AM »
Quote from: LoadWB;624127
Well, damn.  Hey, while I have your attention, are you still updating Poseidon for AOS3?


Not if I don't need to.

Quote
 I have a couple of things I would like to submit to you: USB audio device being recognized as USB Audio?????????? (or something like that,) and the NDIS port on a SonyEricsson phone.


A lot of USB devices come with broken names (if that's what you see). Poseidon replaces illegal characters (UCS-16 space beyond ISO-Latin1 and below 32) with '?' letters.

No support for (R)NDIS planned. Looked at some years ago and considered it not worthy.
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM