From owner-freebsd-usb@FreeBSD.ORG Mon Mar 24 00:50:02 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EEF2106566B for ; Mon, 24 Mar 2008 00:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 492208FC13 for ; Mon, 24 Mar 2008 00:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2O0o11U012658 for ; Mon, 24 Mar 2008 00:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2O0o1jj012657; Mon, 24 Mar 2008 00:50:01 GMT (envelope-from gnats) Resent-Date: Mon, 24 Mar 2008 00:50:01 GMT Resent-Message-Id: <200803240050.m2O0o1jj012657@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, Greg Mars Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0B57106564A for ; Mon, 24 Mar 2008 00:48:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 874478FC14 for ; Mon, 24 Mar 2008 00:48:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2O0m6Kh082725 for ; Mon, 24 Mar 2008 00:48:06 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m2O0m6En082724; Mon, 24 Mar 2008 00:48:06 GMT (envelope-from nobody) Message-Id: <200803240048.m2O0m6En082724@www.freebsd.org> Date: Mon, 24 Mar 2008 00:48:06 GMT From: Greg Mars To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/122025: [patch] uscanner does not attach to Epson RX620 printer/scanner/cardreader 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, 24 Mar 2008 00:50:02 -0000 >Number: 122025 >Category: usb >Synopsis: [patch] uscanner does not attach to Epson RX620 printer/scanner/cardreader >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Mar 24 00:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Greg Mars >Release: FreeBSD/amd64 7.0 RELEASE >Organization: >Environment: FreeBSD optimus.home.net 7.0-RELEASE FreeBSD 7.0-RELEASE #2: Wed Mar 19 08:39:25 EDT 2008 nolram@optimus.home.net:/usr/obj/usr/src/sys/MYKERNEL amd64 >Description: uscanner driver does not attach to Epson RX620 multifunction so scanner is not available. >How-To-Repeat: Attach an EPSON RX620 and turn on. cardreader = umass/da printer = ulpt but no scanner >Fix: Edit usbdevs and uscanner.c with the device and vendor ids of the EPSON RX620 so that uscanner will attach. Then configure sane to use the 'epson' backend with the '/dev/uscanner0' device. Scanner then works with xscanimage provided proper permissions are set. Patch attached with submission follows: --- /usr/src/sys/dev/usb/usbdevs 2008-01-07 18:12:45.000000000 -0500 +++ usbdevs 2008-03-23 13:52:54.000000000 -0400 @@ -1197,6 +1197,7 @@ product EPSON STYLUS_895 0x0602 Stylus Photo 895 Card Reader product EPSON 3500 0x080e CX-3500/3600/3650 MFP product EPSON RX425 0x080f Stylus Photo RX425 scanner +product EPSON RX620 0x0811 Stylus Photo RX620 scanner product EPSON 4200 0x0820 CX4200 MP scanner product EPSON 5000 0x082b DX-50x0 MFP scanner product EPSON 6000 0x082e DX-60x0 MFP scanner --- /usr/src/sys/dev/usb/uscanner.c 2007-10-05 03:26:39.000000000 -0400 +++ uscanner.c 2008-03-23 13:53:09.000000000 -0400 @@ -212,6 +212,7 @@ {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_4990 }, 0 }, {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_5000 }, 0 }, {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_6000 }, 0 }, + {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_RX620 }, 0 }, /* UMAX */ {{ USB_VENDOR_UMAX, USB_PRODUCT_UMAX_ASTRA1220U }, 0 }, >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Mon Mar 24 11:07:16 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AD8C1065685 for ; Mon, 24 Mar 2008 11:07:16 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 78BCD8FC2F for ; Mon, 24 Mar 2008 11:07:16 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2OB7G5d087968 for ; Mon, 24 Mar 2008 11:07:16 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2OB7FFh087964 for freebsd-usb@FreeBSD.org; Mon, 24 Mar 2008 11:07:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 24 Mar 2008 11:07:15 GMT Message-Id: <200803241107.m2OB7FFh087964@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 11:07:16 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa o usb/91629 usb usbd_abort_pipe() may result in infinite loop 2 problems total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o bin/57255 usb usbd and multi-function devices o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/73307 usb [panic] Kernel panics on USB disconnect o usb/74771 usb [umass] [hang] mounting write-protected umass device a o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o usb/75797 usb [pcm] 5.3-STABLE(2005 1/4) detect USB headset, But can o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, o usb/77294 usb [ulpcom] [panic] ucom + ulpcom panic o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa a usb/79656 usb [ehci] RHSC interrupts lost o usb/79722 usb [ehci] wrong alignments in ehci.h o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails o usb/80829 usb [modules] [panic] possible panic when loading USB-modu o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/82660 usb [echi] [panic] EHCI: I/O stuck in state 'physrd'/panic o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d o usb/83677 usb [usb] [request] usb controller often not detected (Sun o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/88743 usb [hang] USB makes kernel hang at boot (regression in 6. p usb/88966 usb [modules] kldunload ucom.ko returns "Device busy" erro s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/89954 usb [umass] [panic] USB Disk driver race condition? o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/91283 usb [boot] booting very slow with usb devices connection ( o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/92052 usb [unlpt] usbd causes defunct process with busy file-han o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes o usb/93640 usb [echi] [irq] device ehci causes interrupt storm on thi o usb/93828 usb [ochi] [panic] ohci causes panic on boot (HP Pavillion o usb/94166 usb [umass] [boot] btx halted with a flashcard plugged o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94813 usb [umass] mounting write-protected umass device freezes o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk s usb/95348 usb [kbd] USB keyboard unplug causes noise on screen o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 s usb/96120 usb [ums] [request] USB mouse not always detected o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync o usb/96457 usb [umass] [panic] fatback on umass = reboot s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/99431 usb [kbd] FreeBSD on MSI 6566E (Intel 845E motherboards) d o usb/101096 usb [if_ural] [panic] USB WLAN occasionally causes kernel- o usb/101448 usb [ohci] FBSD 6.1-STABLE/AMD64 crashes under heavy USB/O o usb/101752 usb [umass] [panic] 6.1-RELEASE kernel panic on usb device o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work f usb/102096 usb [patch] usbd(8) does not handle multiple devices in on o usb/103025 usb [uhub] [panic] wrong detection of USB device for FreeB o usb/104292 usb [umass] [hang] system lockup on forced umount of usb-s o usb/104830 usb [umass] system crashes when copying data to umass devi o usb/105186 usb [ehci] [panic] USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 c o usb/106615 usb [uftdi] uftdi module does not automatically load with o usb/106648 usb [umass] [hang] USB Floppy on D1950 10 min Hang on Inse s usb/106832 usb USB HP printer is not detected by kernel when ACPI ena o usb/107248 usb [umass] [patch] scsi_da.c quirk for Cowon iAUDIO X5 MP o usb/107446 usb [umass] umass problems (usb and fw disks) o usb/107827 usb [ohci] [panic] ohci_add_done addr not found o usb/107848 usb [umass] [request] cannot access Samsung flash disk o usb/107924 usb [patch] usbd(8) does not call detach o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE (regr o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu o usb/109397 usb [panic] on boot from USB flash o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/113478 usb [boot] [request] FreeBSD could not start on Core2Duo n s usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6 o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971 o usb/113851 usb [boot] Unable to boot install cd from USB-CDROM s usb/113977 usb [request] Need a way to set mode of USB disk's write c o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o usb/114682 usb [umass] generic USB media-card reader unusable o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116699 usb [usbhid] USB HID devices do not initialize at system b o usb/116947 usb [ukbd] [patch] enable boot protocol on the USB keyboar o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118391 usb [usbdevs] [patch] Add uscanner ID for Epson CX4800 o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/119018 usb [usbd] HP ScanJet 4300C found as knowndev but not reco o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119509 usb USB flaky on Dell Optiplex 755 o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/120017 usb [ehci] [patch] CS5536 (AMD Geode) USB 2.0 quirk o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120786 usb Kernelpanik when forced umount of a dettached USB Hard f usb/120873 usb [zyd] [panic] if_zyd and if_rum panic in usb_transfer_ o usb/121232 usb remove PCCARD rebooted system o usb/121275 usb [boot] FreeBSD fails to boot with usb legacy support e o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o usb/121708 usb [kbd] nforce 650i mobo w/ usb keyboard infinite key re o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic o usb/121861 usb [kbd] Don't work Fn keys on USB Microsoft Natural Ergo 130 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/48342 usb [usbd] [patch] usbd dynamic device list. s usb/51958 usb [urio] [patch] update for urio driver s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 o usb/59698 usb [kbd] [patch] Rework of ukbd HID to AT code translatio s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71455 usb [umass] Slow USB umass performance of 5.3 s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R a usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76732 usb Mouse problems with USB KVM Switch o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ s usb/80777 usb [request] usb_rem_task() should wait for callback to c o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. f usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/83863 usb [ugen] Communication problem between opensc/openct via s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device o usb/85257 usb [boot] BTX boot loader fails on USB CDROM (HP DL145 Op o usb/86298 usb [mouse] Known good USB mouse won't work with correct s o usb/87224 usb Cannot mount USB Zip750 o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/88408 usb [axe] axe0 read PHY failed o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91896 usb [camcontrol] Serial Number of USB Memory Sticks is not o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/99538 usb [kbd] while using USB keyboard default params of atkbd o usb/100746 usb [kbd] system does not boot due to USB keyboard problem o usb/101761 usb [usb] [patch] [request] usb.h: increase maximal size o o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/102678 usb [kbd] Dell PowerEdge DRAC5 USB Keyboard does not work o usb/102976 usb [panic] Casio Exilim Digital Camera causes panic on in o usb/103046 usb [ulpt] [patch] ulpt event driven I/O with select(2) an o usb/103289 usb [request] USB 2.0 problems on AMD LX-800 CPU and CS-55 o usb/103418 usb [usbhidctl] [patch] [request] usbhidctl: add ability t o usb/103917 usb [uhub] USB driver reports "Addr 0 should never happen" o usb/104290 usb [umass] [patch] quirk: TOSHIBA DVD-RAM drive (libretto o usb/104352 usb [ural] [patch] ural driver doesnt work o usb/104645 usb [umass] [request] Rave C-201 MP3 player does not commu o usb/105065 usb [sata] SATA - USB Bridge o usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/106041 usb [usb] [request] FreeBSD does not recognise Mustek Bear o usb/106621 usb [axe] [patch] DLINK DUB-E100 support broken o usb/106861 usb [usbdevs] [patch]: usbdevs update: Add product ACER Ze o usb/107243 usb [cam] [patch] Apacer USB Flash Drive quirk o usb/107388 usb [patch] [request] new driver: add utoppy device from N o usb/107496 usb [uhub] USB device problem on RELENG_6_2 (SHORT_XFER) ( o usb/107665 usb [usbdevs] [patch] uscanner support for epson stylus DX s usb/107701 usb [usbd] [request] usbd ignores "detach" o usb/107935 usb [uplcom] [panic] panic while accessing /dev/cuaU0 o usb/108056 usb [ohci] Mouse gets powered off during device probe when s usb/108344 usb [panic] kernel with atausb panics when unplugging USB o usb/108509 usb [hang] FreeBSD hang at startup after ehci0 detected (C o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC s usb/110991 usb [usbdevs] [patch] QUIRK: Super Top IDE DEVICE (depends o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4 o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/113432 usb [ucom] WARNING: attempt to net_add_domain(netgraph) af o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/114068 usb [umass] [patch] Problems with connection of the umass o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o usb/115080 usb [usbdevs] [patch] allow using a Hercules HWGUSB2-54-V2 o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/116574 usb [ehci] [patch] Add device ids for ICH8 USB chipsets f usb/116898 usb [panic] sleeping thread while using USB hard drive to o usb/117075 usb [scsi_da] [patch] quirk: USB Samsung YP-U3 MP3 o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/117185 usb [umodem] [patch] Add support for UNION interface descr o usb/117205 usb [uscanner] [patch] uscanner support for HP ScanJet 447 o usb/117546 usb [usbdevs] [patch] Add MaxStream ZigBee product ID to u o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/118374 usb [usbdevs] [patch] support Option GlobeTrotter Max 3.6 o usb/118479 usb [ubsa] [patch] ubsa driver does not recognize AnyDATA o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround s usb/118571 usb [boot] [request] fix BTX issues when booting FreeBSD 7 o usb/118686 usb [usbdevs] [patch] teach usbdevs / ubsa(4) about Huawei o usb/118741 usb [umass] [patch] Support for Nikon D300 digital camera o usb/119150 usb [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED (regress o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR (regression) o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119981 usb [usbdevs] [patch] add support for LOGITEC LAN-GTJ/U2 g o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a f usb/120859 usb laserjet1000 PR#99460 how to install the patch? o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS o usb/121052 usb [ums] Microsoft Notebook Optical Mouse 3000 (model 104 o usb/121169 usb Issues with usb mp3 player o usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C o usb/122025 usb [patch] uscanner does not attach to Epson RX620 printe 123 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Mar 24 12:27:06 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 370441065672 for ; Mon, 24 Mar 2008 12:27:06 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from zzz.ee (kalah.zzz.ee [194.204.30.253]) by mx1.freebsd.org (Postfix) with ESMTP id AA66A8FC1B for ; Mon, 24 Mar 2008 12:27:05 +0000 (UTC) (envelope-from antik@bsd.ee) Received: by zzz.ee (Postfix, from userid 3019) id BEF8655679D; Mon, 24 Mar 2008 14:09:04 +0200 (EET) X-Spam-Checker-Version: SpamAssassin on spamassassin.zzz.ee X-Spam-Level: X-Spam-Guessed-Language: en ca fr X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,BAYES_50 X-Spam-Checker-URL: http://info.zzz.ee Received: from andrei.demo (adsl215.uninet.ee [194.204.62.215]) by zzz.ee (Postfix) with ESMTP id EA0B5556780 for ; Mon, 24 Mar 2008 14:08:54 +0200 (EET) From: Andrei Kolu To: freebsd-usb@freebsd.org Date: Mon, 24 Mar 2008 14:08:53 +0200 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803241408.54061.antik@bsd.ee> Subject: strange statistics about ohci with systat 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, 24 Mar 2008 12:27:06 -0000 Anyone notice anything strange here? Why ohci (usb) got so huge number of interrupts? I have no usb devices connected to this box at all. 39.6%Sys 37.9%Intr 0.0%User 0.0%Nice 22.5%Idle # systat -vm Interrupts 101k total 96514 ohci0 ohci ata0 irq14 587 twa0 irq16 em1 irq25 2000 cpu0: time 2000 cpu1: time FreeBSD 7.0-STABLE-200803 #0: Mon Mar 10 18:53:59 UTC 2008 ------------------------------------------------------------------------------ # dmesg Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-STABLE-200803 #0: Mon Mar 10 18:53:59 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Dual Core AMD Opteron(tm) Processor 270 (1995.01-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x20f12 Stepping = 2 Features=0x178bfbff Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x3 Cores per package: 2 usable memory = 2134601728 (2035 MB) avail memory = 2059890688 (1964 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-15 on motherboard ioapic1 irqs 16-31 on motherboard ioapic2 irqs 32-47 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7ff00000 (3) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 cpu0: on acpi0 powernow0: on cpu0 cpu1: on acpi0 powernow1: on cpu1 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib2: at device 13.0 on pci1 pci2: on pcib2 3ware device driver for 9000 series storage controllers, version: 3.70.05.001 twa0: <3ware 9000 series Storage Controller> port 0xcc00-0xcc3f mem 0xf4000000-0xf5ffffff,0xff3ff000-0xff3fffff irq 16 at device 3.0 on pci2 twa0: [ITHREAD] twa0: INFO: (0x15: 0x1300): Controller details:: Model 9550SX-4LP, 4 ports, Firmware FE9X 3.08.00.016, BIOS BE9X 3.08.00.004 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 2.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] isab0: at device 2.2 on pci0 isa0: on isab0 ohci0: port 0xe000-0xe0ff mem 0xff6b8000-0xff6b8fff irq 10 at device 3.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: <(0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 uhub0: 2 ports with 2 removable, self powered ohci1: port 0xe400-0xe4ff mem 0xff6b9000-0xff6b9fff irq 10 at device 3.1 on pci0 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: <(0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1 uhub1: 2 ports with 2 removable, self powered ehci0: port 0xe800-0xe8ff mem 0xff6ba000-0xff6bafff irq 10 at device 3.2 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb2: EHCI version 1.0 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: <(0x1166) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2 uhub2: 4 ports with 4 removable, self powered em0: port 0xdc00-0xdc3f mem 0xff680000-0xff69ffff,0xff660000-0xff67ffff irq 24 at device 4.0 on pci0 em0: Ethernet address: 00:e0:81:41:3e:5c em0: [FILTER] em1: port 0xd880-0xd8bf mem 0xff620000-0xff63ffff,0xff600000-0xff61ffff irq 25 at device 5.0 on pci0 em1: Ethernet address: 00:e0:81:41:3e:5d em1: [FILTER] vgapci0: port 0xec00-0xec7f mem 0xf8000000-0xfbffffff,0xff6c0000-0xff6fffff at device 6.0 on pci0 acpi_button0: on acpi0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xc9fff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 uhub3: on uhub0 uhub3: 4 ports with 4 removable, self powered ukbd0: on uhub3 kbd2 at ukbd0 ums0: on uhub3 ums0: 5 buttons and Z dir. Timecounters tick every 1.000 msec acd0: CDROM at ata0-slave UDMA33 SMP: AP CPU #1 Launched! da0 at twa0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device da0: 100.000MB/s transfers da0: 572184MB (1171832832 512 byte sectors: 255H 63S/T 72943C) Trying to mount root from ufs:/dev/da0s1a ------------------------------------------------------------------------------ From owner-freebsd-usb@FreeBSD.ORG Mon Mar 24 14:34:41 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02A2A106567A for ; Mon, 24 Mar 2008 14:34:41 +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 B20358FC18 for ; Mon, 24 Mar 2008 14:34:40 +0000 (UTC) (envelope-from gofdu-freebsd-usb@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Jdnkw-0005Do-TA for freebsd-usb@freebsd.org; Mon, 24 Mar 2008 14:34:34 +0000 Received: from 92.50.96.215 ([92.50.96.215]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Mar 2008 14:34:34 +0000 Received: from saper by 92.50.96.215 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Mar 2008 14:34:34 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-usb@freebsd.org From: Marcin Cieslak Date: Mon, 24 Mar 2008 15:34:26 +0100 Lines: 18 Message-ID: <47E7BBF2.7090502@system.pl> References: <200803241408.54061.antik@bsd.ee> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 92.50.96.215 User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.12) Gecko/20080228 SeaMonkey/1.1.8 In-Reply-To: <200803241408.54061.antik@bsd.ee> Sender: news Subject: Re: strange statistics about ohci with systat 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, 24 Mar 2008 14:34:41 -0000 Andrei Kolu wrote: > Anyone notice anything strange here? Why ohci (usb) got so huge number of > interrupts? I have no usb devices connected to this box at all. > (...) > uhub3: on > uhub0 > uhub3: 4 ports with 4 removable, self powered > ukbd0: on uhub3 > kbd2 at ukbd0 > ums0: on uhub3 > ums0: 5 buttons and Z dir. Maybe you have an USB keyboard and mouse? --Marcin From owner-freebsd-usb@FreeBSD.ORG Mon Mar 24 17:10:02 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1933C1065670 for ; Mon, 24 Mar 2008 17:10:02 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id 0854C8FC13 for ; Mon, 24 Mar 2008 17:10:00 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so1019310nfb.33 for ; Mon, 24 Mar 2008 10:09:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=+qvypoLJa9FdvJVkiaXSkdxEPeN9abVbMGJoGE1L1Oc=; b=SAmK3KlWPFdK4qPrTXt6o1Q0ezLEzMKRthmmFn7KHDvkgreoDx6SRX6Mmm2jsulYa1DcRXi6i1itY1KCTzPGK2YcsSBIsP1MSrSGVTobjpkYsnx9bEZEMs+TK/FnDQ6MwDAjwy6ekgarFzqI6JoXbJGuzAcyX+itjmdu0/QXic8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ExvwgznkHXiRYLtQhSSjvab1wot903p0I0B5SaQ4dmjzbZLmusoJGkZmEPZN6wt4TGWtiLTCAMXeKKsQSS+/C+2QmZWheAA5ZriqKmKXutefw55eUFsHLHrpu9D7KoS77cbYo+LQRRmga79hdUz63FbVf5SfvRgDbVZgv3i1Gkk= Received: by 10.78.81.20 with SMTP id e20mr15580762hub.64.1206377060381; Mon, 24 Mar 2008 09:44:20 -0700 (PDT) Received: by 10.78.163.4 with HTTP; Mon, 24 Mar 2008 09:44:20 -0700 (PDT) Message-ID: <70e8236f0803240944k48e4d660vd1ad8ab7bfc3bba2@mail.gmail.com> Date: Mon, 24 Mar 2008 16:44:20 +0000 From: "Joao Barros" To: "Tomoyuki Sakurai" In-Reply-To: <200802280220.m1S2K2Dm082246@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200802280220.m1S2K2Dm082246@freefall.freebsd.org> Cc: freebsd-usb@freebsd.org Subject: Re: usb/118686: [usbdevs] [patch] teach usbdevs / ubsa(4) about Huawei E220 G3 Modem 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, 24 Mar 2008 17:10:02 -0000 On Thu, Feb 28, 2008 at 2:20 AM, Tomoyuki Sakurai wrote: > The following reply was made to PR usb/118686; it has been noted by GNATS. > > From: Tomoyuki Sakurai > To: Edwin Groothuis > Cc: > Subject: usb/118686: [usbdevs] [patch] teach usbdevs / ubsa(4) about Huawei E220 G3 Modem > Date: Thu, 28 Feb 2008 10:42:28 +0900 > > --nextPart2750677.gT4i7iDZPM > Content-Type: multipart/mixed; > boundary="Boundary-01=_GGhxHVgSbE4znYa" > Content-Transfer-Encoding: 7bit > Content-Disposition: inline > > --Boundary-01=_GGhxHVgSbE4znYa > Content-Type: text/plain; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > Content-Disposition: inline > > Hi, > > Looks like NetBSD doesn't need to disable umass. > > http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=3D37692 > http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/usb/uhmodem.c > > The driver also includes a workaround for high speed serial modem (setting= > =20 > higher values to uca.ibufsize and uca.obufsize), which triples bandwidth. > > =2D-=20 > Tomoyuki Sakurai > OpenBSD Support Japan Inc. > > --Boundary-01=_GGhxHVgSbE4znYa > Content-Type: application/x-tgz; > name="uhmodem-patch-new.tgz" > Content-Transfer-Encoding: base64 > Content-Disposition: attachment; > filename="uhmodem-patch-new.tgz" > Could you please provide the patch in some other form? I couldn't get it from your email or through the PR and I'm willing to test it :-) Thanks! -- Joao Barros From owner-freebsd-usb@FreeBSD.ORG Mon Mar 24 21:31:32 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2E25106566C for ; Mon, 24 Mar 2008 21:31:32 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from smtp-gw1.starman.ee (smtp-out4.starman.ee [85.253.0.6]) by mx1.freebsd.org (Postfix) with ESMTP id 8787C8FC19 for ; Mon, 24 Mar 2008 21:31:32 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from mx2.starman.ee (mx2.starman.ee [62.65.192.17]) by smtp-gw1.starman.ee (Postfix) with ESMTP id 10C80A217FE for ; Mon, 24 Mar 2008 23:05:37 +0200 (EET) X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Received: from [192.168.2.101] (ip70.cab45.htm.starman.ee [85.253.45.70]) by mx2.starman.ee (Postfix) with ESMTP id 651EA3F4072 for ; Mon, 24 Mar 2008 23:05:35 +0200 (EET) From: Andrei Kolu To: freebsd-usb@freebsd.org Date: Mon, 24 Mar 2008 23:05:33 +0200 User-Agent: KMail/1.9.7 References: <200803241408.54061.antik@bsd.ee> <47E7BBF2.7090502@system.pl> In-Reply-To: <47E7BBF2.7090502@system.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803242305.34819.antik@bsd.ee> Subject: Re: strange statistics about ohci with systat 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, 24 Mar 2008 21:31:33 -0000 On Monday 24 March 2008 16:34:26 Marcin Cieslak wrote: > Andrei Kolu wrote: > > Anyone notice anything strange here? Why ohci (usb) got so huge number of > > interrupts? I have no usb devices connected to this box at all. > > (...) > > > uhub3: > > on uhub0 > > uhub3: 4 ports with 4 removable, self powered > > ukbd0: on > > uhub3 kbd2 at ukbd0 > > ums0: on uhub3 > > ums0: 5 buttons and Z dir. > > Maybe you have an USB keyboard and mouse? > Sorry, I posted dmesg later from test rack. That irq problem was detected originally with ps/2 keyboard without any usb device attached. And I tried to use usb flash drive but it was showing up like umass0 storage and was unable to mount it normally (I can use it on 6.2, 6.3 and 7.0 versions just fine though). Maybe something is wrong with freebsd kernel udev implementation- I got twa device (that is 3ware sata raid controller) but my system recognizes this raid as da0 disk.... How can I resolve this problem? By disabling USB in bios? Board is Tyan S3870 http://tyan.com/support_download_bios.aspx?model=B.GT20B3870 Latest motherboard bios and and raid controller firmware applied. From owner-freebsd-usb@FreeBSD.ORG Wed Mar 26 15:28:04 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D575C1065678 for ; Wed, 26 Mar 2008 15:28:04 +0000 (UTC) (envelope-from itz@mushinsky.net) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 5DD598FC16 for ; Wed, 26 Mar 2008 15:28:04 +0000 (UTC) (envelope-from itz@mushinsky.net) Received: by nf-out-0910.google.com with SMTP id b2so1597824nfb.33 for ; Wed, 26 Mar 2008 08:28:02 -0700 (PDT) Received: by 10.78.187.17 with SMTP id k17mr264386huf.7.1206543778850; Wed, 26 Mar 2008 08:02:58 -0700 (PDT) Received: by 10.78.139.1 with HTTP; Wed, 26 Mar 2008 08:02:58 -0700 (PDT) Message-ID: Date: Wed, 26 Mar 2008 11:02:58 -0400 From: "Isaac Mushinsky" To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: hplip setup problems 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, 26 Mar 2008 15:28:05 -0000 I've tried freebsd-questions, but to no avail so far, so please excuse my posting here in the hope to find people more familiar with this... I am having trouble setting up HP Photosmart C4280 all-in-one device for printing. hpssd, cups are started in the correct order. Device node permissions seem to be correct too. 1. This is an all-in-one device. (I did not try the scanner setup yet) 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. 3. Machine is FreeBSD 7-stable/amd64. 4. hplip is 2.8.2 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: Photosmart C4200 series, HP addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel There is a ppd file for these series with the hplip distribution. hpssd, cups started in the order needed. hp-setup detects the printer, and then says 'Unable to create queue'. CUPS web interface actually adds the printer, but then cannot print test page to it. cups user runs hpssd (I tried root too). /var/log/messages has: Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string ret=-5 With USB_DEBUG=4 (for libusb), the hp-setup fails like this: usb_os_find_devices: Found /dev/ugen0 on /dev/usb3 usb_control_msg: 128 6 512 0 0x7fffffff9ed0 8 1000 usb_control_msg: 128 6 512 0 0x80131d080 124 1000 usb_control_msg: 128 6 770 1033 0x7fffffff9e40 255 5000 usb_control_msg: 128 6 771 1033 0x7fffffff9e40 255 5000 USB error: error sending control message: Input/output error ... device `hpaio:/usb/Photosmart_C4200_series?serial=0' is a Hewlett-Packard Photosmart_C4200_series all-in-one This 'serial=0' seems to be the result of failed usb_control_msg call. I exhibited here all relevant output (/var/log/messages, usbdevs, ls -l /dev etc.): http://omsk.mushinsky.net/hplip-trouble Any help is appreciated. -isaac- From owner-freebsd-usb@FreeBSD.ORG Wed Mar 26 20:13:44 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BDE8106564A for ; Wed, 26 Mar 2008 20:13:44 +0000 (UTC) (envelope-from itz@mushinsky.net) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id EFA338FC27 for ; Wed, 26 Mar 2008 20:13:40 +0000 (UTC) (envelope-from itz@mushinsky.net) Received: by ug-out-1314.google.com with SMTP id y2so192564uge.37 for ; Wed, 26 Mar 2008 13:13:35 -0700 (PDT) Received: by 10.78.124.7 with SMTP id w7mr1539484huc.60.1206562402047; Wed, 26 Mar 2008 13:13:22 -0700 (PDT) Received: by 10.78.139.1 with HTTP; Wed, 26 Mar 2008 13:13:22 -0700 (PDT) Message-ID: Date: Wed, 26 Mar 2008 16:13:22 -0400 From: "Isaac Mushinsky" To: freebsd-usb@freebsd.org In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: hplip setup problems 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, 26 Mar 2008 20:13:44 -0000 On Wed, Mar 26, 2008 at 11:02 AM, Isaac Mushinsky wrote: > I've tried freebsd-questions, but to no avail so far, so please excuse my > posting here in the hope to find people more familiar with this... > > I am having trouble setting up HP Photosmart C4280 all-in-one device for > printing. hpssd, cups are started in the correct order. Device node > permissions seem to be correct too. > > 1. This is an all-in-one device. (I did not try the scanner setup yet) > 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. > 3. Machine is FreeBSD 7-stable/amd64. > 4. hplip is 2.8.2 > > $ usbdevs > addr 1: UHCI root hub, Intel > addr 1: UHCI root hub, Intel > addr 1: UHCI root hub, Intel > addr 1: EHCI root hub, Intel > addr 2: Photosmart C4200 series, HP > addr 1: UHCI root hub, Intel > addr 1: UHCI root hub, Intel > addr 1: UHCI root hub, Intel > addr 1: EHCI root hub, Intel > There is a ppd file for these series with the hplip distribution. > hpssd, cups started in the order needed. hp-setup detects the printer, and > then says 'Unable to create queue'. CUPS web interface actually adds the > printer, but then cannot print test page to it. cups user runs hpssd (I > tried root too). > /var/log/messages has: > Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable > get_string_descriptor -5: Input/output error > Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id > string ret=-5 > > > With USB_DEBUG=4 (for libusb), the hp-setup fails like this: > > usb_os_find_devices: Found /dev/ugen0 on /dev/usb3 > usb_control_msg: 128 6 512 0 0x7fffffff9ed0 8 1000 > usb_control_msg: 128 6 512 0 0x80131d080 124 1000 > usb_control_msg: 128 6 770 1033 0x7fffffff9e40 255 5000 > usb_control_msg: 128 6 771 1033 0x7fffffff9e40 255 5000 > USB error: error sending control message: Input/output error > ... > device `hpaio:/usb/Photosmart_C4200_series?serial=0' is a Hewlett-Packard > Photosmart_C4200_series all-in-one > > This 'serial=0' seems to be the result of failed usb_control_msg call. > > I exhibited here all relevant output (/var/log/messages, usbdevs, ls -l > /dev etc.): > http://omsk.mushinsky.net/hplip-trouble > > Any help is appreciated. > -isaac- > > What is this serial id string? is this supposed to be a unique string assigned to each produced device by the vendor? could it be that it is just HP's fault, or the serial id is on a wrong node of a multi-device somehow? I thought the only use for it is to uniquely identify a device, since I only have one, can I just patch libusb to fake some string? From owner-freebsd-usb@FreeBSD.ORG Thu Mar 27 03:06:46 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19B69106564A for ; Thu, 27 Mar 2008 03:06:46 +0000 (UTC) (envelope-from itz@mushinsky.net) Received: from omsk.mushinsky.net (omsk.mushinsky.net [66.114.66.201]) by mx1.freebsd.org (Postfix) with ESMTP id A12408FC15 for ; Thu, 27 Mar 2008 03:06:45 +0000 (UTC) (envelope-from itz@mushinsky.net) Received: from omsk.mushinsky.net (localhost [127.0.0.1]) by omsk.mushinsky.net (8.14.2/8.14.2) with ESMTP id m2R2XItV001132 for ; Wed, 26 Mar 2008 22:33:18 -0400 (EDT) (envelope-from itz@mushinsky.net) Received: from localhost (localhost [[UNIX: localhost]]) by omsk.mushinsky.net (8.14.2/8.14.2/Submit) id m2R2XICx001131 for freebsd-usb@freebsd.org; Wed, 26 Mar 2008 22:33:18 -0400 (EDT) (envelope-from itz@mushinsky.net) X-Authentication-Warning: omsk.mushinsky.net: itz set sender to itz@mushinsky.net using -f From: Isaac Mushinsky To: freebsd-usb@freebsd.org Date: Wed, 26 Mar 2008 22:33:18 -0400 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803262233.18659.itz@mushinsky.net> Subject: Re: hplip setup problems 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, 27 Mar 2008 03:06:46 -0000 On Wednesday 26 March 2008 11:02:58 Isaac Mushinsky wrote: > I've tried freebsd-questions, but to no avail so far, so please excuse my > posting here in the hope to find people more familiar with this... > > I am having trouble setting up HP Photosmart C4280 all-in-one device for > printing. hpssd, cups are started in the correct order. Device node > permissions seem to be correct too. > > 1. This is an all-in-one device. (I did not try the scanner setup yet) > 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. > 3. Machine is FreeBSD 7-stable/amd64. > 4. hplip is 2.8.2 > > $ usbdevs > addr 1: UHCI root hub, Intel > addr 1: UHCI root hub, Intel > addr 1: UHCI root hub, Intel > addr 1: EHCI root hub, Intel > addr 2: Photosmart C4200 series, HP > addr 1: UHCI root hub, Intel > addr 1: UHCI root hub, Intel > addr 1: UHCI root hub, Intel > addr 1: EHCI root hub, Intel > There is a ppd file for these series with the hplip distribution. > hpssd, cups started in the order needed. hp-setup detects the printer, and > then says 'Unable to create queue'. CUPS web interface actually adds the > printer, but then cannot print test page to it. cups user runs hpssd (I > tried root too). > /var/log/messages has: > Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable > get_string_descriptor -5: Input/output error > Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string > ret=-5 > > > With USB_DEBUG=4 (for libusb), the hp-setup fails like this: > > usb_os_find_devices: Found /dev/ugen0 on /dev/usb3 > usb_control_msg: 128 6 512 0 0x7fffffff9ed0 8 1000 > usb_control_msg: 128 6 512 0 0x80131d080 124 1000 > usb_control_msg: 128 6 770 1033 0x7fffffff9e40 255 5000 > usb_control_msg: 128 6 771 1033 0x7fffffff9e40 255 5000 > USB error: error sending control message: Input/output error > ... > device `hpaio:/usb/Photosmart_C4200_series?serial=0' is a Hewlett-Packard > Photosmart_C4200_series all-in-one > > This 'serial=0' seems to be the result of failed usb_control_msg call. > > I exhibited here all relevant output (/var/log/messages, usbdevs, ls -l > /dev etc.): > http://omsk.mushinsky.net/hplip-trouble > > Any help is appreciated. > -isaac- Latest piece of information, in case it helps solve the puzzle: sane cannot open the HP all-in-one as a scanner with same error (getting serial id). However, my Nikon LS40-ED (a 35mm film scanner) works fine. So the problem is apparently not my installation or libusb. ~> sane-find-scanner # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first make sure your # scanner is powered up and properly connected to your computer. # No SCSI scanners found. If you expected something different, make sure that # you have loaded a kernel SCSI driver for your SCSI adapter. found USB scanner (vendor=0x04b0 [Nikon], product=0x4000 [LS-40 ED]) at libusb:/dev/usb2:/dev/ugen1 found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200 series]) at libusb:/dev/usb3:/dev/ugen0 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Not checking for parallel port scanners. # Most Scanners connected to the parallel port or other proprietary ports # can't be detected by this program. # You may want to run this program as root to find all devices. Once you # found the scanner devices, be sure to adjust access permissions as # necessary. The Nikon scanner works, the HP device fails to return serial id as above. So it seems the Photosmart really fails to return a serial id. This does not seem to be an outright violation of USB standard, does it? At least once upon a time vendors were allowed not to provide id's. Then either (a) hplip should catch the failure and deal with it. Or, (b) hplip being HP-specific knows that HP always has a serial id; then the printer must be really busted. From owner-freebsd-usb@FreeBSD.ORG Thu Mar 27 05:44:51 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B533D106564A; Thu, 27 Mar 2008 05:44:51 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8E5E88FC17; Thu, 27 Mar 2008 05:44:51 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2R5ipJq014931; Thu, 27 Mar 2008 05:44:51 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2R5ipcv014927; Thu, 27 Mar 2008 05:44:51 GMT (envelope-from linimon) Date: Thu, 27 Mar 2008 05:44:51 GMT Message-Id: <200803270544.m2R5ipcv014927@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/122119: [umass] umass device causes creation of daX but not daXsX entries; CAM error 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, 27 Mar 2008 05:44:51 -0000 Synopsis: [umass] umass device causes creation of daX but not daXsX entries; CAM error Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Mar 27 05:44:44 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=122119 From owner-freebsd-usb@FreeBSD.ORG Thu Mar 27 08:54:17 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68E831065671 for ; Thu, 27 Mar 2008 08:54:17 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from zzz.ee (kalah.zzz.ee [194.204.30.253]) by mx1.freebsd.org (Postfix) with ESMTP id 8E2628FC12 for ; Thu, 27 Mar 2008 08:54:16 +0000 (UTC) (envelope-from antik@bsd.ee) Received: by zzz.ee (Postfix, from userid 3019) id 517CE27845F; Thu, 27 Mar 2008 10:54:14 +0200 (EET) X-Spam-Checker-Version: SpamAssassin on spamassassin.zzz.ee X-Spam-Level: X-Spam-Guessed-Language: en ca X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,BAYES_50 X-Spam-Checker-URL: http://info.zzz.ee Received: from andrei.demo (adsl215.uninet.ee [194.204.62.215]) by zzz.ee (Postfix) with ESMTP id 5A2FB2783DE; Thu, 27 Mar 2008 10:54:04 +0200 (EET) From: Andrei Kolu To: freebsd-stable@freebsd.org Date: Thu, 27 Mar 2008 10:54:03 +0200 User-Agent: KMail/1.9.7 References: <200803251439.01506.antik@bsd.ee> In-Reply-To: <200803251439.01506.antik@bsd.ee> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200803271054.03647.antik@bsd.ee> Cc: freebsd-usb@freebsd.org Subject: Re: strange statistics about ohci with systat and top 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, 27 Mar 2008 08:54:17 -0000 On Tuesday 25 March 2008 14:39:01 Andrei Kolu wrote: > Anyone notice anything strange here? Why ohci (usb) got so huge number of > interrupts? Even if I have no usb devices connected to this box. > > 39.6%Sys =A037.9%Intr =A00.0%User =A00.0%Nice 22.5%Idle > > # systat -vm > > Interrupts > 101k total > 96514 ohci0 ohci > ata0 irq14 > 587 twa0 irq16 > em1 irq25 > 2000 cpu0: time > 2000 cpu1: time > > FreeBSD 7.0-STABLE-200803 #0: Mon Mar 10 18:53:59 UTC 2008 > > That irq problem was detected originally with ps/2 keyboard without any u= sb > device attached (dmesg info here is taken later). And I tried to use usb > flash drive but it was showing up like umass0 storage and was unable to > mount it normally (I can use it on 6.2, 6.3 and 7.0 versions just fine > though). Maybe something is wrong with freebsd kernel udev implementation- > I got twa device (that is 3ware sata raid controller) but my system > recognizes this raid as da0 disk.... > > How can I resolve this problem? By disabling USB in bios? > Board is Tyan S3870 > http://tyan.com/support_download_bios.aspx?model=3DB.GT20B3870 > Latest motherboard bios and and raid controller firmware applied. > > On same motherboard FreeBSD-s version 6.2, 6.3 and 7.0 (32 and 64 bit) ha= ng > during initial boot- only version that worked is latest stable 7. > > -------------------------------------------------------------------------= =2D- >--- # dmesg > Copyright (c) 1992-2008 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > =A0 =A0 =A0 =A0 The Regents of the University of California. All rights r= eserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 7.0-STABLE-200803 #0: Mon Mar 10 18:53:59 UTC 2008 > =A0 =A0 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Dual Core AMD Opteron(tm) Processor 270 (1995.01-MHz K8-class CPU) > =A0 Origin =3D "AuthenticAMD" =A0Id =3D 0x20f12 =A0Stepping =3D 2 > =A0 > Features=3D0x178bfbffA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> Features2=3D0x1 > =A0 AMD Features=3D0xe2500800 > =A0 AMD Features2=3D0x3 > =A0 Cores per package: 2 > usable memory =3D 2134601728 (2035 MB) > avail memory =A0=3D 2059890688 (1964 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > =A0cpu0 (BSP): APIC ID: =A00 > =A0cpu1 (AP): APIC ID: =A01 > MADT: Forcing active-low polarity and level trigger for SCI > ioapic0 irqs 0-15 on motherboard > ioapic1 irqs 16-31 on motherboard > ioapic2 irqs 32-47 on motherboard > kbd1 at kbdmux0 > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > acpi0: Sleep Button (fixed) > acpi0: reservation of 0, a0000 (3) failed > acpi0: reservation of 100000, 7ff00000 (3) failed > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 > cpu0: on acpi0 > powernow0: on cpu0 > cpu1: on acpi0 > powernow1: on cpu1 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pcib2: at device 13.0 on pci1 > pci2: on pcib2 > 3ware device driver for 9000 series storage controllers, version: > 3.70.05.001 twa0: <3ware 9000 series Storage Controller> port 0xcc00-0xcc= 3f > mem 0xf4000000-0xf5ffffff,0xff3ff000-0xff3fffff irq 16 at device 3.0 on > pci2 twa0: [ITHREAD] > twa0: INFO: (0x15: 0x1300): Controller details:: Model 9550SX-4LP, 4 port= s, > Firmware FE9X 3.08.00.016, BIOS BE9X 3.08.00.004 > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 2.1 on pci0 > ata0: on atapci0 > ata0: [ITHREAD] > ata1: on atapci0 > ata1: [ITHREAD] > isab0: at device 2.2 on pci0 > isa0: on isab0 > ohci0: port 0xe000-0xe0ff mem > 0xff6b8000-0xff6b8fff irq 10 at device 3.0 on pci0 > ohci0: [GIANT-LOCKED] > ohci0: [ITHREAD] > usb0: OHCI version 1.0, legacy support > usb0: SMM does not respond, resetting > usb0: on ohci0 > usb0: USB revision 1.0 > uhub0: <(0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 > uhub0: 2 ports with 2 removable, self powered > ohci1: port 0xe400-0xe4ff mem > 0xff6b9000-0xff6b9fff irq 10 at device 3.1 on pci0 > ohci1: [GIANT-LOCKED] > ohci1: [ITHREAD] > usb1: OHCI version 1.0, legacy support > usb1: SMM does not respond, resetting > usb1: on ohci1 > usb1: USB revision 1.0 > uhub1: <(0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1 > uhub1: 2 ports with 2 removable, self powered > ehci0: port 0xe800-0xe8ff mem > 0xff6ba000-0xff6bafff irq 10 at device 3.2 on pci0 > ehci0: [GIANT-LOCKED] > ehci0: [ITHREAD] > usb2: EHCI version 1.0 > usb2: companion controllers, 2 ports each: usb0 usb1 > usb2: on ehci0 > usb2: USB revision 2.0 > uhub2: <(0x1166) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2 > uhub2: 4 ports with 4 removable, self powered > em0: port > 0xdc00-0xdc3f mem 0xff680000-0xff69ffff,0xff660000-0xff67ffff irq 24 at > device 4.0 on pci0 em0: Ethernet address: 00:e0:81:41:3e:5c > em0: [FILTER] > em1: port > 0xd880-0xd8bf mem 0xff620000-0xff63ffff,0xff600000-0xff61ffff irq 25 at > device 5.0 on pci0 em1: Ethernet address: 00:e0:81:41:3e:5d > em1: [FILTER] > vgapci0: port 0xec00-0xec7f mem > 0xf8000000-0xfbffffff,0xff6c0000-0xff6fffff at device 6.0 on pci0 > acpi_button0: on acpi0 > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on > acpi0 sio0: type 16550A > sio0: [FILTER] > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 > sio1: type 16550A > sio1: [FILTER] > fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 = on > acpi0 > fdc0: [FILTER] > orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xc9fff on isa0 > atkbdc0: at port 0x60,0x64 on isa0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > ppc0: cannot reserve I/O port range > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=3D0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > uhub3: on > uhub0 > uhub3: 4 ports with 4 removable, self powered > ukbd0: on uhub3 > kbd2 at ukbd0 > ums0: on uhub3 > ums0: 5 buttons and Z dir. > Timecounters tick every 1.000 msec > acd0: CDROM at ata0-slave UDMA33 > SMP: AP CPU #1 Launched! > da0 at twa0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-5 device > da0: 100.000MB/s transfers > da0: 572184MB (1171832832 512 byte sectors: 255H 63S/T 72943C) > Trying to mount root from ufs:/dev/da0s1a > -------------------------------------------------------------------------= =2D- OK, I managed to fix this issue by commenting out OHCI from kernel. #device ohci # OHCI PCI->USB interface "systat -vm" shows now "31 ehci0 10" instead of "96514 ohci0 ohci". Affected systems are: Tyan S3870 and B3870 motherboards. From owner-freebsd-usb@FreeBSD.ORG Thu Mar 27 13:50:04 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 329DE1065672 for ; Thu, 27 Mar 2008 13:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 18ECB8FC24 for ; Thu, 27 Mar 2008 13:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2RDo3vq074818 for ; Thu, 27 Mar 2008 13:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2RDo38T074811; Thu, 27 Mar 2008 13:50:03 GMT (envelope-from gnats) Date: Thu, 27 Mar 2008 13:50:03 GMT Message-Id: <200803271350.m2RDo38T074811@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Marcin Cieslak Cc: Subject: Re: usb/122119: [umass] umass device causes creation of daX but not daXsX entries; CAM error X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcin Cieslak List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2008 13:50:04 -0000 The following reply was made to PR usb/122119; it has been noted by GNATS. From: Marcin Cieslak To: bug-followup@FreeBSD.org, mdh@solitox.net Cc: Subject: Re: usb/122119: [umass] umass device causes creation of daX but not daXsX entries; CAM error Date: Thu, 27 Mar 2008 14:46:15 +0100 This is a cryptographically signed message in MIME format. --------------ms070104060701020306070708 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit That's interesting. I have an Option Globetrotter GTMAX 7.2 3G card that also includes a so-called "Zero Configuration" feature that identifies as: Mar 27 14:33:12 radziecki kernel: umass2: on uhub7 Mar 27 14:33:12 radziecki kernel: umass2: SCSI over Bulk-Only; quirks = 0x0000 Mar 27 14:33:12 radziecki kernel: umass2:3:2:-1: Attached to scbus3 Mar 27 14:33:12 radziecki kernel: cd0 at umass-sim2 bus 2 target 0 lun 0 Mar 27 14:33:12 radziecki kernel: cd0: Removable CD-ROM SCSI-2 device Mar 27 14:33:12 radziecki kernel: cd0: 1.000MB/s transfers Mar 27 14:33:12 radziecki kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present but for me this is just a CD-ROM device, and it works. It is also read-only. 1) This will not fix your issue but can you try umass.c and usbdevs (no need to install ubsa.c) patches from: http://akson.sgh.waw.pl/~saper/FreeBSD/gt/zeroconf/ I wonder what happens to your system after this :) 2) Can you compile your umass module with -DUSB_DEBUG and set sysctl hw.usb.umass.debug=3342336 To set -DUSB_DEBUG the easiest way is to apply Index: Makefile =================================================================== RCS file: /usr/home/ncvs/src/sys/modules/umass/Makefile,v retrieving revision 1.14 diff -u -r1.14 Makefile --- Makefile 4 Jun 2005 10:58:38 -0000 1.14 +++ Makefile 19 Mar 2008 00:18:31 -0000 @@ -2,6 +2,8 @@ .PATH: ${.CURDIR}/../../dev/usb +DEBUG_FLAGS=-g -DUSB_DEBUG + KMOD= umass SRCS= bus_if.h device_if.h \ opt_usb.h opt_cam.h opt_scsi.h \ and then cd /sys/modules/umass make obj all And "make load" as root Provided you don't have umass in your kernel already. -- << Marcin Cieslak // saper@saper.info >> --------------ms070104060701020306070708 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIINLD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1c3RDZW50ZXIgQ2xhc3MgMSBMMSBDQTEpMCcGA1UE AxMgVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMSBMMSBDQSBJSUkCDgUfAAEAAvxW+cGq7sagMA0G CSqGSIb3DQEBAQUABIIBAFkQrSTTYPNY6ixe4/nuva11NNZzD05CssmD9HALnSSMvdTu8HO/ 3lzyOhhc1YESOG/C1dpXslmFrok4Jdfjs6Yjh+tp9mISBKHLYH7OAPKxOzubf2yxOjGEZ+pH euUHSqpjx0V5cx650lIWdT+dkUDmYuong14qD8jEO5etVyrbpgwdSR2+SHYLgcD4S+FAOzql MBXD+waAFsvYKu2ddhrOJYFjD4nIDgyCQ2bYSEF7zikRZM6NSFloyPLgY+ra7t4PKzivuFiF Xib81IbChYgfSe4k5eB8M5euAfKlEHQzqO6jp8i4FerqE/EQbFbmjCNDZhw71uhagqGd9E29 jwYAAAAAAAA= --------------ms070104060701020306070708-- From owner-freebsd-usb@FreeBSD.ORG Thu Mar 27 23:59:18 2008 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BB55106567C for ; Thu, 27 Mar 2008 23:59:18 +0000 (UTC) (envelope-from apratikno@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id AF2D58FC17 for ; Thu, 27 Mar 2008 23:59:17 +0000 (UTC) (envelope-from apratikno@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so4048012fgg.35 for ; Thu, 27 Mar 2008 16:59:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=RZwW1WLaPAUZ9AUwNTx+zBVsK1L6QSNma4o1M6StqWo=; b=MQeVPofRGUYXQywR+/00WC28l/UWzrM0HG3bqChsB/IDnQmKyBohGe+nNwZigRLWClxmngqMpRARSO5aDvDGEoDH344OqacoTeFt8uMEYOXZrk3c3C2DVffWsBazRpQTaV1qGXueXB2ngzxMGrlj3fEK7Rmblfww1xjCeHka280= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type; b=A9a7dBK1w9vW2mPvxF+aT0ZKACrjcRqmQv8jOb/bxseSUzKDFfgbLtwKnnt7TM5AY+wCjBWwGYeQwYq50/kFjvoBBAUdUskv19RwX2l3+tFYg1+A+cHZZzWePnFdNQrUXHhjdRf+oC217UnY5pKRhaUz7uGARdsz57x+w0XY8+s= Received: by 10.86.66.19 with SMTP id o19mr1259503fga.46.1206660866823; Thu, 27 Mar 2008 16:34:26 -0700 (PDT) Received: by 10.86.35.12 with HTTP; Thu, 27 Mar 2008 16:34:26 -0700 (PDT) Message-ID: Date: Fri, 28 Mar 2008 10:34:26 +1100 From: "Andri Pratikno" To: freebsd-usb@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: samsung yp-u3 log val 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, 27 Mar 2008 23:59:18 -0000 I have problem with my samsung mp3 yp-u3 log val could you help me? thanks andri pratikno From owner-freebsd-usb@FreeBSD.ORG Fri Mar 28 04:10:03 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AB131065671 for ; Fri, 28 Mar 2008 04:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EEE468FC18 for ; Fri, 28 Mar 2008 04:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2S4A27j076508 for ; Fri, 28 Mar 2008 04:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2S4A2oN076507; Fri, 28 Mar 2008 04:10:02 GMT (envelope-from gnats) Date: Fri, 28 Mar 2008 04:10:02 GMT Message-Id: <200803280410.m2S4A2oN076507@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Weldon S Godfrey 3 Cc: Subject: Re: usb/100746: [kbd] system does not boot due to USB keyboard problem on Dell 3100 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weldon S Godfrey 3 List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2008 04:10:03 -0000 The following reply was made to PR usb/100746; it has been noted by GNATS. From: Weldon S Godfrey 3 To: bug-followup@FreeBSD.org, dijke@xs4all.nl Cc: Subject: Re: usb/100746: [kbd] system does not boot due to USB keyboard problem on Dell 3100 Date: Thu, 27 Mar 2008 23:40:37 -0400 (EDT) This problem also occurs with Dell E310 (practically a 3100) in FreeBSD 7.0-RELEASE, downloaded from ISO tonight. From owner-freebsd-usb@FreeBSD.ORG Fri Mar 28 07:59:02 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0011E1065672; Fri, 28 Mar 2008 07:59:01 +0000 (UTC) (envelope-from itz@mushinsky.net) Received: from omsk.mushinsky.net (omsk.mushinsky.net [66.114.66.201]) by mx1.freebsd.org (Postfix) with ESMTP id 747248FC2D; Fri, 28 Mar 2008 07:59:01 +0000 (UTC) (envelope-from itz@mushinsky.net) Received: from omsk.mushinsky.net (localhost [127.0.0.1]) by omsk.mushinsky.net (8.14.2/8.14.2) with ESMTP id m2S7wwQh071291; Fri, 28 Mar 2008 03:58:58 -0400 (EDT) (envelope-from itz@mushinsky.net) Received: by omsk.mushinsky.net (8.14.2/8.14.2/Submit) id m2S7ww1b071290; Fri, 28 Mar 2008 03:58:58 -0400 (EDT) (envelope-from itz@mushinsky.net) X-Authentication-Warning: omsk.mushinsky.net: itz set sender to itz@mushinsky.net using -f From: Isaac Mushinsky To: Anish Mistry , freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Date: Fri, 28 Mar 2008 03:58:58 -0400 User-Agent: KMail/1.9.7 References: <200803260021.12249.itz@mushinsky.net> <200803271037.48833.amistry@am-productions.biz> In-Reply-To: <200803271037.48833.amistry@am-productions.biz> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803280358.58236.itz@mushinsky.net> Cc: Subject: Re: hplip setup problems 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, 28 Mar 2008 07:59:02 -0000 On Thursday 27 March 2008 10:37:48 you wrote: > On Thursday 27 March 2008, Isaac Mushinsky wrote: > > Anish Mistry (the port maintainer) has answered below. It seems > > that this is a printer defect after all then. I'll try to patch the > > code to fill in the missing serial id with some fake string, and > > shall report if I get the thing to work. > > > > Is the hp backend the only entry point to libusb, or should I have > > to patch libusb? e.g. cups or sane apps, can they call libusb > > directly, or only through hpaio backend? I would rather have a > > patch to hplip distribution only, because libusb correctly throws > > an error code for the missing serial id. But if some apps query the > > device directly, the missing serial id may be a problem, they will > > all have to all be patched separately. > > See what you can get to work, and then we can decide on what the > proper fix entails. > > > > It looks like there is some problem with the C42XX printers that > > > is causing the serial numbers to no be reported. I got a similar > > > report about a HP Photosmart C4200 series a couple weeks ago. > > > Unfortunately I'm VERY busy right now. It will be a couple of > > > week before I can dive into the issue. If you do happen to find > > > a solution, please let me know so I can integrate it into the > > > port and notify others. Thanks, > > > -- > > > Anish Mistry > > > amistry@am-productions.biz > > > AM Productions http://am-productions.biz/ I tried to load hplip into debugger, but if I try to trace the problem, it works! Serial number is read correctly. It also seems to work with a non-SMP kernel (at least the race does not show). The printer has the serial number after all. There appears to be some sort of race condition when calling usb_control_msg for product id and then serial id strings in rapid succession in musb.c. I am not sure how to deal with that yet, but pausing in between the calls is a workaround for now. What can be done in between the calls other than close and reopen the device? From owner-freebsd-usb@FreeBSD.ORG Fri Mar 28 16:17:29 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F06911065675 for ; Fri, 28 Mar 2008 16:17:28 +0000 (UTC) (envelope-from itz@mushinsky.net) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id 94D798FC1A for ; Fri, 28 Mar 2008 16:17:25 +0000 (UTC) (envelope-from itz@mushinsky.net) Received: by nf-out-0910.google.com with SMTP id b2so275067nfb.33 for ; Fri, 28 Mar 2008 09:17:24 -0700 (PDT) Received: by 10.78.206.6 with SMTP id d6mr9679266hug.46.1206721038330; Fri, 28 Mar 2008 09:17:18 -0700 (PDT) Received: by 10.78.139.1 with HTTP; Fri, 28 Mar 2008 09:17:18 -0700 (PDT) Message-ID: Date: Fri, 28 Mar 2008 12:17:18 -0400 From: "Isaac Mushinsky" To: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org In-Reply-To: <200803281142.48595.amistry@am-productions.biz> MIME-Version: 1.0 References: <200803260021.12249.itz@mushinsky.net> <200803271037.48833.amistry@am-productions.biz> <200803280358.58236.itz@mushinsky.net> <200803281142.48595.amistry@am-productions.biz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: hplip setup problems 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, 28 Mar 2008 16:17:29 -0000 Yes, of course sleep() works. But I am looking for the *proper* way to fix it. My questions at this point are: 1. Does USB standard permit these sequential requests, or there should be some reset/synch mechanism utilized in between? I could also usb_close() and reopen the device, but is there a softer reset than that? Is the bug really in hplip, or libusb, or sys/dev/usb? 2. If the driver, libusb and hplip are acting properly, then perhaps the race condition is inside the device? i.e. it should be ready to accept the second control msg after the 1st one returned, but for some reason is not really ready. So then it is the printer that violates the protocol, and there is nothing to do on our side but sleep(). Or usb_close(), and reopen, hopefully that will bring the Photosmart to its senses. I am posting this to freebsd-usb as well, people there are probably better equipped to answer this. On Fri, Mar 28, 2008 at 11:42 AM, Anish Mistry wrote: > On Friday 28 March 2008, you wrote: > > On Thursday 27 March 2008 10:37:48 you wrote: > > > On Thursday 27 March 2008, Isaac Mushinsky wrote: > > > > Anish Mistry (the port maintainer) has answered below. It seems > > > > that this is a printer defect after all then. I'll try to patch > > > > the code to fill in the missing serial id with some fake > > > > string, and shall report if I get the thing to work. > > > > > > > > Is the hp backend the only entry point to libusb, or should I > > > > have to patch libusb? e.g. cups or sane apps, can they call > > > > libusb directly, or only through hpaio backend? I would rather > > > > have a patch to hplip distribution only, because libusb > > > > correctly throws an error code for the missing serial id. But > > > > if some apps query the device directly, the missing serial id > > > > may be a problem, they will all have to all be patched > > > > separately. > > > > > > See what you can get to work, and then we can decide on what the > > > proper fix entails. > > > > > > > > It looks like there is some problem with the C42XX printers > > > > > that is causing the serial numbers to no be reported. I got > > > > > a similar report about a HP Photosmart C4200 series a couple > > > > > weeks ago. Unfortunately I'm VERY busy right now. It will be > > > > > a couple of week before I can dive into the issue. If you do > > > > > happen to find a solution, please let me know so I can > > > > > integrate it into the port and notify others. Thanks, > > > > > -- > > > > > Anish Mistry > > > > > amistry@am-productions.biz > > > > > AM Productions http://am-productions.biz/ > > > > I tried to load hplip into debugger, but if I try to trace the > > problem, it works! Serial number is read correctly. It also seems > > to work with a non-SMP kernel (at least the race does not show). > > The printer has the serial number after all. > > > > There appears to be some sort of race condition when calling > > usb_control_msg for product id and then serial id strings in rapid > > succession in musb.c. I am not sure how to deal with that yet, but > > pausing in between the calls is a workaround for now. What can be > > done in between the calls other than close and reopen the device? > You could try to call sleep() to see if that fixes it. > man 3 sleep > > > -- > Anish Mistry > amistry@am-productions.biz > AM Productions http://am-productions.biz/ > From owner-freebsd-usb@FreeBSD.ORG Fri Mar 28 16:27:29 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52C2F106567A for ; Fri, 28 Mar 2008 16:27:29 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.swipnet.se [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id D5B218FC23 for ; Fri, 28 Mar 2008 16:27:28 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [62.113.132.89] (account mc467741@c2i.net [62.113.132.89] verified) by mailfe16.swip.net (CommuniGate Pro SMTP 5.1.13) with ESMTPA id 133267884; Fri, 28 Mar 2008 17:27:27 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 28 Mar 2008 17:28:35 +0100 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803281728.35988.hselasky@c2i.net> Cc: Andri Pratikno Subject: Re: samsung yp-u3 log val 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, 28 Mar 2008 16:27:30 -0000 Hi, Can you describe your problem a little bit more? What does "dmesg" show ? --HPS On Friday 28 March 2008, Andri Pratikno wrote: > I have problem with my samsung mp3 yp-u3 > log val > > could you help me? > > thanks > andri pratikno > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Sat Mar 29 22:36:50 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E402A106566C for ; Sat, 29 Mar 2008 22:36:49 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id D6CF58FC15 for ; Sat, 29 Mar 2008 22:36:49 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 856731CC060; Sat, 29 Mar 2008 15:20:49 -0700 (PDT) Date: Sat, 29 Mar 2008 15:20:49 -0700 From: Jeremy Chadwick To: Vince Message-ID: <20080329222049.GA80263@eos.sc1.parodius.com> References: <47EEBE78.5050506@unsane.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47EEBE78.5050506@unsane.co.uk> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Panic with usb serial 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, 29 Mar 2008 22:36:50 -0000 On Sat, Mar 29, 2008 at 10:11:04PM +0000, Vince wrote: > Is it expected that removing a usb serial adapter while you have a > connection (eg tip) using it will panic a -stable system? I know it is > expected if you remove a mounted umass device so wanted to see if its known > behavior for serial before I file a pr. (adapter is converter, class 0/0, rev 1.10/4.00, addr 3>) > -stable version as of the 25th march, (may have existed before but the > first time I forgot to close tip before removing the device was on this > version.) I would expect that the problem is identical in the sense that with a connection established, you have an open file descriptor which is associated with a serial device that uses USB. So, yes, I would expect this behaviour based on the track record. Should it happen? The answer is no. File a PR? Also, I'd like to know what USB serial adapter you're using (brand, model, and a website of it if possible), for unrelated reasons. Thanks! -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-usb@FreeBSD.ORG Sat Mar 29 22:49:43 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C919106566B for ; Sat, 29 Mar 2008 22:49:43 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id 7149F8FC16 for ; Sat, 29 Mar 2008 22:49:42 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from crab.unsane.co.uk (crab.unsane.co.uk [10.0.0.111]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m2TMFNNM029614 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 29 Mar 2008 22:15:23 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <47EEBE78.5050506@unsane.co.uk> Date: Sat, 29 Mar 2008 22:11:04 +0000 From: Vince User-Agent: Thunderbird 2.0.0.12 (X11/20080313) MIME-Version: 1.0 To: freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Panic with usb serial 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, 29 Mar 2008 22:49:43 -0000 Hi all, Is it expected that removing a usb serial adapter while you have a connection (eg tip) using it will panic a -stable system? I know it is expected if you remove a mounted umass device so wanted to see if its known behavior for serial before I file a pr. (adapter is ) -stable version as of the 25th march, (may have existed before but the first time I forgot to close tip before removing the device was on this version.) cheer, Vince From owner-freebsd-usb@FreeBSD.ORG Sat Mar 29 23:44:24 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 337DE106564A; Sat, 29 Mar 2008 23:44:24 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unknown [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 040518FC15; Sat, 29 Mar 2008 23:44:22 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from crab.unsane.co.uk (crab.unsane.co.uk [10.0.0.111]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m2TNiHe9030897 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 29 Mar 2008 23:44:17 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <47EED34E.2080400@unsane.co.uk> Date: Sat, 29 Mar 2008 23:39:58 +0000 From: Vince User-Agent: Thunderbird 2.0.0.12 (X11/20080313) MIME-Version: 1.0 To: Jeremy Chadwick References: <47EEBE78.5050506@unsane.co.uk> <20080329222049.GA80263@eos.sc1.parodius.com> In-Reply-To: <20080329222049.GA80263@eos.sc1.parodius.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Panic with usb serial 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, 29 Mar 2008 23:44:24 -0000 Jeremy Chadwick wrote: > On Sat, Mar 29, 2008 at 10:11:04PM +0000, Vince wrote: >> Is it expected that removing a usb serial adapter while you have a >> connection (eg tip) using it will panic a -stable system? I know it is >> expected if you remove a mounted umass device so wanted to see if its known >> behavior for serial before I file a pr. (adapter is > converter, class 0/0, rev 1.10/4.00, addr 3>) >> -stable version as of the 25th march, (may have existed before but the >> first time I forgot to close tip before removing the device was on this >> version.) > > I would expect that the problem is identical in the sense that with a > connection established, you have an open file descriptor which is > associated with a serial device that uses USB. > > So, yes, I would expect this behaviour based on the track record. > Should it happen? The answer is no. File a PR? > > Also, I'd like to know what USB serial adapter you're using (brand, > model, and a website of it if possible), for unrelated reasons. Thanks! > About what I was expecting but just thought I'd check. Will file a PR tomorrow when my wife isnt browsing facebook on that laptop :) Regarding the USB serial adapter, I was supplied it though work a while back. I believe from my rather fuzzy memory we got it though these guys http://www.usbnow.co.uk/Cables-USB_to_RS232_Cables/c1_23/index.html Although I wouldn't swear to it. I'll have an ask if anyone remembers on monday. Vince