From owner-freebsd-usb@FreeBSD.ORG Sat Nov 16 21:50:02 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A708CD12 for ; Sat, 16 Nov 2013 21:50:02 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 855FB26EF for ; Sat, 16 Nov 2013 21:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rAGLo1V9010298 for ; Sat, 16 Nov 2013 21:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rAGLo180010297; Sat, 16 Nov 2013 21:50:01 GMT (envelope-from gnats) Date: Sat, 16 Nov 2013 21:50:01 GMT Message-Id: <201311162150.rAGLo180010297@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Stan Gammons Subject: Re: usb/184014: USB storage devices do not work in FreeBSD 9.2 or higher. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list Reply-To: Stan Gammons List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Nov 2013 21:50:02 -0000 The following reply was made to PR usb/184014; it has been noted by GNATS. From: Stan Gammons To: Hans Petter Selasky , "freebsd-gnats-submit@FreeBSD.org" Cc: Alexander Motin Subject: Re: usb/184014: USB storage devices do not work in FreeBSD 9.2 or higher. Date: Sat, 16 Nov 2013 15:48:03 -0600 This is a multi-part message in MIME format. --------------030108030004020700090400 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 16/11/13 12:08, Hans Petter Selasky wrote: > RE: usb/184014: USB storage devices do not work in FreeBSD 9.2 or higher. > Hi, > > For permanent quirks, you need to edit sys/dev/usb/quirk/usb_quirk.c . > > Please submit a patch, thought we might want to investigate this issue further. > > Stay tuned! > > --HPS > I added this line to the usb_quirk.c structure listed below USB_QUIRK(KINGSTON, DT_100_G2, 0x0000, 0xffff, UQ_MSC_NO_PREVENT_ALLOW), static struct usb_quirk_entry usb_quirks[USB_DEV_QUIRKS_MAX] = { and added this line to /usr/src/sys/dev/usb/usbdevs under the Kingston products section /* Kingston products */ product KINGSTON DT_100_G2 0x4100 USB Storage then I did a make buildkernel KERNCONF=MYKERNEL and make installkernel KERNCONF to install the new kernel and rebooted, but that didn't work. So, I must be going about this wrong. Stan --------------030108030004020700090400 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
On 16/11/13 12:08, Hans Petter Selasky wrote:
RE: usb/184014: USB storage devices do not work in FreeBSD 9.2 or higher.
Hi,
 
 For permanent quirks, you need to edit sys/dev/usb/quirk/usb_quirk.c .
 
 Please submit a patch, thought we might want to investigate this issue further.
 
 Stay tuned!
 
 --HPS
  
 
I added this line to the usb_quirk.c structure listed below

USB_QUIRK(KINGSTON, DT_100_G2, 0x0000, 0xffff, UQ_MSC_NO_PREVENT_ALLOW),



static struct usb_quirk_entry usb_quirks[USB_DEV_QUIRKS_MAX] = {

and added this line to /usr/src/sys/dev/usb/usbdevs under the Kingston products section

/* Kingston products */
product KINGSTON DT_100_G2      0x4100  USB Storage

then I did a make buildkernel KERNCONF=MYKERNEL and make installkernel KERNCONF to install the new kernel and rebooted, but that didn't work. So, I must be going about this wrong.


Stan

--------------030108030004020700090400--