English Amiga Board Amiga Lore


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 11 August 2016, 02:21   #1
mritter0
Registered User

 
Join Date: Sep 2013
Location: Bettendorf, IA, USA
Age: 46
Posts: 203
USB devices

Is it possible to emulate USB ports to use with OS4 Classic? So we can use thumb drives and external harddrives.
mritter0 is offline  
AdSense AdSense  
Old 11 August 2016, 15:56   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,561
Hardware USB emulation? Not easy and very complex but probably will happen someday.

Removable disks work under OS4 just like under 3.x, there is no need for actual USB emulation.
Toni Wilen is online now  
Old 11 August 2016, 20:22   #3
mritter0
Registered User

 
Join Date: Sep 2013
Location: Bettendorf, IA, USA
Age: 46
Posts: 203
So I can insert/remove USB thumb drives in OS4 Classic in WinUAE? How?

I am finishing up a project and want to know when a USB device is inserted/removed, and be notified with IDCMP_DISKINSERTED/REMOVED, like a floppy does.
mritter0 is offline  
Old 11 August 2016, 20:52   #4
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 2,483
Quote:
Originally Posted by Toni Wilen View Post
Hardware USB emulation? Not easy and very complex but probably will happen someday.
VirtualBox supports emulation of USB mass storage devices since version 5.0, perhaps the source code of that could be useful.

Quote:
Originally Posted by mritter0 View Post
So I can insert/remove USB thumb drives in OS4 Classic in WinUAE? How?

I am finishing up a project and want to know when a USB device is inserted/removed, and be notified with IDCMP_DISKINSERTED/REMOVED, like a floppy does.
I don't think that's possible (currently). Inserting or removing the medium into/from a removable drive is different logically to removing the (non-removable-media) drive itself and replacing it with a different drive. Though if that's how OS4 handles USB mass storage devices then emulation of a USB host controller could help there??
mark_k is offline  
Old 11 August 2016, 21:38   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,561
Quote:
Originally Posted by mark_k View Post
VirtualBox supports emulation of USB mass storage devices since version 5.0, perhaps the source code of that could be useful.
There is much more than technical problems...

Because USB is something I don't really see the point to emulate (only point being "for completeness", another boring PC feature), I have very specific requirements.

I won't do anything until someone sends me FULL specs of "All OS" (=OS3.x, OS4, netbsd, linux) compatible (=has drivers) USB hardware board. Full Amiga address space to whatever USB chip wiring. Must be USB chip that has full specs available. Must be Z2/Z3 (for all Amiga compatibility, clock port is stupid hack) There must be enough low level test programs for debugging. I must also have the board.

USB boards are not ancient or obsolete devices that require reverse-engineering. I REQUIRE full specs.

I also won't bother to contact anyone (No one understands emulation and emulation requirements anyway, I don't want to answer stupid questions).

-> Above tasks are 100% Someone Else's Problem.

Quote:
I don't think that's possible (currently). Inserting or removing the medium into/from a removable drive is different logically to removing the (non-removable-media) drive itself and replacing it with a different drive. Though if that's how OS4 handles USB mass storage devices then emulation of a USB host controller could help there??
UAE removable drive support (when mounting for example USB drives that are PC formatted) sends usual IECLASS_DISKINSERTED/IECLASS_DISKREMOVED input events. (WB would not notice the change without it)

Remove hardfiles/Amiga harddrives are totally different thing. It probably won't work in OS4.
Toni Wilen is online now  
Old 12 August 2016, 00:10   #6
mritter0
Registered User

 
Join Date: Sep 2013
Location: Bettendorf, IA, USA
Age: 46
Posts: 203
CD & Hard drives->Automount removable drives
does exactly what I want. Just never tried it. I don't want to remove hardfiles, just USB thumb drives and such.

Include removable drives...
does what? No help bubble for it.
mritter0 is offline  
Old 12 August 2016, 18:02   #7
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italia)
Posts: 1,955
Quote:
Originally Posted by Toni Wilen View Post
There is much more than technical problems...
Ciao Toni, Excuse my ignorance in this area, but you could not use the editing mode that is on AROS?

Last edited by AMIGASYSTEM; 18 December 2016 at 18:58.
AMIGASYSTEM is offline  
Old 12 August 2016, 20:39   #8
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,561
Quote:
Originally Posted by mritter0 View Post
Include removable drives...
does what? No help bubble for it.
Mount all inserted removable devices at boot (as normal devices). There is no (at least not yet) support to mount removable drives as Amiga removable drives at boot.

Quote:
Originally Posted by AMIGASYSTEM View Post
Ciao Toni, Excuse my ignorance in this area, but you could not use the editing mode that is on AROS?
Editing mode?

AROS does not emulate any USB hardware. NOTHING emulates Amiga USB hardware! No OS needs to do it. Only emulators and virtual machines need it.
Toni Wilen is online now  
Old 12 August 2016, 20:51   #9
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italia)
Posts: 1,955
Toni is right, I expressed myself badly I (because of my bad english), I know that AROS USB devices are natively views, in my ignorance, i thought of something that would emulate
AMIGASYSTEM is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Subway Deneb: What Devices Do You Use? crazyegg support.Hardware 20 10 March 2017 22:55
New USB HID mouse / USB Joystick / Gamepad USB adapter for the classic Amiga spidi News 187 24 October 2016 12:11
Mapping multiple USB devices to one "gameport" in WinUAE? isamu support.WinUAE 7 22 March 2013 10:55
Will i be able to use this devices with a mediator? gulliver support.Hardware 5 09 February 2010 19:03

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:36.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.15537 seconds with 11 queries