umass(4) regression in 9.0-RC1.

2011-10-27 Thread Pawel Jakub Dawidek
device = 'MCP55 USB Controller' class = serial bus subclass = USB After connecting the adapter with the card inside: kernel: ugen0.2: at usbus0 -- Pawel Jakub Dawidek http://www.wheelsystems.c

Re: umass(4) regression in 9.0-RC1.

2011-10-27 Thread Pawel Jakub Dawidek
009 bDeviceSubClass = 0x bDeviceProtocol = 0x0001 bMaxPacketSize0 = 0x0040 idVendor = 0x idProduct = 0x bcdDevice = 0x0100 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x bNumConfigurations = 0x0001 -- Pawel Jakub Dawidek h

Re: umass(4) regression in 9.0-RC1.

2011-10-27 Thread Pawel Jakub Dawidek
bcdUSB = 0x0200 bDeviceClass = 0x bDeviceSubClass = 0x bDeviceProtocol = 0x bMaxPacketSize0 = 0x0008 idVendor = 0x0bda idProduct = 0x0119 bcdDevice = 0x1981 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 bNumConfigurations = 0x0001 -- Paw

Re: umass(4) regression in 9.0-RC1.

2011-10-28 Thread Pawel Jakub Dawidek
On Fri, Oct 28, 2011 at 09:11:42AM +0200, Hans Petter Selasky wrote: > On Thursday 27 October 2011 20:51:15 Pawel Jakub Dawidek wrote: > > On Thu, Oct 27, 2011 at 08:42:09PM +0200, Hans Petter Selasky wrote: > > > This is the root HUB. Can you also show the actual device? > &g

Re: Quirk for a USB mass storage device

2011-10-29 Thread Pawel Jakub Dawidek
buf = 0; > + > + return (buf); > +} You could drop 'err' variable and just check function return directly. There is only one extra empty line at the begining of the function. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com pgp4ojJMnP8vK.pgp Description: PGP signature

Re: Quirk for a USB mass storage device

2011-11-01 Thread Pawel Jakub Dawidek
On Sun, Oct 30, 2011 at 09:15:40PM +0100, Hans Petter Selasky wrote: > On Saturday 29 October 2011 20:38:07 Pawel Jakub Dawidek wrote: > > > + err = usbd_do_request(udev, NULL, &req, &buf); > > > + if (err) > > > + bu

Re: usb/89889: [quirk] [patch] Motorola E398 Mobile Phone (TransFlash drive)

2005-12-15 Thread Pawel Jakub Dawidek
Synopsis: [quirk] [patch] Motorola E398 Mobile Phone (TransFlash drive) Responsible-Changed-From-To: freebsd-usb->pjd Responsible-Changed-By: pjd Responsible-Changed-When: Thu Dec 15 22:55:45 UTC 2005 Responsible-Changed-Why: I'll take this one. http://www.freebsd.org/cgi/query-pr.cgi?pr=89889 _