From owner-freebsd-usb@FreeBSD.ORG Sun Mar 9 09:06:35 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DF05106566C for ; Sun, 9 Mar 2008 09:06:35 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id 04F078FC22 for ; Sun, 9 Mar 2008 09:06:34 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [62.113.132.89] (account mc467741@c2i.net [62.113.132.89] verified) by mailfe08.swip.net (CommuniGate Pro SMTP 5.1.13) with ESMTPA id 839045574; Sun, 09 Mar 2008 10:06:33 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 9 Mar 2008 10:07:36 +0100 User-Agent: KMail/1.9.7 References: <200801262120.m0QLK4O3021353@freefall.freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803091007.38066.hselasky@c2i.net> Cc: Ivan Voras Subject: Re: usb/120017: CS5536 (AMD Geode) USB 2.0 quirk X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2008 09:06:35 -0000 On Saturday 08 March 2008, Ivan Voras wrote: > usb/120017: CS5536 (AMD Geode) USB 2.0 quirk Your patch is reasonable. I've modified it a little bit. Committed to P4 at least. http://perforce.freebsd.org/chv.cgi?CH=137211 --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Mar 10 07:43:06 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D6C6106566C for ; Mon, 10 Mar 2008 07:43:06 +0000 (UTC) (envelope-from vladimir.terziev@gbservices.biz) Received: from cat-btc.gbservices.biz (cat-btc.gbservices.biz [83.228.119.50]) by mx1.freebsd.org (Postfix) with ESMTP id 2AFAC8FC1C for ; Mon, 10 Mar 2008 07:43:05 +0000 (UTC) (envelope-from vladimir.terziev@gbservices.biz) Received: from cat-btc.gbservices.biz (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id B24FE1FA037; Mon, 10 Mar 2008 08:43:03 +0100 (CET) Received: from fs.gbs.gbdom.com (fs.gbs.gbdom.com [192.168.2.244]) by cat.gbs.gbdom.com (Postfix) with ESMTP id 939D21FA032; Mon, 10 Mar 2008 08:43:03 +0100 (CET) Received: from localhost (localhost.gbs.gbdom.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 30DC728592; Mon, 10 Mar 2008 08:43:03 +0100 (CET) Received: from daemon.gbs.gbdom.com (daemon.gbs.gbdom.com [192.168.2.104]) by fs.gbs.gbdom.com (Postfix) with SMTP id B3B9D28590; Mon, 10 Mar 2008 08:43:02 +0100 (CET) Date: Mon, 10 Mar 2008 09:43:02 +0200 From: Vladimir Terziev To: Hans Petter Selasky Message-Id: <20080310094302.dce54954.vlady@gbservices.biz> In-Reply-To: <200803071855.47520.hselasky@c2i.net> References: <20080306183641.c941b83a.vlady@gbservices.biz> <200803061807.46113.hselasky@c2i.net> <20080307103546.799d3e0d.vlady@gbservices.biz> <200803071855.47520.hselasky@c2i.net> Organization: GB Services Ltd. X-Mailer: Sylpheed 2.4.7 (GTK+ 2.6.4; i386-unknown-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GBS-F X-Virus-Scanned: ClamAV GBS-C Cc: freebsd-usb@freebsd.org Subject: Re: USB Smart card reader/writer problem X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2008 07:43:06 -0000 Hi, thanks, but i thought there is some userland-based solution ... If i remove the "clear stall" command from the kernel, how will this affect the other USB devices ? Is there a guarantee they will continue to function as normal ? Vladimir On Fri, 7 Mar 2008 18:55:46 +0100 Hans Petter Selasky wrote: > Hi, > > You could search in /sys/dev/usb for xxx_pipe_open() or something like that, > and remove the clear stall command from that function and the recompile your > kernel and modules. > > --HPS > > > On Friday 07 March 2008, Vladimir Terziev wrote: > > On Thu, 6 Mar 2008 18:07:44 +0100 > > > > Hans Petter Selasky wrote: > > > On Thursday 06 March 2008, Vladimir Terziev wrote: > > > > Hi, > > > > > > > > i have ACS ACR38T Smart card reader/write device (idVendor=0x072f, > > > > idProduct=0x90cc), which is an USB stick. I try to make it to work > > > > under FreeBSD (trys have been done on 5.4, 5.5 and 6.2). > > > > > > > > The device has 3 endpoints -- interrupt-in, configured as /dev/ugenX.1 > > > > and bulk-in/bulk-out, configured as /dev/ugenX.2. > > > > > > > > Neither the driver from openct-0.6.14 port nor the driver from > > > > ccid-1.3.5 port work for the device. > > > > > > > > The communication with the device gets stuck on BULK-OUT operations. > > > > write(2) calls to /dev/ugenX.2 hang forever despite the timeout set > > > > with USB_SET_TIMEOUT. > > > > > > > > The device has been tested to work under Windoze, so as general, it's > > > > not broken, but just irresponsive. > > > > > > > > Could someone give me some clues about the nature of the problem ? > > > > > > > > Thanks in advance! > > > > > > > > Vladimir > > > > > > Hi, > > > > > > Some USB devices have problems with Clear Stall. FreeBSD usually clears > > > the stall on the endpoints before starting to use them. Some devices > > > empty the fifo when receiving this clear stall, and does not requeue the > > > data. That is why your device most likely does not work. > > > > > > --HPS > > > > Is there something i could do in order to workaround such a behaviour ? > > > > Vladimir From owner-freebsd-usb@FreeBSD.ORG Mon Mar 10 11:07:13 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE1A01065738 for ; Mon, 10 Mar 2008 11:07:13 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C2EBB8FC1D for ; Mon, 10 Mar 2008 11:07:13 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2AB7DBo086731 for ; Mon, 10 Mar 2008 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2AB7DNE086727 for freebsd-usb@FreeBSD.org; Mon, 10 Mar 2008 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Mar 2008 11:07:13 GMT Message-Id: <200803101107.m2AB7DNE086727@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2008 11:07:13 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa o usb/91629 usb usbd_abort_pipe() may result in infinite loop 2 problems total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o bin/57255 usb usbd and multi-function devices o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/73307 usb [panic] Kernel panics on USB disconnect o usb/74771 usb [umass] [hang] mounting write-protected umass device a o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o usb/75797 usb [pcm] 5.3-STABLE(2005 1/4) detect USB headset, But can o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, o usb/77294 usb [ulpcom] [panic] ucom + ulpcom panic o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa a usb/79656 usb [ehci] RHSC interrupts lost o usb/79722 usb [ehci] wrong alignments in ehci.h o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails o usb/80829 usb [modules] [panic] possible panic when loading USB-modu o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/82660 usb [echi] [panic] EHCI: I/O stuck in state 'physrd'/panic o usb/83563 usb [umamss] [panic] Page Fault while detaching Mpman Usb o usb/83677 usb [usb] [request] usb controller often not detected (Sun o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/88743 usb [hang] USB makes kernel hang at boot (regression in 6. p usb/88966 usb [modules] kldunload ucom.ko returns "Device busy" erro s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/89954 usb [umass] [panic] USB Disk driver race condition? o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/91283 usb [boot] booting very slow with usb devices connection ( o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/92052 usb [unlpt] usbd causes defunct process with busy file-han o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes o usb/93640 usb [echi] [irq] device ehci causes interrupt storm on thi o usb/93828 usb [ochi] [panic] ohci causes panic on boot (HP Pavillion o usb/94166 usb [umass] [boot] btx halted with a flashcard plugged o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94813 usb [umass] mounting write-protected umass device freezes o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk s usb/95348 usb [kbd] USB keyboard unplug causes noise on screen o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 s usb/96120 usb [ums] [request] USB mouse not always detected o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync o usb/96457 usb [umass] [panic] fatback on umass = reboot s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/99431 usb [kbd] FreeBSD on MSI 6566E (Intel 845E motherboards) d o usb/101096 usb [if_ural] [panic] USB WLAN occasionally causes kernel- o usb/101448 usb [ohci] FBSD 6.1-STABLE/AMD64 crashes under heavy USB/O o usb/101752 usb [umass] [panic] 6.1-RELEASE kernel panic on usb device o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work f usb/102096 usb [patch] usbd(8) does not handle multiple devices in on o usb/103025 usb [uhub] [panic] wrong detection of USB device for FreeB o usb/104292 usb [umass] [hang] system lockup on forced umount of usb-s o usb/104830 usb [umass] system crashes when copying data to umass devi o usb/105186 usb [ehci] [panic] USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 c o usb/106615 usb [uftdi] uftdi module does not automatically load with o usb/106648 usb [umass] [hang] USB Floppy on D1950 10 min Hang on Inse s usb/106832 usb USB HP printer is not detected by kernel when ACPI ena o usb/107248 usb [umass] [patch] scsi_da.c quirk for Cowon iAUDIO X5 MP o usb/107446 usb [umass] umass problems (usb and fw disks) o usb/107827 usb [ohci] [panic] ohci_add_done addr not found o usb/107848 usb [umass] [request] cannot access Samsung flash disk o usb/107924 usb [patch] usbd(8) does not call detach o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE (regr o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu o usb/109397 usb [panic] on boot from USB flash o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/113478 usb [boot] [request] FreeBSD could not start on Core2Duo n s usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6 o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971 o usb/113851 usb [boot] Unable to boot install cd from USB-CDROM s usb/113977 usb [request] Need a way to set mode of USB disk's write c o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o usb/114682 usb [umass] generic USB media-card reader unusable o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116699 usb [usbhid] USB HID devices do not initialize at system b o usb/116947 usb [ukbd] [patch] enable boot protocol on the USB keyboar o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118391 usb [usbdevs] [patch] Add uscanner ID for Epson CX4800 o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/119018 usb [usbd] HP ScanJet 4300C found as knowndev but not reco o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119509 usb USB flaky on Dell Optiplex 755 o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/120017 usb [ehci] [patch] CS5536 (AMD Geode) USB 2.0 quirk o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120786 usb Kernelpanik when forced umount of a dettached USB Hard f usb/120873 usb if_zyd and if_rum panic in usb_transfer_complete o usb/121232 usb remove PCCARD rebooted system o usb/121275 usb [boot] FreeBSD fails to boot with usb legacy support e o usb/121474 usb [patch] QUIRK: SAMSUNG HM250JI in LaCie usb harddisk 126 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/48342 usb [usbd] [patch] usbd dynamic device list. s usb/51958 usb [urio] [patch] update for urio driver s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 o usb/59698 usb [kbd] [patch] Rework of ukbd HID to AT code translatio s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71455 usb [umass] Slow USB umass performance of 5.3 s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R a usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76732 usb Mouse problems with USB KVM Switch o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ s usb/80777 usb [request] usb_rem_task() should wait for callback to c o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. f usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/83863 usb [ugen] Communication problem between opensc/openct via s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device o usb/85257 usb [boot] BTX boot loader fails on USB CDROM (HP DL145 Op o usb/86298 usb [mouse] Known good USB mouse won't work with correct s o usb/87224 usb Cannot mount USB Zip750 o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/88408 usb [axe] axe0 read PHY failed o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91896 usb [camcontrol] Serial Number of USB Memory Sticks is not o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/99538 usb [kbd] while using USB keyboard default params of atkbd o usb/100746 usb [kbd] system does not boot due to USB keyboard problem o usb/101761 usb [usb] [patch] [request] usb.h: increase maximal size o o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/102678 usb [kbd] Dell PowerEdge DRAC5 USB Keyboard does not work o usb/102976 usb [panic] Casio Exilim Digital Camera causes panic on in o usb/103046 usb [ulpt] [patch] ulpt event driven I/O with select(2) an o usb/103289 usb [request] USB 2.0 problems on AMD LX-800 CPU and CS-55 o usb/103418 usb [usbhidctl] [patch] [request] usbhidctl: add ability t o usb/103917 usb [uhub] USB driver reports "Addr 0 should never happen" o usb/104290 usb [umass] [patch] quirk: TOSHIBA DVD-RAM drive (libretto o usb/104352 usb [ural] [patch] ural driver doesnt work o usb/104645 usb [umass] [request] Rave C-201 MP3 player does not commu o usb/105065 usb [sata] SATA - USB Bridge o usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/106041 usb [usb] [request] FreeBSD does not recognise Mustek Bear o usb/106621 usb [axe] [patch] DLINK DUB-E100 support broken o usb/106861 usb [usbdevs] [patch]: usbdevs update: Add product ACER Ze o usb/107243 usb [cam] [patch] Apacer USB Flash Drive quirk o usb/107388 usb [patch] [request] new driver: add utoppy device from N o usb/107496 usb [uhub] USB device problem on RELENG_6_2 (SHORT_XFER) ( o usb/107665 usb [usbdevs] [patch] uscanner support for epson stylus DX s usb/107701 usb [usbd] [request] usbd ignores "detach" o usb/107935 usb [uplcom] [panic] panic while accessing /dev/cuaU0 o usb/108056 usb [ohci] Mouse gets powered off during device probe when s usb/108344 usb [panic] kernel with atausb panics when unplugging USB o usb/108509 usb [hang] FreeBSD hang at startup after ehci0 detected (C o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC s usb/110991 usb [usbdevs] [patch] QUIRK: Super Top IDE DEVICE (depends o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4 o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/113432 usb [ucom] WARNING: attempt to net_add_domain(netgraph) af o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/114068 usb [umass] [patch] Problems with connection of the umass o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o usb/115080 usb [usbdevs] [patch] allow using a Hercules HWGUSB2-54-V2 o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/116574 usb [ehci] [patch] Add device ids for ICH8 USB chipsets f usb/116898 usb [panic] sleeping thread while using USB hard drive to o usb/117075 usb [scsi_da] [patch] quirk: USB Samsung YP-U3 MP3 o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/117185 usb [umodem] [patch] Add support for UNION interface descr o usb/117205 usb [uscanner] [patch] uscanner support for HP ScanJet 447 o usb/117546 usb [usbdevs] [patch] Add MaxStream ZigBee product ID to u o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/118374 usb [usbdevs] [patch] support Option GlobeTrotter Max 3.6 o usb/118479 usb [ubsa] [patch] ubsa driver does not recognize AnyDATA o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround s usb/118571 usb [boot] [request] fix BTX issues when booting FreeBSD 7 o usb/118670 usb [ums] [patch] Razer Copperhead Laser Mouse shows up as o usb/118686 usb [usbdevs] [patch] teach usbdevs / ubsa(4) about Huawei o usb/118741 usb [umass] [patch] Support for Nikon D300 digital camera o usb/119150 usb [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED (regress o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR (regression) o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119981 usb [usbdevs] [patch] add support for LOGITEC LAN-GTJ/U2 g o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a f usb/120859 usb laserjet1000 PR#99460 how to install the patch? o usb/121045 usb Add support for PC-OP-RS1 and KURO-RS o usb/121052 usb Microsoft Notebook Optical Mouse 3000 (model 1049) doe o usb/121169 usb Issues with usb mp3 player o usb/121184 usb uipaq: add ids from linux ipaq driver (plus a "quirk") o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C 123 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Mar 10 16:47:48 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAFA4106567E for ; Mon, 10 Mar 2008 16:47:48 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 6242D8FC21 for ; Mon, 10 Mar 2008 16:47:48 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [62.113.132.89] (account mc467741@c2i.net [62.113.132.89] verified) by mailfe01.swip.net (CommuniGate Pro SMTP 5.1.13) with ESMTPA id 823663941; Mon, 10 Mar 2008 17:47:46 +0100 From: Hans Petter Selasky To: Vladimir Terziev Date: Mon, 10 Mar 2008 17:48:48 +0100 User-Agent: KMail/1.9.7 References: <20080306183641.c941b83a.vlady@gbservices.biz> <200803071855.47520.hselasky@c2i.net> <20080310094302.dce54954.vlady@gbservices.biz> In-Reply-To: <20080310094302.dce54954.vlady@gbservices.biz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803101748.48646.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: USB Smart card reader/writer problem X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2008 16:47:49 -0000 On Monday 10 March 2008, Vladimir Terziev wrote: > Hi, > > thanks, but i thought there is some userland-based solution ... > > If i remove the "clear stall" command from the kernel, how will this > affect the other USB devices ? Is there a guarantee they will continue to > function as normal ? You might loose an USB packet if the Data-toggle is wrong. --HPS > > Vladimir > > > On Fri, 7 Mar 2008 18:55:46 +0100 > > Hans Petter Selasky wrote: > > Hi, > > > > You could search in /sys/dev/usb for xxx_pipe_open() or something like > > that, and remove the clear stall command from that function and the > > recompile your kernel and modules. > > > > --HPS > > > > On Friday 07 March 2008, Vladimir Terziev wrote: > > > On Thu, 6 Mar 2008 18:07:44 +0100 > > > > > > Hans Petter Selasky wrote: > > > > On Thursday 06 March 2008, Vladimir Terziev wrote: > > > > > Hi, > > > > > > > > > > i have ACS ACR38T Smart card reader/write device (idVendor=0x072f, > > > > > idProduct=0x90cc), which is an USB stick. I try to make it to work > > > > > under FreeBSD (trys have been done on 5.4, 5.5 and 6.2). > > > > > > > > > > The device has 3 endpoints -- interrupt-in, configured as > > > > > /dev/ugenX.1 and bulk-in/bulk-out, configured as /dev/ugenX.2. > > > > > > > > > > Neither the driver from openct-0.6.14 port nor the driver from > > > > > ccid-1.3.5 port work for the device. > > > > > > > > > > The communication with the device gets stuck on BULK-OUT > > > > > operations. write(2) calls to /dev/ugenX.2 hang forever despite the > > > > > timeout set with USB_SET_TIMEOUT. > > > > > > > > > > The device has been tested to work under Windoze, so as general, > > > > > it's not broken, but just irresponsive. > > > > > > > > > > Could someone give me some clues about the nature of the problem ? > > > > > > > > > > Thanks in advance! > > > > > > > > > > Vladimir > > > > > > > > Hi, > > > > > > > > Some USB devices have problems with Clear Stall. FreeBSD usually > > > > clears the stall on the endpoints before starting to use them. Some > > > > devices empty the fifo when receiving this clear stall, and does not > > > > requeue the data. That is why your device most likely does not work. > > > > > > > > --HPS > > > > > > Is there something i could do in order to workaround such a behaviour ? > > > > > > Vladimir From owner-freebsd-usb@FreeBSD.ORG Tue Mar 11 13:47:31 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B87EA106566C for ; Tue, 11 Mar 2008 13:47:31 +0000 (UTC) (envelope-from vladimir.terziev@gbservices.biz) Received: from cat-btc.gbservices.biz (cat-btc.gbservices.biz [83.228.119.50]) by mx1.freebsd.org (Postfix) with ESMTP id 24F788FC27 for ; Tue, 11 Mar 2008 13:47:30 +0000 (UTC) (envelope-from vladimir.terziev@gbservices.biz) Received: from cat-btc.gbservices.biz (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id 062AB1FA037; Tue, 11 Mar 2008 14:47:29 +0100 (CET) Received: from fs.gbs.gbdom.com (fs.gbs.gbdom.com [192.168.2.244]) by cat.gbs.gbdom.com (Postfix) with ESMTP id DB9D51FA032; Tue, 11 Mar 2008 14:47:28 +0100 (CET) Received: from localhost (localhost.gbs.gbdom.com [127.0.0.1]) by localhost (Postfix) with ESMTP id A78FF28592; Tue, 11 Mar 2008 14:47:28 +0100 (CET) Received: from daemon.gbs.gbdom.com (daemon.gbs.gbdom.com [192.168.2.104]) by fs.gbs.gbdom.com (Postfix) with SMTP id 3AC0C28590; Tue, 11 Mar 2008 14:47:28 +0100 (CET) Date: Tue, 11 Mar 2008 15:47:28 +0200 From: Vladimir Terziev To: Hans Petter Selasky Message-Id: <20080311154728.331a3b96.vlady@gbservices.biz> In-Reply-To: <200803101748.48646.hselasky@c2i.net> References: <20080306183641.c941b83a.vlady@gbservices.biz> <200803071855.47520.hselasky@c2i.net> <20080310094302.dce54954.vlady@gbservices.biz> <200803101748.48646.hselasky@c2i.net> Organization: GB Services Ltd. X-Mailer: Sylpheed 2.4.7 (GTK+ 2.6.4; i386-unknown-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GBS-F X-Virus-Scanned: ClamAV GBS-C Cc: freebsd-usb@freebsd.org Subject: Re: USB Smart card reader/writer problem X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2008 13:47:31 -0000 I think, that's the real problem, since i made the change, proposed by you, in the kernel code, but this didn't help the device to start interoperate with the OS. Thanks for your time! Vladimir On Mon, 10 Mar 2008 17:48:48 +0100 Hans Petter Selasky wrote: > On Monday 10 March 2008, Vladimir Terziev wrote: > > Hi, > > > > thanks, but i thought there is some userland-based solution ... > > > > If i remove the "clear stall" command from the kernel, how will this > > affect the other USB devices ? Is there a guarantee they will continue to > > function as normal ? > > You might loose an USB packet if the Data-toggle is wrong. > > --HPS > > > > > Vladimir > > > > > > On Fri, 7 Mar 2008 18:55:46 +0100 > > > > Hans Petter Selasky wrote: > > > Hi, > > > > > > You could search in /sys/dev/usb for xxx_pipe_open() or something like > > > that, and remove the clear stall command from that function and the > > > recompile your kernel and modules. > > > > > > --HPS > > > > > > On Friday 07 March 2008, Vladimir Terziev wrote: > > > > On Thu, 6 Mar 2008 18:07:44 +0100 > > > > > > > > Hans Petter Selasky wrote: > > > > > On Thursday 06 March 2008, Vladimir Terziev wrote: > > > > > > Hi, > > > > > > > > > > > > i have ACS ACR38T Smart card reader/write device (idVendor=0x072f, > > > > > > idProduct=0x90cc), which is an USB stick. I try to make it to work > > > > > > under FreeBSD (trys have been done on 5.4, 5.5 and 6.2). > > > > > > > > > > > > The device has 3 endpoints -- interrupt-in, configured as > > > > > > /dev/ugenX.1 and bulk-in/bulk-out, configured as /dev/ugenX.2. > > > > > > > > > > > > Neither the driver from openct-0.6.14 port nor the driver from > > > > > > ccid-1.3.5 port work for the device. > > > > > > > > > > > > The communication with the device gets stuck on BULK-OUT > > > > > > operations. write(2) calls to /dev/ugenX.2 hang forever despite the > > > > > > timeout set with USB_SET_TIMEOUT. > > > > > > > > > > > > The device has been tested to work under Windoze, so as general, > > > > > > it's not broken, but just irresponsive. > > > > > > > > > > > > Could someone give me some clues about the nature of the problem ? > > > > > > > > > > > > Thanks in advance! > > > > > > > > > > > > Vladimir > > > > > > > > > > Hi, > > > > > > > > > > Some USB devices have problems with Clear Stall. FreeBSD usually > > > > > clears the stall on the endpoints before starting to use them. Some > > > > > devices empty the fifo when receiving this clear stall, and does not > > > > > requeue the data. That is why your device most likely does not work. > > > > > > > > > > --HPS > > > > > > > > Is there something i could do in order to workaround such a behaviour ? > > > > > > > > Vladimir > > From owner-freebsd-usb@FreeBSD.ORG Wed Mar 12 20:25:16 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADF831065671; Wed, 12 Mar 2008 20:25:16 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8B4BA8FC1C; Wed, 12 Mar 2008 20:25:16 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (jhb@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2CKPGrw085748; Wed, 12 Mar 2008 20:25:16 GMT (envelope-from jhb@freefall.freebsd.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2CKPGlF085744; Wed, 12 Mar 2008 20:25:16 GMT (envelope-from jhb) Date: Wed, 12 Mar 2008 20:25:16 GMT Message-Id: <200803122025.m2CKPGlF085744@freefall.freebsd.org> To: Uwe@Grohnwaldt.eu, jhb@FreeBSD.org, freebsd-usb@FreeBSD.org, jhb@FreeBSD.org From: jhb@FreeBSD.org Cc: Subject: Re: usb/118670: [ums] [patch] Razer Copperhead Laser Mouse shows up as keyboard X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2008 20:25:16 -0000 Synopsis: [ums] [patch] Razer Copperhead Laser Mouse shows up as keyboard State-Changed-From-To: open->patched State-Changed-By: jhb State-Changed-When: Wed Mar 12 20:24:57 UTC 2008 State-Changed-Why: Fixed in HEAD. Responsible-Changed-From-To: freebsd-usb->jhb Responsible-Changed-By: jhb Responsible-Changed-When: Wed Mar 12 20:24:57 UTC 2008 Responsible-Changed-Why: Fixed in HEAD. http://www.freebsd.org/cgi/query-pr.cgi?pr=118670 From owner-freebsd-usb@FreeBSD.ORG Sat Mar 15 08:20:32 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FC7F1065671; Sat, 15 Mar 2008 08:20:32 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E581E8FC14; Sat, 15 Mar 2008 08:20:31 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2F8KVlG009543; Sat, 15 Mar 2008 08:20:31 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2F8KVFp009539; Sat, 15 Mar 2008 08:20:31 GMT (envelope-from linimon) Date: Sat, 15 Mar 2008 08:20:31 GMT Message-Id: <200803150820.m2F8KVFp009539@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/121708: [kbd] nforce 650i mobo w/ usb keyboard infinite key repeat hang X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Mar 2008 08:20:32 -0000 Old Synopsis: nforce 650i mobo w/ usb keyboard infinite key repeat hang New Synopsis: [kbd] nforce 650i mobo w/ usb keyboard infinite key repeat hang Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Sat Mar 15 08:19:01 UTC 2008 Responsible-Changed-Why: Make a guess here and assign it to the usb mailing list. http://www.freebsd.org/cgi/query-pr.cgi?pr=121708