Kernel modules for PCI USB hubs
#1
Kernel modules for PCI USB hubs
Hi all, 

some years ago I attempted to write a real, serious USB kernel module for IRIX with support for UHCI and EHCI.  

It detects a lot of PCI cards. Also detects the number of USB ports, and UHCI/EHCI number of interfaces. I developed a test tool that helps to detect the functionality of the kernel modules. Also some scripts for load/unload the kernel modules. 

So we have 3 kernel modules: 
uhci driver, 
ehci driver and
usb_core. 

The idea was to write mouse, keyboard and other stuff communicating with usb_core, who would take care of the low-level usb communications with the PCI cards. 

Unfortunately I was unable to handle the low level setup required to establish communications with the PCI card. I did all kind of attempts to setup the DMA addresses in the PCI card, and it caused panics when a real USB transmition is attempted. I never could figure out what was happening and passed hour and hours reading and studying the IRIX drivers developers manuals and source code for others PCI drivers. 

Finally I found the sources after years. I dunno if somebody else is doing a real effort, but here is my code. I hope somebody find this useful.


Attached Files
.tar usb_irix.06142013_00.tar Size: 4.21 MB  Downloads: 241
bsdero
O2

Trade Count: (0)
Posts: 6
Threads: 2
Joined: Jul 2018
Find Reply
03-02-2021, 05:53 PM


Messages In This Thread
Kernel modules for PCI USB hubs - by bsdero - 03-02-2021, 05:53 PM
RE: Kernel modules for PCI USB hubs - by weblacky - 03-02-2021, 08:04 PM
RE: Kernel modules for PCI USB hubs - by chulofiasco - 03-02-2021, 08:24 PM
RE: Kernel modules for PCI USB hubs - by bsdero - 03-02-2021, 08:29 PM
RE: Kernel modules for PCI USB hubs - by Raion - 03-02-2021, 11:37 PM
RE: Kernel modules for PCI USB hubs - by chulofiasco - 03-09-2021, 09:28 PM
RE: Kernel modules for PCI USB hubs - by bsdero - 03-10-2021, 06:42 PM
RE: Kernel modules for PCI USB hubs - by Raion - 03-10-2021, 08:36 PM
RE: Kernel modules for PCI USB hubs - by robespierre - 03-10-2021, 08:47 PM
RE: Kernel modules for PCI USB hubs - by Raion - 03-10-2021, 09:30 PM
RE: Kernel modules for PCI USB hubs - by mamed - 03-24-2021, 10:43 PM
RE: Kernel modules for PCI USB hubs - by Raion - 03-24-2021, 11:06 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)