English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 06 June 2023, 16:31   #21
Gilloo
Registered User
 
Join Date: Nov 2010
Location: Grenoble, Isère, Rhône-Alpes, France, Europe, Earth
Posts: 290
Very strange, it shows 4 interfaces for the same device...

The callfunction also work with the rMouse.usbfd and the hid.usbfd if you don't stop the stack.
if you copy only one driver in the devs:anaiis/fd drawer.

bootmouse.usbfd orignal Sirion 1.3 driver (AmigaOS >= 3.1)
hid.usbfd original Sirion 1.3 driver (AmigaOS >=3.1)
rMouse.usbfd agnostic driver, should work in any system.

Are you run this on AmigaOS 3.2 or more recent ?
The input.device seems to have a lot of improvements, like IND_ADDEVENT...
The IND_WRITEEVENT used in 1.3 up to 3.1.4 seems to do nothing.
Gilloo is offline  
Old 07 June 2023, 22:54   #22
StevenJGore
Amiga Fanatic
 
StevenJGore's Avatar
 
Join Date: Feb 2004
Location: North Yorkshire, UK
Age: 46
Posts: 729
Quote:
Originally Posted by Gilloo View Post
Very strange, it shows 4 interfaces for the same device...

The callfunction also work with the rMouse.usbfd and the hid.usbfd if you don't stop the stack.
if you copy only one driver in the devs:anaiis/fd drawer.

bootmouse.usbfd orignal Sirion 1.3 driver (AmigaOS >= 3.1)
hid.usbfd original Sirion 1.3 driver (AmigaOS >=3.1)
rMouse.usbfd agnostic driver, should work in any system.

Are you run this on AmigaOS 3.2 or more recent ?
The input.device seems to have a lot of improvements, like IND_ADDEVENT...
The IND_WRITEEVENT used in 1.3 up to 3.1.4 seems to do nothing.
I'm using AmigaOS 3.2.2.1.

I tried using hid.usbfd instead of bootmouse.usbfd, and it works perfectly! The scroll wheel works, too!

How do I get it to automatically run callfunction when Workbench starts? In startup-sequence, or in the WBStartup drawer, or something else? Is there a tooltype to prevent callfunction opening an output window? I tried the startup-sequence method, and it worked with the mouse but workbench didn't load, it stopped at the callfunction output screen.

Many thanks!

Last edited by StevenJGore; 07 June 2023 at 23:05.
StevenJGore is offline  
Old 09 June 2023, 12:29   #23
Gilloo
Registered User
 
Join Date: Nov 2010
Location: Grenoble, Isère, Rhône-Alpes, France, Europe, Earth
Posts: 290
Quote:
Originally Posted by StevenJGore View Post
I'm using AmigaOS 3.2.2.1.

I tried using hid.usbfd instead of bootmouse.usbfd, and it works perfectly! The scroll wheel works, too!

How do I get it to automatically run callfunction when Workbench starts? In startup-sequence, or in the WBStartup drawer, or something else? Is there a tooltype to prevent callfunction opening an output window? I tried the startup-sequence method, and it worked with the mouse but workbench didn't load, it stopped at the callfunction output screen.

Many thanks!
3.2.2.1 wow ! glad to hear it didn't crash !

The callfunction is experimental, and for debug use.
It will integrated in the stack, in a more discreet and cleaner way.
You should be patient, it's for a future version.
Must fix TheMouse and TheGamePad issues first
Have you tried with the run command in a batch ?
run >NIL: callfunction


I search the hid.usbfd source code without success...
the hid.usbfd of the Sirion 1.3 package got a bug: it can't reply to the DETACH event: if you remove the device, the guru is not so far.
The two other drivers (rMouse.usbfd, bootmouse.usbfd) can detach.
Gilloo is offline  
Old 09 June 2023, 16:54   #24
StevenJGore
Amiga Fanatic
 
StevenJGore's Avatar
 
Join Date: Feb 2004
Location: North Yorkshire, UK
Age: 46
Posts: 729
Quote:
Originally Posted by Gilloo View Post
Have you tried with the run command in a batch ?
run >NIL: callfunction
I've added this line to the end of my startup-sequence and it works perfectly. Thanks!
StevenJGore is offline  
Old 09 June 2023, 16:56   #25
StevenJGore
Amiga Fanatic
 
