Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who's Online
1 user(s) are online (1 user(s) are browsing Forum)

Members: 0
Guests: 1

more...

Browsing this Thread:   1 Anonymous Users



« 1 (2) 3 »


Re: lsusb -> "Please use c:loadresource"

Joined:
2008/2/5 6:58
From Sunny Finland
Group:
Member
Posts: 1006
Offline
Most of my machines no longer have any UHCI/OHCI controllers, only eHCI and xHCI. It is a clear indication that those drivers are being obsoleted.

Instead they implement integrated hubs and lower speed transfers are made with split transfers.

Even if one plugs a USB device directly to the computer there may or may not be a integrated hub between the host controller (roothub) and the device.

Posted on: 2015/5/4 0:29
Transfer the post to other applications Transfer


Re: lsusb -> "Please use c:loadresource"

Joined:
2007/8/21 11:21
Group:
Member
Posts: 148
Offline
ok .. as I see you implemented xHCI for Poseidon

so with the right hardware there would no need to schedule in software, right?

and according to aros wiki:

"Isochronous code is already in place in poseidon.library, transfers are just not queued to be transferred in the host driver code."

but also:
"... still no support in pciusb.device."

still true?



Posted on: 2015/5/4 1:17
Transfer the post to other applications Transfer


Re: lsusb -> "Please use c:loadresource"

Joined:
2008/2/5 6:58
From Sunny Finland
Group:
Member
Posts: 1006
Offline
Implemented is a mighty strong choice of words what I've placed on the repository is merely a skeleton that leaches into the stack.

Posted on: 2015/5/4 5:12
Transfer the post to other applications Transfer


Re: lsusb -> "Please use c:loadresource"

Joined:
2008/2/5 6:58
From Sunny Finland
Group:
Member
Posts: 1006
Offline
Most of the new web cams utilize the uvc usb class, but some older devices implemented things on their own.

I went and "stole" my sons PS3-eye camera and it uses BULK transfers. Using that camera would be the quickest path capturing video on Aros. PS3 camera has also a extremely high framerate, it could be used for all sort of things like 3D scanning etc.

Only thing then left to do is to define the uvc api on Aros and code the driver (I would not like to see v4l(2) on Aros).

Should the uvc.class expose a device or a library? I would like it to expose a library that one can query for attached devices and control the camera(s). It would also need some kind of event handler if some buttons are present on the thing.

Edit:
Proposal for video capturing from web cams:
- Only support web cams and a test pattern. Input only.
-> webcam.library which one registers different drivers
- webcam.library provides the test pattern itself

Or like Linux has v4a (video for Aros), bloated in my opinnion.

Edit:
On the other hand there is no use for a web cam if it's output cannot be tossed around at will. It would need all sort of interfaces and the frame format would also need conversions. MJPEG to RGB etc. Some sort of common video stack is needed.

Posted on: 2015/5/5 2:57

Edited by DizzyOfCRN on 2015/5/5 3:19:29
Edited by DizzyOfCRN on 2015/5/5 3:20:13
Edited by DizzyOfCRN on 2015/5/5 3:40:00
Edited by DizzyOfCRN on 2015/5/5 3:48:58
Transfer the post to other applications Transfer


Re: lsusb -> "Please use c:loadresource"

Joined:
2010/1/8 10:07
Group:
Member
Posts: 1413
Offline
Quote:
Should the uvc.class expose a device or a library?


library..


Posted on: 2015/5/5 5:11
_________________
Lets build not destroy
http://serk118.blogspot.co.uk/
Transfer the post to other applications Transfer


Re: lsusb -> "Please use c:loadresource"

Joined:
2007/8/21 11:21
Group:
Member
Posts: 148
Offline
A device with a fifo like Webcam:cam1 would be nice of course.
Leaving all the decoding to ffmpeg or mplayer or whatever...

But for a start a library is great too!

Posted on: 2015/5/5 8:51

Edited by cybergorf on 2015/5/5 9:14:53
Transfer the post to other applications Transfer


Re: lsusb -> "Please use c:loadresource"

Joined:
2010/1/8 10:07
Group:
Member
Posts: 1413
Offline
Quote:

cybergorf wrote:
A device with a fifo like Webcam:cam1 would be nice of course.
Leaving all the decoding to ffmpeg or mplayer or whatever...

But for a start a library is great too!

slipped out of my mind and again executable file size currently 14mb will grow even more when more added..

Quote:
Leaving all the decoding to ffmpeg or mplayer

so true..

Library is more amiga'ish
we can alway write a new (arCAM named already lol) tool with mui using library + lib264.

Both is welcome..

Posted on: 2015/5/5 10:44
Transfer the post to other applications Transfer


Re: lsusb -> "Please use c:loadresource"

Joined:
2008/2/5 6:58
From Sunny Finland
Group:
Member
Posts: 1006
Offline
I managed to turn the red led on (privacy light) on the PS3Eye-camera. This is just a test to see if I can manage to get the output to Aros.

I coded small ps3eye.class that opens 640x480 window and some zune gadgets on another mui window when the thing gets plugged in. At least it can communicate with it.

Edit:
Here's some HD video of the toggling led... https://youtu.be/Jugipj9LeXk

Posted on: 2015/5/6 6:35

Edited by DizzyOfCRN on 2015/5/6 7:31:55
Transfer the post to other applications Transfer


Re: lsusb -> "Please use c:loadresource"

Joined:
2010/1/8 10:07
Group:
Member
Posts: 1413
Offline
Quote:

DizzyOfCRN wrote:
I managed to turn the red led on (privacy light) on the PS3Eye-camera. This is just a test to see if I can manage to get the output to Aros.

I coded small ps3eye.class that opens 640x480 window and some zune gadgets on another mui window when the thing gets plugged in. At least it can communicate with it.

Edit:
Here's some HD video of the toggling led... https://youtu.be/Jugipj9LeXk


wow thats great..

Posted on: 2015/5/6 7:58
Transfer the post to other applications Transfer


Re: lsusb -> "Please use c:loadresource"

Joined:
2008/2/5 6:58
From Sunny Finland
Group:
Member
Posts: 1006
Offline
Managed to open the BULK endpoint. Camera outputs YUV and I just write it ARGB on the window. Needs some conversion between. Some artifacts are from the frame header (12 bytes every now and then)

https://youtu.be/eW2Cngo5PIg

It takes some time until camera shows anything and that's just because I wait for the last frame to arrive before capturing, sometimes it doesn't catch it.

Posted on: 2015/5/6 15:27
Transfer the post to other applications Transfer



« 1 (2) 3 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4346
2 magorium
magorium
4095
3 phoenixkonsole
phoenixkonsole
3891
4 nikolaos
nikolaos
3677
5 deadwood
deadwood
2923
6 ncafferkey
ncafferkey
2631
7 mazze
mazze
2214
8 clusteruk
clusteruk
2103
9 Kalamatee
Kalamatee
2024
10 damocles
damocles
1789
© 2004-2017 AROS Exec