Re: usb/175454: update usbdevs and usb_quirk.c for SanDisk SDDR-289

2013-05-19 Thread linimon
Synopsis: update usbdevs and usb_quirk.c for SanDisk SDDR-289

State-Changed-From-To: open-closed
State-Changed-By: linimon
State-Changed-When: Mon May 20 03:21:49 UTC 2013
State-Changed-Why: 
committed and MFCed.

http://www.freebsd.org/cgi/query-pr.cgi?pr=175454
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


usb/175454: update usbdevs and usb_quirk.c for SanDisk SDDR-289

2013-01-20 Thread Waitman Gobble

Number: 175454
Category:   usb
Synopsis:   update usbdevs and usb_quirk.c for SanDisk SDDR-289
Confidential:   no
Severity:   non-critical
Priority:   low
Responsible:freebsd-usb
State:  open
Quarter:
Keywords:   
Date-Required:
Class:  update
Submitter-Id:   current-users
Arrival-Date:   Sun Jan 20 17:10:00 UTC 2013
Closed-Date:
Last-Modified:
Originator: Waitman Gobble
Release:FreeBSD 9.1-RELEASE
Organization:
Waitman Gobble
Environment:
FreeBSD kamira.waitman.net 9.1-RELEASE FreeBSD 9.1-RELEASE #5 r245537M: Sun Jan 
20 08:45:56 PST 2013 r...@kamira.waitman.net:/usr/obj/usr/src/sys/BURPLEX  
amd64

Description:
With a SanDisk ImageMate SDDR-289 usb 3.0 card reader attached to the computer, 
a reboot takes over 20 minutes. Shutdown is about 5 minutes, boot up is about 
15. 

Adding the device to usbdevs and updating the quirks totally solves the reboot 
issue.

# usbconfig -u 0 -a 4 dump_device_desc
ugen0.4: USB3.0 Card Reader SanDisk at usbus0, cfg=0 md=HOST spd=SUPER 
(5.0Gbps) pwr=ON

   bLength = 0x0012 
   bDescriptorType = 0x0001 
   bcdUSB = 0x0300 
   bDeviceClass = 0x 
   bDeviceSubClass = 0x 
   bDeviceProtocol = 0x 
   bMaxPacketSize0 = 0x0009 
   idVendor = 0x0781 
   idProduct = 0xb6ba 
   bcdDevice = 0x0124 
   iManufacturer = 0x0001  SanDisk
   iProduct = 0x0002  USB3.0 Card Reader
   iSerialNumber = 0x0003  11150005027
   bNumConfigurations = 0x0001 

How-To-Repeat:

Fix:

1) add to sys/dev/usb/usbdevs:

product SANDISK IMAGEMATE_SDDR289   0xb6ba  ImageMate SDDR-289


2) add to sys/dev/usb/quirk/usb_quirk.c

USB_QUIRK(SANDISK, IMAGEMATE_SDDR289, 0x, 0x,
UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_NO_GETMAXLUN),


thank you.




Release-Note:
Audit-Trail:
Unformatted:
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org