StevenJGore's Avatar
 
Join Date: Feb 2004
Location: North Yorkshire, UK
Age: 46
Posts: 729
Quote:
Originally Posted by Gilloo View Post
The callfunction is experimental, and for debug use.
It will integrated in the stack, in a more discreet and cleaner way.
You should be patient, it's for a future version.
Excellent. Understood.
StevenJGore is offline  
Old 01 August 2023, 10:30   #26
Gilloo
Registered User
 
Join Date: Nov 2010
Location: Grenoble, Isère, Rhône-Alpes, France, Europe, Earth
Posts: 290
2 months later...
ANAIIS 1.23 31-Jul-2023
We can do without the callfunction program, because it is inside now
https://aminet.net/package/driver/other/anaiis

There are still small bugs but they are not very nasty.
Gilloo is offline  
Old 01 August 2023, 15:18   #27
StevenJGore
Amiga Fanatic
 
StevenJGore's Avatar
 
Join Date: Feb 2004
Location: North Yorkshire, UK
Age: 46
Posts: 729
Thanks for the new version!

Slight issue with it, though. The y-axis of my USB mouse has stopped working.

When I move the mouse, the mouse pointer moves up to the very top edge of the screen and stays there. It moves fine along the x-axis.

If I plug the same mouse into my TruMouse USB adapter, the y-axis works fine.

Let me know if there's anything I can do to help.

Last edited by StevenJGore; 01 August 2023 at 22:53.
StevenJGore is offline  
Old 01 August 2023, 15:53   #28
Gilloo
Registered User
 
Join Date: Nov 2010
Location: Grenoble, Isère, Rhône-Alpes, France, Europe, Earth
Posts: 290
As far as I remember, you need the hid.usbfd
Can you check the devs:anaiis/fd and devs:anaiis/fdclasses and also what driver is loaded for the interface ? (anaiis program, interfaces, there is some arrows at the top to navigate)
Gilloo is offline  
Old 01 August 2023, 22:53   #29
StevenJGore
Amiga Fanatic
 
StevenJGore's Avatar
 
Join Date: Feb 2004
Location: North Yorkshire, UK
Age: 46
Posts: 729
In Devs:anaiis/fd there were 4 files; bootmouse.usbfd, bootkeyboard.usbfd, hid.usbfd, and rMouse.usbfd. I removed all but hid.usbfd and my mouse works fine again now. Also removed all but hid.fdclass in fdclassess.

Thanks again!
StevenJGore is offline  
Old 02 August 2023, 10:22   #30
Gilloo
Registered User
 
Join Date: Nov 2010
Location: Grenoble, Isère, Rhône-Alpes, France, Europe, Earth
Posts: 290
You can arrange the priorities of the drivers by setting the PRI property.

