Documenting the IRIX USB Subsystem
#9
RE: Documenting the IRIX USB Subsystem
(03-21-2021, 07:08 PM)bsdero Wrote:  Even if there is not support for USB at all, we have support for PCI.  As Irix kernel has not an API for USB developers -and if it has, is not documented at all-, a complete USB stack and its API for kernel modules must be written from scratch and not only the hw layer.

Hi, 1.-Please use GNU make. Check if it's on your path. Make sure the build script is using it. 2.-The drivers were written for PCI cards with USB ports.  Is your firewire card a PCI card?
I need to check back on this thread more, gnu and all that good stuff is in my path, This is a 3 port usb pci card with 1 firewire port. So yep it has usb support and separate controllers.
 The modules now build correctly without errors  after changing the cflags in the build script, to be CFLAGS=$CFLAGS instead of CFLAGS+= on the flags that couldn't be found.  Now I no longer need to change my processor board type manually in the script and it autodetects. Now the modules work as long as I only use my EHCI controller no kernel panics anymore. However if I enter my uhci controller device id and vendor id into the uhci.c I still get kernel panics Ill have to do some more diagnosis to figure out why but it seems to be due to the hcd driver for some reason at least for now because without the uhci controller the hcd driver appears to function normally.  
Yes it will be a lot of work but how awesome would it be to have usb on a computer from 1997. That's news article worthy.
(This post was last modified: 03-24-2021, 10:56 PM by mamed.)
mamed
Octane

Trade Count: (0)
Posts: 112
Threads: 29
Joined: Jan 2021
Location: Canada
Find Reply
03-24-2021, 10:54 PM


Messages In This Thread
Documenting the IRIX USB Subsystem - by Raion - 02-25-2021, 05:58 PM
RE: Documenting the IRIX USB Subsystem - by mamed - 03-08-2021, 03:27 PM
RE: Documenting the IRIX USB Subsystem - by bsdero - 03-08-2021, 06:28 PM
RE: Documenting the IRIX USB Subsystem - by mamed - 03-17-2021, 03:27 PM
RE: Documenting the IRIX USB Subsystem - by Raion - 03-17-2021, 05:43 PM
RE: Documenting the IRIX USB Subsystem - by mamed - 03-18-2021, 05:13 PM
RE: Documenting the IRIX USB Subsystem - by bsdero - 03-21-2021, 07:08 PM
RE: Documenting the IRIX USB Subsystem - by mamed - 03-24-2021, 10:54 PM
RE: Documenting the IRIX USB Subsystem - by robespierre - 03-24-2021, 11:57 PM
RE: Documenting the IRIX USB Subsystem - by mamed - 03-27-2021, 08:07 PM
RE: Documenting the IRIX USB Subsystem - by Raion - 03-18-2021, 06:31 PM
RE: Documenting the IRIX USB Subsystem - by zizban - 08-06-2022, 06:34 PM
RE: Documenting the IRIX USB Subsystem - by Raion - 08-06-2022, 06:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)