Re: Realtek SD Card Reader 0x0bda / 0x0129 detection?

2014-04-07 Thread Ivan Rokotov
2014-04-07 16:47 GMT+04:00 Hans Petter Selasky :
> Hi,
>
> How did you add the quirk?

Hi hps@,

I added this to sys/dev/usb/usbdevs:
product REALTEK USB20CRW_T  0x0129  USB20CRW Card Reader

and this to sys/dev/usb/quirk/usb_quirk.c
USB_QUIRK(REALTEK, USB20CRW_T, 0x, 0x, ),

and recompiled my kernel. 'usbconfig' confirms that quirks were added, e.g.

# usbconfig -d 1.4 dump_device_quirks | grep 0x0129
VID=0x0bda PID=0x0129 REVLO=0x REVHI=0x QUIRK=UQ_MSC_NO_SYNC_CACHE

Changing quirks without recompiling kernel (simply using add_quirks
and then turning off/on the device) gave no visible effect, i.e. no
dmesg events.

Ivan
___
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"


Buffalo 8 Productions - April Update

2014-04-07 Thread Buffalo 8 Productions
Use this area to offer a short teaser of your email's content. Text here will 
show in the preview area of some email clients.

Is this email not displaying correctly?
View it in your browser 
(http://us8.campaign-archive2.com/?u=4ff84a89ef7b8ee62ed8028e1&id=9208491d52&e=58acfadc2d)
 .
Buffalo 8 Productions April Updates 
(http://www.buffalo8.com?utm_source=MASTER+LIST&utm_campaign=9208491d52-Buffalo_8_April_Update4_3_2014&utm_medium=email&utm_term=0_febc027b06-9208491d52-127544089)
http://www.buffalo8.com?utm_source=MASTER+LIST&utm_campaign=9208491d52-Buffalo_8_April_Update4_3_2014&utm_medium=email&utm_term=0_febc027b06-9208491d52-127544089
http://trulyfreefilm.hopeforfilm.com/2014/03/bondit-the-rise-of-entertainment-union-depositsbonds-a-new-solution-to-the-protocol.html?utm_source=MASTER+LIST&utm_campaign=9208491d52-Buffalo_8_April_Update4_3_2014&utm_medium=email&utm_term=0_febc027b06-9208491d52-127544089


** Ted Hope Blog Arrives

BondIt & Ted Hope (Hope For Film) have teamed up for a series of posts on the 
recently launched union deposit cash-flowing venture 
(http://trulyfreefilm.hopeforfilm.com/2014/03/bondit-the-rise-of-entertainment-union-depositsbonds-a-new-solution-to-the-protocol.html?utm_source=MASTER+LIST&utm_campaign=9208491d52-Buffalo_8_April_Update4_3_2014&utm_medium=email&utm_term=0_febc027b06-9208491d52-127544089)

http://www.bondit.us?utm_source=MASTER+LIST&utm_campaign=9208491d52-Buffalo_8_April_Update4_3_2014&utm_medium=email&utm_term=0_febc027b06-9208491d52-127544089


**



** The Silent Thief Release

On Tuesday April 8 - Buffalo 8's film The Silent Thief will be released on 
iTunes, Amazon, Blockbuster, Vudu, Dish and Walmart 
(http://www.walmart.com/ip/33476093?utm_source=MASTER+LIST&utm_campaign=9208491d52-Buffalo_8_April_Update4_3_2014&utm_medium=email&utm_term=0_febc027b06-9208491d52-127544089)


**





**



** MagMo Animation Premiere

Buffalo 8 was excited to be a part of Stephen Meades  
(https://www.dropbox.com/s/be7vbcux3cdsk9l/Magmo_Final_1080.mp4?utm_source=MASTER+LIST&utm_campaign=9208491d52-Buffalo_8_April_Update4_3_2014&utm_medium=email&utm_term=0_febc027b06-9208491d52-127544089)
 (Big Bamboo) 
(http://bigbamboollc.com?utm_source=MASTER+LIST&utm_campaign=9208491d52-Buffalo_8_April_Update4_3_2014&utm_medium=email&utm_term=0_febc027b06-9208491d52-127544089)
  new venture MagMo - with the creation of the product animation sequence 
(https://www.dropbox.com/s/be7vbcux3cdsk9l/Magmo_Final_1080.mp4?utm_source=MASTER+LIST&utm_campaign=9208491d52-Buffalo_8_April_Update4_3_2014&utm_medium=email&utm_term=0_febc027b06-9208491d52-127544089)


** Partnership With Toronto Based Atomic Clock

Buffalo 8's Commercial division has partnered with Canadian production company, 
Atomic Clock, for roster expansion and international growth! 
(http://atomicclockinc.com/directors/?utm_source=MASTER+LIST&utm_campaign=9208491d52-Buffalo_8_April_Update4_3_2014&utm_medium=email&utm_term=0_febc027b06-9208491d52-127544089)



Copyright © 2014 Buffalo 8 Productions, LLC, All rights reserved.
 www.buffalo8.com

Our mailing address is:
Buffalo 8 Productions, LLC
9247 Alden Drive, Beverly Hills, CA, United States
Beverly Hills, CA 90210
USA
www.Buffalo8.com

www.BondIt.us
** unsubscribe from this list 
(http://buffalo8.us8.list-manage.com/unsubscribe?u=4ff84a89ef7b8ee62ed8028e1&id=febc027b06&e=58acfadc2d&c=9208491d52)
| ** update subscription preferences 
(http://buffalo8.us8.list-manage1.com/profile?u=4ff84a89ef7b8ee62ed8028e1&id=febc027b06&e=58acfadc2d)
___
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"

Re: Realtek SD Card Reader 0x0bda / 0x0129 detection?

2014-04-07 Thread Hans Petter Selasky

On 04/06/14 03:53, Ivan Rokotov wrote:

Hi,

Environment: FreeBSD 10.0-RELEASE/amd64 on Lenovo IdeaPad S400.

SD Card Reader visible by usbconfig:
ugen1.4:  at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON (500mA)

usbconfig info:
   bLength = 0x0012
   bDescriptorType = 0x0001
   bcdUSB = 0x0200
   bDeviceClass = 0x00ff
   bDeviceSubClass = 0x00ff
   bDeviceProtocol = 0x00ff
   bMaxPacketSize0 = 0x0040
   idVendor = 0x0bda
   idProduct = 0x0129
   bcdDevice = 0x3960
   iManufacturer = 0x0001  
   iProduct = 0x0002  
   iSerialNumber = 0x0003  <2010020139600>
   bNumConfigurations = 0x0001

Adding/removing SD card yields nothing. The same with booting with SD
card and/or turning power on/off with usbconfig.

If I add this to /usr/src/sys/dev/usb/usbdevs
product REALTEK USB20CRW_T  0x0129  USB20CRW Card Reader

- nothing changes.

If I add these quirks to /usr/src/sys/dev/usb/quirk/usb_quirk.c
USB_QUIRK(REALTEK, USB20CRW_T, 0x, 0x, UQ_MSC_NO_GETMAXLUN,
UQ_MSC_FORCE_WIRE_BBB, UQ_MSC_FORCE_PROTO_SCSI)

then I get:
umass0:  on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x0100
umass0:3:0:-1: Attached to scbus3
...
(probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00
(probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(probe0:umass-sim0:0:0:0): Retrying command
...
(probe0:umass-sim0:0:0:0): Error 5, Retries exhausted

Adding the 'UQ_MSC_NO_SYNC_CACHE" quirk changes nothing.

Does anybody know what should be done and is it possible at all to use
this card reader with FreeBSD 10.0?

Ivan
___
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"



Hi,

How did you add the quirk?

--HPS
___
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"


Current problem reports assigned to freebsd-usb@FreeBSD.org

2014-04-07 Thread FreeBSD bugmaster
Note: to view an individual PR, use:
  http://www.freebsd.org/cgi/query-pr.cgi?pr=(number).

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.


S Tracker  Resp.  Description

o usb/188119   usbmultiple keybard
o usb/188046   usb[usbdevs] [patch] ZyXEL NWD2105 wlan/wifi USB dongle s
o usb/187188   usb[USB][patch] ELECOM WRH-150 needs a quirk
o usb/186317   usbums module not loaded by devd for Razer Lachesis mouse
o usb/186110   usbconnected over USB, only first document is printed
o usb/185968   usbPocketBook Pro 912 USB connection problem
o usb/185838   usbSony DSC-H5 not connecting on USB
o usb/185837   usb[umass] Pendrive Kingston DataTraveler 8G not recogniz
o usb/185747   usbPatcf that fix support for USB key "Kingston DT 101 G2
o usb/185628   usbusbd_req_re_enumerate set address failed USB_ERR_STALL
o kern/185208  usb(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
o usb/184014   usbUSB storage devices do not work in FreeBSD 9.2 or high
o usb/183728   usblibusb20 examples filenames cause problems on windows.
o usb/183505   usb[usb] Arduino Leonardo exposes three interface descrip
f usb/183409   usbUSB Class 2 audio device playback issue
o usb/183302   usbUSB no proper work
o usb/183090   usbLogitech USB microphone failure
o usb/182820   usbusbusX if destroy page fault panic
o usb/182361   usb[panic] Suspend when using USB disc as root causes ker
o usb/181987   usbUSB isochronous transfer of the USB driver (Mentor Gra
o usb/181425   usbUSB keyboard with full N-key rollover not working
o usb/181159   usbProblem attaching USB device
o usb/180837   usb[scsi_da] [patch] Kingston DT 101 G2 usb stick quirk (
o usb/180726   usbXHCI umass support breaks between r248085 and r252560 
o usb/180657   usb[PATCH] Filco Majestouch 2 keyboard recognized as keyb
o usb/180617   usbNew quirk (another member of Western Digital My Passpo
o usb/180254   usbFreeBSD 9.1 on 384GB memory server
o usb/180119   usbFreeBSD 9.1 umass driver does not correctly handle Pan
o usb/179505   usbKernel detaches Arduino Leonardo (and similar) board u
o usb/179342   usbFreebsd 10.0-current USB 3.0 not working (xhci_do_coma
o usb/179109   usbAfter detach USB Flash a keyboard does not work.
o usb/179107   usb[usb] After detach USB Flash a keyboard does not work.
o usb/178771   usb[usbdevs] [patch] Western Digital My Passport HD
o usb/178722   usbFreeBSD 9.1-STABLE r250561 breaks support for webcam L
o usb/178267   usb[usb] USB causing interrupt storm on irq16
o usb/177897   usb[u3g][patch] add support for the Huawei E352 modem
o usb/177896   usbman page for usb_quirk suggests adding device to kerne
o usb/177895   usbsimilar 1TB Western Digital "My Passports" - some load
o usb/177666   usb[usbdevs] [patch] Add support for Texas Instruments / 
o usb/176913   usb[ehci] High interrupt load with ehci
o usb/176841   usb[umass] Sony DSC-H2 USB connection fails
o usb/176417   usb[xhci][cam][umass] kernelpanic while removing plugged 
o usb/175731   usbdetaching USB keyboard freezes other USB keyboards
o usb/175639   usbnot detect usb netcard D-LINK DUB-E100 rev C1
o usb/175599   usb[usbdevs][patch]Liebert UPS PSI1000 being assigned uhi
o usb/175551   usbSeagate 2TB USB extern hard disk have errors with Free
o usb/175379   usbusb card-reader problem
o usb/175302   usbdon't mount virtual driver CD for my phone
o usb/174963   usbbuffalo wli-uc-gn wireless card sometimes unusable and
o usb/174835   usbuaudio fails to create pcm/dsp device file
o usb/174814   usb[PATCH] support for MiFi 2200
o usb/174695   usbusb keeps disconnecting mouse or keyboard
o usb/174575   usbInterrupt storm error on startup
o usb/174464   usbclone MAC address(es) on usb networks cdce(4) && ue[0-
o usb/174254   usbMIDI keyboard not recognised
o usb/173722   usb[xhci] xhci driver bug after suspend to RAM (ACPI S3 m
o usb/173616   usbLG USB DVD-RW USB STALL
o usb/173182   usbusbus appears as a network device
o usb/172937   usbFreeBSD 9.1-RC2 usb3 port disconnects
o usb/172633   usbSony Cybershot not recognized as USB mem stick
o usb/172199   usb[xhci] high interrupts load xhci
o usb/171354   usb[umass] Medium not present error on flash drive [regre
o usb/171262   usbplug in sdhc via usb reader reboots machine
o usb/171197   usbADATA Classic CH11 USB