Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Dec 2018 23:26:07 +0300
From:      Igor Chudov <nir@sarfsc.ru>
To:        freebsd-usb@freebsd.org
Subject:   Add support for USB devices
Message-ID:  <1855191543868767@iva7-d29a8296bc3c.qloud-c.yandex.net>

next in thread | raw e-mail | index | archive | help
Hello!

Recently I bought 2 USB devices:
- Logitech C310 webcam
- Defender Game Master G2 joystick

I'm running `FreeBSD 11.2` on `HP Pavilion` notebook. I have `usbids-20180815` package installed but when I
run `sudo usbconfig` it shows just Vendor ID and Product ID, not the description.

I checked the USB ID database and found out that at least Logitech C310 is present in the database (since 2010).

The second problem is that when I configure the joystick in Xorg I get errors just like ones specified in this bugreport:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217047

So the number of fixes I expect to introduce:
1) Fix problems with usbconfig so it will show the description of my devices instead of IDs.
2) Fix UVC driver for webcamd so it will recognize my webcam (now I have only black screen).
3) Fix the joystick driver for Xorg.

At the moment I want to make `usbconfig` to show the device names instead of IDs (at first). I looked at
`/usr/src` and found that `usbconfig` uses FreeBSD's own `libusb` but I had no luck finding description
database.

Could anyone help me to find the device description database (or tell about sources organization) so I'll be
able to introduce new ID descriptions?

P. S.: I also want to know how to send patches so it'll be possible to merge them in -CURRENT. How's the process
organized?

--- 
With best regards, Igor Chudov.
Saratov Free Software Center
Work phone: +7 8452 98-78-18
Work (mobile) phone: +7 917 208-78-18
Personal (mobile) phone: +7 937 266-51-34




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1855191543868767>