Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who is Online
26 user(s) are online (21 user(s) are browsing Forum)

Members: 0
Guests: 26

more...


Browsing this Thread:   1 Anonymous Users




« 1 (2) 3 4 »


Re: usb wifi sticks / realtek8180.device development
#23
Home away from home
Home away from home


See User information
@DizzyOfCRN

Cool, great work!

@nikolaos

You're not mixing up asynchronous and isochronous by any chance?

Posted on: 2017/2/24 14:48
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: usb wifi sticks / realtek8180.device development
#22
Home away from home
Home away from home


See User information
Quote:

nikolaos wrote:
Dizzy: Holly shit!! Does this mean we can use USB-audio DACs with AROS ?


I don't know... There's still lot of things just plain wrong in the code. I would not keep my hopes up that the isoc transfers would just work...

Just tried out the bulk transfer without any debugs and it seems really sluggish... :(

EDIT:

That was with sd-card reader. With USB3.0 flash drive copying file to ram is 25.8 MBytes/s (using of course USB2.0 transfers)

But I'm not sure that the reported speed is correct on Wanderer...

EDIT: Slowness might very possibly be caused because I allocate the transfer structure per transfer... stupid me...

Posted on: 2017/2/24 13:46

Edited by DizzyOfCRN on 2017/2/24 14:10:51
Edited by DizzyOfCRN on 2017/2/24 14:21:25
Edited by DizzyOfCRN on 2017/2/24 14:35:12
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: usb wifi sticks / realtek8180.device development
#21
Home away from home
Home away from home


See User information
Dizzy: Holly shit!! Does this mean we can use USB-audio DACs with AROS ?


Posted on: 2017/2/24 13:32
www.aspireos.com
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: usb wifi sticks / realtek8180.device development
#20
Home away from home
Home away from home


See User information
I got the USB interrupt transfer to "work"

https://youtu.be/za7bbo3yrWk

The driver has to be coded to use asynchronous transfers.
As it is now ioreq->iouh_NakTimeout with value of zero will block everything... 0 value is wait for ever for libusb.

On that video I hard coded the nak timeout to be 100mS and I had to tab continuously the keyboard to keep Poseidon happy and not drop the usb device.

Once the driver is made to use async transfers it could be used for native development of other usb devices.

EDIT:

I converted the bulk transfer method to use asyncronous libusb transfers (sort of and not really. it still blocks the calls as iorequests are not queued)

https://youtu.be/l2kxI_BylkQ

I think my Linux setup is dying as my desktop pc shows low battery... :) and it's critical... :)

EDIT:

Now the BULK transfer is truly asynchronous

https://youtu.be/sPrXm0Y71Bo

There's a lot of debug prints enabled to the terminal so it takes a while to read the doom wad file.

Posted on: 2017/2/24 2:33

Edited by DizzyOfCRN on 2017/2/24 8:06:14
Edited by DizzyOfCRN on 2017/2/24 8:08:41
Edited by DizzyOfCRN on 2017/2/24 8:09:23
Edited by DizzyOfCRN on 2017/2/24 10:28:30
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: usb wifi sticks / realtek8180.device development
#19
Home away from home
Home away from home


See User information
Quote:

ncafferkey wrote:

"Exit" is specific to Icaros. IIRC it's an alias for EndShell, so you can replace it with that.


Exact

@All

Please use 'endshell' to close a shell window, 'exit' is there on Icaros Desktop for pure comfort, but shouldn't be used in scripts. Thank you.

Posted on: 2017/2/15 15:04
p.bes
Icaros Desktop AROS distribution mantainer
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: usb wifi sticks / realtek8180.device development
#18
Home away from home
Home away from home


See User information
Quote:

amiga wrote:
With the your script the USB Wifi Sticks WG111 It seems to work well, in the script I tovuto disable the command "exit"


"Exit" is specific to Icaros. IIRC it's an alias for EndShell, so you can replace it with that.

Posted on: 2017/2/15 14:36
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: usb wifi sticks / realtek8180.device development
#17
Home away from home
Home away from home


See User information
With the your script the USB Wifi Sticks WG111 It seems to work well, in the script I had to disable the command "exit"

Posted on: 2017/2/15 10:30

Edited by amiga on 2017/2/15 16:03:10
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: usb wifi sticks / realtek8180.device development
#16
Home away from home
Home away from home


See User information
that's weird, because after harddisk crash I've just installed AROS nightly 2017-01-23 ABIv0 (same as yours), and the realtek8180.device errors that I got from previous nightlies (2017-01-xx) are gone, but now I get "Privilege violation error" from bsdsocket.library.

Attach file:



jpg  (0.00 KB)


Posted on: 2017/2/6 22:54

Edited by roMancer on 2017/2/7 15:57:00
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: usb wifi sticks / Realtek8180.device development
#15
Home away from home
Home away from home


See User information
I'm testing Usb Wifi Sticks "Netgear WG111 V3", I tried the Realtek8180.device taken from the Nightly Builds 2017-01-23 (ABIv0) that worked well just that at startup I get an error.


Attach file:



jpg  (0.00 KB)


Posted on: 2017/2/6 21:59
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: usb wifi sticks / realtek8180.device development
#14
Home away from home
Home away from home


See User information
The fix has been applied to ABIv0 too, but IIRC the frequency of its builds has been reduced to weekly because it rarely changes.

Posted on: 2017/1/21 22:37
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 




« 1 (2) 3 4 »



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.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4462
2 nikolaos
nikolaos
4206
3 magorium
magorium
4095
4 phoenixkonsole
phoenixkonsole
3942
5 deadwood
deadwood
2917
6 ncafferkey
ncafferkey
2810
7 mazze
mazze
2222
8 Kalamatee
Kalamatee
2212
9 clusteruk
clusteruk
2114
Powered by XOOPS © 2001-2025 The XOOPS Project