From owner-freebsd-usb@FreeBSD.ORG Sun Oct 21 15:07:31 2007 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 23D9816A469 for ; Sun, 21 Oct 2007 15:07:31 +0000 (UTC) (envelope-from emdgaurav@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.225]) by mx1.freebsd.org (Postfix) with ESMTP id B14E613C4A6 for ; Sun, 21 Oct 2007 15:06:42 +0000 (UTC) (envelope-from emdgaurav@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so593604wra for ; Sun, 21 Oct 2007 08:06:25 -0700 (PDT) Received: by 10.150.189.9 with SMTP id m9mr593973ybf.1192910502843; Sat, 20 Oct 2007 13:01:42 -0700 (PDT) Received: by 10.150.178.13 with HTTP; Sat, 20 Oct 2007 13:01:42 -0700 (PDT) Message-ID: Date: Sun, 21 Oct 2007 01:31:42 +0530 From: "GAURAV GUPTA" To: "Hans Petter Selasky" In-Reply-To: <200710201927.51983.hselasky@c2i.net> MIME-Version: 1.0 References: <200710201927.51983.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-usb@freebsd.org Subject: Re: need help 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 Oct 2007 15:07:31 -0000 Hi Petter, Thanks for replying. i am not able to understand ATTATCH function call usb_task itself . how internally this function work in stack and why we need it. I have seen function definition below in USB stack . *struct* usb_task { TAILQ_ENTRY ( usb_task) next ; *void* (*fun)(*void* *); *void* * arg; *char* onqueue; }; *void* usb_add_task ( usbd_device_handle dev , *struct* usb_task*task ); *void* usb_rem_task ( usbd_device_handle dev , *struct* usb_task*task ); #*define* usb_init_task(t, f, a) ((t)-> fun= (f), (t)-> arg = (a), (t)->onqueue = 0) I am looking in code of driver if_axe.c (Dlink lan to usb ) not able to understand function call *usb_init_task(&sc->axe_tick_task, axe_tick_task, sc);* I understand this question look very basic or silly ,but i am really looking for your input .. we are in college and just started to understand to BSD . Thanks, Gaurav On 10/20/07, Hans Petter Selasky wrote: > > On Saturday 20 October 2007, GAURAV GUPTA wrote: > > Hi all, > > > > Can anyone explain me the functionality of this standard function. > > I am beginner in this BSD area,so cudn'n get the details clear. > > > > #define usb_init_task(t, f, a) ((t)->fun = (f), (t)->arg = (a), > > (t)->onqueue = 0) > > > > The macro initialises a task structure. > > --HPS > From owner-freebsd-usb@FreeBSD.ORG Mon Oct 22 11:07:18 2007 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 323C216A418 for ; Mon, 22 Oct 2007 11:07:18 +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 205FF13C4AA for ; Mon, 22 Oct 2007 11:07:18 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9MB7IYp080131 for ; Mon, 22 Oct 2007 11:07:18 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9MB7HKe080127 for freebsd-usb@FreeBSD.org; Mon, 22 Oct 2007 11:07:17 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Oct 2007 11:07:17 GMT Message-Id: <200710221107.l9MB7HKe080127@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 Oct 2007 11:07:18 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa o usb/91629 usb usbd_abort_pipe() may result in infinite loop 2 problems total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/46176 usb [panic] umass causes kernel panic if device removed be o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o bin/57255 usb usbd and multi-function devices o usb/63621 usb [usb] USB MemoryStick Reader stalls/crashes system o usb/69006 usb [patch] Apple Cinema Display hangs USB ports o usb/71155 usb [usb] misbehaving usb-printer hangs processes, causes o usb/73307 usb [panic] Kernel panics on USB disconnect o usb/74771 usb [umass] mounting write-protected umass device as read/ o usb/75705 usb [panic] da0 attach / Optio S4 (with backtrace) o usb/75797 usb 5.3-STABLE(2005 1/4) detect USB headset, But can not f o usb/76395 usb USB printer does not work, usbdevs says "addr 0 should o usb/77184 usb [panic] kernel panic on USB device disconnect o usb/77294 usb [ulpcom] [panic] ucom + ulpcom panic o usb/79269 usb USB ohci da0 plug/unplug causes crashes and lockups. o usb/79287 usb [uhci] UHCI hang after interrupt transfer o usb/79524 usb printing to Minolta PagePro 1[23]xxW via USB fails wit a usb/79656 usb [usb] RHSC interrupts lost o usb/79722 usb [usb] wrong alignments in ehci.h o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua o usb/80361 usb [patch] mounting of usb-stick fails o usb/80829 usb possible panic when loading USB-modules o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/82350 usb [usb] null pointer dereference in USB stack o usb/82520 usb Reboot when USL101 connected s usb/82569 usb [usb] USB mass storage plug/unplug causes system panic o usb/82660 usb [umass] [panic] EHCI: I/O stuck in state 'physrd'/pani o usb/83563 usb [panic] Page Fault while detaching Mpman Usb device o usb/83677 usb [usb] usb controller often not detected (Sun W2100z) o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US o usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/86767 usb [usb] [patch] bogus "slice starts beyond end of the di o usb/88743 usb [hang] USB makes kernel hang at boot (regression in 6. o usb/88966 usb [modules] kldunload ucom.ko returns "Device busy" erro o usb/89003 usb LaCie Firewire drive not properly supported under 6.0 o usb/89954 usb [usb] USB Disk driver race condition? o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/91283 usb booting very slow with usb devices connection (regress o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91906 usb [hang] FreeBSD hangs while booting with USB legacy sup o usb/92052 usb [unlpt] usbd causes defunct process with busy file-han o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92142 usb SET_ADDR_FAILED and SHORT_XFER errors from usb drivers o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes o usb/93640 usb [irq] device ehci causes interrupt storm on this MSI a o usb/93828 usb [panic] ohci causes panic on boot (HP Pavillion d4100e o usb/94166 usb btx halted with a flashcard plugged o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94813 usb [umass] mounting write-protected umass device freezes o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/95131 usb [install] Boot/setup process does not accept key strok o usb/95348 usb [kbd] USB keyboard unplug causes noise on screen o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb o usb/95636 usb [boot] 5 minute delay at boot when using VT6205 based o usb/96120 usb [mouse] USB mouse not always detected o usb/96224 usb [usb] mount_msdosfs cause page fault in syncer process o usb/96457 usb [panic] fatback on umass = reboot o usb/97286 usb [mouse] MS Wireless Intellimouse Explorer 2.0 doesn't o usb/99431 usb [kbd] FreeBSD on MSI 6566E (Intel 845E motherboards) d o usb/101096 usb [if_ural] [panic] USB WLAN occasionally causes kernel- o usb/101448 usb [ohci] FBSD 6.1-STABLE/AMD64 crashes under heavy USB/O o usb/101752 usb [umass] [panic] 6.1-RELEASE kernel panic on usb device o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work o usb/102096 usb [patch] /usr/sbin/usbd does not handle multiple device o usb/103025 usb [usb] wrong detection of USB device for FreeBSD 6.1 an o usb/104292 usb [hang] system lockup on forced umount of usb-storage d o usb/104830 usb [umass] system crashes when copying data to umass devi o usb/105186 usb USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 crashes box o usb/106615 usb [uftdi] uftdi module does not automatically load with o usb/106648 usb [hang] USB Floppy on D1950 10 min Hang on Insert w/o F o usb/106832 usb USB HP printer is not detected by kernel when ACPI ena o usb/107248 usb [umass] [patch] scsi_da.c quirk for Cowon iAUDIO X5 MP o usb/107446 usb [umass] umass problems (usb and fw disks) o usb/107827 usb [panic] ohci_add_done addr not found o usb/107848 usb [umass] cannot access Samsung flash disk o usb/107924 usb [patch] usbd(8) does not call detach o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE (regr o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu o usb/109397 usb [panic] on boot from USB flash o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID o usb/112568 usb USB mode may wrong when mounting Playstation Pro o usb/112631 usb [panic] Problem with SONY DSC-S80 camera o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/113478 usb [boot] FreeBSD could not start on Core2Duo notebook fr o usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6 o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971 o usb/113851 usb [boot] Unable to boot install cd from USB-CDROM o usb/113977 usb [feature request] Need a way to set mode of USB disk's o usb/114310 usb [panic] USB hub attachment panics kernel during libusb o usb/114682 usb USB media-card reader unusable o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/115298 usb Turning off USB printer panics kernel o usb/116561 usb RELENG_6 umodem panic "trying to sleep while sleeping o usb/116947 usb [patch] enable boot protocol on the USB keyboards o usb/117313 usb panic on usb camera attachment 102 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem o usb/40948 usb [usb] USB HP CDW8200 does not work o usb/48342 usb [PATCH] usbd dynamic device list. f usb/51958 usb [urio] [patch] update for urio driver o usb/52026 usb [usb] feature request: umass driver support for InSyst o usb/56095 usb [usb] [patch] QUIRK: Apacer Pen Drive fails to work o usb/59698 usb [kbd] [patch] Rework of ukbd HID to AT code translatio o usb/62257 usb [umass] card reader UCR-61S2B is only half-supported o usb/63837 usb [uhid] [patch] USB: hid_is_collection() only looks for o usb/65769 usb [usb] Call to tcflush(x, TCIFLUSH) stops input on usb- o usb/66547 usb [usb] Palm Tungsten T USB does not initialize correctl o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/70523 usb [usb] [patch] umct sending/receiving wrong characters o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71455 usb [usb] Slow USB umass performance of 5.3 o usb/72380 usb [usb] USB does not work [dual Celeron Abit] o usb/72733 usb Kyocera 7135 Palm OS connection problem. o usb/73056 usb [usb] Sun Microsystems Type 6 USB mouse not working in o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R f usb/74453 usb [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chip o usb/74557 usb imation 500mb usb key can only be written halfway on f o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75928 usb Cytronix SmartMedia card (SMC) reader has problems whe o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76732 usb Mouse problems with USB KVM Switch f usb/78984 usb [patch] Creative MUVO umass failure o usb/79723 usb [usb] prepare for high speed isochronous transfers o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80776 usb [udav] UDAV device driver shouldn't use usb_add_task o usb/80777 usb usb_rem_task() should wait for callback to complete? o usb/80854 usb suggestion for new iface-no-probe mechanism o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. f usb/81621 usb external hd hangs under load on ehci o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/85067 usb Cannot attach ScanJet 4300C to usb device o usb/85257 usb [boot] BTX boot loader fails on USB CDROM (HP DL145 Op o usb/86298 usb [mouse] Known good USB mouse won't work with correct s o usb/87224 usb Cannot mount USB Zip750 o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/88408 usb [axe] axe0 read PHY failed o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91811 usb Compact Flash in HP Photosmart 2610 return " Medium n o usb/91896 usb Serial Number of USB Memory Sticks is not passed throu o usb/92852 usb [mouse] [patch] Vertical scroll not working properly o o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93872 usb [patch] SCSI quirk required for ELTA 8061 OL USB memor o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/95173 usb [umass] [patch] cannot mount external usb harddisk VIA o usb/96381 usb [patch] add a quirk table entry for a flash ram usb st o usb/97175 usb [hang] USB cardreader hangs system o usb/97472 usb [patch] add support for Olympus C150,D390 o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/99538 usb [kbd] while using USB keyboard default params of atkbd o usb/100746 usb [kbd] system does not boot due to USB keyboard problem o usb/101761 usb [patch] usb.h: increase maximal size of report descrip o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/102678 usb [kbd] Dell PowerEdge DRAC5 USB Keyboard does not work o usb/102976 usb [panic] Casio Exilim Digital Camera cause panic o usb/103046 usb [ulpt] [patch] ulpt event driven I/O with select(2) an o usb/103289 usb USB 2.0 problems on AMD LX-800 CPU and CS-5536 chipset o usb/103418 usb [usb] [patch] usbhidctl: add ability to write output a o usb/103917 usb USB driver reports "Addr 0 should never happen" o usb/104290 usb [umass] [patch] quirk: TOSHIBA DVD-RAM drive (libretto o usb/104352 usb [ural] [patch] ural driver doesnt work o usb/104645 usb Rave C-201 MP3 player does not communicate o usb/105065 usb [sata] SATA - USB Bridge f usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/106041 usb FreeBSD does not recognise Mustek BearPaw 2400TA usb s o usb/106621 usb [axe] [patch] DLINK DUB-E100 support broken o usb/106861 usb [usbdevs] [patch]: usbdevs update: Add product ACER Ze o usb/107243 usb [patch] Apacer USB Flash Drive quirk o usb/107388 usb [PATCH] Add utoppy device from NetBSD o usb/107496 usb USB device problem on RELENG_6_2 (SHORT_XFER) (regress o usb/107665 usb [usb] [patch] uscanner support for epson stylus DX5050 o usb/107701 usb [usbd] usbd ignores "detach" o usb/107935 usb [uplcom] [panic] panic while accessing /dev/cuaU0 o usb/108056 usb [ohci] Mouse gets powered off during device probe when o usb/108344 usb [panic] kernel with atausb panics when unplugging USB o usb/108509 usb [hang] FreeBSD hang at startup after ehci0 detected (C o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC s usb/110991 usb [patch] QUIRK: Super Top IDE DEVICE (depends on usb/11 o usb/112461 usb [ehci] ehci USB 2.0 doesn't work on nforce4 o usb/112463 usb problem with Samsung USB DVD writer, libscg and FreeBS o usb/112944 usb [patch] Bi-directional access to HP LaserJet 1010 prin o usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/113432 usb WARNING: attempt to net_add_domain(netgraph) after dom o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/114068 usb [umass] [patch] Problems with connection of the umass p usb/114860 usb if_udav / ShanTou ST268 USB NIC o usb/114916 usb USB Maxtor drive (L300RO) requires quirk. o usb/115080 usb using a Hercules HWGUSB2-54-V2 wifi usb adapter o usb/115197 usb can not install from USB stick drive o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115737 usb uplcom doesn't identify my Prolific 2303 any more o usb/115933 usb RATOC REX-USB60F (usb serial converter) is working o usb/115935 usb [patch] kernel counterproductively attaches to Cyber P o usb/116057 usb [patch] Update quirks for the MetaGeek Wi-Spy o usb/116282 usb Cannot print on USB HP LJ1018 or LJ1300 o usb/116574 usb [patch] Add device ids for ICH8 USB chipsets o usb/116898 usb panic: sleeping thread while using USB hard drive o usb/117183 usb USB/fusefs -- Fatal trap 12: page fault while in kerne o usb/117185 usb [umodem] Add support for UNION interface descriptor o usb/117205 usb [patch] uscanner support for HP ScanJet 4470c 107 problems total. From owner-freebsd-usb@FreeBSD.ORG Tue Oct 23 10:30:05 2007 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 524BE16A418 for ; Tue, 23 Oct 2007 10:30:05 +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 3DA9D13C4D9 for ; Tue, 23 Oct 2007 10:30: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.1/8.14.1) with ESMTP id l9NAU2Sk056479 for ; Tue, 23 Oct 2007 10:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9NAU2bm056478; Tue, 23 Oct 2007 10:30:02 GMT (envelope-from gnats) Date: Tue, 23 Oct 2007 10:30:02 GMT Message-Id: <200710231030.l9NAU2bm056478@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Alexander Logvinov Cc: Subject: Re: usb/107935: [uplcom] [panic] panic while accessing /dev/cuaU0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Logvinov List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2007 10:30:05 -0000 The following reply was made to PR usb/107935; it has been noted by GNATS. From: Alexander Logvinov To: bug-followup@FreeBSD.org, ports@logvinov.com, imp@bsdimp.com, mirya@matrix.ua Cc: Subject: Re: usb/107935: [uplcom] [panic] panic while accessing /dev/cuaU0 Date: Tue, 23 Oct 2007 20:18:49 +1000 (YAKST) I have found same problem in kern/95512. So in 7.0-BETA1: # ps ax | grep ttyU0 850 ?? I 0:00,00 /usr/libexec/getty std.57600 ttyU0 # minicom LANG/ja LANG/ko LANG/ru minicom: Cannot open /dev/cuaU0: Input/output error # minicom Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x1c fault code = supervisor read, page not present instruction pointer = 0x20:0xc06bf97d stack pointer = 0x28:0xd621ea70 frame pointer = 0x28:0xd621ea8c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 925 (minicom) trap number = 12 panic: page fault cpuid = 0 Uptime: 3m3s Physical memory: 499 MB Dumping 60 MB: 45 29 13 #0 doadump () at pcpu.h:195 195 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc074ff67 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc0750229 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc0a131fc in trap_fatal (frame=0xd621ea30, eva=28) at /usr/src/sys/i386/i386/trap.c:872 #4 0xc0a13480 in trap_pfault (frame=0xd621ea30, usermode=0, eva=28) at /usr/src/sys/i386/i386/trap.c:785 #5 0xc0a13df5 in trap (frame=0xd621ea30) at /usr/src/sys/i386/i386/trap.c:463 #6 0xc09f9e1b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc06bf97d in uhci_softintr (v=0xc2ecc000) at /usr/src/sys/dev/usb/uhci.c:1280 #8 0xc06cbb12 in usb_schedsoftintr (bus=0xc2ecc000) at /usr/src/sys/dev/usb/usb.c:844 #9 0xc06bfbce in uhci_abort_xfer (xfer=0xc32f3000, status=Variable "status" is not available. ) at /usr/src/sys/dev/usb/uhci.c:2047 #10 0xc06bfc60 in uhci_device_bulk_abort (xfer=0xc32f3000) at /usr/src/sys/dev/usb/uhci.c:1967 #11 0xc06cf9a9 in usbd_abort_pipe (pipe=0xc34bdd80) at /usr/src/sys/dev/usb/usbdi.c:879 #12 0xc0ccbdc3 in ?? () #13 0xc34bdd80 in ?? () #14 0xd621eb0c in ?? () #15 0xc0ccc266 in ?? () #16 0x00000000 in ?? () #17 0xc0b4b640 in M_SEGMENT_init_sys_init () #18 0xd621eb68 in ?? () #19 0x00000016 in ?? () #20 0x00000016 in ?? () #21 0xc3119b00 in ?? () #22 0x802c7414 in ?? () #23 0xd621eb9c in ?? () #24 0xc079455d in ttioctl (tp=0x0, cmd=3270730752, data=0xd621eb68, flag=22) at tty.h:417 Previous frame inner to this frame (corrupt stack?) From owner-freebsd-usb@FreeBSD.ORG Tue Oct 23 15:49:10 2007 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 CD43B16A417 for ; Tue, 23 Oct 2007 15:49:10 +0000 (UTC) (envelope-from r.neese@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 9EC4313C48A for ; Tue, 23 Oct 2007 15:49:10 +0000 (UTC) (envelope-from r.neese@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so209613ana for ; Tue, 23 Oct 2007 08:49:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:reply-to:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=A4mllqNCANBK0SrAX24jwBsB5pOGnKLM2VAHI4Qdxio=; b=KyncZKkaDKqz7Junrjtmra1zZkpaY6d/8SlnlC62Tkla9k9BBpCZS/SyGxEjYE28Bxwe59eoE1YeRc467VBSijmuxoN6TbCHb1fTN0WsxKtfQmrlxeML8IWSdd3CgprzpP66UiyyV1dChoEYAEVp4DlmKxISHJSSDikdpg+HuCo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:reply-to:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=orTGe32+0Q7UQsAAPMd3rxr2mcg90x0jpQLBtNYKlnA8Ke4PXfkM5EKjj5U0vNRHJMN6PsFoUef5cJL0hw0/w6D5aBAAw7Eko8DK+eEJMLWR8jWMnonOgDvlKX84w1z4c/AncNOwMonM+AMfvDodYMHlsAMl45zkNIiPfUaEqKs= Received: by 10.143.168.14 with SMTP id v14mr1923205wfo.1193150764665; Tue, 23 Oct 2007 07:46:04 -0700 (PDT) Received: from ?192.168.15.101? ( [69.234.206.85]) by mx.google.com with ESMTPS id 62sm9490255wri.2007.10.23.07.46.02 (version=SSLv3 cipher=OTHER); Tue, 23 Oct 2007 07:46:03 -0700 (PDT) From: Richard To: freebsd-usb@freebsd.org Date: Tue, 23 Oct 2007 07:45:15 +0000 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710230745.16215.r.neese@gmail.com> Subject: linksys usb200m v2.1 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: r.neese@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2007 15:49:10 -0000 I have a linksys usb200m ver 2.1 . boght it for 15 bucks brandnew but it does not seem to load on freebsd. Yet freebsd says its a supported device. ugen0: vendor 0x13b1 product 0x0018, rev 2.00/0.01, addr 2 the unit works on windows and linux fine. I have test. wanted to know if anyone else had issues. From owner-freebsd-usb@FreeBSD.ORG Tue Oct 23 17:11:17 2007 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 1082E16A417 for ; Tue, 23 Oct 2007 17:11:17 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 8F87213C481 for ; Tue, 23 Oct 2007 17:11:16 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.14.1) with ESMTP id l9NH7jpR099822; Tue, 23 Oct 2007 11:07:46 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 23 Oct 2007 11:10:17 -0600 (MDT) Message-Id: <20071023.111017.-332174978.imp@bsdimp.com> To: r.neese@gmail.com From: "M. Warner Losh" In-Reply-To: <200710230745.16215.r.neese@gmail.com> References: <200710230745.16215.r.neese@gmail.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: linksys usb200m v2.1 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 Oct 2007 17:11:17 -0000 In message: <200710230745.16215.r.neese@gmail.com> Richard writes: : I have a linksys usb200m ver 2.1 . boght it for 15 bucks brandnew but it does : not seem to load on freebsd. Yet freebsd says its a supported device. : : ugen0: vendor 0x13b1 product 0x0018, rev 2.00/0.01, addr 2 : : the unit works on windows and linux fine. I have test. wanted to know if : anyone else had issues. In current this works. I hope to MFC the support so it will be in 6.3 Warner From owner-freebsd-usb@FreeBSD.ORG Tue Oct 23 18:11:20 2007 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 E97A316A41B for ; Tue, 23 Oct 2007 18:11:20 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.189]) by mx1.freebsd.org (Postfix) with ESMTP id 4A1D013C49D for ; Tue, 23 Oct 2007 18:11:19 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so1370494rvb for ; Tue, 23 Oct 2007 11:11:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=fbazUuk+raH8RMzZMHfk0eMzOp+EXKuilCnAVSGmK6M=; b=Zq8lW4NXakip0epxn27H4vmFmNUlT71zIOlTzGOqRtNaJcMHTrvIFiD4gW7mKWkuxKpRQctS8latsFhhHun6bXqceNY9iiC5nBhbfCdpbYA/gzswS/CZlCK8nJuPfTQbEDnli0xVayNmlHzcTGeKQx3HB0e9HeZ4N8LRhjLKEuI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=r/GRELid5ixhRFPsS7zFxrOjcP9DYOnLjyZa36rCcPovovvOvLt343u0VjyqYp7/i/0rwRP+A6IuVmui15B6I6F+nL6tIs5W6pFQtG7DzUlXs16Ov0UBV/S0Nbc2PIPmV/xzJBlHIexbeTDXdz9nR8wpMla0O+NnKjQilhtHtMk= Received: by 10.140.164.1 with SMTP id m1mr3220796rve.1193159493207; Tue, 23 Oct 2007 10:11:33 -0700 (PDT) Received: by 10.140.192.2 with HTTP; Tue, 23 Oct 2007 10:11:33 -0700 (PDT) Message-ID: <2e77fc10710231011n62fa7dbakf132e45e188cff87@mail.gmail.com> Date: Tue, 23 Oct 2007 20:11:33 +0300 From: "Niki Denev" Sender: ndenev@gmail.com To: r.neese@gmail.com In-Reply-To: <200710230745.16215.r.neese@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200710230745.16215.r.neese@gmail.com> X-Google-Sender-Auth: aebf9ce013f8793b Cc: freebsd-usb@freebsd.org Subject: Re: linksys usb200m v2.1 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 Oct 2007 18:11:21 -0000 On 10/23/07, Richard wrote: > I have a linksys usb200m ver 2.1 . boght it for 15 bucks brandnew but it does > not seem to load on freebsd. Yet freebsd says its a supported device. > > ugen0: vendor 0x13b1 product 0x0018, rev 2.00/0.01, addr 2 > > the unit works on windows and linux fine. I have test. wanted to know if > anyone else had issues. What version of freebsd are you running? if_axe(4) should be in the GENERIC kernel. Can you try to "kldload if_axe" and plug the device again? --niki From owner-freebsd-usb@FreeBSD.ORG Thu Oct 25 01:37:43 2007 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 7C7A616A41A for ; Thu, 25 Oct 2007 01:37:43 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from cp65.agava.net (cp65.agava.net [89.108.66.215]) by mx1.freebsd.org (Postfix) with ESMTP id 0AF1513C4B8 for ; Thu, 25 Oct 2007 01:37:42 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=nexii.panopticon) by cp65.agava.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.44 (FreeBSD)) id 1IkrHw-000IJq-1t for freebsd-usb@freebsd.org; Thu, 25 Oct 2007 05:13:32 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.2]) by nexii.panopticon (Postfix) with ESMTP id A3AFD17045 for ; Thu, 25 Oct 2007 05:14:23 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id B0E394087; Thu, 25 Oct 2007 05:15:07 +0400 (MSD) Date: Thu, 25 Oct 2007 05:15:07 +0400 From: Dmitry Marakasov To: freebsd-usb@freebsd.org Message-ID: <20071025011507.GA15904@hades.panopticon> Mail-Followup-To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp65.agava.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - amdmi3.ru X-Source: X-Source-Args: X-Source-Dir: Subject: how to distinguish multiple umass 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: Thu, 25 Oct 2007 01:37:43 -0000 Hi! I have multiple umass devices (flash key, player and photo camera), and I want to distinguish their devices in some way. The best thing would be to have /dev/flash, /dev/camera etc, as in this case I'll distinguish thoughput graphs on GKrellM system monitor. But I don't think it's possible, so I need a way to at least create corresponding symlinks in /dev. As I understand, devd is my savior, but there's one problem that bugs me: devd sees umass[012], but it doesn't know anything about da[012]. Is there guarantee that umassX matches daX, or is it possible to get da* device from devd on umass attach? -- Dmitry A. Marakasov | jabber: amdmi3@jabber.ru amdmi3@amdmi3.ru | http://www.amdmi3.ru From owner-freebsd-usb@FreeBSD.ORG Thu Oct 25 03:27:30 2007 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 BC72F16A420 for ; Thu, 25 Oct 2007 03:27:30 +0000 (UTC) (envelope-from drgerlists@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 6CCCA13C4B0 for ; Thu, 25 Oct 2007 03:27:30 +0000 (UTC) (envelope-from drgerlists@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so75138ana for ; Wed, 24 Oct 2007 20:27:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:organization:reply-to:to:subject:cc:message-id:references:in-reply-to:user-agent:mime-version:content-type:content-transfer-encoding; bh=MCTfhzgKuhU3fOJ7SkLqCrQ6z0yghddmUCm87nRDIGE=; b=QAF08zUVPrZhY9MvrAL7Cdz0ob/pGMEhUP5jszIBQCiHm3pJYsQRgFrQYEJ7tt9kdWOSD8AaCFh8fQcEaHLZjixwFWv4TlHmia+LM4vYcQ3N9RA4fm+EtZp6ZrIQZ1zd/0bvLU4uJF9SHar30inEXd+yMDSRIPC4Hx4+PSioEEs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:organization:reply-to:to:subject:cc:message-id:references:in-reply-to:user-agent:mime-version:content-type:content-transfer-encoding; b=BgMjxVm9DpcDPBvSSgajcJRruS80inhhBSG+deZ3LlkX3ZwZxcSAE/4kuFOd0ieyghoOY7hwSoL/+kiq4MYoM1dBJSbyDb6vVI/1UX0XnN/0jVTBvp8VOh9MUMc+Mge4+7mEnC752e/qiGml9KZLVbMVoSun4TnRdTNhtszyH+U= Received: by 10.101.66.14 with SMTP id t14mr1694327ank.1193281122437; Wed, 24 Oct 2007 19:58:42 -0700 (PDT) Received: from lmrmac.uhw.utoledo.edu ( [131.183.86.111]) by mx.google.com with ESMTPS id 13sm140791wrl.2007.10.24.19.58.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Oct 2007 19:58:40 -0700 (PDT) Date: Wed, 24 Oct 2007 22:58:39 -0400 From: drgerlists@gmail.com (Dr. Gary E. RAFE) Organization: Dr. Gary E. RAFE To: amdmi3@amdmi3.ru Message-ID: <4720065f.pXzyS31GREBN7Z4DD3SoGkw2@lmrmac.uhw.utoledo.edu> References: <20071025011507.GA15904@hades.panopticon> In-Reply-To: <20071025011507.GA15904@hades.panopticon> User-Agent: Heirloom mailx 12.3 7/15/07 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: how to distinguish multiple umass devices? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: drgerlists@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 03:27:30 -0000 Dmitry Marakasov wrote: !I have multiple umass devices (flash key, player and photo camera), and !I want to distinguish their devices in some way. ! !The best thing would be to have /dev/flash, /dev/camera etc, as in this !case I'll distinguish thoughput graphs on GKrellM system monitor. But I !don't think it's possible, so I need a way to at least create !corresponding symlinks in /dev. As I understand, devd is my savior, but !there's one problem that bugs me: devd sees umass[012], but it doesn't !know anything about da[012]. Is there guarantee that umassX matches daX, !or is it possible to get da* device from devd on umass attach? HAL appears solve this, but I don't need the overhead of HAL, so I mediated the attach process with a script that is called from devd: attach 99 { device-name "umass[0-9]+"; action "/usr/opt/etc/rmediactl $device-name start"; }; You are welcome to have a look at this script for some ideas: Comments from the list are welcome. -- Dr Gary E RAFE: drgerlists at gmail dot com From owner-freebsd-usb@FreeBSD.ORG Thu Oct 25 04:34:01 2007 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 E779916A417 for ; Thu, 25 Oct 2007 04:34:01 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp1.yandex.ru (smtp1.yandex.ru [213.180.223.87]) by mx1.freebsd.org (Postfix) with ESMTP id 106B113C48E for ; Thu, 25 Oct 2007 04:34:00 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from ns.kirov.so-cdu.ru ([77.72.136.145]:22245 "EHLO [127.0.0.1]" smtp-auth: "bu7cher" TLS-CIPHER: "DHE-RSA-AES256-SHA keybits 256/256 version TLSv1/SSLv3" TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S3487040AbXJYEVJ (ORCPT ); Thu, 25 Oct 2007 08:21:09 +0400 X-Comment: RFC 2476 MSA function at smtp1.yandex.ru logged sender identity as: bu7cher Message-ID: <472019AE.6090009@yandex.ru> Date: Thu, 25 Oct 2007 08:21:02 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: freebsd-usb@freebsd.org References: <20071025011507.GA15904@hades.panopticon> In-Reply-To: <20071025011507.GA15904@hades.panopticon> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: how to distinguish multiple umass 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: Thu, 25 Oct 2007 04:34:02 -0000 Dmitry Marakasov wrote: > The best thing would be to have /dev/flash, /dev/camera etc, as in this > case I'll distinguish thoughput graphs on GKrellM system monitor. But I > don't think it's possible, so I need a way to at least create > corresponding symlinks in /dev. As I understand, devd is my savior, but > there's one problem that bugs me: devd sees umass[012], but it doesn't > know anything about da[012]. Is there guarantee that umassX matches daX, > or is it possible to get da* device from devd on umass attach? You can use a nice feature - glabel(8) and create labes for each your flash or camera device. With devfs and devd you can configure special permissions and actions for each device. Not every camera (digital photo) can be detected as an umass storage, but you get an access to this camera with help of graphics/gphoto2. -- WBR, Andrey V. Elsukov From owner-freebsd-usb@FreeBSD.ORG Thu Oct 25 05:57:08 2007 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 3B6BE16A418 for ; Thu, 25 Oct 2007 05:57:08 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id 0651213C4A5 for ; Thu, 25 Oct 2007 05:57:07 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (w0s5lg6v68txpym8@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id l9P5gFTM005184 for ; Wed, 24 Oct 2007 22:42:15 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id l9P5gERW005183 for freebsd-usb@freebsd.org; Wed, 24 Oct 2007 22:42:14 -0700 (PDT) (envelope-from jmg) Date: Wed, 24 Oct 2007 22:42:14 -0700 From: John-Mark Gurney To: freebsd-usb@freebsd.org Message-ID: <20071025054214.GF39759@funkthat.com> Mail-Followup-To: freebsd-usb@freebsd.org References: <20071025011507.GA15904@hades.panopticon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071025011507.GA15904@hades.panopticon> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (hydrogen.funkthat.com [127.0.0.1]); Wed, 24 Oct 2007 22:42:15 -0700 (PDT) Subject: Re: how to distinguish multiple umass devices? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 05:57:08 -0000 Dmitry Marakasov wrote this message on Thu, Oct 25, 2007 at 05:15 +0400: > I have multiple umass devices (flash key, player and photo camera), and > I want to distinguish their devices in some way. > > The best thing would be to have /dev/flash, /dev/camera etc, as in this > case I'll distinguish thoughput graphs on GKrellM system monitor. But I > don't think it's possible, so I need a way to at least create > corresponding symlinks in /dev. As I understand, devd is my savior, but > there's one problem that bugs me: devd sees umass[012], but it doesn't > know anything about da[012]. Is there guarantee that umassX matches daX, > or is it possible to get da* device from devd on umass attach? Why not try geom_label? Things like fat fs's will appear by their volume in /dev/msdosfs/... check out glabel(8) for more info... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-usb@FreeBSD.ORG Thu Oct 25 13:40:03 2007 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 6503916A419 for ; Thu, 25 Oct 2007 13:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 493D013C491 for ; Thu, 25 Oct 2007 13:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9PDe37Q038991 for ; Thu, 25 Oct 2007 13:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9PDe2sx038990; Thu, 25 Oct 2007 13:40:03 GMT (envelope-from gnats) Date: Thu, 25 Oct 2007 13:40:03 GMT Message-Id: <200710251340.l9PDe2sx038990@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Henrik Gulbrandsen Cc: Subject: Re: usb/108513: [umass] Creative MuVo TX FM fails in 6.2-RELEASE (regression) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Henrik Gulbrandsen List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 13:40:03 -0000 The following reply was made to PR usb/108513; it has been noted by GNATS. From: Henrik Gulbrandsen To: bug-followup@FreeBSD.org, vsync@quadium.net Cc: Subject: Re: usb/108513: [umass] Creative MuVo TX FM fails in 6.2-RELEASE (regression) Date: Thu, 25 Oct 2007 15:13:11 +0200 I just happened to see this report; anyone wanting to get rid of this bug might want to start by testing the patch given for PR usb/78984. There is no way to confirm it without access to the same hardware, but the Creative MuVo brand and the BBB errors look suspiciously similar. /Henrik From owner-freebsd-usb@FreeBSD.ORG Fri Oct 26 18:32:34 2007 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 5929516A41A for ; Fri, 26 Oct 2007 18:32:34 +0000 (UTC) (envelope-from freebsd@chillt.de) Received: from dd15624.kasserver.com (dd15624.kasserver.com [85.13.136.215]) by mx1.freebsd.org (Postfix) with ESMTP id 1C59D13C4AA for ; Fri, 26 Oct 2007 18:32:33 +0000 (UTC) (envelope-from freebsd@chillt.de) Received: from hundertwasser.cs.tcd.ie (dslb-084-060-112-098.pools.arcor-ip.net [84.60.112.98]) by dd15624.kasserver.com (Postfix) with ESMTP id 835A5182E4ADC for ; Fri, 26 Oct 2007 20:32:32 +0200 (CEST) Message-ID: <472232D2.4040309@chillt.de> Date: Fri, 26 Oct 2007 19:32:50 +0100 From: Bartosz Fabianowski User-Agent: Thunderbird 2.0.0.6 (X11/20070810) MIME-Version: 1.0 To: freebsd-usb@freebsd.org References: <470BB0B6.5000102@chillt.de> <47222F7A.3000609@dobrohot.org> In-Reply-To: <47222F7A.3000609@dobrohot.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Introducing support for Wacom Cintiq USB tablet 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 Oct 2007 18:32:34 -0000 I am slowly working on improving my driver. So far, it works for the Cintiq and will receive Intuos 3 support after that. Graphire 4 support is planned at some stage (and not very difficult to add - if you're a coder), but I cannot give any timing yet. From owner-freebsd-usb@FreeBSD.ORG Fri Oct 26 18:48:05 2007 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 1C09D16A41B for ; Fri, 26 Oct 2007 18:48:05 +0000 (UTC) (envelope-from andrew@dobrohot.org) Received: from smtp-7.masterhost.ru (smtp-7.masterhost.ru [83.222.24.107]) by mx1.freebsd.org (Postfix) with SMTP id 4F6B713C4B5 for ; Fri, 26 Oct 2007 18:48:03 +0000 (UTC) (envelope-from andrew@dobrohot.org) Received: (qmail 69544 invoked from network); 26 Oct 2007 18:21:04 -0000 Received: from unknown (HELO inspirra.localdomain) (izdat%dobrohot.org@195.133.109.226) by smtp1.masterhost.ru with SMTP; 26 Oct 2007 18:21:04 -0000 Received: from inspirra.localdomain (inspirra.localdomain [192.168.2.1]) by inspirra.localdomain (8.14.1/8.13.8) with ESMTP id l9QIIY3A006436; Fri, 26 Oct 2007 22:18:34 +0400 (MSD) (envelope-from andrew@dobrohot.org) Message-ID: <47222F7A.3000609@dobrohot.org> Date: Fri, 26 Oct 2007 22:18:34 +0400 From: Andrew Muhametshin Organization: =?windows-1251?Q?=C0=CD=CE_=22=C4=EE=E1=F0=EE=F5=EE=F2=22?= User-Agent: Thunderbird 2.0.0.6 (X11/20070805) MIME-Version: 1.0 To: Bartosz Fabianowski , freebsd-usb@freebsd.org References: <470BB0B6.5000102@chillt.de> In-Reply-To: <470BB0B6.5000102@chillt.de> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: Introducing support for Wacom Cintiq USB tablet 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 Oct 2007 18:48:05 -0000 Bartosz Fabianowski пишет: > Hi list > > I got a Wacom Cintiq tablet last week and wrote a driver to make it > usable under FreeBSD. On the hardware side, the driver communicates > with the tablet via the FreeBSD USB stack. On the user side, it > implements a subset of the Linux input framework just large enough to > make the Linux Wacom X driver happy. The driver is thus compatible > with the X driver from the Linux Wacom project [1]. The latter driver > compiles and works on FreeBSD once two missing include files are > copied over from Linux. > <...> > > I hope others find this driver useful. I certainly am glad I can stick > with FreeBSD while enjoying the pressure and tilt sensitivity of a > Wacom tablet :). Finally, as writing this driver was done as part of > my PhD: This work is financed by the "Irish Research Council for > Science, Engineering and Technology: funded by the National > Development Plan" Hello i'm seeking for a way to make my WACOM Graphire4 (CTE-440) running on freeBSD. Sadly, i'm not a coder, but would cheerfully help you with testing once you take up with it. Andrew M. From owner-freebsd-usb@FreeBSD.ORG Sat Oct 27 01:00:02 2007 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 67BF316A41A for ; Sat, 27 Oct 2007 01:00: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 3620413C4A8 for ; Sat, 27 Oct 2007 01:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9R102ch064111 for ; Sat, 27 Oct 2007 01:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9R102QX064110; Sat, 27 Oct 2007 01:00:02 GMT (envelope-from gnats) Resent-Date: Sat, 27 Oct 2007 01:00:02 GMT Resent-Message-Id: <200710270100.l9R102QX064110@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, "Daniel J. O'Connor" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCCA416A421 for ; Sat, 27 Oct 2007 00:52:47 +0000 (UTC) (envelope-from darius@midget.dons.net.au) Received: from ipmail02.adl2.internode.on.net (ipmail02.adl2.internode.on.net [203.16.214.141]) by mx1.freebsd.org (Postfix) with ESMTP id 899E813C49D for ; Sat, 27 Oct 2007 00:52:46 +0000 (UTC) (envelope-from darius@midget.dons.net.au) Received: from ppp121-45-118-190.lns11.adl6.internode.on.net (HELO midget.dons.net.au) ([121.45.118.190]) by ipmail02.adl2.internode.on.net with ESMTP; 27 Oct 2007 10:07:25 +0930 Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.14.1/8.13.8) with ESMTP id l9R0bIKZ015057 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 27 Oct 2007 10:07:18 +0930 (CST) (envelope-from darius@midget.dons.net.au) Received: (from darius@localhost) by midget.dons.net.au (8.14.1/8.13.8/Submit) id l9R0bI8b015056; Sat, 27 Oct 2007 10:07:18 +0930 (CST) (envelope-from darius) Message-Id: <200710270037.l9R0bI8b015056@midget.dons.net.au> Date: Sat, 27 Oct 2007 10:07:18 +0930 (CST) From: "Daniel J. O'Connor" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/117546: Add MaxStream ZigBee product ID to uftdi/usbdevs X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Daniel J. O'Connor" List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2007 01:00:02 -0000 >Number: 117546 >Category: usb >Synopsis: Add MaxStream ZigBee product ID to uftdi/usbdevs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 27 01:00:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Daniel J. O'Connor >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD midget.dons.net.au 6.2-STABLE FreeBSD 6.2-STABLE #3: Sat Sep 15 13:53:54 CST 2007 darius@midget.dons.net.au:/data/obj/data/src/sys/MIDGET i386 >Description: This adds the ID for the MaxStream USB test carrier which holds ZigBee modules. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # maxstream-ftdi.diff # echo x - maxstream-ftdi.diff sed 's/^X//' >maxstream-ftdi.diff << 'END-of-maxstream-ftdi.diff' XIndex: dev/usb/usbdevs X=================================================================== XRCS file: /usr/CVS-Repository/src/sys/dev/usb/usbdevs,v Xretrieving revision 1.323 Xdiff -u -r1.323 usbdevs X--- dev/usb/usbdevs 10 Jul 2007 21:00:09 -0000 1.323 X+++ dev/usb/usbdevs 27 Oct 2007 00:30:30 -0000 X@@ -1190,6 +1190,7 @@ X product FTDI EMCU2D 0xe88a Expert mouseCLOCK USB II X product FTDI PCMSFU 0xe88b Precision Clock MSF USB X product FTDI EMCU2H 0xe88c Expert mouseCLOCK USB II HBG X+product FTDI MAXSTREAM 0xee18 MaxStream PKG-U X product FTDI USBSERIAL 0xfa00 Matrix Orbital USB Serial X product FTDI MX2_3 0xfa01 Matrix Orbital MX2 or MX3 X product FTDI MX4_5 0xfa02 Matrix Orbital MX4 or MX5 XIndex: dev/usb/uftdi.c X=================================================================== XRCS file: /usr/CVS-Repository/src/sys/dev/usb/uftdi.c,v Xretrieving revision 1.37 Xdiff -u -r1.37 uftdi.c X--- dev/usb/uftdi.c 22 Jun 2007 05:53:05 -0000 1.37 X+++ dev/usb/uftdi.c 27 Oct 2007 00:31:36 -0000 X@@ -169,7 +169,8 @@ X uaa->product == USB_PRODUCT_FTDI_UOPTBR || X uaa->product == USB_PRODUCT_FTDI_EMCU2D || X uaa->product == USB_PRODUCT_FTDI_PCMSFU || X- uaa->product == USB_PRODUCT_FTDI_EMCU2H )) X+ uaa->product == USB_PRODUCT_FTDI_EMCU2H || X+ uaa->product == USB_PRODUCT_FTDI_MAXSTREAM )) X return (UMATCH_VENDOR_PRODUCT); X if (uaa->vendor == USB_VENDOR_SIIG2 && X (uaa->product == USB_PRODUCT_SIIG2_US2308)) X@@ -255,6 +256,7 @@ X case USB_PRODUCT_FTDI_EMCU2D: X case USB_PRODUCT_FTDI_PCMSFU: X case USB_PRODUCT_FTDI_EMCU2H: X+ case USB_PRODUCT_FTDI_MAXSTREAM: X sc->sc_type = UFTDI_TYPE_8U232AM; X sc->sc_hdrlen = 0; X break; END-of-maxstream-ftdi.diff exit >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sat Oct 27 01:11:25 2007 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 C2F2F16A420 for ; Sat, 27 Oct 2007 01:11:25 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [216.148.227.153]) by mx1.freebsd.org (Postfix) with ESMTP id AB85213C4A3 for ; Sat, 27 Oct 2007 01:11:25 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from [192.168.1.101] (c-69-255-34-108.hsd1.va.comcast.net[69.255.34.108]) by comcast.net (rwcrmhc13) with SMTP id <20071027010121m1300bschee>; Sat, 27 Oct 2007 01:01:22 +0000 Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-1-391315732" To: freebsd-usb@freebsd.org From: Justin Hibbits Date: Fri, 26 Oct 2007 21:01:20 -0400 X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.2) Subject: Qemu and USB forwarding 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 Oct 2007 01:11:25 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-1-391315732 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Since my printer only works with Windows, I've been trying to get Windows in Qemu working with USB forwarding, but no luck so far. When it probes the device (All-in-one printer), it hangs in the ugen driver, in state 'ugenri', and stays there. Thus far, this is all the information I've been able to gather. I know USB forwarding is experimental, but hoping I can get this printer working soon. Has anyone else seen this? Google shows one instance, but that's it. Is there any way that I could work around this, or more information is needed? Thanks, Justin --Apple-Mail-1-391315732 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFHIo3gqt29EJDZlM4RAtEOAKCN318gcSPoSrUU+/CgYhl88a8WGwCeMi+o DLGTgBH9w13Km52w+X3wPqo= =0Nyf -----END PGP SIGNATURE----- --Apple-Mail-1-391315732-- From owner-freebsd-usb@FreeBSD.ORG Sat Oct 27 21:10:04 2007 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 0E98516A417 for ; Sat, 27 Oct 2007 21: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 DAB7D13C48A for ; Sat, 27 Oct 2007 21:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9RLA3tP032551 for ; Sat, 27 Oct 2007 21:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9RLA33n032550; Sat, 27 Oct 2007 21:10:03 GMT (envelope-from gnats) Date: Sat, 27 Oct 2007 21:10:03 GMT Message-Id: <200710272110.l9RLA33n032550@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Heikki Suonsivu Cc: Subject: Re: usb/91546: [umodem] [patch] Nokia 6630 mobile phone does not work X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Heikki Suonsivu List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2007 21:10:04 -0000 The following reply was made to PR usb/91546; it has been noted by GNATS. From: Heikki Suonsivu To: bug-followup@FreeBSD.org, littlesavage@rambler.ru Cc: Subject: Re: usb/91546: [umodem] [patch] Nokia 6630 mobile phone does not work Date: Sat, 27 Oct 2007 23:29:30 +0300 The last patch fixes also the problem for Nokia E90, it shows as ucom now, previously it just came up as ugen. I have not yet tried other phones. ppp seems to work fine. Thanks for the patch - please commit it if not yet done. Heikki Suonsivu