[Bug 225844] Corsair K70 RGB Keyboard does not work

2018-02-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225844

Bug ID: 225844
   Summary: Corsair K70 RGB Keyboard does not work
   Product: Base System
   Version: 11.1-RELEASE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: usb
  Assignee: freebsd-usb@FreeBSD.org
  Reporter: t...@tomdignan.com

Similar to this bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193279
my Corsair keyboard would not work. The difference is that this one is a
Corsair K70 "RGB" keyboard. It is a slightly different model, and has a
different productId: 0x1b13.

I was able to fix it by adding the line 

hw.usb.quirk.0="0x1b1c 0x1b13 0 0x UQ_KBD_BOOTPROTO"

to /boot/loader.conf.

I imagine it can be fixed in the source tree by following the same steps as in
the similar bug I posted.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: Feedback for portable libusb code

2018-02-11 Thread Romain Tartière
On Sun, Feb 11, 2018 at 09:02:36PM +0100, Hans Petter Selasky wrote:
> Can you run "ldd" on your binaries to see they really are using the 
> libusb you installed?

Sure:

λ ldd /usr/local/bin/pulseview| grep usb
libusb.so.3 => /usr/lib/libusb.so.3 (0x80581a000)
λ ll -rt /usr/lib | tail
-r--r--r--  1 root  wheel 98360 Dec  9 13:12 snmp_pf.so.6
lrwxr-xr-x  1 root  wheel12 Dec  9 13:12 snmp_pf.so@ -> snmp_pf.so.6
-r--r--r--  1 root  wheel 42288 Dec  9 13:12 snmp_netgraph.so.6
lrwxr-xr-x  1 root  wheel18 Dec  9 13:12 snmp_netgraph.so@ -> 
snmp_netgraph.so.6
-r--r--r--  1 root  wheel280512 Dec  9 13:12 snmp_wlan.so.6
lrwxr-xr-x  1 root  wheel14 Dec  9 13:12 snmp_wlan.so@ -> snmp_wlan.so.6
-r--r--r--  1 root  wheel138210 Feb  5 15:52 libusb.a
-r--r--r--  1 root  wheel149832 Feb  5 15:52 libusb_p.a
-r--r--r--  1 root  wheel 88144 Feb  5 15:52 libusb.so.3
lrwxr-xr-x  1 root  wheel11 Feb  5 15:52 libusb.so@ -> libusb.so.3


-- 
Romain Tartière http://romain.blogreen.org/
pgp: 8234 9A78 E7C0 B807 0B59  80FF BA4D 1D95 5112 336F (ID: 0x5112336F)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)


signature.asc
Description: PGP signature


Re: Feedback for portable libusb code

2018-02-11 Thread Hans Petter Selasky

On 02/05/18 16:35, Romain Tartière wrote:

Hi!

On Mon, Jan 29, 2018 at 08:10:06PM +0100, Hans Petter Selasky wrote:

Does the attached patch for FreeBSD's libusb solve your issue?


I have just patched, build and installed libusb.  I removed the
libusb_open() / libusb_close() calls from usb_get_port_path() in
libsigrok and tested.
https://github.com/sigrokproject/libsigrok/blob/a9010323ddf4e479663e871386c05db05ea3522e/src/usb.c#L473-L491


Unfortunately, the problem is still present.  On the first enumeration,
libusb_get_port_numbers() returns 3 and the firmware is send to the
device successfully.  Then, when lbsigrok attempt to re-enumerate
devices, libusb_get_port_numbers() returns -12
(LIBUSB_ERROR_NOT_SUPPORTED).



I am sure that the firmware is sent successfully because usbconfig(8)
shows the following when I plug the device:
| ugen0.10:  at usbus0, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=ON (100mA)
and after the enumeration failure, I can see this instead:
| ugen0.10:  at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON 
(100mA)



Can you run "ldd" on your binaries to see they really are using the 
libusb you installed?


--HPS
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 225810] [uftdi] [patch] kernel/usb/uftdi patch to recognize a TIAO USB Multi Protocol Adapter (TUMPA)

2018-02-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225810

Ian Lepore  changed:

   What|Removed |Added

 Status|New |In Progress
   Assignee|freebsd-usb@FreeBSD.org |i...@freebsd.org
 CC||i...@freebsd.org

--- Comment #2 from Ian Lepore  ---
Patch applied, thank you.  I'll close the PR after I MFC the changes to older
branches, hopefully within a week or so.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 225810] [uftdi] [patch] kernel/usb/uftdi patch to recognize a TIAO USB Multi Protocol Adapter (TUMPA)

2018-02-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225810

--- Comment #1 from commit-h...@freebsd.org ---
A commit references this bug:

Author: ian
Date: Sun Feb 11 16:35:24 UTC 2018
New revision: 329125
URL: https://svnweb.freebsd.org/changeset/base/329125

Log:
  Add a device ID to uftdi for TIAO USB Multi Protocol Adapter (TUMPA).

  PR:   225810

Changes:
  head/sys/dev/usb/serial/uftdi.c
  head/sys/dev/usb/usbdevs

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"