From owner-freebsd-usb@FreeBSD.ORG Sun Dec 21 15:42: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 0CA671065673 for ; Sun, 21 Dec 2008 15:42:04 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.swipnet.se [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id 9AF998FC1B for ; Sun, 21 Dec 2008 15:42:03 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=Z2MWRvNK_itUDa2ia-sA:9 a=Ikez4YibJyPDEqr7PWe-yZC6w7wA:4 a=LY0hPdMaydYA:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.186]) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 997180666; Sun, 21 Dec 2008 16:42:01 +0100 From: Hans Petter Selasky To: Oliver Fromme Date: Sun, 21 Dec 2008 16:44:19 +0100 User-Agent: KMail/1.9.7 References: <200812202113.mBKLDY4s072052@lurza.secnetix.de> In-Reply-To: <200812202113.mBKLDY4s072052@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812211644.20263.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: usb2 + scanner HP ScanJet 4300C 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, 21 Dec 2008 15:42:04 -0000 On Saturday 20 December 2008, Oliver Fromme wrote: > Hans Petter Selasky wrote: > > On Friday 19 December 2008, Oliver Fromme wrote: > > > Unfortunately, the scanner attaches to ugen, not uscanner. > > > So there is no /dev/uscanner*, so SANE doesn't find it. :-( > > > The scanner is listed in uscanner2.c, product ID and > > > vendor ID match. Looks like more debugging is needed. > > > > Try to run: > > > > usbconfig -u xxx -a yyy reset > > OK, thanks. That seems to get me yet another small step > forward. After the reset, dmesg reports: > > uscanner0: 2> on usbus0 Symlink: uscanner0 -> usb0.2.0.18 > > However, "usbconfig list" still lists it as ugen: > > ugen0.2: at usbus0, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=ON > > Now trying "sane-find-scanner /dev/usb0.2.0.18": > > searching for USB scanners: > checking /dev/usb0.2.0.18... failed to open (Invalid argument) > ignoring libusb devices You need to copy libusb20 (installed by default) over libusb0.1xxx. The libusb from sourceforge does not know how to talk with the new UGEN. --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Dec 21 15:54: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 2F25A1065675; Sun, 21 Dec 2008 15:54:24 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id 8BDA18FC08; Sun, 21 Dec 2008 15:54:23 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=JUWrZJl3310A:10 a=HLJsKEY6ouAA:10 a=1AwWA-ggXVpBKgDV7uoA:9 a=ND2af4viEZko2fkLxHoA:7 a=GR40GUKunbRtgrXWxZQktwi0gtQA:4 a=50e4U0PicR4A:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.186]) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1173895502; Sun, 21 Dec 2008 16:54:21 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Sun, 21 Dec 2008 16:56:36 +0100 User-Agent: KMail/1.9.7 References: <200812201343.59663.hselasky@c2i.net> <6eb82e0812200557o2700eb8ble49b5bb062693f85@mail.gmail.com> In-Reply-To: <6eb82e0812200557o2700eb8ble49b5bb062693f85@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812211656.38478.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: USB power save, battery life and laptops - testers wanted 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, 21 Dec 2008 15:54:24 -0000 Hi, I need some help testing out my USB powersave implementation. There are now multiple levels of USB power save: 1) Turn off USB controller schedules when there are no transactions (1-4 seconds, not tuneable) 2) Suspend actual USB device (30 seconds, tuneable) Powersave is enabled by default. Tuneables: ========== How to set power save delay in seconds: sysctl hw.usb2.power_timeout=10 How to disable power save for the given USB device: usbconfig -u xxx -a yyy power_on How to enable power save for the given USB device: usbconfig -u xxx -a yyy power_save Known to work: ============== EHCI+UHCI OHCI - not tested yet How to install on FreeBSD -current (8.x) ======================================== svn --username anonsvn --password anonsvn \ checkout svn://svn.turbocat.net/i4b cd i4b/trunk/i4b/src/sys/dev cp -r usb2 /sys/dev/ make -C /sys/modules/usb2 clean all install --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Dec 21 15:57: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 BAB4F106564A; Sun, 21 Dec 2008 15:57:45 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 28A978FC0C; Sun, 21 Dec 2008 15:57:44 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=JUWrZJl3310A:10 a=HLJsKEY6ouAA:10 a=6I5d2MoRAAAA:8 a=bMFLaufmfbD7ZfSDTt8A:9 a=20zW0j-QK7e9vgaxWo4eUb2mtxsA:4 a=-ZQhYGXY2L8A:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.186]) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 118612379; Sun, 21 Dec 2008 16:57:43 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 21 Dec 2008 17:00:01 +0100 User-Agent: KMail/1.9.7 References: <200812201343.59663.hselasky@c2i.net> <6eb82e0812200557o2700eb8ble49b5bb062693f85@mail.gmail.com> <200812211656.38478.hselasky@c2i.net> In-Reply-To: <200812211656.38478.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812211700.02605.hselasky@c2i.net> Cc: freebsd-current@freebsd.org Subject: Re: USB power save, battery life and laptops - testers wanted 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, 21 Dec 2008 15:57:46 -0000 For those who are interested, here is the patch: http://perforce.freebsd.org/chv.cgi?CH=155086 --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 11:07:00 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 C2EF31065679 for ; Mon, 22 Dec 2008 11:07:00 +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 AFD438FC08 for ; Mon, 22 Dec 2008 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBMB70Z7060750 for ; Mon, 22 Dec 2008 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBMB70vY060746 for freebsd-usb@FreeBSD.org; Mon, 22 Dec 2008 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Dec 2008 11:07:00 GMT Message-Id: <200812221107.mBMB70vY060746@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, 22 Dec 2008 11:07:01 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/129766 usb usb modem HUAWEI E226 o usb/129758 usb [usb] [patch] add Pyramid LCD usb support o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan o usb/129522 usb [patch][ubsa] add support for ZTE AC8700 modem o usb/129500 usb FreeBSD Crashes wenn connecting SanDisk Sensa e280 o usb/129311 usb Instant crash with an USB card reader o usb/129251 usb [patch] Liebert UPS being assigned uhid and not ugen o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a o usb/129129 usb panic with device Meizu MiniPlayer M6 (SL) under usb2 o usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb uaudio is not full duplex o usb/128847 usb Detachment of mounted USB flash drive causes system fr o usb/128803 usb [patch] [quirk] Quirk for I-Tuner Networks USBLCD4X20 o usb/128485 usb Nokia N80 modem support o usb/128425 usb Cannot Connect Maxtor Onetouch 4 USB drive f usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/128324 usb [uplcom] remove baud rate restriction for PL2303X chip p usb/128115 usb [uplcom] [patch] USB-RS232 circuets on chip PL2303HX n o usb/127980 usb [QUIRK] Fix Samsung YP U2 MP3 player on 7.x and 8.x o usb/127926 usb [boot] USB Timeout during bootup o usb/127549 usb [umass] [patch] Meizu MiniPlayer M6 (SL) requires some f usb/127516 usb after csup src-all RELENG_7 s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should o usb/127423 usb [boot] BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempr o usb/127342 usb [boot] cannot enable usb keyboard and mouse support in o kern/127222 usb [ohci]: Regression in 7.0 usb storage generic driver o usb/126884 usb [patch] Bug in buffer handling in ugen.c f kern/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if o usb/125631 usb [usb][ums] kernel panic during bootup while 'Logitech o usb/125510 usb repeated plug and unplug of USB mass storage devices l o usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125264 usb [patch] sysctl for set usb mouse rate (very useful for o usb/125238 usb Habu Mouse turns off in X o usb/125088 usb Touchpad not detected on Adesso AKB-430UG USB kbd/pad o usb/125072 usb [uplcom] [patch] add Mobile Action MA-620 Infrared Ada o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o usb/124604 usb Wireless Mouse doesn't work o usb/123969 usb Supermicro H8SMi-2 usb problem o usb/123714 usb Panic when hald-storage-probe runs with umass device i o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb Panic on USB device insertion when usb loaded as a mod o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone o usb/123352 usb Add Option GTMAX3.6/7.2 and Quallcomm MMC module devic o usb/123351 usb Add Reiner SCT cyberJack, Omnikey [26]020, Fujitsu Sie p usb/123211 usb [udav] if_udav driver doesn't support Davicom 9601 USB p usb/123148 usb [uscanner] [patch] Epson DX8400/50 needs uscanner to s o usb/122992 usb MotoROKR Z6 Phone not recognised by umass as USB disk. o usb/122956 usb Support for Novatel Wireless XU870 3G Card o usb/122936 usb [ucom][ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122819 usb Patch to provide dynamic additions to the usb quirks t o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122621 usb [patch] [request] New driver for Sierra Wireless 3G US p usb/122610 usb Add Verizon v740 support to ubsa(4) o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/122025 usb [patch] uscanner does not attach to Epson RX620 printe o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C o usb/121275 usb [boot] FreeBSD fails to boot with usb legacy support e o usb/121232 usb USB CardBus card removal causes reboot sometimes o usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS o usb/120786 usb Kernel panic when forced umount of a dettached USB Har o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/120017 usb [ehci] [patch] CS5536 (AMD Geode) USB 2.0 quirk o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119509 usb USB flaky on Dell Optiplex 755 o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/119150 usb [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices o usb/118686 usb [usbdevs] [patch] teach usbdevs / ubsa(4) about Huawei o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni o usb/117546 usb [uftdi] [patch] Add MaxStream ZigBee product ID to uft o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117205 usb [uscanner] [patch] uscanner support for HP ScanJet 447 o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117185 usb [umodem] [patch] Add support for UNION interface descr o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/117075 usb [scsi_da] [patch] quirk: USB Samsung YP-U3 MP3 o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th o usb/116699 usb [usbhid] USB HID devices do not initialize at system b o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o usb/114068 usb [umass] [patch] Problems with connection of the umass o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff s usb/113977 usb [request] Need a way to set mode of USB disk's write c o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971 s usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6 o usb/113432 usb [ucom] WARNING: attempt to net_add_domain(netgraph) af a usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4 o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID s usb/110991 usb [usbdevs] [patch] QUIRK: Super Top IDE DEVICE (depends o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC o usb/109397 usb [panic] on boot from USB flash o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE [regr s usb/108344 usb [panic] kernel with atausb panics when unplugging USB o usb/108056 usb [ohci] Mouse gets powered off during device probe when o usb/107935 usb [uplcom] [panic] panic while accessing /dev/cuaU0 o usb/107924 usb [patch] usbd(8) does not call detach o usb/107848 usb [umass] [request] cannot access Samsung flash disk o usb/107827 usb [ohci] [panic] ohci_add_done addr not found o usb/107496 usb [uhub] USB device problem on RELENG_6_2 (SHORT_XFER) [ o usb/107446 usb [umass] umass problems (usb and fw disks) o usb/107388 usb [patch] [request] new driver: add utoppy device from N o usb/107248 usb [umass] [patch] scsi_da.c quirk for Cowon iAUDIO X5 MP o usb/107243 usb [cam] [patch] Apacer USB Flash Drive quirk o usb/106861 usb [usbdevs] [patch]: usbdevs update: Add product ACER Ze s usb/106832 usb USB HP printer is not detected by kernel when ACPI ena o usb/106648 usb [umass] [hang] USB Floppy on D1950 10 min Hang on Inse o usb/106621 usb [axe] [patch] DLINK DUB-E100 support broken o usb/106615 usb [uftdi] uftdi module does not automatically load with o usb/106041 usb [usb] [request] FreeBSD does not recognise Mustek Bear o usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/105186 usb [ehci] [panic] USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 c o usb/105065 usb [ata] SATA - USB Bridge o usb/104830 usb [umass] system crashes when copying data to umass devi o usb/104645 usb [umass] [request] Rave C-201 MP3 player does not commu o usb/104352 usb [ural] [patch] ural driver doesnt work o usb/104292 usb [umass] [hang] system lockup on forced umount of usb-s o usb/104290 usb [umass] [patch] quirk: TOSHIBA DVD-RAM drive (libretto o usb/103917 usb [uhub] USB driver reports "Addr 0 should never happen" o usb/103418 usb usbhidctl(1): [patch] [request] usbhidctl: add ability o usb/103289 usb [request] USB 2.0 problems on AMD LX-800 CPU and CS-55 o usb/103046 usb [ulpt] [patch] ulpt event driven I/O with select(2) an o usb/103025 usb [uhub] [panic] wrong detection of USB device for FreeB o usb/102976 usb [panic] Casio Exilim Digital Camera causes panic on in o usb/102678 usb [keyboard] Dell PowerEdge DRAC5 USB Keyboard does not o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/101761 usb [usb] [patch] [request] usb.h: increase maximal size o o usb/101752 usb [umass] [panic] 6.1-RELEASE kernel panic on usb device o usb/101448 usb [ohci] FBSD 6.1-STABLE/AMD64 crashes under heavy USB/O o usb/101096 usb [ural] [panic] USB WLAN occasionally causes kernel-pan o usb/100746 usb [keyboard] system does not boot due to USB keyboard pr o usb/99538 usb [keyboard] while using USB keyboard default params of o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91629 usb usbd_abort_pipe() may result in infinite loop o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/87224 usb Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe f usb/83677 usb [usb] [request] usb controller often not detected (Sun o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me o usb/80829 usb [modules] [panic] possible panic when loading USB-modu s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/79722 usb [ehci] wrong alignments in ehci.h a usb/79656 usb [ehci] RHSC interrupts lost o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, o usb/76732 usb Mouse problems with USB KVM Switch o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75797 usb [sound] 5.3-STABLE(2005 1/4) detect USB headset, But c o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o usb/74771 usb [umass] [hang] mounting write-protected umass device a s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/73307 usb [panic] Kernel panics on USB disconnect s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 298 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 14:49: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 84E4D1065673 for ; Mon, 22 Dec 2008 14:49:17 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (unknown [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id ED3B28FC1A for ; Mon, 22 Dec 2008 14:49:16 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id mBMEnEIi063573; Mon, 22 Dec 2008 15:49:14 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id mBMEnDO7063572; Mon, 22 Dec 2008 15:49:13 +0100 (CET) (envelope-from olli) Date: Mon, 22 Dec 2008 15:49:13 +0100 (CET) Message-Id: <200812221449.mBMEnDO7063572@lurza.secnetix.de> From: Oliver Fromme To: freebsd-usb@FreeBSD.ORG, hselasky@c2i.net In-Reply-To: <200812211644.20263.hselasky@c2i.net> X-Newsgroups: list.freebsd-usb User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Mon, 22 Dec 2008 15:49:14 +0100 (CET) Cc: Subject: Re: usb2 + scanner HP ScanJet 4300C 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, 22 Dec 2008 14:49:17 -0000 Hans Petter Selasky wrote: > > You need to copy libusb20 (installed by default) over libusb0.1xxx. The libusb > from sourceforge does not know how to talk with the new UGEN. YES! That did it. Thank you very much! # sane-find-scanner [...] found USB scanner (vendor=0x03f0, product=0x0305) at libusb:/dev/usb:/dev/ugen0.2 # scanimage -L device `niash:libusb:/dev/usb:/dev/ugen0.2' is a Hewlett-Packard ScanJet 4300C flatbed scanner # scanimage -v > foo.pnm scanimage: scanning image of size 1240x1712 pixels at 24 bits/pixel scanimage: acquiring RGB frame scanimage: min/max graylevel value = 51/255 scanimage: read 6368640 bytes in total # pnmfile foo.pnm foo.pnm: PPM raw, 1240 by 1712 maxval 255 However, it takes a _long_ time until the scanning starts (about one minute). Then the actual scnaning takes only a few seconds. The delay is independent from resolution, scanning mode and size. I'll need to investigate what's causing this. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." -- Doug Gwyn From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 18:05:03 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 5A8831065670 for ; Mon, 22 Dec 2008 18:05:03 +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 E96028FC0C for ; Mon, 22 Dec 2008 18:05:02 +0000 (UTC) (envelope-from gofdu-freebsd-usb@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LEoWd-0002EJ-1M for freebsd-usb@freebsd.org; Mon, 22 Dec 2008 17:25:03 +0000 Received: from 77.22.112.43 ([77.22.112.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Dec 2008 17:25:03 +0000 Received: from ino-news by 77.22.112.43 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Dec 2008 17:25:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-usb@freebsd.org From: clemens fischer Followup-To: gmane.os.freebsd.questions Date: Mon, 22 Dec 2008 18:21:28 +0100 Lines: 30 Message-ID: References: X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 77.22.112.43 X-Archive: encrypt=none User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/8.0-CURRENT (i386)) Sender: news Cc: freebsd-questions@freebsd.org Subject: Re: [solved] Re: usb-stick accessible, but doesn't boot 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, 22 Dec 2008 18:05:03 -0000 On Sun, 21 Dec 2008 14:47:54 +0100 clemens fischer wrote: [ re. a bootable CURRENT backup system on a USB stick] > I am very sorry for this inaccurate information. As it turns out, > only the GENERIC kernel is bootable, my custom configuration doesn't. > On the bright side, this indicates some feature missing from my > normally very lean kernels, nothing is kaputt beyond repair. I'll > just have to find out which module just has to be in the kernel to > make it boot from an USB stick. The "custom configuration" uses the new USB2 stack, whereas GENERIC still includes the older one. When replacing USB2 with the old stack, I can reliably boot the system from the stick. I have another backup on a MMC card in a $5 card reader, but that one boots with USB2. The USB stick which only runs on the old stack identifies as: ugen1.2: at usbus1 umass0: on usbus1 pass0: Removable Direct Access SCSI-0 device da0: Removable Direct Access SCSI-0 device umass0: SCSI over Bulk-Only; quirks = 0x0000 I don't know if any quirks would make this product work. To me it seems as if it has to do with bulk handling? -c From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 18:42: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 BE6CC1065675 for ; Mon, 22 Dec 2008 18:42:04 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe15.swipnet.se [212.247.155.193]) by mx1.freebsd.org (Postfix) with ESMTP id ED6608FC2E for ; Mon, 22 Dec 2008 18:42:03 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=xRNF5UixfvkA:10 a=J7eJdbkFtDMA:10 a=6I5d2MoRAAAA:8 a=zmbqK66cGwQApszikeUA:9 a=9wEoMHBacMjzFg6YWIUA:7 a=fNQkmNDoo6shxJDyOuvvUUanl0cA:4 a=SV7veod9ZcQA:10 a=50e4U0PicR4A:10 a=qNfsqeB5S6M8GqLfWEUA:9 a=sHe3vdHnRMbs7Sbp2UMA:7 a=F5YzBXDzJjiwOpYNm4yZFR7I9fIA:4 a=rPt6xJ-oxjAA:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.186]) by mailfe15.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 424645017; Mon, 22 Dec 2008 19:42:02 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Mon, 22 Dec 2008 19:44:14 +0100 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_BA+TJdRTB4mJOsd" Message-Id: <200812221944.17694.hselasky@c2i.net> X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: clemens fischer , freebsd-questions@freebsd.org Subject: Re: [solved] Re: usb-stick accessible, but doesn't boot 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, 22 Dec 2008 18:42:04 -0000 --Boundary-00=_BA+TJdRTB4mJOsd Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Try the attached patch to "sys/kern/vfs_mount.c" Thanks for reporting. I have been aware about this issue for some time now, but the patch has not been committed to current yet. I have FreeSBIE reliably up and running with USB2. --HPS On Monday 22 December 2008, clemens fischer wrote: > On Sun, 21 Dec 2008 14:47:54 +0100 clemens fischer wrote: > > [ re. a bootable CURRENT backup system on a USB stick] > > > I am very sorry for this inaccurate information. As it turns out, > > only the GENERIC kernel is bootable, my custom configuration doesn't. > > On the bright side, this indicates some feature missing from my > > normally very lean kernels, nothing is kaputt beyond repair. I'll > > just have to find out which module just has to be in the kernel to > > make it boot from an USB stick. > > The "custom configuration" uses the new USB2 stack, whereas GENERIC > still includes the older one. When replacing USB2 with the old stack, > I can reliably boot the system from the stick. > > I have another backup on a MMC card in a $5 card reader, but that one > boots with USB2. > > The USB stick which only runs on the old stack identifies as: > > ugen1.2: at usbus1 > umass0: on > usbus1 pass0: Removable Direct Access SCSI-0 > device da0: Removable Direct Access SCSI-0 > device umass0: SCSI over Bulk-Only; quirks = 0x0000 > > I don't know if any quirks would make this product work. To me it seems > as if it has to do with bulk handling? > > -c > > _______________________________________________ > 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" --Boundary-00=_BA+TJdRTB4mJOsd-- From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 21:42:54 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 21F341065677; Mon, 22 Dec 2008 21:42:54 +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 EBC688FC1A; Mon, 22 Dec 2008 21:42:53 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBMLgrAG048456; Mon, 22 Dec 2008 21:42:53 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBMLgrNY048452; Mon, 22 Dec 2008 21:42:53 GMT (envelope-from linimon) Date: Mon, 22 Dec 2008 21:42:53 GMT Message-Id: <200812222142.mBMLgrNY048452@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/129858: [usb] [patch] Need to add quirk to da_scsi.c to support StorCase SAN devices 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, 22 Dec 2008 21:42:54 -0000 Old Synopsis: Need to add quirk to da_scsi.c to support StorCase SAN devices New Synopsis: [usb] [patch] Need to add quirk to da_scsi.c to support StorCase SAN devices Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Mon Dec 22 21:42:14 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=129858 From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 06:41:30 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 9B6CF106564A for ; Tue, 23 Dec 2008 06:41:30 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.225]) by mx1.freebsd.org (Postfix) with ESMTP id 6A8CE8FC14 for ; Tue, 23 Dec 2008 06:41:30 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so3743773rvf.43 for ; Mon, 22 Dec 2008 22:41:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:to:cc:subject :message-id:mail-followup-to:mime-version:content-type :content-disposition:user-agent:organization:x-operation-sytem:from; bh=Pb89nmKWy62arWhsbmf3p6lgj90n6bO/fYLx1F4Y1sY=; b=a3/IedLIH6lQGn3Xs1XlMOOnKAKbrKwTRBt7cqhirL0jcXxQZiAp9Js5fIUzF1kXXA o4gNHIiG701eo0Cq4iYvaDAnHbTCoJ06ySk904K5JZyVLwfBet/Z1tccgdwbrmqgsxvT QCdSSnQcXDMXNEUgvcMRwN40d25Z0xcE39EHA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent:organization :x-operation-sytem:from; b=JEV8Ai6RaBbF+R+y0dEJL2iX0/6Ea6hQEucYCb8OHtB4IYV8TjGD5oQpaTTxdus0Dk he9dp0qB0Om2IKwjh0ppZC3Ml7dFAAEulYmtdFqMoBVhsSgt4aYmdW81+J/m+dkhaSs7 snUuS5PTjNHimh5qhitJhLsIOoxzkLMrQIC8E= Received: by 10.141.142.15 with SMTP id u15mr3596605rvn.16.1230012594195; Mon, 22 Dec 2008 22:09:54 -0800 (PST) Received: from freebsd.weongyo.org ([211.53.35.67]) by mx.google.com with ESMTPS id k2sm15457107rvb.6.2008.12.22.22.09.52 (version=SSLv3 cipher=RC4-MD5); Mon, 22 Dec 2008 22:09:53 -0800 (PST) Received: by freebsd.weongyo.org (sSMTP sendmail emulation); Tue, 23 Dec 2008 15:09:28 +0900 Date: Tue, 23 Dec 2008 15:09:28 +0900 To: freebsd-current@freebsd.org Message-ID: <20081223060928.GA19471@freebsd.weongyo.org> Mail-Followup-To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD From: Weongyo Jeong Cc: freebsd-usb@freebsd.org Subject: HEADSUP: NDIS USB support to be merged soon 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, 23 Dec 2008 06:41:30 -0000 Hello, Before several months ago I'd requested CFT about NDIS USB support. Now I'd like to merge the result into HEAD and want to hear opinions and problems from users because many problems have fixed now and I think it's stable to use. If no objections, I would like to merge it by the end of the week or the next week. For those of you wanting to test, please rebuild/reinstall ndiscvt(8) after applying the patch which can be found as follows: http://people.freebsd.org/~weongyo/patch_ndisusb_20081223.diff This work is based on USB1 framework so I'm also looking for a person to port this from USB1 to USB2. regards, Weongyo Jeong From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 09:11:18 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 C23BA10656DD; Tue, 23 Dec 2008 09:11:18 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 98BC68FC0C; Tue, 23 Dec 2008 09:11:18 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBN9BInm022981; Tue, 23 Dec 2008 09:11:18 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBN9BIH4022977; Tue, 23 Dec 2008 09:11:18 GMT (envelope-from remko) Date: Tue, 23 Dec 2008 09:11:18 GMT Message-Id: <200812230911.mBN9BIH4022977@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-usb@FreeBSD.org, remko@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: usb/129858: [usb] [patch] Need to add quirk to da_scsi.c to support StorCase SAN devices 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, 23 Dec 2008 09:11:18 -0000 Synopsis: [usb] [patch] Need to add quirk to da_scsi.c to support StorCase SAN devices Responsible-Changed-From-To: freebsd-usb->remko Responsible-Changed-By: remko Responsible-Changed-When: Tue Dec 23 09:11:18 UTC 2008 Responsible-Changed-Why: MFC reminder http://www.freebsd.org/cgi/query-pr.cgi?pr=129858 From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 12:15:36 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 67CC8106564A; Tue, 23 Dec 2008 12:15:36 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3EE1A8FC23; Tue, 23 Dec 2008 12:15:36 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBNCFaQE068495; Tue, 23 Dec 2008 12:15:36 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBNCFaS5068491; Tue, 23 Dec 2008 12:15:36 GMT (envelope-from remko) Date: Tue, 23 Dec 2008 12:15:36 GMT Message-Id: <200812231215.mBNCFaS5068491@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-usb@FreeBSD.org, remko@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: usb/119150: [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices 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, 23 Dec 2008 12:15:36 -0000 Synopsis: [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices Responsible-Changed-From-To: freebsd-usb->remko Responsible-Changed-By: remko Responsible-Changed-When: Tue Dec 23 12:15:35 UTC 2008 Responsible-Changed-Why: MFC reminder http://www.freebsd.org/cgi/query-pr.cgi?pr=119150 From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 12:44:34 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 D1B3D1065686; Tue, 23 Dec 2008 12:44:34 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A87FF8FC22; Tue, 23 Dec 2008 12:44:34 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBNCiYqQ092584; Tue, 23 Dec 2008 12:44:34 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBNCiYGf092580; Tue, 23 Dec 2008 12:44:34 GMT (envelope-from remko) Date: Tue, 23 Dec 2008 12:44:34 GMT Message-Id: <200812231244.mBNCiYGf092580@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-usb@FreeBSD.org, remko@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: usb/117546: [uftdi] [patch] Add MaxStream ZigBee product ID to uftdi/usbdevs 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, 23 Dec 2008 12:44:34 -0000 Synopsis: [uftdi] [patch] Add MaxStream ZigBee product ID to uftdi/usbdevs Responsible-Changed-From-To: freebsd-usb->remko Responsible-Changed-By: remko Responsible-Changed-When: Tue Dec 23 12:44:34 UTC 2008 Responsible-Changed-Why: MFC reminder http://www.freebsd.org/cgi/query-pr.cgi?pr=117546 From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 13:09:28 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 4E44E1065676; Tue, 23 Dec 2008 13:09:28 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 257B48FC16; Tue, 23 Dec 2008 13:09:28 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBND9SoM006840; Tue, 23 Dec 2008 13:09:28 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBND9SZ3006836; Tue, 23 Dec 2008 13:09:28 GMT (envelope-from remko) Date: Tue, 23 Dec 2008 13:09:28 GMT Message-Id: <200812231309.mBND9SZ3006836@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-usb@FreeBSD.org, remko@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: usb/117205: [uscanner] [patch] uscanner support for HP ScanJet 4470c 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, 23 Dec 2008 13:09:28 -0000 Synopsis: [uscanner] [patch] uscanner support for HP ScanJet 4470c Responsible-Changed-From-To: freebsd-usb->remko Responsible-Changed-By: remko Responsible-Changed-When: Tue Dec 23 13:09:27 UTC 2008 Responsible-Changed-Why: MFC reminder http://www.freebsd.org/cgi/query-pr.cgi?pr=117205 From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 15:31:08 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 872551065673 for ; Tue, 23 Dec 2008 15:31:08 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 776BE8FC1F for ; Tue, 23 Dec 2008 15:31:08 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 650041A3C4E; Tue, 23 Dec 2008 07:31:08 -0800 (PST) Date: Tue, 23 Dec 2008 07:31:08 -0800 From: Alfred Perlstein To: freebsd-usb@freebsd.org Message-ID: <20081223153108.GQ18389@elvis.mu.org> References: <20081223060928.GA19471@freebsd.weongyo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081223060928.GA19471@freebsd.weongyo.org> User-Agent: Mutt/1.4.2.3i Cc: Weongyo Jeong Subject: Re: HEADSUP: NDIS USB support to be merged soon 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, 23 Dec 2008 15:31:08 -0000 [[ Moved to -usb. ]] Hans, can you look at this for the usb4bsd switchover, it doesn't look that challenging to port. thank you, -Alfred * Weongyo Jeong [081222 22:41] wrote: > Hello, > > Before several months ago I'd requested CFT about NDIS USB support. Now > I'd like to merge the result into HEAD and want to hear opinions and > problems from users because many problems have fixed now and I think > it's stable to use. > > If no objections, I would like to merge it by the end of the week or the > next week. > > For those of you wanting to test, please rebuild/reinstall ndiscvt(8) > after applying the patch which can be found as follows: > > http://people.freebsd.org/~weongyo/patch_ndisusb_20081223.diff > > This work is based on USB1 framework so I'm also looking for a person to > port this from USB1 to USB2. > > regards, > Weongyo Jeong > > _______________________________________________ > 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" -- - Alfred Perlstein From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 16:15:47 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 0A27D1065674; Tue, 23 Dec 2008 16:15:47 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.swip.net [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id 2DE248FC08; Tue, 23 Dec 2008 16:15:46 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=eVK2v5H5Vj8A:10 a=E5uGSs3wWd4A:10 a=O1PUjwgOPfyba68yAwMA:9 a=VqXBuUQK0nPiJBQcZsmQu5vbF-gA:4 a=LY0hPdMaydYA:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.186]) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 427773670; Tue, 23 Dec 2008 17:15:44 +0100 From: Hans Petter Selasky To: Alfred Perlstein Date: Tue, 23 Dec 2008 17:18:00 +0100 User-Agent: KMail/1.9.7 References: <20081223060928.GA19471@freebsd.weongyo.org> <20081223153108.GQ18389@elvis.mu.org> In-Reply-To: <20081223153108.GQ18389@elvis.mu.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812231718.01897.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org, Weongyo Jeong Subject: Re: HEADSUP: NDIS USB support to be merged soon 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, 23 Dec 2008 16:15:47 -0000 On Tuesday 23 December 2008, Alfred Perlstein wrote: > [[ Moved to -usb. ]] > > Hans, can you look at this for the usb4bsd switchover, it doesn't > look that challenging to port. > > thank you, > -Alfred I will have a look at it. Meanwhile, can Weongyo have a look at the following file: /usr/src/sys/dev/usb2/core/usb2_compat_linux.c I suppose we have to do NDIS in a similar way. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 17:59:13 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 5143B1065673 for ; Tue, 23 Dec 2008 17:59:13 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id E6C9F8FC21 for ; Tue, 23 Dec 2008 17:59:12 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 09E921CFED; Tue, 23 Dec 2008 18:59:12 +0100 (CET) Date: Tue, 23 Dec 2008 18:59:11 +0100 From: Ed Schouten To: freebsd-usb@FreeBSD.org Message-ID: <20081223175911.GZ1176@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vD4R8EutdGn5UgVK" Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: Giant on serial devices in USB2? 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, 23 Dec 2008 17:59:13 -0000 --vD4R8EutdGn5UgVK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello HPS, others, I was just running a grep on the USB2 code and saw the following: $ grep -r Giant sys/dev/usb2/serial | wc -l 70 WHat's the exact reason USB2 still uses Giant on TTY related drivers? Couldn't it just use the per-TTY mutex? If not, maybe it should create a custom system-wide mutex, instead of using Giant? Yours, --=20 Ed Schouten WWW: http://80386.nl/ --vD4R8EutdGn5UgVK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAklRJu8ACgkQ52SDGA2eCwWBQgCbBccazYyrrHNM1eRj2CJF8ZjF 6dMAn2XZK7zgDYR+9vRw/XU3ycMdbxmZ =JLWf -----END PGP SIGNATURE----- --vD4R8EutdGn5UgVK-- From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 18:14:07 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 2F7201065670 for ; Tue, 23 Dec 2008 18:14:07 +0000 (UTC) (envelope-from rink@rink.nu) Received: from mx1.rink.nu (gloom.rink.nu [213.34.49.2]) by mx1.freebsd.org (Postfix) with ESMTP id E5B858FC23 for ; Tue, 23 Dec 2008 18:14:06 +0000 (UTC) (envelope-from rink@rink.nu) Received: from localhost (localhost [127.0.0.1]) by mx1.rink.nu (Postfix) with ESMTP id B480E6D43E; Tue, 23 Dec 2008 19:04:22 +0100 (CET) X-Virus-Scanned: amavisd-new at rink.nu Received: from mx1.rink.nu ([213.34.49.2]) by localhost (gloom.rink.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KJSsR0ECKrjv; Tue, 23 Dec 2008 19:04:16 +0100 (CET) Received: by mx1.rink.nu (Postfix, from userid 1000) id 1826A6D43D; Tue, 23 Dec 2008 19:04:16 +0100 (CET) Date: Tue, 23 Dec 2008 19:04:16 +0100 From: Rink Springer To: Ed Schouten Message-ID: <20081223180416.GB77652@rink.nu> References: <20081223175911.GZ1176@hoeg.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081223175911.GZ1176@hoeg.nl> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-usb@FreeBSD.org Subject: Re: Giant on serial devices in USB2? 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, 23 Dec 2008 18:14:07 -0000 On Tue, Dec 23, 2008 at 06:59:11PM +0100, Ed Schouten wrote: > WHat's the exact reason USB2 still uses Giant on TTY related drivers? > Couldn't it just use the per-TTY mutex? If not, maybe it should create a > custom system-wide mutex, instead of using Giant? I think this is mostly leftover crud from the pre-TTY-MP safe days. As long as it uses the proper TTY interfaces, nothing should stop it from ditching Giant. -- Rink P.W. Springer - http://rink.nu "Chance favours the prepared mind" - Penn From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 18:54:05 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 3183C106564A for ; Tue, 23 Dec 2008 18:54:05 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id 8C3E88FC16 for ; Tue, 23 Dec 2008 18:54:04 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=m86I7jce6WwA:10 a=a1g4dPWtdNwA:10 a=bqnCRps3V4fgoMafKTwA:9 a=faqDUvbMAv8I98SmPS_lhSsk2UYA:4 a=LY0hPdMaydYA:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.186]) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1068237332; Tue, 23 Dec 2008 19:54:02 +0100 From: Hans Petter Selasky To: Ed Schouten Date: Tue, 23 Dec 2008 19:56:21 +0100 User-Agent: KMail/1.9.7 References: <20081223175911.GZ1176@hoeg.nl> In-Reply-To: <20081223175911.GZ1176@hoeg.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812231956.21666.hselasky@c2i.net> Cc: Andrew Thompson , freebsd-usb@freebsd.org Subject: Re: Giant on serial devices in USB2? 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, 23 Dec 2008 18:54:05 -0000 On Tuesday 23 December 2008, Ed Schouten wrote: > Hello HPS, others, > > I was just running a grep on the USB2 code and saw the following: > > $ grep -r Giant sys/dev/usb2/serial | wc -l > 70 > > WHat's the exact reason USB2 still uses Giant on TTY related drivers? > Couldn't it just use the per-TTY mutex? If not, maybe it should create a > custom system-wide mutex, instead of using Giant? > > Yours, Hi, I don't have all those USB devices at hand, so I simply cannot test if the driver still works without Giant. BTW: It should be trivial to remove Giant from the drivers. I think Andrew Thompson has already done some drivers Giant-free. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 20:10: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 CC5FB1065673 for ; Tue, 23 Dec 2008 20:10: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 B8F6C8FC1E for ; Tue, 23 Dec 2008 20:10: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.3/8.14.3) with ESMTP id mBNKA4qZ021008 for ; Tue, 23 Dec 2008 20:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBNKA4kn021007; Tue, 23 Dec 2008 20:10:04 GMT (envelope-from gnats) Date: Tue, 23 Dec 2008 20:10:04 GMT Message-Id: <200812232010.mBNKA4kn021007@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Alexander Best Cc: Subject: Re: usb/129129: panic with device Meizu MiniPlayer M6 (SL) under usb2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Best List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2008 20:10:04 -0000 The following reply was made to PR usb/129129; it has been noted by GNATS. From: Alexander Best To: Cc: Subject: Re: usb/129129: panic with device Meizu MiniPlayer M6 (SL) under usb2 Date: Tue, 23 Dec 2008 21:07:07 +0100 (CET) --+permail-20081223200707f7e55a9d00007dba-a_best01+signed+ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit this issue got fixed. i'm currently running FreeBSD moshnroll 8.0-CURRENT FreeBSD 8.0-CURRENT #3 r186374M: Sun Dec 21 20:10:18 CET 2008 the panic no longer occurs. cheers. --+permail-20081223200707f7e55a9d00007dba-a_best01+signed+ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iQDVAwUASVFE6yo8gGMXfm+ZAQLAAAX/fbfDxKOUT+RyJbbNw/1fEaiU0X/Z/46i Aj0lGJSC3qXEden1g7h9k3/iYJDMAh/M7MVkKsDNd7RNYD8Go8HbyrAmncIkpaO1 Ogg4oXkHJtUnrvayHQSZA/Z5VyIIm+OETvL8k81jzFKwuQj1jRi5B82Fdo/LFCwz mtFogbcLS8sgPFgcijiNG5ZmMPViXe5zUU+KCIaAgUYDZ/y+1xUHFrzo8mJZ5HkA MmcUn9mr7mxdoMGJ/4iaUJRk5XdAJwVJ =71sl -----END PGP SIGNATURE----- --+permail-20081223200707f7e55a9d00007dba-a_best01+signed+-- From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 20:29: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 EF6C91065679 for ; Tue, 23 Dec 2008 20:29:41 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id B439F8FC26 for ; Tue, 23 Dec 2008 20:29:41 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id E2536FEF7; Wed, 24 Dec 2008 08:56:02 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wdxicd-ngpFn; Wed, 24 Dec 2008 08:55:59 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Wed, 24 Dec 2008 08:55:59 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 0C80011430; Wed, 24 Dec 2008 08:55:59 +1300 (NZDT) Date: Tue, 23 Dec 2008 11:55:58 -0800 From: Andrew Thompson To: Hans Petter Selasky Message-ID: <20081223195558.GL89448@citylink.fud.org.nz> References: <20081223175911.GZ1176@hoeg.nl> <200812231956.21666.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200812231956.21666.hselasky@c2i.net> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Ed Schouten , freebsd-usb@freebsd.org Subject: Re: Giant on serial devices in USB2? 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, 23 Dec 2008 20:29:42 -0000 On Tue, Dec 23, 2008 at 07:56:21PM +0100, Hans Petter Selasky wrote: > On Tuesday 23 December 2008, Ed Schouten wrote: > > Hello HPS, others, > > > > I was just running a grep on the USB2 code and saw the following: > > > > $ grep -r Giant sys/dev/usb2/serial | wc -l > > 70 > > > > WHat's the exact reason USB2 still uses Giant on TTY related drivers? > > Couldn't it just use the per-TTY mutex? If not, maybe it should create a > > custom system-wide mutex, instead of using Giant? > > > > Yours, > > Hi, > > I don't have all those USB devices at hand, so I simply cannot test if the > driver still works without Giant. > > BTW: It should be trivial to remove Giant from the drivers. I think Andrew > Thompson has already done some drivers Giant-free. Its just a mechanical change, it works fine for the couple of driver I have converted. Andrew From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 20:32:21 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 2274F106564A; Tue, 23 Dec 2008 20:32:21 +0000 (UTC) (envelope-from ino-news@kabelmail.de) Received: from smtpa1.mediabeam.com (smtpa1.mediabeam.com [194.25.41.13]) by mx1.freebsd.org (Postfix) with ESMTP id 807C18FC1A; Tue, 23 Dec 2008 20:32:19 +0000 (UTC) (envelope-from ino-news@kabelmail.de) Received: from r300-1 ([194.25.41.40]) by smtpa1.mediabeam.com (8.13.1/8.13.1) with ESMTP id mBNKXgMO028223; Tue, 23 Dec 2008 21:33:42 +0100 Received: from r300-1 ([194.25.41.40]) by smtpa1.mediabeam.com (8.13.1/8.13.1) with ESMTP id mBNKInbJ007346; Tue, 23 Dec 2008 21:18:50 +0100 Received: from r300-4 ([194.25.41.40]) by smtpa1.mediabeam.com (8.13.1/8.13.1) with ESMTP id mBNKE6O3006374; Tue, 23 Dec 2008 21:14:06 +0100 Received: from r300-1 ([194.25.41.40]) by smtpa1.mediabeam.com (8.13.1/8.13.1) with ESMTP id mBNKAX9I023178; Tue, 23 Dec 2008 21:10:33 +0100 Received: from spotteswoode.dnsalias.org ([77.22.112.43]) (authenticated bits=0) by smtpa.mediabeam.com (8.13.1/8.13.1) with ESMTP id mBNKBM6R009183; Tue, 23 Dec 2008 21:11:22 +0100 Received: from spotteswoode.de.eu.org (localhost [127.0.0.1]) by spotteswoode.dnsalias.org (Postfix) with ESMTP id 76AD176DBF; Tue, 23 Dec 2008 21:10:23 +0100 (CET) Date: Tue, 23 Dec 2008 21:10:23 +0100 From: clemens fischer To: Hans Petter Selasky Message-ID: <20081223201023.GB3469@spotteswoode.de.eu.org> References: <200812221944.17694.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200812221944.17694.hselasky@c2i.net> X-PGP-ID: 0x214190AF X-Archive: encrypt=none User-Agent: Mutt/1.5.18 (2008-05-17) X-mediaBEAM-MailScanner-Information: Spam-/VirusProtection V1.1 X-mediaBEAM-VirusProtection: clean Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [solved] Re: usb-stick accessible, but doesn't boot 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, 23 Dec 2008 20:32:21 -0000 > Hans Petter Selasky: > Try the attached patch to "sys/kern/vfs_mount.c" > > Thanks for reporting. I have been aware about this issue for some time > now, but the patch has not been committed to current yet. Sorry, currently I get build errors, possibly unrelated: ===> zyd (depend) @ -> /usr/src-main/sys machine -> /usr/src-main/sys/i386/include ln -sf /usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386/opt_usb.h opt_usb.h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386 /usr/src-main/sys/modules/zyd/../../dev/usb/if_zyd.c 1 error *** Error code 2 1 error *** Error code 2 1 error I'll svn the repo (to HEAD of CURRENT) and try again. regards, clemens From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 21:33:09 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 899441065673 for ; Tue, 23 Dec 2008 21:33:09 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-out1.uni-muenster.de (ZIVM-OUT1.UNI-MUENSTER.DE [128.176.192.8]) by mx1.freebsd.org (Postfix) with ESMTP id 1CDD58FC14 for ; Tue, 23 Dec 2008 21:33:08 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) X-IronPort-AV: E=Sophos;i="4.36,273,1228086000"; d="scan'208";a="265746614" Received: from zivmaildisp1.uni-muenster.de (HELO ZIVMAILUSER01.UNI-MUENSTER.DE) ([128.176.188.85]) by zivm-relay1.uni-muenster.de with ESMTP; 23 Dec 2008 22:32:53 +0100 Received: by ZIVMAILUSER01.UNI-MUENSTER.DE (Postfix, from userid 149459) id 588021B0756; Tue, 23 Dec 2008 22:32:53 +0100 (CET) Date: Tue, 23 Dec 2008 22:32:53 +0100 (CET) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: usb2 quirks 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, 23 Dec 2008 21:33:09 -0000 hi there, could somebody tell me where i can find info about the quirk settings used in usbconfig (usb2) please? i had a look at usbconfig(8), but the manual doesn't contain any information concerning usb quirks. cheers. From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 21:55:14 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 4B03B1065670 for ; Tue, 23 Dec 2008 21:55:14 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe13.swip.net [212.247.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id D50D18FC14 for ; Tue, 23 Dec 2008 21:55:13 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=G9k61-eflrYgAZkuJ2sA:9 a=qvIrIOVRFP3vr2NbdoQA:7 a=iR5KNIw9ZZQ1fynmE4bP1426prgA:4 a=LY0hPdMaydYA:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.186]) by mailfe13.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 781047734; Tue, 23 Dec 2008 22:40:12 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 23 Dec 2008 22:42:29 +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: <200812232242.30638.hselasky@c2i.net> Cc: Alexander Best Subject: Re: usb2 quirks 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, 23 Dec 2008 21:55:14 -0000 On Tuesday 23 December 2008, Alexander Best wrote: > hi there, > > could somebody tell me where i can find info about the quirk settings used > in usbconfig (usb2) please? i had a look at usbconfig(8), but the manual > doesn't contain any information concerning usb quirks. > Hi, If you type: usbconfig -h You see that you have the following quirk commands available: add_dev_quirk_vplh remove_dev_quirk_vplh dump_quirk_names dump_device_quirks Before you can use quirks you need to: kldload usb2_quirk --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Dec 24 01:45:33 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 DE2391065670 for ; Wed, 24 Dec 2008 01:45:33 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 653198FC17 for ; Wed, 24 Dec 2008 01:45:33 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by bwz12 with SMTP id 12so8044985bwz.19 for ; Tue, 23 Dec 2008 17:45:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=KsxDJBxvWC3+xNDEzYL9pl4WGGJVGshp3vhsgeV2iN0=; b=xOz9S6/DotkoCM/SAhb93aPu4+jqiJ/IFmwe/4wqRgNHtBWb156yUFBXukxV0H6ZxU ulT0+ZbWu74XChZmRCfoEZL3aRXfQzWqxPKmzIzseG28/6kXHhQY3wmEZ9qWQaXs59rq pBXx2hJgy7h/prh6aaqPg+bc+/FFb6IDKrmfg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=EX2/oF2oxW+o8GHFwy5PGvhEHjwyw6gd0vCIItLfHGsP1DBn+SkLzhvw9edF2CrY3Y aaxXb5HqLKrbh1o9LvBu72NfgEIxCwsl5trQd0nyui1w0IkwpvacH/Ens9HpJyHN4zXN sF/WOeLJ2hDIyvq9+MiHvgbGWyd0ERe/bPeV8= Received: by 10.181.146.14 with SMTP id y14mr2954415bkn.16.1230083132123; Tue, 23 Dec 2008 17:45:32 -0800 (PST) Received: by 10.181.22.6 with HTTP; Tue, 23 Dec 2008 17:45:32 -0800 (PST) Message-ID: <6eb82e0812231745y1d2c4663l799cebeb671d7899@mail.gmail.com> Date: Wed, 24 Dec 2008 09:45:32 +0800 From: "Rong-en Fan" To: "Hans Petter Selasky" In-Reply-To: <200812232242.30638.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200812232242.30638.hselasky@c2i.net> Cc: Alexander Best , freebsd-usb@freebsd.org Subject: Re: usb2 quirks 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, 24 Dec 2008 01:45:33 -0000 On Wed, Dec 24, 2008 at 5:42 AM, Hans Petter Selasky wrote: > On Tuesday 23 December 2008, Alexander Best wrote: >> hi there, >> >> could somebody tell me where i can find info about the quirk settings used >> in usbconfig (usb2) please? i had a look at usbconfig(8), but the manual >> doesn't contain any information concerning usb quirks. >> > > Hi, > > If you type: > > usbconfig -h > > You see that you have the following quirk commands available: > > add_dev_quirk_vplh > remove_dev_quirk_vplh > dump_quirk_names > dump_device_quirks > > Before you can use quirks you need to: > > kldload usb2_quirk It would nice if this can be configured at boot time. Thanks, Rong-En Fan From owner-freebsd-usb@FreeBSD.ORG Wed Dec 24 13:39:47 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 F2A9D106564A for ; Wed, 24 Dec 2008 13:39:47 +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 C295D8FC16 for ; Wed, 24 Dec 2008 13:39:46 +0000 (UTC) (envelope-from gofdu-freebsd-usb@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LFTxb-0005FK-JY for freebsd-usb@freebsd.org; Wed, 24 Dec 2008 13:39:43 +0000 Received: from 77.22.112.43 ([77.22.112.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Dec 2008 13:39:39 +0000 Received: from ino-news by 77.22.112.43 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Dec 2008 13:39:39 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-usb@freebsd.org From: clemens fischer Followup-To: gmane.os.freebsd.questions Date: Wed, 24 Dec 2008 14:39:10 +0100 Lines: 65 Message-ID: References: <200812221944.17694.hselasky@c2i.net> <20081223201023.GB3469@spotteswoode.de.eu.org> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 77.22.112.43 X-Archive: encrypt=none User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/8.0-CURRENT (i386)) Sender: news Cc: freebsd-questions@freebsd.org Subject: Re: [solved] Re: usb-stick accessible, but doesn't boot 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, 24 Dec 2008 13:39:48 -0000 On Tue, 23 Dec 2008 21:10:23 +0100 clemens fischer wrote: >> Hans Petter Selasky: > >> Try the attached patch to "sys/kern/vfs_mount.c" >> >> Thanks for reporting. I have been aware about this issue for some time >> now, but the patch has not been committed to current yet. > > Sorry, currently I get build errors, possibly unrelated: > > ===> zyd (depend) > @ -> /usr/src-main/sys > machine -> /usr/src-main/sys/i386/include > ln -sf /usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386/opt_usb.h opt_usb.h > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h > awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h > rm -f .depend > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386 /usr/src-main/sys/modules/zyd/../../dev/usb/if_zyd.c > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > > I'll svn the repo (to HEAD of CURRENT) and try again. In the meantime the repo is updated to r186477. An old-school USB kernel compiles, but USB2 does not: ===> zyd (depend) @ -> /usr/src-main/sys machine -> /usr/src-main/sys/i386/include ln -sf /usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386/opt_usb.h opt_usb.h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386 /usr/src-main/sys/modules/zyd/../../dev/usb/if_zyd.c machine -> /usr/src-main/sys/i386/include awk -f /usr/src-main/sys/tools/vnode_if.awk /usr/src-main/sys/kern/vnode_if.src -c ... /usr/bin/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O2 -pipe -fno-strict-aliasing -march=athlon-mp -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src-main/sys -I/usr/src-main/sys/contrib/altq -I/usr/src-main/sys/contrib/ipfilter -I/usr/src-main/sys/contrib/pf -I/usr/src-main/sys/dev/ath -I/usr/src-main/sys/dev/ath/ath_hal -I/usr/src-main/sys/contrib/ngatm -I/usr/src-main/sys/dev/twa -I/usr/src-main/sys/gnu/fs/xfs/FreeBSD -I/usr/src-main/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src-main/sys/gnu/fs/xfs -I/usr/src-main/sys/contrib/opensolaris/compat -I/usr/src-main/sys/dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stac k-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector /usr/src-main/sys/dev/usb/ucom.c:92:21: error: usbdevs.h: No such file or directory mkdep: compile failed *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error The manual page to zyd(4) indicates that it wants "device usb", so it may be an error in zyd, not USB2. A few questions question though: do I need to specify "nodevice usb" in an USB2 kernel config as well? In the comments, it says: "USB Bus (required)", and the compile error says: "error: usbdevs.h: No such file or directory". Next, I'll try to exclude the zyd module from building. The kernel doesn't contain it, anyway. -c From owner-freebsd-usb@FreeBSD.ORG Wed Dec 24 14:05: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 29E6A1065674; Wed, 24 Dec 2008 14:05:44 +0000 (UTC) (envelope-from ino-news@kabelmail.de) Received: from smtpa1.mediabeam.com (smtpa1.mediabeam.com [194.25.41.13]) by mx1.freebsd.org (Postfix) with ESMTP id 973528FC14; Wed, 24 Dec 2008 14:05:38 +0000 (UTC) (envelope-from ino-news@kabelmail.de) Received: from r300-1 ([194.25.41.40]) by smtpa1.mediabeam.com (8.13.1/8.13.1) with ESMTP id mBOE5bxG001609; Wed, 24 Dec 2008 15:05:37 +0100 Received: from spotteswoode.dnsalias.org ([77.22.112.43]) (authenticated bits=0) by smtpa.mediabeam.com (8.13.1/8.13.1) with ESMTP id mBOE5ebX014998; Wed, 24 Dec 2008 15:05:40 +0100 Received: from spotteswoode.de.eu.org (localhost [127.0.0.1]) by spotteswoode.dnsalias.org (Postfix) with ESMTP id 0ED3D7B7A8; Wed, 24 Dec 2008 15:05:33 +0100 (CET) Date: Wed, 24 Dec 2008 15:05:32 +0100 From: clemens fischer To: Hans Petter Selasky Message-ID: <20081224140532.GB2099@spotteswoode.de.eu.org> References: <200812221944.17694.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200812221944.17694.hselasky@c2i.net> X-PGP-ID: 0x214190AF X-Archive: encrypt=none User-Agent: Mutt/1.5.18 (2008-05-17) X-mediaBEAM-MailScanner-Information: Spam-/VirusProtection V1.1 X-mediaBEAM-VirusProtection: clean Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [solved] Re: usb-stick accessible, but doesn't boot 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, 24 Dec 2008 14:05:44 -0000 > Hans Petter Selasky: > Try the attached patch to "sys/kern/vfs_mount.c" > > Thanks for reporting. I have been aware about this issue for some time > now, but the patch has not been committed to current yet. > > I have FreeSBIE reliably up and running with USB2. Can you tell me what to do to the kernel configuration? Maybe I don't have to compile any USB functions into the kernel and can put them into loader.conf? I always get these dependency problems. regards, clemens From owner-freebsd-usb@FreeBSD.ORG Wed Dec 24 16:06: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 9C8B71065674 for ; Wed, 24 Dec 2008 16:06:04 +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 50F638FC18 for ; Wed, 24 Dec 2008 16:06:04 +0000 (UTC) (envelope-from gofdu-freebsd-usb@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LFWFB-0001YA-GD for freebsd-usb@freebsd.org; Wed, 24 Dec 2008 16:05:57 +0000 Received: from 77.22.112.43 ([77.22.112.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Dec 2008 16:05:57 +0000 Received: from ino-news by 77.22.112.43 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Dec 2008 16:05:57 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-usb@freebsd.org From: clemens fischer Followup-To: gmane.os.freebsd.questions Date: Wed, 24 Dec 2008 16:53:00 +0100 Lines: 26 Message-ID: References: <200812221944.17694.hselasky@c2i.net> <20081224140532.GB2099@spotteswoode.de.eu.org> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 77.22.112.43 X-Archive: encrypt=none User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/8.0-CURRENT (i386)) Sender: news Cc: freebsd-questions@freebsd.org Subject: Re: [solved] Re: usb-stick accessible, but doesn't boot 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, 24 Dec 2008 16:06:04 -0000 On Wed, 24 Dec 2008 15:05:32 +0100 clemens fischer wrote: >> Hans Petter Selasky: > >> Try the attached patch to "sys/kern/vfs_mount.c" >> >> Thanks for reporting. I have been aware about this issue for some time >> now, but the patch has not been committed to current yet. >> >> I have FreeSBIE reliably up and running with USB2. > > Can you tell me what to do to the kernel configuration? Maybe I don't > have to compile any USB functions into the kernel and can put them into > loader.conf? I always get these dependency problems. I think I've found my problem. The kernel configuration really needs the line marked "required", which builds support for the USB bus: "device usb". Except this line, every usb related item is a "nodevice" now. The USB2 modules needed are kldload'ed in boot/loader.conf from the USB-stick, and this really works. Hans Petter: although I am not sure if my USB-stick needs it, the kernel was built using your patch. So the least I can say about it: It doesn't hurt, and it might sure help with more restive devices. -c From owner-freebsd-usb@FreeBSD.ORG Thu Dec 25 03:44:45 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 B20F31065670; Thu, 25 Dec 2008 03:44:45 +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 86D808FC0C; Thu, 25 Dec 2008 03:44:45 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBP3ij4B039509; Thu, 25 Dec 2008 03:44:45 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBP3ij93039505; Thu, 25 Dec 2008 03:44:45 GMT (envelope-from linimon) Date: Thu, 25 Dec 2008 03:44:45 GMT Message-Id: <200812250344.mBP3ij93039505@freefall.freebsd.org> To: wwmpcdd@gmail.com, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org, linimon@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/128847: Detachment of mounted USB flash drive causes system freeze 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, 25 Dec 2008 03:44:45 -0000 Synopsis: Detachment of mounted USB flash drive causes system freeze State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Thu Dec 25 03:41:36 UTC 2008 State-Changed-Why: Well-known problem; see, for instance, http://people.freebsd.org/~linimon/studies/prs/well_known_prs.html. Responsible-Changed-From-To: freebsd-usb->linimon Responsible-Changed-By: linimon Responsible-Changed-When: Thu Dec 25 03:41:36 UTC 2008 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=128847 From owner-freebsd-usb@FreeBSD.ORG Thu Dec 25 03:45:31 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 321D11065675; Thu, 25 Dec 2008 03:45:31 +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 07A058FC0C; Thu, 25 Dec 2008 03:45:31 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBP3jUSx039559; Thu, 25 Dec 2008 03:45:30 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBP3jU0t039555; Thu, 25 Dec 2008 03:45:30 GMT (envelope-from linimon) Date: Thu, 25 Dec 2008 03:45:30 GMT Message-Id: <200812250345.mBP3jU0t039555@freefall.freebsd.org> To: freebsd.alex@spamfoodie.com, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/129129: panic with device Meizu MiniPlayer M6 (SL) under usb2 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, 25 Dec 2008 03:45:31 -0000 Synopsis: panic with device Meizu MiniPlayer M6 (SL) under usb2 State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Thu Dec 25 03:44:58 UTC 2008 State-Changed-Why: Apparently fixed in -current. http://www.freebsd.org/cgi/query-pr.cgi?pr=129129 From owner-freebsd-usb@FreeBSD.ORG Thu Dec 25 03:57:52 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 A2E751065678; Thu, 25 Dec 2008 03:57:52 +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 78B418FC0C; Thu, 25 Dec 2008 03:57:52 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBP3vqkJ047023; Thu, 25 Dec 2008 03:57:52 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBP3vptC047019; Thu, 25 Dec 2008 03:57:51 GMT (envelope-from linimon) Date: Thu, 25 Dec 2008 03:57:51 GMT Message-Id: <200812250357.mBP3vptC047019@freefall.freebsd.org> To: u2227@academ.org, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/127516: after csup src-all RELENG_7 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, 25 Dec 2008 03:57:52 -0000 Synopsis: after csup src-all RELENG_7 State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Thu Dec 25 03:57:19 UTC 2008 State-Changed-Why: Feedback timeout (2 months). http://www.freebsd.org/cgi/query-pr.cgi?pr=127516 From owner-freebsd-usb@FreeBSD.ORG Thu Dec 25 04:01:27 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 A35A91065670; Thu, 25 Dec 2008 04:01:27 +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 7867F8FC13; Thu, 25 Dec 2008 04:01:27 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBP41RZc054070; Thu, 25 Dec 2008 04:01:27 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBP41Rw1054066; Thu, 25 Dec 2008 04:01:27 GMT (envelope-from linimon) Date: Thu, 25 Dec 2008 04:01:27 GMT Message-Id: <200812250401.mBP41Rw1054066@freefall.freebsd.org> To: nick@anywi.com, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/128990: [usb] u3g does not handle RTS/CTS available on for example Sierra cards 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, 25 Dec 2008 04:01:27 -0000 Old Synopsis: [usb] u3g does not handle RTS/CTS available on for example Sierra carsds New Synopsis: [usb] u3g does not handle RTS/CTS available on for example Sierra cards State-Changed-From-To: open->suspended State-Changed-By: linimon State-Changed-When: Thu Dec 25 04:00:49 UTC 2008 State-Changed-Why: Mark suspended awaiting patches. http://www.freebsd.org/cgi/query-pr.cgi?pr=128990 From owner-freebsd-usb@FreeBSD.ORG Thu Dec 25 04:08:22 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 3178D1065674; Thu, 25 Dec 2008 04:08:22 +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 06E978FC14; Thu, 25 Dec 2008 04:08:22 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBP48Lms054323; Thu, 25 Dec 2008 04:08:21 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBP48LpZ054319; Thu, 25 Dec 2008 04:08:21 GMT (envelope-from linimon) Date: Thu, 25 Dec 2008 04:08:21 GMT Message-Id: <200812250408.mBP48LpZ054319@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-usb@FreeBSD.org, imp@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/123211: [udav] if_udav driver doesn't support Davicom 9601 USB ethernet adapter 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, 25 Dec 2008 04:08:22 -0000 Synopsis: [udav] if_udav driver doesn't support Davicom 9601 USB ethernet adapter Responsible-Changed-From-To: freebsd-usb->imp Responsible-Changed-By: linimon Responsible-Changed-When: Thu Dec 25 04:06:32 UTC 2008 Responsible-Changed-Why: Set as MFC reminder. http://www.freebsd.org/cgi/query-pr.cgi?pr=123211 From owner-freebsd-usb@FreeBSD.ORG Thu Dec 25 04:08:54 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 78606106564A; Thu, 25 Dec 2008 04:08:54 +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 4E3788FC19; Thu, 25 Dec 2008 04:08:54 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBP48sXV054369; Thu, 25 Dec 2008 04:08:54 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBP48sdV054365; Thu, 25 Dec 2008 04:08:54 GMT (envelope-from linimon) Date: Thu, 25 Dec 2008 04:08:54 GMT Message-Id: <200812250408.mBP48sdV054365@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-usb@FreeBSD.org, imp@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/123148: [uscanner] [patch] Epson DX8400/50 needs uscanner to scan. 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, 25 Dec 2008 04:08:54 -0000 Synopsis: [uscanner] [patch] Epson DX8400/50 needs uscanner to scan. Responsible-Changed-From-To: freebsd-usb->imp Responsible-Changed-By: linimon Responsible-Changed-When: Thu Dec 25 04:08:39 UTC 2008 Responsible-Changed-Why: Set as MFC reminder. http://www.freebsd.org/cgi/query-pr.cgi?pr=123148 From owner-freebsd-usb@FreeBSD.ORG Thu Dec 25 04:09:39 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 3370F1065670; Thu, 25 Dec 2008 04:09:39 +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 08F3D8FC0C; Thu, 25 Dec 2008 04:09:39 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBP49cD1054420; Thu, 25 Dec 2008 04:09:38 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBP49cwJ054416; Thu, 25 Dec 2008 04:09:38 GMT (envelope-from linimon) Date: Thu, 25 Dec 2008 04:09:38 GMT Message-Id: <200812250409.mBP49cwJ054416@freefall.freebsd.org> To: randi@freebsdgirl.com, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org, flz@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/122610: Add Verizon v740 support to ubsa(4) 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, 25 Dec 2008 04:09:39 -0000 Synopsis: Add Verizon v740 support to ubsa(4) State-Changed-From-To: patched->closed State-Changed-By: linimon State-Changed-When: Thu Dec 25 04:09:06 UTC 2008 State-Changed-Why: Already merged to -7. Responsible-Changed-From-To: freebsd-usb->flz Responsible-Changed-By: linimon Responsible-Changed-When: Thu Dec 25 04:09:06 UTC 2008 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=122610 From owner-freebsd-usb@FreeBSD.ORG Thu Dec 25 04:12:05 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 36156106564A; Thu, 25 Dec 2008 04:12:05 +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 0BA6A8FC17; Thu, 25 Dec 2008 04:12:05 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBP4C4ju061332; Thu, 25 Dec 2008 04:12:04 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBP4C4ts061328; Thu, 25 Dec 2008 04:12:04 GMT (envelope-from linimon) Date: Thu, 25 Dec 2008 04:12:04 GMT Message-Id: <200812250412.mBP4C4ts061328@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-usb@FreeBSD.org, stas@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/128115: [uplcom] [patch] USB-RS232 circuets on chip PL2303HX no correct detemine uplcom as PL2303 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, 25 Dec 2008 04:12:05 -0000 Synopsis: [uplcom] [patch] USB-RS232 circuets on chip PL2303HX no correct detemine uplcom as PL2303 Responsible-Changed-From-To: freebsd-usb->stas Responsible-Changed-By: linimon Responsible-Changed-When: Thu Dec 25 04:10:07 UTC 2008 Responsible-Changed-Why: Set as remdiner for MFC to -6. (Please close if this is not intended.) http://www.freebsd.org/cgi/query-pr.cgi?pr=128115 From owner-freebsd-usb@FreeBSD.ORG Thu Dec 25 04:13:35 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D87AD106567A; Thu, 25 Dec 2008 04:13:35 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by mx1.freebsd.org (Postfix) with ESMTP id 9C5CE8FC19; Thu, 25 Dec 2008 04:13:35 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so4600485rvf.43 for ; Wed, 24 Dec 2008 20:13:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent:organization:x-operation-sytem:from; bh=guP5mfCu8BoO+5t8WO1AdCwcEyObZwhe0KUhVvakUco=; b=McJzNZ8XqFSKyRmeGsvihG1iN6Jy0aAXbIM7+UXqUJRuP6hKAC2qkC1XIlU0n+dSI8 omySfROylfDLaD3ppM6ivsttyp1rTJxEKFWBYJosi5ucM150zY51dzMHdLKvBwGZbV9W f7Lopk6Blb7qaFx7nBJDEkF8GbMACdn50KGZ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent:organization :x-operation-sytem:from; b=oCMkoDscJL4w2D66Q3DwE9B5/EAFeQDT0+a05/YiytQNWWBej6BPm9Aui6qhat7jBZ /T5+vZ5cvnC4B/lm3HPCvdWI7gXspfBlhF62FkJL+DThiRRRWxSMZsrRAdHPqwBSBp2O VjtZuzVvJ7LVSD4Pg1WwQUTHjRQVAoR57DVcc= Received: by 10.141.141.3 with SMTP id t3mr3703538rvn.104.1230178415434; Wed, 24 Dec 2008 20:13:35 -0800 (PST) Received: from freebsd.weongyo.org ([211.53.35.67]) by mx.google.com with ESMTPS id g31sm31817017rvb.4.2008.12.24.20.13.33 (version=SSLv3 cipher=RC4-MD5); Wed, 24 Dec 2008 20:13:34 -0800 (PST) Received: by freebsd.weongyo.org (sSMTP sendmail emulation); Thu, 25 Dec 2008 13:13:09 +0900 Date: Thu, 25 Dec 2008 13:13:09 +0900 To: Hans Petter Selasky Message-ID: <20081225041309.GC20759@freebsd.weongyo.org> References: <20081223060928.GA19471@freebsd.weongyo.org> <20081223153108.GQ18389@elvis.mu.org> <200812231718.01897.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200812231718.01897.hselasky@c2i.net> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD From: Weongyo Jeong Cc: freebsd-usb@freebsd.org Subject: Re: HEADSUP: NDIS USB support to be merged soon 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, 25 Dec 2008 04:13:35 -0000 On Tue, Dec 23, 2008 at 05:18:00PM +0100, Hans Petter Selasky wrote: > On Tuesday 23 December 2008, Alfred Perlstein wrote: > > [[ Moved to -usb. ]] > > > > Hans, can you look at this for the usb4bsd switchover, it doesn't > > look that challenging to port. > > > > thank you, > > -Alfred > > I will have a look at it. Meanwhile, can Weongyo have a look at the following > file: > > /usr/src/sys/dev/usb2/core/usb2_compat_linux.c > > I suppose we have to do NDIS in a similar way. Sorry I couldn't follow. Could you please elaborate it? IIRC NDIS's approach to support Windows Binary and a approach to support Linux Binary Compatibility are different. I'm not sure we can do it like what the linuxulator is doing. regards, Weongyo Jeong From owner-freebsd-usb@FreeBSD.ORG Thu Dec 25 04:21:57 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 505671065670; Thu, 25 Dec 2008 04:21:57 +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 265888FC14; Thu, 25 Dec 2008 04:21:57 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBP4LvMj069365; Thu, 25 Dec 2008 04:21:57 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBP4Lu2c069361; Thu, 25 Dec 2008 04:21:56 GMT (envelope-from linimon) Date: Thu, 25 Dec 2008 04:21:56 GMT Message-Id: <200812250421.mBP4Lu2c069361@freefall.freebsd.org> To: Daan@VEHosting.nl, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/126884: [ugen] [patch] Bug in buffer handling in ugen.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: Thu, 25 Dec 2008 04:21:57 -0000 Synopsis: [ugen] [patch] Bug in buffer handling in ugen.c State-Changed-From-To: open->feedback State-Changed-By: linimon State-Changed-When: Thu Dec 25 04:21:42 UTC 2008 State-Changed-Why: Is this patch against the new USB stack, or the existing one? http://www.freebsd.org/cgi/query-pr.cgi?pr=126884 From owner-freebsd-usb@FreeBSD.ORG Thu Dec 25 12:08:53 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 D12031065673; Thu, 25 Dec 2008 12:08:53 +0000 (UTC) (envelope-from Daan@vehosting.nl) Received: from VM01.VEHosting.nl (unknown [IPv6:2001:470:1f14:32d::1:140]) by mx1.freebsd.org (Postfix) with ESMTP id 95E578FC12; Thu, 25 Dec 2008 12:08:53 +0000 (UTC) (envelope-from Daan@vehosting.nl) Received: from [192.168.45.10] (103-241.ftth.onsbrabantnet.nl [88.159.241.103] (may be forged)) (authenticated bits=0) by VM01.VEHosting.nl (8.14.3/8.13.8) with ESMTP id mBPC8rsm007183; Thu, 25 Dec 2008 13:08:53 +0100 (CET) (envelope-from Daan@vehosting.nl) From: Daan Vreeken Organization: VEHosting - Vitsch Electronics Hosting To: linimon@freebsd.org Date: Thu, 25 Dec 2008 13:08:33 +0100 User-Agent: KMail/1.9.7 References: <200812250421.mBP4Lu2c069361@freefall.freebsd.org> In-Reply-To: <200812250421.mBP4Lu2c069361@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812251308.34061.Daan@vehosting.nl> x-ve-auth-version: mi-1.0.3 2008-05-30 - Copyright (c) 2008 - Daan Vreeken - VEHosting x-ve-auth: authenticated as 'pa4dan' on VM01.VEHosting.nl Cc: freebsd-usb@freebsd.org Subject: Re: usb/126884: [ugen] [patch] Bug in buffer handling in ugen.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: Thu, 25 Dec 2008 12:08:53 -0000 On Thursday 25 December 2008 05:21:56 linimon@freebsd.org wrote: > Synopsis: [ugen] [patch] Bug in buffer handling in ugen.c > > State-Changed-From-To: open->feedback > State-Changed-By: linimon > State-Changed-When: Thu Dec 25 04:21:42 UTC 2008 > State-Changed-Why: > > Is this patch against the new USB stack, or the existing one? The patch is against the existing stack. -- Daan Vreeken VEHosting http://VEHosting.nl tel: +31-(0)40-7113050 / +31-(0)6-46210825 KvK nr: 17174380 From owner-freebsd-usb@FreeBSD.ORG Thu Dec 25 20:09:00 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 2AB1C1065670; Thu, 25 Dec 2008 20:08:59 +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 C372A8FC13; Thu, 25 Dec 2008 20:08:59 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBPK8xoY028199; Thu, 25 Dec 2008 20:08:59 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBPK8x2n028195; Thu, 25 Dec 2008 20:08:59 GMT (envelope-from linimon) Date: Thu, 25 Dec 2008 20:08:59 GMT Message-Id: <200812252008.mBPK8x2n028195@freefall.freebsd.org> To: Daan@VEHosting.nl, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/126884: [ugen] [patch] Bug in buffer handling in ugen.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: Thu, 25 Dec 2008 20:09:00 -0000 Synopsis: [ugen] [patch] Bug in buffer handling in ugen.c State-Changed-From-To: feedback->open State-Changed-By: linimon State-Changed-When: Thu Dec 25 20:08:36 UTC 2008 State-Changed-Why: Submitter has clarified that this a patch against the older USB stack. http://www.freebsd.org/cgi/query-pr.cgi?pr=126884 From owner-freebsd-usb@FreeBSD.ORG Fri Dec 26 10:10: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 12D2B1065670 for ; Fri, 26 Dec 2008 10:10: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 E20998FC12 for ; Fri, 26 Dec 2008 10:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBQAA1nH081407 for ; Fri, 26 Dec 2008 10:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBQAA1dN081406; Fri, 26 Dec 2008 10:10:01 GMT (envelope-from gnats) Resent-Date: Fri, 26 Dec 2008 10:10:01 GMT Resent-Message-Id: <200812261010.mBQAA1dN081406@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, Antonio Hilario Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F425106564A for ; Fri, 26 Dec 2008 10:05:21 +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 F00068FC17 for ; Fri, 26 Dec 2008 10:05:20 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id mBQA5KR6025183 for ; Fri, 26 Dec 2008 10:05:20 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id mBQA5Kv4025182; Fri, 26 Dec 2008 10:05:20 GMT (envelope-from nobody) Message-Id: <200812261005.mBQA5Kv4025182@www.freebsd.org> Date: Fri, 26 Dec 2008 10:05:20 GMT From: Antonio Hilario To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/129945: u3g supports Longcheer WM66 USB HSDPA 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: Fri, 26 Dec 2008 10:10:02 -0000 >Number: 129945 >Category: usb >Synopsis: u3g supports Longcheer WM66 USB HSDPA Modem >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Dec 26 10:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Antonio Hilario >Release: 7.1-RC2 >Organization: >Environment: FreeBSD emily.avltrees.strangled.net 7.1-RC2 FreeBSD 7.1-RC2 #23 r186493M: Fri Dec 26 15:29:10 PHT 2008 root@emily.avltrees.strangled.net:/usr/obj/usr/src/sys/FELICITY i386 >Description: Hello all, I managed to get my LongCheer WM66 HSDPA modem working using the u3g driver, after several weeks of getting by with ubsa. The device is a ZeroCD device which uses these vendor IDs: Mass storage mode: vendor 0x1c9e product 0x1001 HSDPA mode: vendoer 0x1c9e product 0x6061 The device is put into modem mode using usb_modeswitch (http://www.draisberghof.de/usb_modeswitch), with a usb_modeswitch.conf containing these lines, which were originally contributed by Aleksandar Samardzic: ------SNIP-------- ######################################################## # Alcatel OT-X020 (aka MBD-100HU, aka Nuton 3.5G), works with Emobile D11LC # Also Longcheer WM66 # # Contributor: Aleksandar Samardzic DefaultVendor= 0x1c9e DefaultProduct= 0x1001 TargetVendor= 0x1c9e TargetProduct= 0x6061 MessageEndpoint=0x05 MessageContent="55534243123456780000000000000606f50402527000000000000000000000" ------SNIP-------- In my case I invoke usb_modeswitch using a devd.conf rule pair, below: ------SNIP-------- # Add these lines to devd.conf # # Requires patched u3g driver (add product and vendor codes to usbdevs, modify u3g.c) attach 20 { match "vendor" "0x1c9e"; match "product" "0x1001"; action "/sbin/usb_modeswitch; \ /bin/sleep 2; \ /sbin/kldload u3g; \ logger -t 'devd' 'Attached Longcheer WM66 Modem umass Mode; switching';"; }; attach 20 { match "vendor" "0x1c9e"; match "product" "0x6061"; action "logger -t 'devd' 'Attached Longcheer WM66 Modem in Modem Mode'"; }; ------SNIP-------- Building a WM66-aware u3g.ko requires patching /usr/src/sys/dev/usb/u3g.c: {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE }, U3GSP_HSDPA, U3GFL_HUAWEI_INIT }, + {{ USB_VENDOR_LONGCHEER, USB_PRODUCT_LONGCHEER_WM66 }, U3GSP_HSDPA, U3GFL_HUAWEI_INIT | U3GFL_SCSI_EJECT }, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220 }, U3GSP_HSPA, U3GFL_HUAWEI_INIT }, as well as /usr/src/sys/dev/usb/usbdevs, taken from 7.1-RELENG vendor LONGCHEER 0x1c9e Longcheer Holdings, Ltd. product LONGCHEER WM66 0x6061 WM66 HSDPA USB Modem The driver creates three devices /dev/ttyU0.%d, of which the first is used as the device's AT command interface: ---------SYSLOG OUTPUT------------ Dec 26 17:59:56 emily ugen0: on uhub2 Dec 26 17:59:56 emily root: Unknown weird USB device: vendor 0x1c9e product 0x1001 bus uhub2 Dec 26 17:59:56 emily ugen0: at uhub2 port 1 (addr 2) disconnected Dec 26 17:59:56 emily ugen0: detached Dec 26 17:59:58 emily devd: Attached Longcheer WM66 Modem umass Mode; switching Dec 26 17:59:58 emily root: Unknown weird USB device: vendor 0x1c9e product 0x6061 bus uhub2 Dec 26 17:59:58 emily ucom0: on uhub2 Dec 26 17:59:58 emily ucom0: port=0 iface=0 in=0x82 out=0x2 Dec 26 17:59:58 emily ucom0: port=1 iface=1 in=0x84 out=0x4 Dec 26 17:59:58 emily ucom0: port=2 iface=2 in=0x85 out=0x5 Dec 26 17:59:58 emily ucom0: configured 3 serial ports (U0.%d) Dec 26 17:59:58 emily devd: Attached Longcheer WM66 Modem in Modem Mode ---------SYSLOG OUTPUT------------ My thanks for the work done on u3g! Device works beautifully under minicom and with ppp, and am able to attain ~ 40kBps with our carrier - *without* those annoying stalls I got under UBSA. >How-To-Repeat: >Fix: Patch attached with submission follows: Property changes on: sys/modules ___________________________________________________________________ Added: svn:externals + u3g http://svn.freebsd.org/base/head/sys/modules/u3g Index: sys/modules/Makefile =================================================================== --- sys/modules/Makefile (revision 186493) +++ sys/modules/Makefile (working copy) @@ -275,6 +275,7 @@ twe \ tx \ txp \ + u3g \ uark \ uart \ ubsa \ Index: sys/dev/usb/usbdevs =================================================================== --- sys/dev/usb/usbdevs (revision 186493) +++ sys/dev/usb/usbdevs (working copy) @@ -615,6 +615,7 @@ vendor QCOM 0x18e8 Qcom vendor LINKSYS3 0x1915 Linksys vendor QUALCOMMINC 0x19d2 Qualcomm, Incorporated +vendor LONGCHEER 0x1c9e Longcheer Holdings, Ltd. vendor DLINK 0x2001 D-Link vendor PLANEX2 0x2019 Planex Communications vendor ERICSSON 0x2282 Ericsson @@ -1941,6 +1942,8 @@ product QCOM RT2573 0x6196 RT2573 product QCOM RT2573_2 0x6229 RT2573 +/* Longcheer Holdings, Ltd. */ +product LONGCHEER WM66 0x6061 Longcheer WM66 HSDPA USB modem /* Qualcomm products */ product QUALCOMM CDMA_MSM 0x6000 CDMA Technologies MSM phone product QUALCOMM2 RWT_FCT 0x3100 RWT FCT-CDMA 2000 1xRTT modem >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Fri Dec 26 13:50:06 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 1428F1065673 for ; Fri, 26 Dec 2008 13:50:06 +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 DD5028FC0C for ; Fri, 26 Dec 2008 13:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBQDo56X048866 for ; Fri, 26 Dec 2008 13:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBQDo5JX048865; Fri, 26 Dec 2008 13:50:05 GMT (envelope-from gnats) Date: Fri, 26 Dec 2008 13:50:05 GMT Message-Id: <200812261350.mBQDo5JX048865@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: "Robert Backhaus" Cc: Subject: Re: usb/127926: [boot] USB Timeout during bootup X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Robert Backhaus List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2008 13:50:06 -0000 The following reply was made to PR usb/127926; it has been noted by GNATS. From: "Robert Backhaus" To: bug-followup@freebsd.org, kris@pcbsd.com Cc: Subject: Re: usb/127926: [boot] USB Timeout during bootup Date: Fri, 26 Dec 2008 23:15:18 +1000 Here is a link with patch to a similar issue on linux. Will a similar solution work? https://kerneltrap.org/mailarchive/linux-usb/2008/12/1/4274374 It looks like broken hardware that we must kludge around, again. The only thing I can add is that the front mounted usb port connected with old, unshielded cables (which should prevent it using USB2) does work with devices connected to it at boot. From owner-freebsd-usb@FreeBSD.ORG Fri Dec 26 15:48:09 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 E71FC1065670 for ; Fri, 26 Dec 2008 15:48: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 4C78D8FC18 for ; Fri, 26 Dec 2008 15:48:08 +0000 (UTC) (envelope-from gofdu-freebsd-usb@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LGEux-0004ho-8E for freebsd-usb@freebsd.org; Fri, 26 Dec 2008 15:48:03 +0000 Received: from 77.22.112.43 ([77.22.112.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Dec 2008 15:48:03 +0000 Received: from ino-news by 77.22.112.43 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Dec 2008 15:48:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-usb@freebsd.org From: clemens fischer Followup-To: gmane.os.freebsd.questions Date: Fri, 26 Dec 2008 16:43:27 +0100 Lines: 45 Message-ID: References: <200812221944.17694.hselasky@c2i.net> <20081224140532.GB2099@spotteswoode.de.eu.org> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 77.22.112.43 X-Archive: encrypt=none User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/8.0-CURRENT (i386)) Sender: news Cc: freebsd-questions@freebsd.org Subject: Re: [solved] Re: usb-stick accessible, but doesn't boot 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, 26 Dec 2008 15:48:10 -0000 On Wed, 24 Dec 2008 16:53:00 +0100 clemens fischer wrote: > On Wed, 24 Dec 2008 15:05:32 +0100 clemens fischer wrote: > >>> Hans Petter Selasky: >> >>> Try the attached patch to "sys/kern/vfs_mount.c" >>> >>> Thanks for reporting. I have been aware about this issue for some >>> time now, but the patch has not been committed to current yet. >>> >>> I have FreeSBIE reliably up and running with USB2. >> >> Can you tell me what to do to the kernel configuration? Maybe I >> don't have to compile any USB functions into the kernel and can put >> them into loader.conf? I always get these dependency problems. > > I think I've found my problem. The kernel configuration really > needs the line marked "required", which builds support for the > USB bus: "device usb". Except this line, every usb related item > is a "nodevice" now. The USB2 modules needed are kldload'ed in > boot/loader.conf from the USB-stick, and this really works. > > Hans Petter: although I am not sure if my USB-stick needs it, the > kernel was built using your patch. So the least I can say about it: > It doesn't hurt, and it might sure help with more restive devices. Hans Petter pointed to me to the _real_ solution of my problem, and I want to set the record straight: The USB2 stack works fine, the patch to vfs_mount.c makes the booting process more robust. The easiest way to make a system booting from USB mass storage is to exclude every usb- related device from the kernel and kldload the needed modules in boot/loader.conf: # /boot/loader.conf usb2_controller_ehci_load="YES" usb2_controller_ohci_load="YES" usb2_controller_uhci_load="YES" usb2_storage_mass_load="YES" My problem was a left-over "device ucom" in the kernel configuration, or actually, since I have "include GENERIC" at the top, the missing "nodevice ucom" line. It pulled in dependencies on the old USB stack. -c From owner-freebsd-usb@FreeBSD.ORG Fri Dec 26 23:00:59 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 D8841106564A; Fri, 26 Dec 2008 23:00:59 +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 AFBB58FC16; Fri, 26 Dec 2008 23:00:59 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBQN0xBI067848; Fri, 26 Dec 2008 23:00:59 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBQN0xYN067844; Fri, 26 Dec 2008 23:00:59 GMT (envelope-from linimon) Date: Fri, 26 Dec 2008 23:00:59 GMT Message-Id: <200812262300.mBQN0xYN067844@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/129964: [newusb] disconnection of ugen devices isn't logged 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, 26 Dec 2008 23:00:59 -0000 Synopsis: [newusb] disconnection of ugen devices isn't logged Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Fri Dec 26 23:00:49 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=129964 From owner-freebsd-usb@FreeBSD.ORG Sat Dec 27 09:45:01 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 93E6C1065675 for ; Sat, 27 Dec 2008 09:45:01 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.tele2.se [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id C66598FC16 for ; Sat, 27 Dec 2008 09:45:00 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=-lDmkEk9olEA:10 a=2ZQRb7RUejkA:10 a=6I5d2MoRAAAA:8 a=FeVVITB8D-4VBKHk_zwA:9 a=Cuq1D3X1ONn3LLiu3ZQ8RJA2iwwA:4 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe10.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1002771326; Sat, 27 Dec 2008 10:44:58 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 27 Dec 2008 10:47:19 +0100 User-Agent: KMail/1.9.7 References: <200812262300.mBQN0xYN067844@freefall.freebsd.org> In-Reply-To: <200812262300.mBQN0xYN067844@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812271047.19826.hselasky@c2i.net> Cc: freebsd-bugs@freebsd.org, linimon@freebsd.org Subject: Re: usb/129964: [newusb] disconnection of ugen devices isn't logged 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, 27 Dec 2008 09:45:01 -0000 On Saturday 27 December 2008, linimon@freebsd.org wrote: > usb/129964 This issue is now patched. Please test and close. http://perforce.freebsd.org/chv.cgi?CH=155314 --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Dec 27 09:56:36 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 0DBDE1065673; Sat, 27 Dec 2008 09:56:36 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (brucec-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:c09::2]) by mx1.freebsd.org (Postfix) with ESMTP id BE2368FC08; Sat, 27 Dec 2008 09:56:35 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 1111B192D0; Sat, 27 Dec 2008 04:56:34 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 Received: from gluon (unknown [IPv6:2a01:348:10f:0:240:f4ff:fe57:9871]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Sat, 27 Dec 2008 04:56:33 -0500 (EST) Date: Sat, 27 Dec 2008 09:56:07 +0000 From: Bruce Cran To: Hans Petter Selasky Message-ID: <20081227095607.6b9415ed@gluon> In-Reply-To: <200812271047.19826.hselasky@c2i.net> References: <200812262300.mBQN0xYN067844@freefall.freebsd.org> <200812271047.19826.hselasky@c2i.net> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-bugs@freebsd.org, linimon@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/129964: [newusb] disconnection of ugen devices isn't logged 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, 27 Dec 2008 09:56:36 -0000 On Sat, 27 Dec 2008 10:47:19 +0100 Hans Petter Selasky wrote: > On Saturday 27 December 2008, linimon@freebsd.org wrote: > > usb/129964 > > This issue is now patched. Please test and close. > > http://perforce.freebsd.org/chv.cgi?CH=155314 Thanks. Has it been fixed in the main SVN repository too? I've been fetching code from svn.freebsd.org and svn.turbocat.net but most users can't fetch from the Perforce repository since there's no anonymous access. -- Bruce Cran From owner-freebsd-usb@FreeBSD.ORG Sat Dec 27 09:58:59 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 1F40E106567F for ; Sat, 27 Dec 2008 09:58:59 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe13.tele2.se [212.247.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id 4E2338FC20 for ; Sat, 27 Dec 2008 09:58:58 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=-lDmkEk9olEA:10 a=2ZQRb7RUejkA:10 a=6I5d2MoRAAAA:8 a=tYqVqonQe3ixgsEFlhIA:9 a=2SLQ1EQFATloFazHf-lMZNwxEioA:4 a=9aOQ2cSd83gA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe13.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 782326251; Sat, 27 Dec 2008 10:58:56 +0100 From: Hans Petter Selasky To: Bruce Cran Date: Sat, 27 Dec 2008 11:01:16 +0100 User-Agent: KMail/1.9.7 References: <200812262300.mBQN0xYN067844@freefall.freebsd.org> <200812271047.19826.hselasky@c2i.net> <20081227095607.6b9415ed@gluon> In-Reply-To: <20081227095607.6b9415ed@gluon> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812271101.17179.hselasky@c2i.net> Cc: freebsd-bugs@freebsd.org, linimon@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/129964: [newusb] disconnection of ugen devices isn't logged 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, 27 Dec 2008 09:58:59 -0000 On Saturday 27 December 2008, Bruce Cran wrote: > On Sat, 27 Dec 2008 10:47:19 +0100 > > Hans Petter Selasky wrote: > > On Saturday 27 December 2008, linimon@freebsd.org wrote: > > > usb/129964 > > > > This issue is now patched. Please test and close. > > > > http://perforce.freebsd.org/chv.cgi?CH=155314 > > Thanks. Has it been fixed in the main SVN repository too? I've been > fetching code from svn.freebsd.org and svn.turbocat.net but most users > can't fetch from the Perforce repository since there's no anonymous > access. It's fixed in "svn.turbocat.net", not "svn.freebsd.org" yet. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Dec 27 10:04: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 9B54A1065670; Sat, 27 Dec 2008 10:04:04 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id 63B458FC0C; Sat, 27 Dec 2008 10:03:59 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so6136595wfg.7 for ; Sat, 27 Dec 2008 02:03:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:to:cc:subject :message-id:mail-followup-to:mime-version:content-type :content-disposition:user-agent:organization:x-operation-sytem:from; bh=jLWzJQYq7m0+qRnoHk9bAniIkBT2siTBw0QI4bSnXzk=; b=LaZ/1ReBfi4UqS4ynfHhJE53l9smdY8b5wwIJXntl2Qo9dLjvM6Fh2Z4F1XO+WO4mL 8bL+TiTCB878bbRV7Wp5UvXnllN3CVvvdfREktNDcmfusizYba4xy+Pc61uoU0uvkkWK 2bG52b/8zUgsWbQOAkwlq8gA4PCahR0wUDqD0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent:organization :x-operation-sytem:from; b=TQ2C/NIqAhQ6q5iiJBq2BT4JAbuvB40G2j2ykUcY/qJyPOGsSwyl+FfOEz1Su6y8fo U4/slrTiWMuZredqHp55ooF9v+Sav0jKCst+3MrhjfoJ7FAuC2nskI0OSejT/pH0CKtO kR5l5nLTTPHnZHW83Q2Gk1AZAnfYG15+2qHto= Received: by 10.142.254.6 with SMTP id b6mr4790890wfi.157.1230372238934; Sat, 27 Dec 2008 02:03:58 -0800 (PST) Received: from freebsd.weongyo.org ([211.53.35.67]) by mx.google.com with ESMTPS id 30sm26521135wfa.21.2008.12.27.02.03.56 (version=SSLv3 cipher=RC4-MD5); Sat, 27 Dec 2008 02:03:57 -0800 (PST) Received: by freebsd.weongyo.org (sSMTP sendmail emulation); Sat, 27 Dec 2008 19:03:49 +0900 Date: Sat, 27 Dec 2008 19:03:49 +0900 To: freebsd-current@freebsd.org Message-ID: <20081227100349.GB1815@freebsd.weongyo.org> Mail-Followup-To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD From: Weongyo Jeong Cc: freebsd-usb@freebsd.org Subject: HEADSUP: NDIS USB code has been committed 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, 27 Dec 2008 10:04:04 -0000 Hello, Just for information. The code for supporting NDIS USB drivers has been committed into HEAD. Please tell me if you encounter problems. regards, Weongyo Jeong From owner-freebsd-usb@FreeBSD.ORG Sat Dec 27 10:13: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 D4D91106564A; Sat, 27 Dec 2008 10:13:18 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id 98D628FC17; Sat, 27 Dec 2008 10:13:18 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so6138522wfg.7 for ; Sat, 27 Dec 2008 02:13:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:to:cc:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent:organization :x-operation-sytem:from; bh=M8SBZg2+Ht4SVpp/yHstPjmS4zExki9NS7OqL+Inuic=; b=K50+1fuZtd9Nt3S9EnZAcoWUBUBDd2rsM82HXSy7I6JV59ufIlDZBofBbY0UMDRlY+ qik5vWpV/cFFm5C8zTKFOno/b9qXDBY9cWT5U9FoqtKiqUAKTQpLjWc7rXJJ9rv/DgUO hiVyRyjE+TnmyhtzL99m55AXmweT7gym7ZaSs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:organization:x-operation-sytem:from; b=L5+c8Fk/71m8oG5hBQoj41ISegQOkIhO2Chvx/Oy72U4+/9xFsazz6nKJT9cwM+U3h 2BmkzIDnjA6nBBNZgwW5thGfcdDHbEjHezNkSsuh2nM3BzAZt4a7pL/p/VYf9xYzHn9C oQAvWMek/dvyxk5x66OureUjANS1nmEH6f8X0= Received: by 10.142.221.11 with SMTP id t11mr4793237wfg.238.1230372798371; Sat, 27 Dec 2008 02:13:18 -0800 (PST) Received: from freebsd.weongyo.org ([211.53.35.67]) by mx.google.com with ESMTPS id 27sm25447688wfa.9.2008.12.27.02.13.15 (version=SSLv3 cipher=RC4-MD5); Sat, 27 Dec 2008 02:13:17 -0800 (PST) Received: by freebsd.weongyo.org (sSMTP sendmail emulation); Sat, 27 Dec 2008 19:13:04 +0900 Date: Sat, 27 Dec 2008 19:13:04 +0900 To: Julian Elischer Message-ID: <20081227101304.GA2198@freebsd.weongyo.org> Mail-Followup-To: Julian Elischer , freebsd-current@freebsd.org, freebsd-usb@freebsd.org References: <20081227100349.GB1815@freebsd.weongyo.org> <4955FEE1.6000201@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4955FEE1.6000201@elischer.org> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD From: Weongyo Jeong Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: HEADSUP: NDIS USB code has been committed 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, 27 Dec 2008 10:13:18 -0000 On Sat, Dec 27, 2008 at 02:09:37AM -0800, Julian Elischer wrote: > Weongyo Jeong wrote: > >Hello, > > > >Just for information. The code for supporting NDIS USB drivers has been > >committed into HEAD. Please tell me if you encounter problems. > > > >regards, > >Weongyo Jeong > > using the original USB code, right? Yes. regards, Weongyo Jeong From owner-freebsd-usb@FreeBSD.ORG Sat Dec 27 10:20:12 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 112F8106564A for ; Sat, 27 Dec 2008 10:20:12 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outC.internet-mail-service.net (outc.internet-mail-service.net [216.240.47.226]) by mx1.freebsd.org (Postfix) with ESMTP id E856F8FC12 for ; Sat, 27 Dec 2008 10:20:11 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id E58472384; Sat, 27 Dec 2008 02:09:37 -0800 (PST) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id AECF72D6017; Sat, 27 Dec 2008 02:09:37 -0800 (PST) Message-ID: <4955FEE1.6000201@elischer.org> Date: Sat, 27 Dec 2008 02:09:37 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org References: <20081227100349.GB1815@freebsd.weongyo.org> In-Reply-To: <20081227100349.GB1815@freebsd.weongyo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: HEADSUP: NDIS USB code has been committed 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, 27 Dec 2008 10:20:12 -0000 Weongyo Jeong wrote: > Hello, > > Just for information. The code for supporting NDIS USB drivers has been > committed into HEAD. Please tell me if you encounter problems. > > regards, > Weongyo Jeong > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" using the original USB code, right? From owner-freebsd-usb@FreeBSD.ORG Sat Dec 27 10:49: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 963E01065670; Sat, 27 Dec 2008 10:49:18 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id F2C188FC1A; Sat, 27 Dec 2008 10:49:17 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=Wwxh0_kleiYA:10 a=g_pgGiu8BzUA:10 a=Y6iSiR_W_5Hv__NeUM4A:9 a=WdARFQtYHf7aH_UK1dwA:7 a=9IiQwzOjMe3gi4MwurvqPnjDVoQA:4 a=LY0hPdMaydYA:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1175111835; Sat, 27 Dec 2008 11:49:15 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Sat, 27 Dec 2008 11:51:34 +0100 User-Agent: KMail/1.9.7 References: <20081227100349.GB1815@freebsd.weongyo.org> <49560548.4040406@micom.mng.net> In-Reply-To: <49560548.4040406@micom.mng.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812271151.36293.hselasky@c2i.net> Cc: Ganbold , freebsd-usb@freebsd.org Subject: Re: HEADSUP: NDIS USB code has been committed 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, 27 Dec 2008 10:49:18 -0000 On Saturday 27 December 2008, Ganbold wrote: > Weongyo Jeong wrote: > > Hello, > > > > Just for information. The code for supporting NDIS USB drivers has been > > committed into HEAD. Please tell me if you encounter problems. > > Tried to compile kernel, but gives error. Is it related to your commit? > ... > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE > -std=c99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/obj/usr/src/sys/DEVIL/opt_global.h -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/DEVIL > -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx > -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector > -fstack-protector -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c > /usr/src/sys/modules/usb2/ndis/../../../dev/usb2/ndis/if_ndis_usb2.c > In file included from > /usr/src/sys/modules/usb2/ndis/../../../dev/usb2/ndis/if_ndis_usb2.c:60: > @/dev/if_ndis/if_ndisvar.h:121: error: expected specifier-qualifier-list > before 'usbd_xfer_handle' > @/dev/if_ndis/if_ndisvar.h:212: error: expected specifier-qualifier-list > before 'usbd_pipe_handle' > *** Error code 1 > 1 error > *** Error code 2 > ... > Looks like the USB2 NDIS module needs to be decoupled from the default build until further. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Dec 27 11:10:26 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 9AF251065686 for ; Sat, 27 Dec 2008 11:10:26 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.freebsd.org (Postfix) with ESMTP id 515048FC08 for ; Sat, 27 Dec 2008 11:10:26 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from [202.179.21.165] (helo=devil.micom.mng.net) by publicd.ub.mng.net with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LGWXF-000Pcp-2T; Sat, 27 Dec 2008 18:36:45 +0800 Message-ID: <49560548.4040406@micom.mng.net> Date: Sat, 27 Dec 2008 18:36:56 +0800 From: Ganbold User-Agent: Thunderbird 2.0.0.17 (X11/20081020) MIME-Version: 1.0 To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org References: <20081227100349.GB1815@freebsd.weongyo.org> In-Reply-To: <20081227100349.GB1815@freebsd.weongyo.org> X-Enigmail-Version: 0.95.7 OpenPGP: id=78F6425E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: HEADSUP: NDIS USB code has been committed 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, 27 Dec 2008 11:10:26 -0000 Weongyo Jeong wrote: > Hello, > > Just for information. The code for supporting NDIS USB drivers has been > committed into HEAD. Please tell me if you encounter problems. > Tried to compile kernel, but gives error. Is it related to your commit? ... cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/DEVIL/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/DEVIL -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/usb2/ndis/../../../dev/usb2/ndis/if_ndis_usb2.c In file included from /usr/src/sys/modules/usb2/ndis/../../../dev/usb2/ndis/if_ndis_usb2.c:60: @/dev/if_ndis/if_ndisvar.h:121: error: expected specifier-qualifier-list before 'usbd_xfer_handle' @/dev/if_ndis/if_ndisvar.h:212: error: expected specifier-qualifier-list before 'usbd_pipe_handle' *** Error code 1 1 error *** Error code 2 ... Ganbold > regards, > Weongyo Jeong > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > > -- So far as I can remember, there is not one word in the Gospels in praise of intelligence. -- Bertrand Russell From owner-freebsd-usb@FreeBSD.ORG Sat Dec 27 12:44:21 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 809751065678; Sat, 27 Dec 2008 12:44:21 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id 41D168FC20; Sat, 27 Dec 2008 12:44:21 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by wa-out-1112.google.com with SMTP id m34so2354616wag.27 for ; Sat, 27 Dec 2008 04:44:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:to:cc:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent:organization :x-operation-sytem:from; bh=Hd8wDAwBwDonqFLDLwlEraEdHDQZYQuUQmVO4yuZH28=; b=Te6scN6h9Vh2CtVB7eKSzWHKbrarDB4CqOVpgGK0d29xu4c5insjEfshZ3oLs+eZZM XprroVbaRFZFJXM1Z+o8OgECrpKCNN8czITtl7Kji1u0bGxSoIkVKYvJ9fQoiZtX5k0R 66jfEtLOZg3o9AHnr1xNhG0PWFFIfnIPuYxIE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:organization:x-operation-sytem:from; b=iWGryriqSRdTH/3hntTgbWUwXt73sO7QL1F2XLsaTQLTceLZ7l/pEz5yeEkyPg6cae TGcdR74EJp3wrrd92GI5BFkcDvUcyWWHJQ2TvSkQpPYaFhOYdCqg1BpcvBsg87niRmfE l4v8vvNlrqLMBOuBP2xleAzuixKz2HIUHKLt8= Received: by 10.114.174.2 with SMTP id w2mr7578323wae.195.1230381860868; Sat, 27 Dec 2008 04:44:20 -0800 (PST) Received: from freebsd.weongyo.org ([211.53.35.67]) by mx.google.com with ESMTPS id z20sm19063909pod.26.2008.12.27.04.44.17 (version=SSLv3 cipher=RC4-MD5); Sat, 27 Dec 2008 04:44:20 -0800 (PST) Received: by freebsd.weongyo.org (sSMTP sendmail emulation); Sat, 27 Dec 2008 21:44:07 +0900 Date: Sat, 27 Dec 2008 21:44:07 +0900 To: Ganbold Message-ID: <20081227124407.GB2561@freebsd.weongyo.org> Mail-Followup-To: Ganbold , freebsd-current@freebsd.org, freebsd-usb@freebsd.org References: <20081227100349.GB1815@freebsd.weongyo.org> <49560548.4040406@micom.mng.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49560548.4040406@micom.mng.net> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD From: Weongyo Jeong Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: HEADSUP: NDIS USB code has been committed 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, 27 Dec 2008 12:44:21 -0000 On Sat, Dec 27, 2008 at 06:36:56PM +0800, Ganbold wrote: > Weongyo Jeong wrote: > > Hello, > > > > Just for information. The code for supporting NDIS USB drivers has been > > committed into HEAD. Please tell me if you encounter problems. > > > Tried to compile kernel, but gives error. Is it related to your commit? > ... > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE > -std=c99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/obj/usr/src/sys/DEVIL/opt_global.h -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/DEVIL > -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx > -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector > -fstack-protector -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c > /usr/src/sys/modules/usb2/ndis/../../../dev/usb2/ndis/if_ndis_usb2.c > In file included from > /usr/src/sys/modules/usb2/ndis/../../../dev/usb2/ndis/if_ndis_usb2.c:60: > @/dev/if_ndis/if_ndisvar.h:121: error: expected specifier-qualifier-list > before 'usbd_xfer_handle' > @/dev/if_ndis/if_ndisvar.h:212: error: expected specifier-qualifier-list > before 'usbd_pipe_handle' > *** Error code 1 > 1 error > *** Error code 2 > ... Yes. It's related with my commit that now if_ndisvar.h has some structures referring to the original USB framework so it breaks on the newusb. Now building NDIS part on the newusb have decoupled from the default build. I hope now the builds are recovered. regards, Weongyo Jeong