drivers/usb: add usbother driver and usbdrv.dat config #253

Closed
Doczom wants to merge 6 commits from add_usbother into main
Owner

This driver loading usb drivers for class and for vendor and product id device.

This driver loading usb drivers for class and for vendor and product id device.
Doczom added 1 commit 2025-05-23 21:31:48 +02:00
drivers/usb: add usbother driver and usbdrv.dat config
Some checks failed
Build system / Check kernel codestyle (pull_request) Successful in 21s
Build system / Build (pull_request) Failing after 1m11s
d360daff80
This driver loading usb drivers for class and for vendor and product id device.
Doczom added 1 commit 2025-05-23 21:42:28 +02:00
drivers/usb: fix auto build usbother
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 22s
Build system / Build (pull_request) Successful in 4m25s
1b49cbf4e4
Doczom added 1 commit 2025-05-23 21:46:23 +02:00
drivers/usb: fix auto build usbother (part 2)
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 21s
Build system / Build (pull_request) Successful in 4m19s
38781dfa3f
Doczom requested review from dunkaist 2025-05-24 04:09:04 +02:00
Doczom requested review from mxlgv 2025-05-24 04:09:04 +02:00
Doczom requested review from rgimad 2025-05-24 04:09:05 +02:00
Doczom added the
Category/Drivers
FASM
Kind
Feature
labels 2025-05-24 04:12:09 +02:00
b00bl1k reviewed 2025-05-24 17:59:22 +02:00
@@ -0,0 +18,4 @@
include '../../struct.inc'
; USB device descriptor
struct DEVICE_DESCR
Contributor

Do you think it would be better to move this to a separate common include file for USB drivers along with those structs? Right now, each USB driver has its own duplicated definitions:

  • usbstor: struct config_descr, struct interface_descr
  • usbhid: struct config_descr
  • usbftdi: struct usb_descr
Do you think it would be better to move this to a separate common include file for USB drivers along with those structs? Right now, each USB driver has its own duplicated definitions: - usbstor: struct config_descr, struct interface_descr - usbhid: struct config_descr - usbftdi: struct usb_descr
Author
Owner

The common file for all USB drivers should be added as a separate PR.

The common file for all USB drivers should be added as a separate PR.
b00bl1k reviewed 2025-05-26 20:26:18 +02:00
@@ -0,0 +161,4 @@
cmp ecx, .count_ioctl_codes
jae .fail
jmp dword[.table_subfunction + ecx]
Contributor

ecx * 4?

`ecx * 4`?
Author
Owner

fixed

fixed
Doczom added 1 commit 2025-06-06 13:35:19 +02:00
drivers/usb: fix usbother driver
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 1m8s
Build system / Build (pull_request) Successful in 7m47s
10b25bc579
Added array of endpoints in DRV_CONTEXT and save params for ioctl API.
Doczom removed review request for dunkaist 2025-06-06 15:26:43 +02:00
Doczom removed review request for mxlgv 2025-06-06 15:26:43 +02:00
Doczom removed review request for rgimad 2025-06-06 15:26:44 +02:00
Doczom requested review from dunkaist 2025-06-06 20:20:24 +02:00
Doczom requested review from mxlgv 2025-06-06 20:20:26 +02:00
Doczom requested review from rgimad 2025-06-06 20:20:26 +02:00
Doczom force-pushed add_usbother from 10b25bc579 to 4813b67aaa 2025-06-08 10:12:02 +02:00 Compare
rgimad refused to review 2025-06-11 19:51:09 +02:00
Burer added 1 commit 2025-06-12 08:17:35 +02:00
[drivers/usbother] grammar fixes in comments
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 1m29s
Build system / Build (pull_request) Successful in 8m54s
29ce07d8e3
Burer added 1 commit 2025-06-13 21:07:50 +02:00
[drivers/usbother]: more grammar fixes in comments
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 1m17s
Build system / Build (pull_request) Successful in 9m16s
ffa69689c6
Doczom removed review request for mxlgv 2025-06-15 09:58:55 +02:00
Doczom requested review from IgorA 2025-06-15 09:58:57 +02:00
Doczom requested review from sdongles 2025-06-15 09:58:57 +02:00
dunkaist approved these changes 2025-06-16 22:32:45 +02:00
Author
Owner

If you don't mind, I'll add this query to the main thread tomorrow.

If you don't mind, I'll add this query to the main thread tomorrow.
Doczom force-pushed add_usbother from ffa69689c6 to 7db3d22a37 2025-07-10 20:08:34 +02:00 Compare
Burer approved these changes 2025-07-11 07:37:08 +02:00
Owner

Merged in e8121c66f8.

Merged in e8121c66f8.
Burer closed this pull request 2025-07-12 06:56:40 +02:00
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 35s
Required
Details
Build system / Build (pull_request) Successful in 6m2s
Required
Details

Pull request closed

Sign in to join this conversation.
5 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#253
No description provided.