fdclass/*.fdclass are plain files, easily to edit but you can also duplicate the rMouse.usbfd.info icon to hid.usbfd.info and set a pri of 20 for example.
All existing properties in .fdclass can be set in the icon, with the = to separate key=value.

But cleaning up the directory to leave only what you want to use is still the best solution.
Gilloo is offline  
Old 21 August 2023, 15:13   #31
E-Penguin
Banana
 
E-Penguin's Avatar
 
Join Date: Jul 2016
Location: Darmstadt
Posts: 1,214
Is there any chance of supporting a usb cd/dvd device? I don't have an ide interface on my A500 (I do have clockport via an aca500plus) so I think this is my best shot at getting a cd drive somehow
E-Penguin is offline  
Old 21 August 2023, 18:53   #32
Gilloo
Registered User
 
Join Date: Nov 2010
Location: Grenoble, Isère, Rhône-Alpes, France, Europe, Earth
Posts: 290
Quote:
Originally Posted by E-Penguin View Post
Is there any chance of supporting a usb cd/dvd device? I don't have an ide interface on my A500 (I do have clockport via an aca500plus) so I think this is my best shot at getting a cd drive somehow
For DVD I don't know, but concerning CD, this filesystem can be used
https://aminet.net/package/disk/cdrom/amicdfs240

The cd0 device must be modified to use usbscsi.device, and the right unit.
The massive program must be launched with nomount/no unmount option.
Gilloo is offline  
Old 20 September 2023, 17:15   #33
Gilloo
Registered User
 
Join Date: Nov 2010
Location: Grenoble, Isère, Rhône-Alpes, France, Europe, Earth
Posts: 290
Hello,
If you have some usb keys, could you test the xmass program, and try to find why some work perfectly and some fail with tons of errors.

https://aminet.net/package/driver/other/anaiis_xmass

The source code is present for GCC or SASC/6.58, and also include fragments to complete the compilation.

Many thanks in advance
Gilloo is offline  
Old 27 October 2023, 11:56   #34
Hailstorm
Registered User
 
Join Date: Oct 2023
Location: Amsterdam Zuidoost
Posts: 15
Quote:
Originally Posted by Gilloo View Post
For DVD I don't know, but concerning CD, this filesystem can be used
https://aminet.net/package/disk/cdrom/amicdfs240

The cd0 device must be modified to use usbscsi.device, and the right unit.
The massive program must be launched with nomount/no unmount option.
After getting a mouse working (through a kvm switch even) and a keyboard (sadly not through the kvm switch) I was looking into getting a USB cdrom going.

I've installed amicdfs240, I've modified CD0 to usbscsi.device but I'm having trouble what to put into the unit number.
I've launced massive nomount, but it says it can't do anything with the attached USB cdrom. Note that I tried one with an integrated USB hub and cardreader. I've already ordered a drive without it. Sadly they are all dvd, but I'm sure I'm doing something else wrong.
Any idea what to put into 'unit'? Can I find that using the anaiis tools?
Hailstorm is offline  
Old 27 October 2023, 21:16   #35
Gilloo
Registered User
 
Join Date: Nov 2010
Location: Grenoble, Isère, Rhône-Alpes, France, Europe, Earth
Posts: 290
Quote:
Originally Posted by Hailstorm View Post
After getting a mouse working (through a kvm switch even) and a keyboard (sadly not through the kvm switch) I was looking into getting a USB cdrom going.

I've installed amicdfs240, I've modified CD0 to usbscsi.device but I'm having trouble what to put into the unit number.
I've launced massive nomount, but it says it can't do anything with the attached USB cdrom. Note that I tried one with an integrated USB hub and cardreader. I've already ordered a drive without it. Sadly they are all dvd, but I'm sure I'm doing something else wrong.
Any idea what to put into 'unit'? Can I find that using the anaiis tools?
As usual, could you activate this:
Anaiis program, File/List data...
and send me the file
ram:anaiis.prefs.txt
please ?
Gilloo is offline  
Old 27 October 2023, 21:25   #36
Hailstorm
Registered User
 
Join Date: Oct 2023
Location: Amsterdam Zuidoost
Posts: 15
Quote:
Originally Posted by Gilloo View Post
As usual, could you activate this:
Anaiis program, File/List data...
and send me the file
ram:anaiis.prefs.txt
please ?
Ofcourse, no problem.
I've already tried the other USB-DVDrom, it doesn't have any extras like usb-hub/cardreader.
I did get the keyboard working, that was just using another input usb port on the kvm switch
I'm using a pistorm32lite, hence the 68040
Attached Files
File Type: txt anaiis.prefs.txt (10.8 KB, 21 views)
Hailstorm is offline  
Old 27 October 2023, 22:05   #37
Gilloo
Registered User
 
Join Date: Nov 2010
Location: Grenoble, Isère, Rhône-Alpes, France, Europe, Earth
Posts: 290
Quote:
Originally Posted by Hailstorm View Post
Ofcourse, no problem.
I've already tried the other USB-DVDrom, it doesn't have any extras like usb-hub/cardreader.
I did get the keyboard working, that was just using another input usb port on the kvm switch
I'm using a pistorm32lite, hence the 68040
Seems to be blocked after the hub vid : pid 1A40:0101
there is no enumeration... strange. 4 ports.
perhaps the uhc124 is not able to wake them up
Gilloo is offline  
Old 27 October 2023, 22:16   #38
Hailstorm
Registered User
 
Join Date: Oct 2023
Location: Amsterdam Zuidoost
Posts: 15
Quote:
Originally Posted by Gilloo View Post
Seems to be blocked after the hub vid : pid 1A40:0101
there is no enumeration... strange. 4 ports.
perhaps the uhc124 is not able to wake them up
Hm yeah, the kvm switch is a kind of hub ofcourse.
I've disconnected the KVM switch
Attached is another anaiis.prefs.txt

I do have an amikey attached, it's on chip U7 and enables me to use a USB keyboard. Tho it doesn't conflict with the keyboard mouse through kvm. But I thought it might be worth to mention. With the attached anaiis.prefs.txt i have the keyboard connected to the amikey and I'm just using an Amiga Mouse.

The only thing connected to the subway 2021 now, is the USB-DVD
Attached Files
File Type: txt anaiis.prefs.txt (4.8 KB, 16 views)
Hailstorm is offline  
Old 28 October 2023, 13:26   #39
Gilloo
Registered User
 
Join Date: Nov 2010
Location: Grenoble, Isère, Rhône-Alpes, France, Europe, Earth
Posts: 290
I did something stupid: forgot to upload the modified version of massive for CD/DVD on aminet...
1) soon on aminet
2) can be downloaded here for people in a hurry
https://gilles-pelletier-vft.go.yj.f...is_massive.lha

@Hailstorm
I see the (8,2,80) interface for CD/DVD.
The previous versions of massive look at (8,6,80) interfaces only.
The new version takes (8,x,80) bulk something devices

Can you also try this program with your CD/DVD ?
https://aminet.net/package/driver/other/anaiis_xmass
Gilloo is offline  
Old 28 October 2023, 15:12   #40
Hailstorm
Registered User
 
Join Date: Oct 2023
Location: Amsterdam Zuidoost
Posts: 15
Quote:
Originally Posted by Gilloo View Post
I did something stupid: forgot to upload the modified version of massive for CD/DVD on aminet...
1) soon on aminet
2) can be downloaded here for people in a hurry
https://gilles-pelletier-vft.go.yj.f...is_massive.lha

@Hailstorm
I see the (8,2,80) interface for CD/DVD.
The previous versions of massive look at (8,6,80) interfaces only.
The new version takes (8,x,80) bulk something devices

Can you also try this program with your CD/DVD ?
https://aminet.net/package/driver/other/anaiis_xmass
Hey,

Well it does more, but I'm not there yet.
I copied the new usbscsidevice to devs (overwriting the old one)
I start USBStart
Then I start Massive from Workbench:Anaiis/Massive
It runs but it kinda locks up the system (mouse works, but can't start a program/see contents in workbenchfolders)

When I run it by doubleclicking:
BULK CD/DVD interface found (I did not see that before)
Then retry goes up to 13
Final message before windows closes: sorry I can't find anything

I have these settings for Massive:
TRACE=LOG
READWRITE=true
WINDOWS=splash
PRI=0
WAIT=60
FILESYSTEM=L:AmiCDFS

I have this in DEVS\DOSDRIVERS\CD0
Device = usbscsi.device
Unit = 0
The rest i think is standard


I've let it sit for 5 minutes to see if anything changes, but nothing.
Anaiis.prefs.txt doesn't look much different to me, but I've included it anyway

EDIT: I'll try the xmass file sometime as well, but I don't have a compiler installed at the moment
EDIT2: xmass gives me read capacity error -1, Device not Ready, doIO error -34 (retries=5)
Seems the same for the dvd-rom (amigafuture cd inserted) as for a usb stick. (i tested 2 sticks, both fat32, i have fat95 installed. But I've not had a use to use USB storage yet on the Amiga, so could be anything)
Attached Files
File Type: txt anaiis.prefs.txt (4.8 KB, 25 views)

Last edited by Hailstorm; 28 October 2023 at 16:19.
Hailstorm is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
A1200 subway 2021 question Aether support.Hardware 1 11 March 2023 20:41
SUBWAY USB CONTROLLER (A1200 Clockport) CFou! support.Hardware 59 01 January 2014 02:53
ANAIIS 1.05 (28 may 2012) Gilloo News 59 11 October 2012 12:46
Subway and Indivision installed in A1200 Desktop amigakit.com Hardware pics 10 27 February 2009 03:21
A1200 With Fitted Subway and 030 for sale! Peter MarketPlace 9 09 February 2008 17:05

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:12.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11348 seconds with 14 queries