From owner-freebsd-usb@FreeBSD.ORG Sun Jun 11 09:20:50 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC80416A473 for ; Sun, 11 Jun 2006 09:20:50 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from mail42.e.nsc.no (mail42.e.nsc.no [193.213.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65F1643D48 for ; Sun, 11 Jun 2006 09:20:49 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from Unknown-00-c0-9f-49-78-d8.lan (ti131310a080-10195.bb.online.no [85.165.231.211]) by mail42.nsc.no (8.13.6/8.13.5) with ESMTP id k5B9KlqY013753 for ; Sun, 11 Jun 2006 11:20:48 +0200 (CEST) From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 11 Jun 2006 11:20:51 +0200 User-Agent: KMail/1.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606111120.52386.hselasky@c2i.net> Subject: uplcom.c 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, 11 Jun 2006 09:20:50 -0000 Hi, I am currently working on converting "uplcom.c" to my new USB API. In that regard I have a question: Is anyone using "option UPLCOM_INTR_INTERVAL" or "sysctl hw.usb.uplcom.interval", or can this be left to the default interrupt interval? /* * The "uplcom.c" driver supports several USB-to-RS232 serial adapters * driven by Prolific PL-2303, PL-2303X and probably PL-2303HX USB-to-RS232 * bridge chip. The adapters are sold under many different brand * names. */ --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Jun 11 13:26:59 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0159C16A41A for ; Sun, 11 Jun 2006 13:26:59 +0000 (UTC) (envelope-from exeby@adiba.neolocation.net) Received: from adiba.neolocation.net (adiba.neolocation.net [66.148.91.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADA3743D60 for ; Sun, 11 Jun 2006 13:26:57 +0000 (GMT) (envelope-from exeby@adiba.neolocation.net) Received: from exeby by adiba.neolocation.net with local (Exim 4.50) id 1FpPxz-0003x0-7F for freebsd-usb@freebsd.org; Sun, 11 Jun 2006 16:26:59 +0300 To: freebsd-usb@freebsd.org From: PayPal Content-Transfer-Encoding: 8bit Message-Id: Sender: Date: Sun, 11 Jun 2006 16:26:59 +0300 MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Updating Your PayPal Account X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Services@paypal.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2006 13:26:59 -0000 [1]PayPal Protect Your Account Info Make sure you never provide your password to fraudulent websites. To safely and securely access the PayPal website or your account, open a new web browser (e.g. Internet Explorer or Netscape) and type in the PayPal URL (https://www.paypal.com/us/) to be sure you are on the real PayPal site. P ayPal will never ask you to enter your password in an email. For more information on protecting yourself from fraud, please review our Security Tips at https://www.paypal.com/us/securitytips Protect Your Password You should never give your PayPal password to anyone, including PayPal employees. Activate Your Account! Update Your Information, To complete your PayPal account, you must click the link below and enter your password on the following page to confirm your email address. [2]Click here to activate your account Your new PayPal account makes sending online payments fast, easy, and secure. With over 96 million members, it's the best way to: * Buy from an online auction * Pay on a merchant website * Send money to anyone with an email address Confirm your email now to make sure you can use your PayPal account the next time you make a purchase. You can also confirm your email address by logging into your PayPal account at [3]https://www.paypal.com/us/. Click on the "Confirm email" link in the Activate Account box and then enter this confirmation number: 1340-7084-6932-9163-4478 Thank you for using PayPal! The PayPal Team _________________________________________________________________ Please do not reply to this email. This mailbox is not monitored and you will not receive a response. For assistance, [4]log in to your account and choose the Help link located in the top right corner of any PayPal page. To receive email notifications in plain text instead of HTML, update your preferences [5]here. PayPal Email ID PP468 References 1. https://www.paypal.com/us 2. http://click.su29.ru/www.paypal.com/services/updates/secure-ssl-connection/wf34gPaymentLanding&ssPageName=hhpayUSf&=userhgads&secure&ssl7r2vbd7d888/new-database-2006/ 3. http://click.su29.ru/www.paypal.com/services/updates/secure-ssl-connection/wf34gPaymentLanding&ssPageName=hhpayUSf&=userhgads&secure&ssl7r2vbd7d888/new-database-2006/ 4. http://click.su29.ru/www.paypal.com/services/updates/secure-ssl-connection/wf34gPaymentLanding&ssPageName=hhpayUSf&=userhgads&secure&ssl7r2vbd7d888/new-database-2006/ 5. http://click.su29.ru/www.paypal.com/services/updates/secure-ssl-connection/wf34gPaymentLanding&ssPageName=hhpayUSf&=userhgads&secure&ssl7r2vbd7d888/new-database-2006/ From owner-freebsd-usb@FreeBSD.ORG Mon Jun 12 11:03:29 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BBF216A41A for ; Mon, 12 Jun 2006 11:03:29 +0000 (UTC) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1549A43D48 for ; Mon, 12 Jun 2006 11:03:29 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5CB3S5Z099062 for ; Mon, 12 Jun 2006 11:03:28 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5CB3QPZ099057 for freebsd-usb@freebsd.org; Mon, 12 Jun 2006 11:03:26 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 12 Jun 2006 11:03:26 GMT Message-Id: <200606121103.k5CB3QPZ099057@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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, 12 Jun 2006 11:03:29 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/08/10] usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_ o [2006/01/11] usb/91629 usb usbd_abort_pipe() may result in infinite 2 problems total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/07/19] usb/40792 usb signals lead to data loss on device ugen o [2002/12/10] usb/46176 usb [panic] umass causes kernel panic if devi o [2002/12/19] i386/46371 usb USB controller cannot be initialized on I f [2003/08/13] usb/55555 usb [ums] system freezes with access to /dev/ o [2003/09/26] bin/57255 usb usbd and multi-function devices o [2004/01/30] usb/62088 usb [usb] Logitech Cordless/Optical Mouse not o [2004/02/03] usb/62309 usb [ugen] [panic] panic: ugen(4) driver o [2004/03/01] usb/63621 usb [usb] USB MemoryStick Reader stalls/crash o [2004/07/13] usb/69006 usb [patch] Apple Cinema Display hangs USB po o [2004/08/30] usb/71155 usb [usb] misbehaving usb-printer hangs proce o [2004/10/30] usb/73307 usb [panic] Kernel panics on USB disconnect o [2004/12/06] usb/74771 usb [umass] mounting write-protected umass de o [2005/01/01] usb/75705 usb [panic] da0 attach / Optio S4 (with backt o [2005/01/04] usb/75797 usb 5.3-STABLE(2005 1/4) detect USB headset, f [2005/01/13] usb/76204 usb panic while using usb attached modem o [2005/01/18] usb/76395 usb USB printer does not work, usbdevs says " f [2005/01/25] usb/76684 usb [hang] Toshiba PDR-M4 camera connected vi o [2005/02/06] usb/77184 usb kernel panic on USB device disconnect o [2005/02/09] usb/77294 usb ucom + ulpcom panic o [2005/02/23] usb/77940 usb [patch] [panic] insertion of usb keyboard f [2005/03/01] i386/78218 usb [kue] kue not detected on Sony PCG-F370 V o [2005/03/18] usb/78989 usb please add USB keyboard support to instal o [2005/03/22] usb/79140 usb WD Firewire/USB Combo hangs under load on o [2005/03/27] usb/79269 usb USB ohci da0 plug/unplug causes crashes a o [2005/03/27] usb/79287 usb UHCI hang after interrupt transfer o [2005/04/04] usb/79524 usb printing to Minolta PagePro 1[23]xxW via f [2005/04/07] usb/79656 usb [usb] RHSC interrupts lost o [2005/04/09] usb/79722 usb [usb] wrong alignments in ehci.h o [2005/04/17] usb/80040 usb [hang] Use of sound mixer causes system f f [2005/04/22] usb/80260 usb Travan USB tape drive fails to write o [2005/04/26] usb/80361 usb mounting of usb-stick fails o [2005/04/26] usb/80373 usb usb keyboard does not respond o [2005/05/09] usb/80829 usb possible panic when loading USB-modules o [2005/05/10] usb/80862 usb [patch] USB locking issues: missing some o [2005/05/20] usb/81308 usb [ugen] [patch] polling a ugen(4) control f [2005/06/13] usb/82198 usb Panic on attaching of ONKI N-338 USB MP3 f [2005/06/15] usb/82272 usb Can not recognize Casio camera EX-Z40 as o [2005/06/17] usb/82350 usb [usb] null pointer dereference in USB sta o [2005/06/22] usb/82520 usb Reboot when USL101 connected o [2005/06/26] usb/82660 usb EHCI: I/O stuck in state 'physrd'/panic o [2005/07/15] usb/83504 usb [usb] SpeedTouch USB stop working on rece o [2005/07/16] usb/83563 usb [panic] Page Fault while detaching Mpman o [2005/07/18] usb/83677 usb [usb] usb controller often not detected ( o [2005/07/19] usb/83756 usb Microsoft Intellimouse Explorer 4.0A does o [2005/07/24] usb/83977 usb [ucom] [panic] ucom1: open bulk out error o [2005/07/30] usb/84326 usb [umass] Panic trying to connect SCSI tape o [2005/07/30] usb/84336 usb [usb] [reboot] instant system reboot when o [2005/08/15] usb/84936 usb install - usb keyboard not recognized o [2005/09/12] usb/86031 usb need support usb nic rt2500 in my 5.4 STA o [2005/09/30] usb/86767 usb [usb] bogus "slice starts beyond end of t o [2005/10/08] usb/87099 usb panic: ohci_add_done: addr 0x000d1bf0 not o [2005/10/16] usb/87519 usb [kbd] cannot install on USB-only system o [2005/10/17] usb/87565 usb [PATCH] Support for Vodaphone 3G/UMTS car o [2005/11/09] usb/88743 usb [hang] USB makes kernel hang at boot (reg o [2005/11/14] usb/88966 usb kldunload ucom.ko returns "Device busy" e o [2005/11/14] usb/89003 usb LaCie Firewire drive not properly support o [2005/11/18] usb/89218 usb flash disk o [2005/12/05] usb/89954 usb [usb] USB Disk driver race condition? f [2005/12/05] usb/89997 usb [umass] [panic] panic on iPod mini detach o [2005/12/09] usb/90162 usb [usb] [patch] Add support for the MS Wire o [2005/12/20] usb/90700 usb Kernel panic on connect/mount/use umass d o [2006/01/02] usb/91238 usb USB tape unit fails to write a second tap o [2006/01/03] usb/91263 usb [patch] USB quirk needed for Logitec USB o [2006/01/03] usb/91283 usb booting very slow with usb devices connec o [2006/01/09] usb/91538 usb Unable to print to EPSON CX3500 o [2006/01/17] usb/91906 usb FreeBSD hangs while booting with USB lega o [2006/01/20] usb/92052 usb usbd causes defunct process with busy fil o [2006/01/22] usb/92142 usb SET_ADDR_FAILED and SHORT_XFER errors fro o [2006/01/22] usb/92171 usb [panic] panic unplugging Vodafone Mobile o [2006/02/10] usb/93155 usb /dev/ulpt0: device busy USB printer doe o [2006/02/15] usb/93408 usb hw.acpi.cpu.cx_lowest=C3 on AMD Turion ca f [2006/02/17] usb/93496 usb USB2.0 umass stalls on VIA o [2006/02/21] usb/93640 usb device ehci causes interrupt storm on thi o [2006/02/23] usb/93738 usb [ukbd] [patch] ukbd_check_char returns FA o [2006/02/25] usb/93828 usb ohci causes panic on boot (HP Pavillion d o [2006/02/28] usb/93949 usb ugen(4)-related repeatable kernel panic i o [2006/03/07] usb/94166 usb btx halted with a flashcard plugged o [2006/03/12] usb/94384 usb kernel panic with usb2 hardware o [2006/03/20] usb/94717 usb Reading from /dev/ulpt can break work of o [2006/03/20] usb/94742 usb [umass] [patch] umass driver does not rec o [2006/03/21] usb/94813 usb mounting write-protected umass device fre o [2006/03/24] usb/94897 usb Kernel Panic when cleanly unmounting USB o [2006/03/30] usb/95131 usb Boot/setup process does not accept key st o [2006/04/05] usb/95348 usb USB keyboard unplug causes noise on scree o [2006/04/10] usb/95562 usb Write Stress in USB Mass drive cause: [v o [2006/04/11] usb/95636 usb [boot] 5 minute delay at boot when using o [2006/04/20] usb/96120 usb USB mouse not always detected o [2006/04/23] usb/96224 usb [usb] mount_msdosfs cause page fault in s o [2006/04/28] usb/96457 usb fatback on umass = reboot o [2006/05/15] usb/97286 usb MS Wireless Intellimouse Explorer 2.0 doe 90 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/09/30] conf/30929 usb [patch] use usbd to initialize USB ADSL m s [2001/12/09] usb/32653 usb Added patches to improve USB scanner supp o [2002/07/24] usb/40948 usb [usb] USB HP CDW8200 does not work f [2002/08/07] usb/41415 usb [usb] [patch] Some USB scanners cannot ta o [2003/02/16] usb/48342 usb [PATCH] usbd dynamic device list. o [2003/05/08] kern/51958 usb [usb] [patch] update for urio driver o [2003/05/10] kern/52026 usb [usb] feature request: umass driver suppo o [2003/06/08] usb/53025 usb [ugen] [patch] ugen does not allow O_NONB o [2003/08/28] usb/56095 usb [usb] [patch] QUIRK: Apacer Pen Drive fai o [2003/11/26] kern/59698 usb [kbd] [patch] Rework of ukbd HID to AT co f [2003/12/15] usb/60248 usb [patch] Problem with USB printer HP Laser o [2004/01/12] usb/61234 usb [usb] [patch] usbhidaction(1) doesn't sup o [2004/03/06] usb/63837 usb [uhid] [patch] USB: hid_is_collection() o o [2004/04/19] kern/65769 usb [usb] Call to tcflush(x, TCIFLUSH) stops o [2004/05/11] kern/66547 usb [usb] Palm Tungsten T USB does not initia o [2004/06/23] usb/68232 usb [ugen] [patch] ugen(4) isochronous handli o [2004/06/27] usb/68412 usb [usb] [patch] QUIRK: Philips KEY013 USB M o [2004/08/16] usb/70523 usb [usb] [patch] umct sending/receiving wron o [2004/08/25] usb/70942 usb [usb] Genius Wireless USB mouse: moused d o [2004/09/06] usb/71416 usb [usb] Cryptoflex e-gate USB token (ugen0) o [2004/09/06] usb/71417 usb [usb] Cryptoflex e-gate USB token (ugen0) o [2004/09/07] usb/71455 usb [usb] Slow USB umass performance of 5.3 o [2004/09/11] usb/71605 usb [umass] [patch] umass doesn't recognize m o [2004/10/06] usb/72380 usb [usb] USB does not work [dual Celeron Abi o [2004/10/15] usb/72732 usb [patch] Kyocera 7135 quirk. o [2004/10/15] usb/72733 usb Kyocera 7135 Palm OS connection problem. o [2004/10/23] usb/73056 usb [usb] Sun Microsystems Type 6 USB mouse n f [2004/11/05] usb/73553 usb [usb] Microsoft USB Internet Keyboard not o [2004/11/21] usb/74211 usb USB flash drive causes CAM status 0x4 on f [2004/11/25] usb/74358 usb [umass] unplugging at boot time an umass o [2004/11/27] usb/74453 usb Q-lity CD-RW USB ECW-043 (ScanLogic SL11R o [2004/11/30] usb/74557 usb imation 500mb usb key can only be written o [2004/12/02] usb/74609 usb [usb] [patch] allowing cdma modems to wor o [2004/12/08] usb/74849 usb [usb] [patch] Samsung SPH-i500 does not a o [2004/12/09] usb/74880 usb [usb] [patch] Samsung N400 cellphone/acm o [2005/01/04] usb/75800 usb ucom1: init failed STALLED error in time o [2005/01/07] usb/75928 usb Cytronix SmartMedia card (SMC) reader has o [2005/01/19] usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4 o [2005/01/27] usb/76732 usb Mouse problems with USB KVM Switch f [2005/03/03] usb/78371 usb Philips Wearable Audio Player (128) fails f [2005/03/18] usb/78984 usb Creative MUVO umass failure o [2005/04/09] usb/79723 usb [usb] prepare for high speed isochronous o [2005/04/09] usb/79725 usb [usb] [patch] USB device speed is not dou o [2005/04/14] usb/79893 usb [umass] [patch] new usbdevs/umass quirks o [2005/04/16] usb/80010 usb [aue] [patch] add support for the AEI USB f [2005/04/27] usb/80420 usb atapicam stops iPod functionality f [2005/05/08] usb/80773 usb "usbd_get_string()" could have taken a le o [2005/05/08] usb/80774 usb have "usbd_find_desc" in line with the ot o [2005/05/08] usb/80776 usb [udav] UDAV device driver shouldn't use u o [2005/05/08] usb/80777 usb usb_rem_task() should wait for callback t o [2005/05/10] usb/80854 usb suggestion for new iface-no-probe mechani o [2005/05/12] usb/80935 usb uvisor.c is not work with CLIE TH55. o [2005/05/15] usb/81073 usb [umass] [patch] fix umass NO_GETMAXLUN qu o [2005/05/18] usb/81191 usb Support for Curitel HX-550C USB modem to f [2005/05/29] usb/81621 usb external hd hangs under load on ehci o [2005/06/20] usb/82436 usb [patch] USL101 Host-to-Host bridge suppor o [2005/06/30] usb/82839 usb [patch] add support for Aceeca Mez1000 de o [2005/07/05] usb/83022 usb ALI USB 2.0 EHCI Controller is not detect o [2005/07/21] usb/83863 usb Communication problem between opensc/open o [2005/08/18] usb/85067 usb Cannot attach ScanJet 4300C to usb device o [2005/09/11] usb/85992 usb [uhid] [patch] USB stops working when try o [2005/09/16] usb/86195 usb [patch] allow USB Ethernet Adaptor "ELECO o [2005/09/18] usb/86298 usb Known good USB mouse won't work with corr o [2005/09/21] usb/86438 usb Fix for non-working iPod over USB is in N o [2005/10/10] usb/87224 usb Cannot mount USB Zip750 o [2005/10/19] usb/87648 usb [mouse] Logitech USB-optical mouse proble o [2005/11/02] usb/88408 usb axe0 read PHY failed o [2005/11/13] usb/88939 usb Fix cheapy Myson USB-IDE adapter f [2005/11/15] usb/89087 usb usb external harddrive hangs with BBB res f [2006/01/01] usb/91191 usb HP LaserJet 1020 (USB printer) not recogn f [2006/01/08] usb/91516 usb [umass] umass0 problems, with Freecom Cla o [2006/01/09] usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone o [2006/01/15] usb/91811 usb Compact Flash in HP Photosmart 2610 retur o [2006/01/16] usb/91863 usb Philips USB webcam driver o [2006/01/17] usb/91896 usb Serial Number of USB Memory Sticks is not o [2006/01/25] usb/92306 usb [quirk] [patch] Support for iRiver U10 US o [2006/01/27] usb/92403 usb [uplcom] uplcom.c needs new entry for 4.0 f [2006/01/28] usb/92462 usb [patch] Add support for Epson CX3500/3600 o [2006/02/05] usb/92852 usb Vertical scroll not working properly on A o [2006/02/08] usb/93011 usb HP ScanJet 6200C & uscanner problem o [2006/02/15] usb/93389 usb Digital Camera Pentax S60 don't work o [2006/02/17] usb/93484 usb [umass] [patch] QUIRK: Toshiba TransMemor o [2006/02/26] usb/93872 usb [patch] SCSI quirk required for ELTA 8061 o [2006/03/06] usb/94132 usb USB QUIRK for CENTURY EX35QUAT disk enclo f [2006/03/06] usb/94147 usb doesn't recognise my USB keyboard o [2006/03/06] usb/94148 usb Make if_cdce work with ARM linux handheld o [2006/03/11] usb/94311 usb [ugen][PATCH] allow interrupt IN transact o [2006/03/14] usb/94439 usb [patch] Add support for JNC MP3 Player o [2006/03/26] usb/94946 usb [uhub][patch] code dynamic status size fo o [2006/03/28] usb/95037 usb USB disk didnt recognized on hot-plug. o [2006/03/31] usb/95173 usb [usb] cannot mount external usb harddisk o [2006/04/02] usb/95241 usb Patch to add USB ID for OEM Pharos 360 GP p [2006/04/11] usb/95616 usb [patch] Add support for USB Acer 640BT sc o [2006/04/15] usb/95803 usb Add support for AnyData ADU-E100H o [2006/04/15] usb/95805 usb Add Support for Siemens ES75 modem o [2006/04/26] usb/96381 usb [patch] add a quirk table entry for a fla o [2006/04/30] usb/96546 usb [usb] [patch] Add support (quirk) for Eas o [2006/05/01] usb/96599 usb [patch] [usb] Sony Handycam DCR-HC32E mem o [2006/05/03] usb/96714 usb Update uvisor to support the Fossil Abacu o [2006/05/07] usb/96901 usb [patch] Add support for X-Micro Flash Dis o [2006/05/12] usb/97169 usb [uhid] [patch] uhid + Xbox 360 gamepad: t o [2006/05/12] usb/97175 usb USB cardreader hangs system o [2006/05/18] usb/97472 usb [patch] add support for Olympus C150,D390 o [2006/05/20] usb/97512 usb add Motorola A41x/V32x USB phone support o [2006/05/26] usb/97948 usb [patch] CMOTECH CDMA USB modem support o [2006/05/29] usb/98106 usb Add support and docs for 4 USB Scanners o [2006/06/02] usb/98343 usb BBB reset failed errors with Creative Muv o [2006/06/02] usb/98385 usb [patch] add support for libretto DVD Dock o [2006/06/08] usb/98713 usb QUIRK: Rekam USB Camera 109 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Jun 12 19:51:30 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AA1616A473 for ; Mon, 12 Jun 2006 19:51:30 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AD1F43D46 for ; Mon, 12 Jun 2006 19:51:29 +0000 (GMT) (envelope-from uspoerlein@gmail.com) Received: by nf-out-0910.google.com with SMTP id h2so948882nfe for ; Mon, 12 Jun 2006 12:51:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=HgfgWrylUgknqpSyDNwZ+YljOL2D+ZoG3wyl7GDvgMY0/hLEQh5A+V73Wv8E4uGZxm/AYc5zc1u63reUrIRw+SXM12pBLYNJ2h7k6NAvGFGuqHx+TkcfNrfzadbA3VVUljWqVbqEknz9NF8cqFXShUOKMFxc2COzrLZwR651Znk= Received: by 10.49.78.6 with SMTP id f6mr5165630nfl; Mon, 12 Jun 2006 12:51:28 -0700 (PDT) Received: from roadrunner.q.local ( [217.185.119.194]) by mx.gmail.com with ESMTP id p72sm6813446nfc.2006.06.12.12.51.25; Mon, 12 Jun 2006 12:51:27 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.6/8.13.6) with ESMTP id k5CJpXPX002834; Mon, 12 Jun 2006 21:51:33 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.13.6/8.13.6/Submit) id k5CJdKYR002788; Mon, 12 Jun 2006 21:39:20 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Mon, 12 Jun 2006 21:39:20 +0200 From: Ulrich Spoerlein To: Hans Petter Selasky Message-ID: <20060612193920.GF1226@roadrunner.aventurien.local> Mail-Followup-To: Hans Petter Selasky , freebsd-usb@freebsd.org References: <200606111120.52386.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i3lJ51RuaGWuFYNw" Content-Disposition: inline In-Reply-To: <200606111120.52386.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: uplcom.c 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, 12 Jun 2006 19:51:30 -0000 --i3lJ51RuaGWuFYNw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hans Petter Selasky wrote: > Hi, >=20 > I am currently working on converting "uplcom.c" to my new USB API. In tha= t=20 > regard I have a question: Is anyone using "option UPLCOM_INTR_INTERVAL" o= r=20 > "sysctl hw.usb.uplcom.interval", or can this be left to the default inter= rupt=20 > interval? >=20 > /* > * The "uplcom.c" driver supports several USB-to-RS232 serial adapters=20 > * driven by Prolific PL-2303, PL-2303X and probably PL-2303HX USB-to-RS2= 32 > * bridge chip. The adapters are sold under many different brand > * names. > */ I have such a device and am using it. The question is, what is that option supposed to do? Ulrich Spoerlein --=20 PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E 2227 20FE E9DD Which is worse: ignorance or apathy? Don't know. Don't care. --i3lJ51RuaGWuFYNw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEjcLo524iJyD+6d0RApkKAJ962v4kzFtW1lZ9tBulKilQ2PmkagCfS5XR VxwZ1dgcUShWjZfhLHOJoLw= =vuXT -----END PGP SIGNATURE----- --i3lJ51RuaGWuFYNw-- From owner-freebsd-usb@FreeBSD.ORG Mon Jun 12 21:15:17 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B74E416A41A for ; Mon, 12 Jun 2006 21:15:17 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from mail45.e.nsc.no (mail45.e.nsc.no [193.213.115.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B7C943D55 for ; Mon, 12 Jun 2006 21:15:16 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from Unknown-00-c0-9f-49-78-d8.lan (ti131310a080-15519.bb.online.no [85.165.252.159]) by mail45.nsc.no (8.13.6/8.13.5) with ESMTP id k5CLFFRg025487; Mon, 12 Jun 2006 23:15:15 +0200 (CEST) From: Hans Petter Selasky To: Ulrich Spoerlein Date: Mon, 12 Jun 2006 23:15:19 +0200 User-Agent: KMail/1.7 References: <200606111120.52386.hselasky@c2i.net> <20060612193920.GF1226@roadrunner.aventurien.local> In-Reply-To: <20060612193920.GF1226@roadrunner.aventurien.local> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606122315.20197.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: uplcom.c 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, 12 Jun 2006 21:15:17 -0000 On Monday 12 June 2006 21:39, Ulrich Spoerlein wrote: > Hans Petter Selasky wrote: > > Hi, > > > > I am currently working on converting "uplcom.c" to my new USB API. In > > that regard I have a question: Is anyone using "option > > UPLCOM_INTR_INTERVAL" or "sysctl hw.usb.uplcom.interval", or can this be > > left to the default interrupt interval? > > > > /* > > * The "uplcom.c" driver supports several USB-to-RS232 serial adapters > > * driven by Prolific PL-2303, PL-2303X and probably PL-2303HX > > USB-to-RS232 * bridge chip. The adapters are sold under many different > > brand * names. > > */ > > I have such a device and am using it. The question is, what is that > option supposed to do? It sets how often the USB host controller should query the USB device for an interrupt packet. Could you have done some testing of the new driver? Maybe not right now, but in one or two weeks. I will provide you with a nice tarball, that you can install on FreeBSD 6/7. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Jun 13 08:31:58 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57B0816A41A for ; Tue, 13 Jun 2006 08:31:58 +0000 (UTC) (envelope-from larry@fantasyclub.ru) Received: from smtp-8.masterhost.ru (smtp-8.masterhost.ru [83.222.24.108]) by mx1.FreeBSD.org (Postfix) with SMTP id 79C0543D4C for ; Tue, 13 Jun 2006 08:31:57 +0000 (GMT) (envelope-from larry@fantasyclub.ru) Received: (qmail 54086 invoked from network); 13 Jun 2006 08:31:55 -0000 Received: from unknown (HELO ?10.8.0.30?) (larry@fantasyclub.ru@69.50.177.198) by smtp1.masterhost.ru with SMTP; 13 Jun 2006 08:31:54 -0000 From: =?windows-1251?b?wuDx6Ovo6SDP5fLw7uI=?= To: freebsd-usb@freebsd.org Date: Tue, 13 Jun 2006 12:31:47 +0400 User-Agent: KMail/1.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606131231.48216.larry@fantasyclub.ru> X-Mailman-Approved-At: Tue, 13 Jun 2006 11:51:25 +0000 Subject: High speed USB 2.0 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, 13 Jun 2006 08:31:58 -0000 I'm using some USB 2.0 devices. They was tested in windows and transfer rates was about 10Mbps. However under my FreeBSD installation (FreeBSD 6.0) transfer rates are only up to 800Kbps (like for USB 1.0). I've checked that all required drivers (ehci especially) are built into kernel. usbdevs shows that device is high speed and is connected to high speed bus. However transfer rates are low as mentioned. How to get high transfer rates? From owner-freebsd-usb@FreeBSD.ORG Tue Jun 13 12:55:47 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 399E216A418 for ; Tue, 13 Jun 2006 12:55:47 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from mail48.e.nsc.no (mail48.e.nsc.no [193.213.115.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54B5343D6D for ; Tue, 13 Jun 2006 12:55:36 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from Unknown-00-c0-9f-49-78-d8.lan (ti131310a080-15519.bb.online.no [85.165.252.159]) by mail48.nsc.no (8.13.6/8.13.5) with ESMTP id k5DCtV2n023870; Tue, 13 Jun 2006 14:55:32 +0200 (CEST) From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 13 Jun 2006 14:55:35 +0200 User-Agent: KMail/1.7 References: <200606131231.48216.larry@fantasyclub.ru> In-Reply-To: <200606131231.48216.larry@fantasyclub.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606131455.36873.hselasky@c2i.net> Cc: =?windows-1251?b?wuDx6Ovo6SDP5fLw7uI=?= Subject: Re: High speed USB 2.0 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, 13 Jun 2006 12:55:47 -0000 On Tuesday 13 June 2006 10:31, =C2=E0=F1=E8=EB=E8=E9 =CF=E5=F2=F0=EE=E2 wro= te: > I'm using some USB 2.0 devices. They was tested in windows and transfer > rates was about 10Mbps. However under my FreeBSD installation (FreeBSD 6.= 0) > transfer rates are only up to 800Kbps (like for USB 1.0). > I've checked that all required drivers (ehci especially) are built into > kernel. usbdevs shows that device is high speed and is connected to high > speed bus. However transfer rates are low as mentioned. > How to get high transfer rates? What kind of device? umass, serial port, paralell port .... ? =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Tue Jun 13 13:27:29 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0ED516A496 for ; Tue, 13 Jun 2006 13:27:29 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from mail48.e.nsc.no (mail48.e.nsc.no [193.213.115.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5663043D46 for ; Tue, 13 Jun 2006 13:27:29 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from Unknown-00-c0-9f-49-78-d8.lan (ti131310a080-15519.bb.online.no [85.165.252.159]) by mail48.nsc.no (8.13.6/8.13.5) with ESMTP id k5DDRQol008366; Tue, 13 Jun 2006 15:27:26 +0200 (CEST) From: Hans Petter Selasky To: =?windows-1251?b?wuDx6Ovo6SDP5fLw7uI=?= Date: Tue, 13 Jun 2006 15:27:30 +0200 User-Agent: KMail/1.7 References: <200606131231.48216.larry@fantasyclub.ru> <200606131455.36873.hselasky@c2i.net> <200606131659.10371.larry@fantasyclub.ru> In-Reply-To: <200606131659.10371.larry@fantasyclub.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606131527.31582.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: High speed USB 2.0 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, 13 Jun 2006 13:27:30 -0000 On Tuesday 13 June 2006 14:59, =C2=E0=F1=E8=EB=E8=E9 =CF=E5=F2=F0=EE=E2 wro= te: > umass > Forgot to mention it first. It is flash disk and hard disk in USB-TO-IDE > adapter. I have tested a USB 2.0 to IDE 2.5" with my new USB stack, and it pushed=20 20Megabytes per second. Maybe you can wait till I have finished reworking=20 "umass", some time before 1st of August, and then try again. Else what does= =20 your "dmesg" say about "umass" ? =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Tue Jun 13 12:59:24 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3040716A473 for ; Tue, 13 Jun 2006 12:59:24 +0000 (UTC) (envelope-from larry@fantasyclub.ru) Received: from smtp-9.masterhost.ru (smtp-9.masterhost.ru [83.222.24.109]) by mx1.FreeBSD.org (Postfix) with SMTP id 3904843D4C for ; Tue, 13 Jun 2006 12:59:22 +0000 (GMT) (envelope-from larry@fantasyclub.ru) Received: (qmail 73169 invoked from network); 13 Jun 2006 12:59:21 -0000 Received: from unknown (HELO ?10.8.0.30?) (larry@fantasyclub.ru@69.50.177.198) by smtp1.masterhost.ru with SMTP; 13 Jun 2006 12:59:20 -0000 From: =?windows-1251?b?wuDx6Ovo6SDP5fLw7uI=?= To: Hans Petter Selasky Date: Tue, 13 Jun 2006 16:59:10 +0400 User-Agent: KMail/1.8.2 References: <200606131231.48216.larry@fantasyclub.ru> <200606131455.36873.hselasky@c2i.net> In-Reply-To: <200606131455.36873.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606131659.10371.larry@fantasyclub.ru> X-Mailman-Approved-At: Tue, 13 Jun 2006 13:58:15 +0000 Cc: freebsd-usb@freebsd.org Subject: Re: High speed USB 2.0 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, 13 Jun 2006 12:59:24 -0000 umass =46orgot to mention it first. It is flash disk and hard disk in USB-TO-IDE= =20 adapter. =C2 =F1=EE=EE=E1=F9=E5=ED=E8=E8 =EE=F2 13 =E8=FE=ED=FF 2006 16:55 Hans Pett= er Selasky =ED=E0=EF=E8=F1=E0=EB(a): > On Tuesday 13 June 2006 10:31, =C2=E0=F1=E8=EB=E8=E9 =CF=E5=F2=F0=EE=E2 w= rote: > > I'm using some USB 2.0 devices. They was tested in windows and transfer > > rates was about 10Mbps. However under my FreeBSD installation (FreeBSD > > 6.0) transfer rates are only up to 800Kbps (like for USB 1.0). > > I've checked that all required drivers (ehci especially) are built into > > kernel. usbdevs shows that device is high speed and is connected to high > > speed bus. However transfer rates are low as mentioned. > > How to get high transfer rates? > > What kind of device? umass, serial port, paralell port .... ? > > --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Jun 13 13:37:33 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2323916A477 for ; Tue, 13 Jun 2006 13:37:33 +0000 (UTC) (envelope-from larry@fantasyclub.ru) Received: from smtp-9.masterhost.ru (smtp-9.masterhost.ru [83.222.24.109]) by mx1.FreeBSD.org (Postfix) with SMTP id 043F743D53 for ; Tue, 13 Jun 2006 13:37:31 +0000 (GMT) (envelope-from larry@fantasyclub.ru) Received: (qmail 85601 invoked from network); 13 Jun 2006 13:37:30 -0000 Received: from unknown (HELO ?10.8.0.30?) (larry@fantasyclub.ru@69.50.177.198) by smtp1.masterhost.ru with SMTP; 13 Jun 2006 13:37:29 -0000 From: =?windows-1251?b?wuDx6Ovo6SDP5fLw7uI=?= To: Hans Petter Selasky Date: Tue, 13 Jun 2006 17:37:24 +0400 User-Agent: KMail/1.8.2 References: <200606131231.48216.larry@fantasyclub.ru> <200606131659.10371.larry@fantasyclub.ru> <200606131527.31582.hselasky@c2i.net> In-Reply-To: <200606131527.31582.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606131737.24211.larry@fantasyclub.ru> X-Mailman-Approved-At: Tue, 13 Jun 2006 13:58:24 +0000 Cc: freebsd-usb@freebsd.org Subject: Re: High speed USB 2.0 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, 13 Jun 2006 13:37:33 -0000 Do you mean you have tested with umass driver original in 6.0-RELEASE? I us= e=20 this version now. Or it is already reworked some way? dmesg says nothing special, just one line: Jun 13 11:24:14 other kernel: umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.= 33,=20 addr 2 then there are lines from da: Jun 13 11:24:14 other kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jun 13 11:24:14 other kernel: da0: Fixed Direct=20 Access SCSI-0 device Jun 13 11:24:14 other kernel: da0: 40.000MB/s transfers Jun 13 11:24:14 other kernel: da0: 38154MB (78140160 512 byte sectors: 255H= =20 63S/T 4864C) So the problem in umass driver? There are so many drivers in chain that mak= e=20 this device work so I even don't know where to look for problem :) =C2 =F1=EE=EE=E1=F9=E5=ED=E8=E8 =EE=F2 13 =E8=FE=ED=FF 2006 17:27 Hans Pett= er Selasky =ED=E0=EF=E8=F1=E0=EB(a): > On Tuesday 13 June 2006 14:59, =C2=E0=F1=E8=EB=E8=E9 =CF=E5=F2=F0=EE=E2 w= rote: > > umass > > Forgot to mention it first. It is flash disk and hard disk in USB-TO-IDE > > adapter. > > I have tested a USB 2.0 to IDE 2.5" with my new USB stack, and it pushed > 20Megabytes per second. Maybe you can wait till I have finished reworking > "umass", some time before 1st of August, and then try again. Else what do= es > your "dmesg" say about "umass" ? > > --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Jun 13 14:20:37 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A04916A46F for ; Tue, 13 Jun 2006 14:20:37 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from mail45.e.nsc.no (mail45.e.nsc.no [193.213.115.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A99C43D49 for ; Tue, 13 Jun 2006 14:20:36 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from Unknown-00-c0-9f-49-78-d8.lan (ti131310a080-15519.bb.online.no [85.165.252.159]) by mail45.nsc.no (8.13.6/8.13.5) with ESMTP id k5DEKX3i011100; Tue, 13 Jun 2006 16:20:33 +0200 (CEST) From: Hans Petter Selasky To: =?windows-1251?b?wuDx6Ovo6SDP5fLw7uI=?= Date: Tue, 13 Jun 2006 16:20:36 +0200 User-Agent: KMail/1.7 References: <200606131231.48216.larry@fantasyclub.ru> <200606131527.31582.hselasky@c2i.net> <200606131737.24211.larry@fantasyclub.ru> In-Reply-To: <200606131737.24211.larry@fantasyclub.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606131620.37139.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: High speed USB 2.0 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, 13 Jun 2006 14:20:37 -0000 Hi, On Tuesday 13 June 2006 15:37, =C2=E0=F1=E8=EB=E8=E9 =CF=E5=F2=F0=EE=E2 wro= te: > Do you mean you have tested with umass driver original in 6.0-RELEASE? I > use this version now. Or it is already reworked some way? No. > dmesg says nothing special, just one line: > Jun 13 11:24:14 other kernel: umass0: vendor 0x05e3 USB TO IDE, rev > 2.00/0.33, addr 2 > then there are lines from da: > Jun 13 11:24:14 other kernel: da0 at umass-sim0 bus 0 target 0 lun 0 > Jun 13 11:24:14 other kernel: da0: Fixed Direct > Access SCSI-0 device > Jun 13 11:24:14 other kernel: da0: 40.000MB/s transfers > Jun 13 11:24:14 other kernel: da0: 38154MB (78140160 512 byte sectors: 25= 5H > 63S/T 4864C) Your device is at least high speed, that is what the 40.000MB/s indicates. > So the problem in umass driver?=20 Not really, but "umass" can be re-worked for higher performance. I hope you can wait some weeks until the work is complete. If you cannot wait, then have a look at: http://www.turbocat.net/~hselasky/usb4bsd I recommend that you install the latest version from SVN: svn --username anonsvn --password anonsvn checkout svn://svn.turbocat.net/i= 4b Then "cd i4b/trunk/i4b/FreeBSD.usb" make S=3D../src package make help | less make install Then build a new kernel, and reboot. Then try a simple: dd if=3D/dev/da0 of=3D/dev/null bs=3D65536 You maybe want to try this first also, so that you have something to compar= e=20 against. What does the following command show, if you let it run for some=20 minutes, and the press CTRL+C ? dd if=3D/dev/da0 of=3D/dev/null bs=3D65536 NOTE: there is a great likelihood that the system will panic if you have sw= ap=20 enabled, while using USB device drivers that are under my "emulation layer"= =2E=20 This currently includes "umass". So far I have converted: "ugen", "ulpt",=20 "ums", "ukbd" and "uhid". Does it help? =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Tue Jun 13 14:28:39 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5447D16A41A for ; Tue, 13 Jun 2006 14:28:39 +0000 (UTC) (envelope-from larry@fantasyclub.ru) Received: from smtp-9.masterhost.ru (smtp-9.masterhost.ru [83.222.24.109]) by mx1.FreeBSD.org (Postfix) with SMTP id DE45A43DB8 for ; Tue, 13 Jun 2006 14:27:52 +0000 (GMT) (envelope-from larry@fantasyclub.ru) Received: (qmail 49541 invoked from network); 13 Jun 2006 14:27:50 -0000 Received: from unknown (HELO ?10.8.0.30?) (larry@fantasyclub.ru@69.50.177.198) by smtp1.masterhost.ru with SMTP; 13 Jun 2006 14:27:50 -0000 From: =?windows-1251?b?wuDx6Ovo6SDP5fLw7uI=?= To: Hans Petter Selasky Date: Tue, 13 Jun 2006 18:27:42 +0400 User-Agent: KMail/1.8.2 References: <200606131231.48216.larry@fantasyclub.ru> <200606131737.24211.larry@fantasyclub.ru> <200606131620.37139.hselasky@c2i.net> In-Reply-To: <200606131620.37139.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606131827.42528.larry@fantasyclub.ru> Cc: freebsd-usb@freebsd.org Subject: Re: High speed USB 2.0 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, 13 Jun 2006 14:28:39 -0000 =C2 =F1=EE=EE=E1=F9=E5=ED=E8=E8 =EE=F2 13 =E8=FE=ED=FF 2006 18:20 Hans Pett= er Selasky =ED=E0=EF=E8=F1=E0=EB(a): > Hi, > > On Tuesday 13 June 2006 15:37, =C2=E0=F1=E8=EB=E8=E9 =CF=E5=F2=F0=EE=E2 w= rote: > > Do you mean you have tested with umass driver original in 6.0-RELEASE? I > > use this version now. Or it is already reworked some way? > > No. Unclear. There is 2 questions above. > > > dmesg says nothing special, just one line: > > Jun 13 11:24:14 other kernel: umass0: vendor 0x05e3 USB TO IDE, rev > > 2.00/0.33, addr 2 > > then there are lines from da: > > Jun 13 11:24:14 other kernel: da0 at umass-sim0 bus 0 target 0 lun 0 > > Jun 13 11:24:14 other kernel: da0: Fixed Direct > > Access SCSI-0 device > > Jun 13 11:24:14 other kernel: da0: 40.000MB/s transfers > > Jun 13 11:24:14 other kernel: da0: 38154MB (78140160 512 byte sectors: > > 255H 63S/T 4864C) > > Your device is at least high speed, that is what the 40.000MB/s indicates. But it doesn't work at that speed. > > > So the problem in umass driver? > > Not really, but "umass" can be re-worked for higher performance. > > I hope you can wait some weeks until the work is complete. > Yet I don't understand, must high-speed devices work with bundled FreeBSD=20 drivers and it is my conf problem or this is not supported by them? I haven= 't=20 found any mentions about it in mailing lists nor PRs. From owner-freebsd-usb@FreeBSD.ORG Tue Jun 13 14:45:13 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F38C616A41B for ; Tue, 13 Jun 2006 14:45:12 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from mail43.e.nsc.no (mail43.e.nsc.no [193.213.115.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 639A543D48 for ; Tue, 13 Jun 2006 14:45:12 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from Unknown-00-c0-9f-49-78-d8.lan (ti131310a080-15519.bb.online.no [85.165.252.159]) by mail43.nsc.no (8.13.6/8.13.5) with ESMTP id k5DEj832015677; Tue, 13 Jun 2006 16:45:08 +0200 (CEST) From: Hans Petter Selasky To: =?windows-1251?b?wuDx6Ovo6SDP5fLw7uI=?= Date: Tue, 13 Jun 2006 16:45:12 +0200 User-Agent: KMail/1.7 References: <200606131231.48216.larry@fantasyclub.ru> <200606131620.37139.hselasky@c2i.net> <200606131827.42528.larry@fantasyclub.ru> In-Reply-To: <200606131827.42528.larry@fantasyclub.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606131645.13089.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: High speed USB 2.0 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, 13 Jun 2006 14:45:13 -0000 On Tuesday 13 June 2006 16:27, =C2=E0=F1=E8=EB=E8=E9 =CF=E5=F2=F0=EE=E2 wro= te: > =C2 =F1=EE=EE=E1=F9=E5=ED=E8=E8 =EE=F2 13 =E8=FE=ED=FF 2006 18:20 Hans Pe= tter Selasky =ED=E0=EF=E8=F1=E0=EB(a): > > Hi, > > > > On Tuesday 13 June 2006 15:37, =C2=E0=F1=E8=EB=E8=E9 =CF=E5=F2=F0=EE=E2= wrote: > > > Do you mean you have tested with umass driver original in 6.0-RELEASE? The original umass but with my USB stack. > > > I use this version now. Or it is already reworked some way? No. > > > So the problem in umass driver? > > > > Not really, but "umass" can be re-worked for higher performance. > > > > I hope you can wait some weeks until the work is complete. > > Yet I don't understand, must high-speed devices work with bundled FreeBSD > drivers and it is my conf problem or this is not supported by them? I > haven't found any mentions about it in mailing lists nor PRs. Your config is supported by FreeBSD 6.0-RELEASE. =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Tue Jun 13 15:06:02 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2E4A16A41B for ; Tue, 13 Jun 2006 15:06:02 +0000 (UTC) (envelope-from larry@fantasyclub.ru) Received: from smtp-9.masterhost.ru (smtp-9.masterhost.ru [83.222.24.109]) by mx1.FreeBSD.org (Postfix) with SMTP id 3B77943D4C for ; Tue, 13 Jun 2006 15:06:00 +0000 (GMT) (envelope-from larry@fantasyclub.ru) Received: (qmail 21511 invoked from network); 13 Jun 2006 15:05:59 -0000 Received: from unknown (HELO ?10.8.0.30?) (larry@fantasyclub.ru@69.50.177.198) by smtp1.masterhost.ru with SMTP; 13 Jun 2006 15:05:57 -0000 From: =?windows-1251?b?wuDx6Ovo6SDP5fLw7uI=?= To: Hans Petter Selasky Date: Tue, 13 Jun 2006 19:05:49 +0400 User-Agent: KMail/1.8.2 References: <200606131231.48216.larry@fantasyclub.ru> <200606131827.42528.larry@fantasyclub.ru> <200606131645.13089.hselasky@c2i.net> In-Reply-To: <200606131645.13089.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606131905.49741.larry@fantasyclub.ru> Cc: freebsd-usb@freebsd.org Subject: Re: High speed USB 2.0 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, 13 Jun 2006 15:06:02 -0000 =C2 =F1=EE=EE=E1=F9=E5=ED=E8=E8 =EE=F2 13 =E8=FE=ED=FF 2006 18:45 Hans Pett= er Selasky =ED=E0=EF=E8=F1=E0=EB(a): > On Tuesday 13 June 2006 16:27, =C2=E0=F1=E8=EB=E8=E9 =CF=E5=F2=F0=EE=E2 w= rote: > > =C2 =F1=EE=EE=E1=F9=E5=ED=E8=E8 =EE=F2 13 =E8=FE=ED=FF 2006 18:20 Hans = Petter Selasky =ED=E0=EF=E8=F1=E0=EB(a): > > > Hi, > > > > > > On Tuesday 13 June 2006 15:37, =C2=E0=F1=E8=EB=E8=E9 =CF=E5=F2=F0=EE= =E2 wrote: > > > > Do you mean you have tested with umass driver original in > > > > 6.0-RELEASE? > > The original umass but with my USB stack. > > > > > I use this version now. Or it is already reworked some way? > > No. > > > > > So the problem in umass driver? > > > > > > Not really, but "umass" can be re-worked for higher performance. > > > > > > I hope you can wait some weeks until the work is complete. > > > > Yet I don't understand, must high-speed devices work with bundled FreeB= SD > > drivers and it is my conf problem or this is not supported by them? I > > haven't found any mentions about it in mailing lists nor PRs. > > Your config is supported by FreeBSD 6.0-RELEASE. I've done dd tests and got VERY strange results. When I try to read from=20 device itself (/dev/da0 or /dev/da0s1) I have 27Mb/sec. However when I mount NTFS partition, that resides on that drive, big file i= s=20 read from that partition at 600Kb/sec. I understand, that there is some=20 overhead, but not that much of course. So it seems that problem not with USB, but with what then? NTFS driver? I=20 cannot test on device with FAT for now but I don't think that matter. From owner-freebsd-usb@FreeBSD.ORG Tue Jun 13 15:51:06 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3D7316A418 for ; Tue, 13 Jun 2006 15:51:06 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from mail49.e.nsc.no (mail49.e.nsc.no [193.213.115.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E9E343D72 for ; Tue, 13 Jun 2006 15:51:05 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from Unknown-00-c0-9f-49-78-d8.lan (ti131310a080-15519.bb.online.no [85.165.252.159]) by mail49.nsc.no (8.13.6/8.13.5) with ESMTP id k5DFoxEe007116; Tue, 13 Jun 2006 17:50:59 +0200 (CEST) From: Hans Petter Selasky To: =?windows-1251?b?wuDx6Ovo6SDP5fLw7uI=?= Date: Tue, 13 Jun 2006 17:51:01 +0200 User-Agent: KMail/1.7 References: <200606131231.48216.larry@fantasyclub.ru> <200606131645.13089.hselasky@c2i.net> <200606131905.49741.larry@fantasyclub.ru> In-Reply-To: <200606131905.49741.larry@fantasyclub.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606131751.02348.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: High speed USB 2.0 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, 13 Jun 2006 15:51:06 -0000 Hi, On Tuesday 13 June 2006 17:05, =C2=E0=F1=E8=EB=E8=E9 =CF=E5=F2=F0=EE=E2 wro= te: > > > > Yet I don't understand, must high-speed devices work with bundled > > > FreeBSD drivers and it is my conf problem or this is not supported by > > > them? I haven't found any mentions about it in mailing lists nor PRs. > > > > Your config is supported by FreeBSD 6.0-RELEASE. > > I've done dd tests and got VERY strange results. When I try to read from > device itself (/dev/da0 or /dev/da0s1) I have 27Mb/sec. > However when I mount NTFS partition, that resides on that drive, big file > is read from that partition at 600Kb/sec. I understand, that there is some > overhead, but not that much of course. > So it seems that problem not with USB, but with what then?=20 One of the upper layers are probably reading too small chunks of data at a= =20 time. Probably it has got something to do with the implementation of the NT= =46S=20 driver. I think you will get better results with UFS and FAT32, for example= =2E=20 I am not an expert at file systems. =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Tue Jun 13 18:20:19 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB96216A479 for ; Tue, 13 Jun 2006 18:20:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E3E143D45 for ; Tue, 13 Jun 2006 18:20:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5DIKIBo039358 for ; Tue, 13 Jun 2006 18:20:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5DIKIOk039357; Tue, 13 Jun 2006 18:20:18 GMT (envelope-from gnats) Resent-Date: Tue, 13 Jun 2006 18:20:18 GMT Resent-Message-Id: <200606131820.k5DIKIOk039357@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael Collette Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A08AF16A476 for ; Tue, 13 Jun 2006 18:17:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6849543D46 for ; Tue, 13 Jun 2006 18:17:06 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k5DIH6s8083689 for ; Tue, 13 Jun 2006 18:17:06 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k5DIH6Pi083688; Tue, 13 Jun 2006 18:17:06 GMT (envelope-from nobody) Message-Id: <200606131817.k5DIH6Pi083688@www.freebsd.org> Date: Tue, 13 Jun 2006 18:17:06 GMT From: Michael Collette To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/98908: Update usb drivers for modems and scanner 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, 13 Jun 2006 18:20:19 -0000 >Number: 98908 >Category: usb >Synopsis: Update usb drivers for modems and scanner >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 13 18:20:17 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Michael Collette >Release: 6-STABLE >Organization: >Environment: 6.1-STABLE #1: Fri Jun 2 13:10:13 PDT 2006 >Description: Requesting an update for usbdevs to properly recognize: Hp 8200 Series Scanjet Scanners Curitel PC5740 Wireless Modem (Verizon's PCMCIA card) Sierra MC5720 Wireless Modem (Built in to Thinkpad X60s) An update to uscanner.c for the 8200 Scanjet An update to umodem.c for the 2 wireless modems Notes: The uscanner.c patch is just the first step in getting the 8200 to work properly with the sane-backends. A patch to the port is also required. The Curitel modem works great, but there's a catch. If you pull the card out while the system is up you get a kernel panic. I seem to recall this being documented in another PR, but I couldn't locate it for this PR. This lockup occurs whether or not the attached patch is applied. I haven't yet had a chance to fully test the Sierra modem. I believe I need to enable it in Windows before it will properly show up as a com device. I didn't want to have to pay for another service at this point while I have a working Curitel card. I have included here so at least the basics are in place. >How-To-Repeat: >Fix: --- usbdevs.orig Tue Jun 13 10:06:27 2006 +++ usbdevs Tue Jun 13 10:22:10 2006 @@ -489,6 +489,7 @@ vendor GIGABYTE 0x1044 GIGABYTE vendor WESTERN 0x1058 Western Digital vendor MOTOROLA 0x1063 Motorola +vendor CURITEL 0x106c Curitel Communications Inc vendor CCYU 0x1065 CCYU vendor PLX 0x10b5 PLX vendor ASANTE 0x10bd Asante @@ -496,6 +497,7 @@ vendor DELORME 0x1163 DeLorme vendor SERVERWORKS 0x1166 ServerWorks vendor ACERCM 0x1189 Acer Communications & Multimedia +vendor SIERRA 0x1199 Sierra Wireless vendor TWINMOS 0x126f TwinMOS vendor TSUNAMI 0x1241 Tsunami vendor CREATIVE2 0x1292 Creative Labs @@ -765,6 +767,9 @@ /* CTX products */ product CTX EX1300 0x9999 Ex1300 hub +/* Curitel products */ +product CURITEL PC5740 0x3701 Broadband wireless modem + /* Cypress Semiconductor products */ product CYPRESS MOUSE 0x0001 mouse product CYPRESS THERMO 0x0002 thermometer @@ -966,6 +971,7 @@ product HP 2200C 0x0605 ScanJet 2200C product HP 5300C 0x0701 Scanjet 5300C product HP 4400C 0x0705 Scanjet 4400C +product HP 8200 0x0b01 Scanjet 8200 product HP 2300D 0x0b17 Laserjet 2300d product HP 970CSE 0x1004 Deskjet 970Cse product HP 5400C 0x1005 Scanjet 5400C @@ -1431,6 +1437,9 @@ /* Siemens products */ product SIEMENS SPEEDSTREAM 0x1001 SpeedStream USB + +/* Sierra Wireless products */ +product SIERRA MC5720 0x0218 MC5720 Wireless Modem /* Sigmatel products */ product SIGMATEL I_BEAD100 0x8008 i-Bead 100 MP3 Player --- uscanner.c.orig Tue Jun 13 10:29:01 2006 +++ uscanner.c Tue Jun 13 10:29:08 2006 @@ -144,6 +144,7 @@ {{ USB_VENDOR_HP, USB_PRODUCT_HP_5400C }, 0 }, {{ USB_VENDOR_HP, USB_PRODUCT_HP_6200C }, 0 }, {{ USB_VENDOR_HP, USB_PRODUCT_HP_6300C }, 0 }, + {{ USB_VENDOR_HP, USB_PRODUCT_HP_8200 }, 0 }, /* Microtek */ {{ USB_VENDOR_SCANLOGIC, USB_PRODUCT_SCANLOGIC_336CX }, 0 }, --- umodem.c.orig Tue Jun 13 10:07:02 2006 +++ umodem.c Tue Jun 13 10:09:59 2006 @@ -125,6 +125,8 @@ } umodem_products[] = { /* Kyocera AH-K3001V*/ { USB_VENDOR_KYOCERA, USB_PRODUCT_KYOCERA_AHK3001V, 0 }, + { USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_MC5720, 0 }, + { USB_VENDOR_CURITEL, USB_PRODUCT_CURITEL_PC5740, 0 }, { 0, 0, 0 }, }; >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Wed Jun 14 06:00:42 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CAF016A479 for ; Wed, 14 Jun 2006 06:00:42 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from mail48.e.nsc.no (mail48.e.nsc.no [193.213.115.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6845E43D48 for ; Wed, 14 Jun 2006 06:00:41 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from Unknown-00-c0-9f-49-78-d8.lan (ti131310a080-15519.bb.online.no [85.165.252.159]) by mail48.nsc.no (8.13.6/8.13.5) with ESMTP id k5E60dWh018083; Wed, 14 Jun 2006 08:00:39 +0200 (CEST) From: Hans Petter Selasky To: Ulrich Spoerlein Date: Wed, 14 Jun 2006 08:00:43 +0200 User-Agent: KMail/1.7 References: <200606111120.52386.hselasky@c2i.net> <200606122315.20197.hselasky@c2i.net> <20060613160633.GA1056@roadrunner.aventurien.local> In-Reply-To: <20060613160633.GA1056@roadrunner.aventurien.local> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606140800.44893.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: uplcom.c 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, 14 Jun 2006 06:00:42 -0000 On Tuesday 13 June 2006 18:06, Ulrich Spoerlein wrote: > Hans Petter Selasky wrote: > > On Monday 12 June 2006 21:39, Ulrich Spoerlein wrote: > > > Hans Petter Selasky wrote: > > > > UPLCOM_INTR_INTERVAL > > > > > > I have such a device and am using it. The question is, what is that > > > option supposed to do? > > > > It sets how often the USB host controller should query the USB device for > > an interrupt packet. > > I might be making a fool out of myself, but how come you have to query > for an interrupt? Shouldn't and interrupt fire itself? Besides, since > this is used for serial devices (<=115200 bit/s) where's the point in > tuning? That is what I thought too. The USB descriptors provided with the device already give the default interrupt interval, so there should not be any need for tuning. > > Could you have done some testing of the new driver? Maybe not right now, > > but in one or two weeks. I will provide you with a nice tarball, that you > > can install on FreeBSD 6/7. > > Sure thing, just post patches to the usual mailing lists or email me > directly. > > Btw, do you know if the NetBSD folks are interested in your USB stack? I > think it's a shame if we get three (four) BSDs with three different USB > stacks. There are already too few people working on it ... I don't know. We'll see when my work is finished. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Jun 14 09:27:56 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF78716A47B; Wed, 14 Jun 2006 09:27:56 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 887F543D49; Wed, 14 Jun 2006 09:27:56 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5E9RuCR097906; Wed, 14 Jun 2006 09:27:56 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5E9RuVt097902; Wed, 14 Jun 2006 09:27:56 GMT (envelope-from linimon) Date: Wed, 14 Jun 2006 09:27:56 GMT From: Mark Linimon Message-Id: <200606140927.k5E9RuVt097902@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-sparc64@FreeBSD.org, freebsd-usb@FreeBSD.org Cc: Subject: Re: usb/82569: [usb] USB mass storage plug/unplug causes system panic 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, 14 Jun 2006 09:27:56 -0000 Old Synopsis: USB mass storage plug/unplug causes system panic New Synopsis: [usb] USB mass storage plug/unplug causes system panic Responsible-Changed-From-To: freebsd-sparc64->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Wed Jun 14 09:26:30 UTC 2006 Responsible-Changed-Why: This is a known problem and is not sparc64-specific. The full fix will require a fair amount of rearchitecting. http://www.freebsd.org/cgi/query-pr.cgi?pr=82569 From owner-freebsd-usb@FreeBSD.ORG Wed Jun 14 13:03:44 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBBB416A484 for ; Wed, 14 Jun 2006 13:03:44 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2180543D49 for ; Wed, 14 Jun 2006 13:03:43 +0000 (GMT) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so303805uge for ; Wed, 14 Jun 2006 06:03:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=Pjhr/XAMZ4etLuQg0OM3I8Vd6LDTocunzAEyb2iN5ae6fJRgRMIji+0pLf4k8sI7ll5MvcDcnE6wVEDmjBHUcDan0ZLp3J6Xk7tD3KU217aybovCGg4bFZgLHGS1NjKlZ+IWoTxHA+AtnFfUoadERN+wWUpb/8u0Ark8vzbGGxw= Received: by 10.66.216.6 with SMTP id o6mr6613768ugg; Tue, 13 Jun 2006 12:28:39 -0700 (PDT) Received: from roadrunner.q.local ( [217.185.119.251]) by mx.gmail.com with ESMTP id u1sm8298872uge.2006.06.13.12.28.38; Tue, 13 Jun 2006 12:28:39 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.6/8.13.6) with ESMTP id k5DG6Zke001662; Tue, 13 Jun 2006 18:06:35 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.13.6/8.13.6/Submit) id k5DG6Yav001661; Tue, 13 Jun 2006 18:06:34 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Tue, 13 Jun 2006 18:06:33 +0200 From: Ulrich Spoerlein To: Hans Petter Selasky Message-ID: <20060613160633.GA1056@roadrunner.aventurien.local> Mail-Followup-To: Hans Petter Selasky , freebsd-usb@freebsd.org References: <200606111120.52386.hselasky@c2i.net> <20060612193920.GF1226@roadrunner.aventurien.local> <200606122315.20197.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline In-Reply-To: <200606122315.20197.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: uplcom.c 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, 14 Jun 2006 13:03:45 -0000 --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hans Petter Selasky wrote: > On Monday 12 June 2006 21:39, Ulrich Spoerlein wrote: > > Hans Petter Selasky wrote: > > > UPLCOM_INTR_INTERVAL > > I have such a device and am using it. The question is, what is that > > option supposed to do? > It sets how often the USB host controller should query the USB device for= an=20 > interrupt packet. I might be making a fool out of myself, but how come you have to query for an interrupt? Shouldn't and interrupt fire itself? Besides, since this is used for serial devices (<=3D115200 bit/s) where's the point in tuning? > Could you have done some testing of the new driver? Maybe not right now, = but=20 > in one or two weeks. I will provide you with a nice tarball, that you can= =20 > install on FreeBSD 6/7. Sure thing, just post patches to the usual mailing lists or email me directly. Btw, do you know if the NetBSD folks are interested in your USB stack? I think it's a shame if we get three (four) BSDs with three different USB stacks. There are already too few people working on it ... Ulrich Spoerlein --=20 PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E 2227 20FE E9DD Which is worse: ignorance or apathy? Don't know. Don't care. --k+w/mQv8wyuph6w0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEjuKJ524iJyD+6d0RAmgIAKCDAlVPIaiKB0JvISywuhvpgum85QCgjFDq YxeUIGUbHPT5WOHiOBzovX8= =bK8w -----END PGP SIGNATURE----- --k+w/mQv8wyuph6w0-- From owner-freebsd-usb@FreeBSD.ORG Wed Jun 14 22:20:27 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C09A16A481 for ; Wed, 14 Jun 2006 22:20:27 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B489C43D46 for ; Wed, 14 Jun 2006 22:20:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5EMKQWj047840 for ; Wed, 14 Jun 2006 22:20:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5EMKQjh047839; Wed, 14 Jun 2006 22:20:26 GMT (envelope-from gnats) Date: Wed, 14 Jun 2006 22:20:26 GMT Message-Id: <200606142220.k5EMKQjh047839@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Mike Durian Cc: Subject: Re: usb/82839: [patch] add support for Aceeca Mez1000 device to uvisor.c X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mike Durian List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 22:20:27 -0000 The following reply was made to PR usb/82839; it has been noted by GNATS. From: Mike Durian To: bug-followup@freebsd.org Cc: Subject: Re: usb/82839: [patch] add support for Aceeca Mez1000 device to uvisor.c Date: Wed, 14 Jun 2006 16:17:09 -0600 It's been almost a year on this. Can someone please submit it. It is a very simple patch. mike From owner-freebsd-usb@FreeBSD.ORG Thu Jun 15 16:30:21 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCEB916A4A0 for ; Thu, 15 Jun 2006 16:30:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 572E643D5A for ; Thu, 15 Jun 2006 16:30:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5FGUJhM016480 for ; Thu, 15 Jun 2006 16:30:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5FGUJVK016479; Thu, 15 Jun 2006 16:30:19 GMT (envelope-from gnats) Resent-Date: Thu, 15 Jun 2006 16:30:19 GMT Resent-Message-Id: <200606151630.k5FGUJVK016479@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Massimo Lusetti Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 476DC16A41A for ; Thu, 15 Jun 2006 16:24:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11AD343D45 for ; Thu, 15 Jun 2006 16:24:41 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k5FGOe6D073142 for ; Thu, 15 Jun 2006 16:24:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k5FGOeo3073141; Thu, 15 Jun 2006 16:24:40 GMT (envelope-from nobody) Message-Id: <200606151624.k5FGOeo3073141@www.freebsd.org> Date: Thu, 15 Jun 2006 16:24:40 GMT From: Massimo Lusetti To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/98983: Hamlet eXagerate XURS232 USB-Serial not supported 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: Thu, 15 Jun 2006 16:30:22 -0000 >Number: 98983 >Category: usb >Synopsis: Hamlet eXagerate XURS232 USB-Serial not supported >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 15 16:30:19 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Massimo Lusetti >Release: 6.1 >Organization: >Environment: FreeBSD intanto.datacode.it 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 >Description: The Hamlet eXagerate XURS232 USB-Serial adapter is not correctly recognized and it only gets ugen0. With the patch applied to sys/dev/usb/uplcom.c it is recognized as ucom0 so is usable, for example with tip/cu This is the case even on -CURRENT >How-To-Repeat: Simply attach the device to a usb port. >Fix: Apply this to /usr/src/sys/dev/usb/uplcom.c intanto# diff -u uplcom.c.orig uplcom.c --- uplcom.c.orig Thu Jun 15 18:16:44 2006 +++ uplcom.c Thu Jun 15 18:16:31 2006 @@ -240,6 +240,8 @@ 0x300, TYPE_PL2303X }, /* IOGEAR/ATEN UC-232A (also ST Lab USB-SERIAL-1) */ { USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PL2303, -1, TYPE_PL2303 }, + /* HAMLET exagerate XURS232 */ + { USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PL2303, -1, TYPE_PL2303X }, /* TDK USB-PHS Adapter UHA6400 */ { USB_VENDOR_TDK, USB_PRODUCT_TDK_UHA6400, -1, TYPE_PL2303 }, /* RATOC REX-USB60 */ >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Fri Jun 16 08:05:33 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7856C16A474; Fri, 16 Jun 2006 08:05:33 +0000 (UTC) (envelope-from matteo@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2450443D49; Fri, 16 Jun 2006 08:05:33 +0000 (GMT) (envelope-from matteo@FreeBSD.org) Received: from freefall.freebsd.org (matteo@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5G85Xk4077310; Fri, 16 Jun 2006 08:05:33 GMT (envelope-from matteo@freefall.freebsd.org) Received: (from matteo@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5G85Xnn077306; Fri, 16 Jun 2006 08:05:33 GMT (envelope-from matteo) Date: Fri, 16 Jun 2006 08:05:33 GMT From: Matteo Riondato Message-Id: <200606160805.k5G85Xnn077306@freefall.freebsd.org> To: matteo@FreeBSD.org, freebsd-usb@FreeBSD.org, matteo@FreeBSD.org Cc: Subject: Re: usb/98983: Hamlet eXagerate XURS232 USB-Serial not supported 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: Fri, 16 Jun 2006 08:05:33 -0000 Synopsis: Hamlet eXagerate XURS232 USB-Serial not supported Responsible-Changed-From-To: freebsd-usb->matteo Responsible-Changed-By: matteo Responsible-Changed-When: Fri Jun 16 08:05:04 UTC 2006 Responsible-Changed-Why: I'll handle this http://www.freebsd.org/cgi/query-pr.cgi?pr=98983 From owner-freebsd-usb@FreeBSD.ORG Fri Jun 16 14:21:01 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A9B616A479 for ; Fri, 16 Jun 2006 14:21:01 +0000 (UTC) (envelope-from sebastien.bourdeauducq@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F25943D46 for ; Fri, 16 Jun 2006 14:21:00 +0000 (GMT) (envelope-from sebastien.bourdeauducq@gmail.com) Received: by nf-out-0910.google.com with SMTP id y38so513346nfb for ; Fri, 16 Jun 2006 07:20:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:message-id; b=JEB3CWABMH0oJwtgnq4kHu+IbFhv545QQNOSVOGQ0GcQ1B2L/puc6svHX0yMIXC7NEu10wrI+dwly3WWC3zHvHcLP95MOEtfC8w1rKmzuEMUdo8t6Q/i22dk5poEgwD1D9zOl5YvPuEcIFvUbEBkQjttvdrv/TefUwXjUJjISNo= Received: by 10.49.19.14 with SMTP id w14mr2597226nfi; Fri, 16 Jun 2006 07:20:58 -0700 (PDT) Received: from oasis ( [82.231.252.157]) by mx.gmail.com with ESMTP id r33sm3310664nfc.2006.06.16.07.20.57; Fri, 16 Jun 2006 07:20:58 -0700 (PDT) From: SebastienB To: Ian Dowse , freebsd-usb@freebsd.org Date: Fri, 16 Jun 2006 16:24:59 +0200 User-Agent: KMail/1.9.1 References: <200606041351.aa22176@nowhere.iedowse.com> In-Reply-To: <200606041351.aa22176@nowhere.iedowse.com> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_88rkENcGEBGcY3b" Message-Id: <200606161625.00394.sebastien.bourdeauducq@gmail.com> Cc: Subject: Re: eagleflash problem on 6.x 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: Fri, 16 Jun 2006 14:21:01 -0000 --Boundary-00=_88rkENcGEBGcY3b Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, > Could you provide a full dmesg output including the messages when > the modem is attached? You can also compile a kernel with USB_DEBUG > and turn up the hw.usb sysctls to get more information. Here you are. I have set hw.usb.debug and hw.usb.uhci.debug to 1 (the modem is USB1). Unfortunately, I don't have access to a computer with an OHCI controller. Strangely enough, when the kernel is compiled with the USB_DEBUG option, the problem seems fixed, even when the debug sysctls are not enabled. Regards, Sebastien --Boundary-00=_88rkENcGEBGcY3b Content-Type: text/plain; charset="iso-8859-6"; name="eagle.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="eagle.txt" Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-RELEASE #0: Sun Jun 11 09:27:50 CEST 2006 root@oasis:/usr/src/sys/i386/compile/GOUROUGEEK Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) CPU 2.40GHz (2400.09-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Features2=0x4400> real memory = 259850240 (247 MB) avail memory = 244801536 (233 MB) kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) acpi_ec0: port 0x62,0x66 on acpi0 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xd0000000-0xd7ffffff,0xdff80000-0xdfffffff irq 11 at device 2.0 on pci0 agp0: detected 8060k stolen memory agp0: aperture size is 128M uhci0: port 0xdf20-0xdf3f irq 11 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: LegSup = 0x0f30 usb0: on uhci0 usb0: USB revision 1.0 usbd_get_string: getting lang failed, using 0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xdf40-0xdf5f irq 5 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: LegSup = 0x0f30 usb1: on uhci1 usb1: USB revision 1.0 usbd_get_string: getting lang failed, using 0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xdf80-0xdf9f irq 9 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: LegSup = 0x0f30 usb2: on uhci2 usb2: USB revision 1.0 usbd_get_string: getting lang failed, using 0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xdff7bc00-0xdff7bfff irq 10 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered umass0: Cypress Semiconductor USB2.0 Storage Device, rev 2.00/0.01, addr 2 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0: Get Max Lun not supported (STALLED) umass0:0:0:-1: Attached to scbus0 pcib1: at device 30.0 on pci0 pci1: on pcib1 sis0: port 0xc800-0xc8ff mem 0xdfdff000-0xdfdfffff irq 3 at device 12.0 on pci1 sis0: Silicon Revision: DP83816A miibus0: on sis0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: Ethernet address: 00:03:0d:07:3d:62 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 31.3 (no driver attached) pcm0: port 0xe000-0xe0ff,0xe100-0xe13f at device 31.5 on pci0 pcm0: pci0: at device 31.6 (no driver attached) acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_tz0: on acpi0 battery0: on acpi0 acpi_acad0: on acpi0 ppc0: port 0x378-0x37f,0x778-0x77b irq 7 drq 0 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 acpi_lid0: on acpi0 pmtimer0 on isa0 orm0: at iomem 0xcc800-0xcd7ff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 Timecounter "TSC" frequency 2400093756 Hz quality 800 Timecounters tick every 1.000 msec ad0: 38204MB at ata0-master UDMA100 acd0: CDRW at ata1-master UDMA33 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 194481MB (398297088 512 byte sectors: 255H 63S/T 24792C) Trying to mount root from ufs:/dev/ad0s1a ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/20.00, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. -- usb debugging is then enabled, and the modem is connected usbd_new_device bus=0xc219e000 port=1 depth=1 speed=2 usbd_new_device: adding unit addr=2, rev=110, class=255, subclass=255, protocol=255, maxpacket=64, len=18, speed=2 usbd_new_device: new dev (addr 2), dev=0xc3154680, parent=0xc2192b80 usbd_probe_and_attach: trying device specific drivers usbd_probe_and_attach: no device specific driver found usbd_probe_and_attach: looping over 1 configurations usbd_set_config_index: (addr 1) cno=2 attr=0x80, selfpowered=0, power=100 usbd_set_config_index: set config 1 usbd_probe_and_attach: no interface drivers found ugen0: vendor 0x1110 product 0x9010, rev 1.10/40.00, addr 2 usbd_set_config_index: free old config usbd_set_config_index: (addr 1) cno=2 attr=0x80, selfpowered=0, power=100 usbd_set_config_index: set config 1 -- the firmware is uploaded ugen0: at uhub0 port 1 (addr 2) disconnected All threads purged from ugen0 ugen0: detached usbd_new_device bus=0xc219e000 port=1 depth=1 speed=2 usbd_new_device: adding unit addr=2, rev=100, class=2, subclass=0, protocol=0, maxpacket=64, len=18, speed=2 usbd_new_device: new dev (addr 2), dev=0xc3235600, parent=0xc2192b80 usbd_probe_and_attach: trying device specific drivers usbd_probe_and_attach: no device specific driver found usbd_probe_and_attach: looping over 1 configurations usbd_set_config_index: (addr 1) cno=2 attr=0x80, selfpowered=0, power=500 usbd_set_config_index: set config 1 usbd_probe_and_attach: no interface drivers found ugen0: vendor 0x1110 ADSL-USB Modem, rev 1.00/40.0b, addr 2 usbd_set_config_index: free old config usbd_set_config_index: (addr 1) cno=2 attr=0x80, selfpowered=0, power=500 usbd_set_config_index: set config 1 -- modem is disconnected ugen0: at uhub0 port 1 (addr 2) disconnected All threads purged from ugen0.4 All threads purged from ugen0.2 All threads purged from ugen0 ugen0: detached --Boundary-00=_88rkENcGEBGcY3b-- From owner-freebsd-usb@FreeBSD.ORG Fri Jun 16 21:23:59 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46E9A16A47B for ; Fri, 16 Jun 2006 21:23:59 +0000 (UTC) (envelope-from mistry.7@osu.edu) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DB9243D45 for ; Fri, 16 Jun 2006 21:23:58 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] (am-productions.biz [69.61.164.22]) (authenticated bits=0) by mail.united-ware.com (8.13.6/8.13.6) with ESMTP id k5GLRtww091167 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 16 Jun 2006 17:28:01 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: freebsd-usb@freebsd.org Date: Fri, 16 Jun 2006 17:24:11 -0400 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart10765258.Z32likdNzF"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606161724.21722.mistry.7@osu.edu> X-Spam-Status: No, score=-5.5 required=5.0 tests=ALL_TRUSTED,BAYES_50, MYFREEBSD2 autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88.2/1544/Fri Jun 16 05:19:15 2006 on mail.united-ware.com X-Virus-Status: Clean Subject: ugen partial write() amount 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: Fri, 16 Jun 2006 21:23:59 -0000 --nextPart10765258.Z32likdNzF Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'm trying to reliably recover from a write() timeout using ugen. =20 The problem that I'm having is that when using write() to write data=20 to an endpoint and the write times out there seems no way to figure=20 out the amount of that data that was actually written. This is a=20 problem when trying to write data to a printer and the paper runs=20 out. write() will timeout and you are left with no way to figure out=20 where to start sending data since you don't know how much was=20 received by the device before the paper ran out. It seems this could be possible by modifying the driver by adding and=20 ioctl that would allow you to call bulk transfer and then return the=20 number of bytes written. Is there a better way of doing? =2D-=20 Anish Mistry --nextPart10765258.Z32likdNzF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEkyGFxqA5ziudZT0RAu09AKCPm00Q6phrduQCzaevwq3VdTnKpwCgw0ua F0Aqanb0XzbulWfbNhRKTsc= =ESOd -----END PGP SIGNATURE----- --nextPart10765258.Z32likdNzF-- From owner-freebsd-usb@FreeBSD.ORG Fri Jun 16 22:53:09 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D626716A479 for ; Fri, 16 Jun 2006 22:53:09 +0000 (UTC) (envelope-from gofdu-freebsd-usb@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58A2643D48 for ; Fri, 16 Jun 2006 22:53:08 +0000 (GMT) (envelope-from gofdu-freebsd-usb@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FrNBU-0006KX-Sm for freebsd-usb@freebsd.org; Sat, 17 Jun 2006 00:53:00 +0200 Received: from h-68-164-219-100.cmbrmaor.covad.net ([68.164.219.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Jun 2006 00:53:00 +0200 Received: from mainland by h-68-164-219-100.cmbrmaor.covad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Jun 2006 00:53:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-usb@freebsd.org From: Geoffrey Mainland Date: Fri, 16 Jun 2006 18:52:38 -0400 Lines: 26 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: h-68-164-219-100.cmbrmaor.covad.net User-Agent: Thunderbird 1.5.0.4 (X11/20060604) X-Enigmail-Version: 0.94.0.0 Sender: news Subject: ucom/uftdi dropping bytes, with debug logs 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: Fri, 16 Jun 2006 22:53:09 -0000 I've been trying to debug a problem with a ftdi-based serial device where bytes are being dropped. The device is a Moteiv tmote sky with a 8U232BM chip. Reprogramming this device always fails due to dropped bytes. I eventually set up a VMWare image (under Windows) to make debugging a bit easier, as I was crashing my machine often, and lo and behold the problem went away! It looks like VMWare's USB interface is buffering the data, so the FreeBSD driver works just fine under VMWare! I turned on debugging in the ucom and uftdi drivers. Logs of the transfers under both VMWare and a native environment are posted at: http://www.apeiron.net/~mainland/uftdi/vmware-log.txt.gz and http://www.apeiron.net/~mainland/uftdi/native-log.txt.gz This is under a recent 6.1 stable (for both "machines"). As you can see, the VMWare transfer manages to read a lot more data... How do I go about finding the real problem and fixing it? I know nothing about the FreeBSD USB stack... Thanks, Geoff From owner-freebsd-usb@FreeBSD.ORG Fri Jun 16 23:05:31 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A000E16A479 for ; Fri, 16 Jun 2006 23:05:31 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B38743D49 for ; Fri, 16 Jun 2006 23:05:31 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k5GN2R0k091580; Fri, 16 Jun 2006 17:02:28 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 16 Jun 2006 17:02:42 -0600 (MDT) Message-Id: <20060616.170242.1467007423.imp@bsdimp.com> To: mainland@apeiron.net From: "M. Warner Losh" In-Reply-To: References: X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: ucom/uftdi dropping bytes, with debug logs 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: Fri, 16 Jun 2006 23:05:31 -0000 In message: Geoffrey Mainland writes: : I've been trying to debug a problem with a ftdi-based serial device : where bytes are being dropped. The device is a Moteiv tmote sky with a : 8U232BM chip. Reprogramming this device always fails due to dropped : bytes. I eventually set up a VMWare image (under Windows) to make : debugging a bit easier, as I was crashing my machine often, and lo and : behold the problem went away! It looks like VMWare's USB interface is : buffering the data, so the FreeBSD driver works just fine under VMWare! : : I turned on debugging in the ucom and uftdi drivers. Logs of the : transfers under both VMWare and a native environment are posted at: : : http://www.apeiron.net/~mainland/uftdi/vmware-log.txt.gz : : and : : http://www.apeiron.net/~mainland/uftdi/native-log.txt.gz : : This is under a recent 6.1 stable (for both "machines"). : : As you can see, the VMWare transfer manages to read a lot more data... : : How do I go about finding the real problem and fixing it? I know nothing : about the FreeBSD USB stack... I have similar problems with FTDI, but every time that I think I've found one, I discover that I have a second 'tip' running that's eating some characters :-( Are you sure that this isn't happening? I know it is a "rookie" mistake, but I recently wasted a day on it, and I'm no rookie :-). Anyway, I've also seen other weird behavior with my ftdi dongle, but I've never been able to reproduce it well enough to try to fix the problem... Warner From owner-freebsd-usb@FreeBSD.ORG Fri Jun 16 23:22:39 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CE1816A474 for ; Fri, 16 Jun 2006 23:22:39 +0000 (UTC) (envelope-from gofdu-freebsd-usb@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2173A43D48 for ; Fri, 16 Jun 2006 23:22:37 +0000 (GMT) (envelope-from gofdu-freebsd-usb@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FrNe4-00028e-9N for freebsd-usb@freebsd.org; Sat, 17 Jun 2006 01:22:32 +0200 Received: from h-68-164-219-100.cmbrmaor.covad.net ([68.164.219.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Jun 2006 01:22:32 +0200 Received: from mainland by h-68-164-219-100.cmbrmaor.covad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Jun 2006 01:22:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-usb@freebsd.org From: Geoffrey Mainland Date: Fri, 16 Jun 2006 19:22:22 -0400 Lines: 51 Message-ID: References: <20060616.170242.1467007423.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: h-68-164-219-100.cmbrmaor.covad.net User-Agent: Thunderbird 1.5.0.4 (X11/20060604) In-Reply-To: <20060616.170242.1467007423.imp@bsdimp.com> X-Enigmail-Version: 0.94.0.0 Sender: news Subject: Re: ucom/uftdi dropping bytes, with debug logs 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: Fri, 16 Jun 2006 23:22:39 -0000 M. Warner Losh wrote: > In message: > Geoffrey Mainland writes: > : I've been trying to debug a problem with a ftdi-based serial device > : where bytes are being dropped. The device is a Moteiv tmote sky with a > : 8U232BM chip. Reprogramming this device always fails due to dropped > : bytes. I eventually set up a VMWare image (under Windows) to make > : debugging a bit easier, as I was crashing my machine often, and lo and > : behold the problem went away! It looks like VMWare's USB interface is > : buffering the data, so the FreeBSD driver works just fine under VMWare! > : > : I turned on debugging in the ucom and uftdi drivers. Logs of the > : transfers under both VMWare and a native environment are posted at: > : > : http://www.apeiron.net/~mainland/uftdi/vmware-log.txt.gz > : > : and > : > : http://www.apeiron.net/~mainland/uftdi/native-log.txt.gz > : > : This is under a recent 6.1 stable (for both "machines"). > : > : As you can see, the VMWare transfer manages to read a lot more data... > : > : How do I go about finding the real problem and fixing it? I know nothing > : about the FreeBSD USB stack... > > I have similar problems with FTDI, but every time that I think I've > found one, I discover that I have a second 'tip' running that's eating > some characters :-( Are you sure that this isn't happening? I know > it is a "rookie" mistake, but I recently wasted a day on it, and I'm > no rookie :-). > > Anyway, I've also seen other weird behavior with my ftdi dongle, but > I've never been able to reproduce it well enough to try to fix the > problem... > > Warner Wow, thanks for the quick response! Yes, I'm sure no second 'tip' is running. In any case, wouldn't the reads from the second 'tip' still be logged? :) The fact that this runs fine under VMWare makes me strongly suspect a timing issue that is fixed by some sort of buffering at the VMWare level. Where should I start to look to hack something in to test this? The ucom driver seems to be setting up the read transfers that don't complete on time. Geoff From owner-freebsd-usb@FreeBSD.ORG Sat Jun 17 07:50:07 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C49916A479 for ; Sat, 17 Jun 2006 07:50:07 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from mail48.e.nsc.no (mail48.e.nsc.no [193.213.115.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9D6143D49 for ; Sat, 17 Jun 2006 07:50:06 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from Unknown-00-c0-9f-49-78-d8.lan (ti131310a080-6417.bb.online.no [85.165.217.17]) by mail48.nsc.no (8.13.6/8.13.5) with ESMTP id k5H7o4oh009147; Sat, 17 Jun 2006 09:50:04 +0200 (CEST) From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 17 Jun 2006 09:50:08 +0200 User-Agent: KMail/1.7 References: <200606161724.21722.mistry.7@osu.edu> In-Reply-To: <200606161724.21722.mistry.7@osu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606170950.10062.hselasky@c2i.net> Cc: Subject: Re: ugen partial write() amount 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, 17 Jun 2006 07:50:07 -0000 On Friday 16 June 2006 23:24, Anish Mistry wrote: > I'm trying to reliably recover from a write() timeout using ugen. > The problem that I'm having is that when using write() to write data > to an endpoint and the write times out there seems no way to figure > out the amount of that data that was actually written. This is a > problem when trying to write data to a printer and the paper runs > out. write() will timeout and you are left with no way to figure out > where to start sending data since you don't know how much was > received by the device before the paper ran out. > It seems this could be possible by modifying the driver by adding and > ioctl that would allow you to call bulk transfer and then return the > number of bytes written. Is there a better way of doing? What about disabling the timeout ? --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Jun 17 15:54:35 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7789116A47A for ; Sat, 17 Jun 2006 15:54:35 +0000 (UTC) (envelope-from mistry.7@osu.edu) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id D79A543D45 for ; Sat, 17 Jun 2006 15:54:34 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] (am-productions.biz [69.61.164.22]) (authenticated bits=0) by mail.united-ware.com (8.13.6/8.13.6) with ESMTP id k5HFwSfc074194 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 17 Jun 2006 11:58:35 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: Hans Petter Selasky Date: Sat, 17 Jun 2006 11:54:32 -0400 User-Agent: KMail/1.9.1 References: <200606161724.21722.mistry.7@osu.edu> <200606170950.10062.hselasky@c2i.net> In-Reply-To: <200606170950.10062.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1425007.NgkSJgvNMD"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606171154.50869.mistry.7@osu.edu> X-Spam-Status: No, score=-5.5 required=5.0 tests=ALL_TRUSTED,BAYES_50, MYFREEBSD3 autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88.2/1548/Fri Jun 16 13:53:47 2006 on mail.united-ware.com X-Virus-Status: Clean Cc: freebsd-usb@freebsd.org Subject: Re: ugen partial write() amount 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, 17 Jun 2006 15:54:35 -0000 --nextPart1425007.NgkSJgvNMD Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 17 June 2006 03:50, Hans Petter Selasky wrote: > On Friday 16 June 2006 23:24, Anish Mistry wrote: > > I'm trying to reliably recover from a write() timeout using > > ugen. The problem that I'm having is that when using write() to > > write data to an endpoint and the write times out there seems no > > way to figure out the amount of that data that was actually > > written. This is a problem when trying to write data to a > > printer and the paper runs out. write() will timeout and you are > > left with no way to figure out where to start sending data since > > you don't know how much was received by the device before the > > paper ran out. > > It seems this could be possible by modifying the driver by > > adding and ioctl that would allow you to call bulk transfer and > > then return the number of bytes written. Is there a better way > > of doing? > > What about disabling the timeout ? That works, the problem is that the write() will block causing the=20 controller application to be non-responsive and not report the=20 condition that caused the failure since it has blocked. My conclusion so far is that I would need to thread the writing logic=20 in the application, and then write my own timeout logic when I notice=20 that the write is blocking for longer than our time interval. At=20 least that is the option I can think of without modifying the driver. =2D-=20 Anish Mistry --nextPart1425007.NgkSJgvNMD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBElCXKxqA5ziudZT0RApibAJ4i2ft7G0hcUJnxaPfBamFCC3j08ACfVYiT JevW2D/f5K2ns5qxuTcZ4NU= =Vtkd -----END PGP SIGNATURE----- --nextPart1425007.NgkSJgvNMD-- From owner-freebsd-usb@FreeBSD.ORG Sat Jun 17 17:15:58 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BB9B16A479 for ; Sat, 17 Jun 2006 17:15:58 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from mail45.e.nsc.no (mail45.e.nsc.no [193.213.115.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A06843D45 for ; Sat, 17 Jun 2006 17:15:57 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from Unknown-00-c0-9f-49-78-d8.lan (ti131310a080-6417.bb.online.no [85.165.217.17]) by mail45.nsc.no (8.13.6/8.13.5) with ESMTP id k5HHFsLL026466; Sat, 17 Jun 2006 19:15:55 +0200 (CEST) From: Hans Petter Selasky To: Anish Mistry Date: Sat, 17 Jun 2006 19:15:58 +0200 User-Agent: KMail/1.7 References: <200606161724.21722.mistry.7@osu.edu> <200606170950.10062.hselasky@c2i.net> <200606171154.50869.mistry.7@osu.edu> In-Reply-To: <200606171154.50869.mistry.7@osu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606171916.00064.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: ugen partial write() amount 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, 17 Jun 2006 17:15:58 -0000 On Saturday 17 June 2006 17:54, Anish Mistry wrote: > On Saturday 17 June 2006 03:50, Hans Petter Selasky wrote: > > On Friday 16 June 2006 23:24, Anish Mistry wrote: > > > I'm trying to reliably recover from a write() timeout using > > > ugen. The problem that I'm having is that when using write() to > > > write data to an endpoint and the write times out there seems no > > > way to figure out the amount of that data that was actually > > > written. This is a problem when trying to write data to a > > > printer and the paper runs out. write() will timeout and you are > > > left with no way to figure out where to start sending data since > > > you don't know how much was received by the device before the > > > paper ran out. > > > It seems this could be possible by modifying the driver by > > > adding and ioctl that would allow you to call bulk transfer and > > > then return the number of bytes written. Is there a better way > > > of doing? > > > > What about disabling the timeout ? > > That works, the problem is that the write() will block causing the > controller application to be non-responsive and not report the > condition that caused the failure since it has blocked. I have some plans to make "ugen" asynchronous. Then you can use FIONBIO to set non-blocking mode, and poll the file descriptor. That is the solution I see. > My conclusion so far is that I would need to thread the writing logic > in the application, and then write my own timeout logic when I notice > that the write is blocking for longer than our time interval. At > least that is the option I can think of without modifying the driver. Yes. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Jun 17 17:28:05 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E193E16A479 for ; Sat, 17 Jun 2006 17:28:05 +0000 (UTC) (envelope-from mistry.7@osu.edu) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48E8F43D45 for ; Sat, 17 Jun 2006 17:28:05 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] (am-productions.biz [69.61.164.22]) (authenticated bits=0) by mail.united-ware.com (8.13.6/8.13.6) with ESMTP id k5HHW27D075111 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 17 Jun 2006 13:32:08 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: Hans Petter Selasky Date: Sat, 17 Jun 2006 13:28:15 -0400 User-Agent: KMail/1.9.1 References: <200606161724.21722.mistry.7@osu.edu> <200606171154.50869.mistry.7@osu.edu> <200606171916.00064.hselasky@c2i.net> In-Reply-To: <200606171916.00064.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1309124.JPdP4M1zSc"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606171328.24960.mistry.7@osu.edu> X-Spam-Status: No, score=-5.5 required=5.0 tests=ALL_TRUSTED,BAYES_50, MYFREEBSD3 autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88.2/1548/Fri Jun 16 13:53:47 2006 on mail.united-ware.com X-Virus-Status: Clean Cc: freebsd-usb@freebsd.org Subject: Re: ugen partial write() amount 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, 17 Jun 2006 17:28:06 -0000 --nextPart1309124.JPdP4M1zSc Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 17 June 2006 13:15, Hans Petter Selasky wrote: > On Saturday 17 June 2006 17:54, Anish Mistry wrote: > > On Saturday 17 June 2006 03:50, Hans Petter Selasky wrote: > > > On Friday 16 June 2006 23:24, Anish Mistry wrote: > > > > I'm trying to reliably recover from a write() timeout using > > > > ugen. The problem that I'm having is that when using write() > > > > to write data to an endpoint and the write times out there > > > > seems no way to figure out the amount of that data that was > > > > actually written. This is a problem when trying to write > > > > data to a printer and the paper runs out. write() will > > > > timeout and you are left with no way to figure out where to > > > > start sending data since you don't know how much was received > > > > by the device before the paper ran out. > > > > It seems this could be possible by modifying the driver by > > > > adding and ioctl that would allow you to call bulk transfer > > > > and then return the number of bytes written. Is there a > > > > better way of doing? > > > > > > What about disabling the timeout ? > > > > That works, the problem is that the write() will block causing > > the controller application to be non-responsive and not report > > the condition that caused the failure since it has blocked. > > I have some plans to make "ugen" asynchronous. Then you can use > FIONBIO to set non-blocking mode, and poll the file descriptor. > That is the solution I see. Most excellent. =20 > > > My conclusion so far is that I would need to thread the writing > > logic in the application, and then write my own timeout logic > > when I notice that the write is blocking for longer than our time > > interval. At least that is the option I can think of without > > modifying the driver. > > Yes. I'll go with this approach. =2D-=20 Anish Mistry --nextPart1309124.JPdP4M1zSc Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBElDu4xqA5ziudZT0RAm7gAJ9vNERXpSMfEuGELRuCoaPCrTPNnwCgwdcY uvGlcdW/w9UbQHFR8zA8Umw= =LrA/ -----END PGP SIGNATURE----- --nextPart1309124.JPdP4M1zSc-- From owner-freebsd-usb@FreeBSD.ORG Sat Jun 17 19:14:28 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB22116A549 for ; Sat, 17 Jun 2006 19:14:28 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id E95CD43D5F for ; Sat, 17 Jun 2006 19:14:26 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k5HJBsoN008012; Sat, 17 Jun 2006 13:11:55 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 17 Jun 2006 13:12:08 -0600 (MDT) Message-Id: <20060617.131208.1589021232.imp@bsdimp.com> To: mainland@apeiron.net From: "M. Warner Losh" In-Reply-To: References: <20060616.170242.1467007423.imp@bsdimp.com> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: ucom/uftdi dropping bytes, with debug logs 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, 17 Jun 2006 19:14:28 -0000 In message: Geoffrey Mainland writes: : The fact that this runs fine under VMWare makes me strongly suspect a : timing issue that is fixed by some sort of buffering at the VMWare : level. Where should I start to look to hack something in to test this? : The ucom driver seems to be setting up the read transfers that don't : complete on time. I'd start looking into ucom.c and uftdi.c. Warner