From owner-freebsd-usb@FreeBSD.ORG Sun May 13 15:00:10 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 47E9916A409 for ; Sun, 13 May 2007 15:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 10C4513C45B for ; Sun, 13 May 2007 15:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4DF0944098725 for ; Sun, 13 May 2007 15:00:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4DF09V6098723; Sun, 13 May 2007 15:00:09 GMT (envelope-from gnats) Resent-Date: Sun, 13 May 2007 15:00:09 GMT Resent-Message-Id: <200705131500.l4DF09V6098723@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, Charlie & Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 750CF16A402 for ; Sun, 13 May 2007 14:55:25 +0000 (UTC) (envelope-from root@vit1251.dyndns.org) Received: from vit1251.dyndns.org (ppp91-122-18-53.pppoe.avangard-dsl.ru [91.122.18.53]) by mx1.freebsd.org (Postfix) with ESMTP id 1FC4513C457 for ; Sun, 13 May 2007 14:55:25 +0000 (UTC) (envelope-from root@vit1251.dyndns.org) Received: from root by vit1251.dyndns.org with local (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HnDWw-0000FO-Sv for FreeBSD-gnats-submit@freebsd.org; Sun, 13 May 2007 12:50:30 +0000 Message-Id: Date: Sun, 13 May 2007 12:50:30 +0000 From: "Charlie" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/112631: Problem with SONY DSC-S80 camera X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Charlie & List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2007 15:00:10 -0000 >Number: 112631 >Category: usb >Synopsis: Problem with SONY DSC-S80 camera >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 13 15:00:08 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Charlie & >Release: FreeBSD 6.2-RELEASE-p4 i386 >Organization: >Environment: System: FreeBSD nuclear 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #16: Wed May 9 21:43:06 UTC 2007 root@nuclear:/usr/obj/usr/src/sys/FAST i386 >Description: Kernel panick. >How-To-Repeat: Camera SONY DSC-S80 as drive without memory card(for access to internal read-only memory). In /dev/ was create new da0 and da0s1. After mount all right but when start unmount (and in sync) system try to write change and fail. Can't dismount. If dismount -force then crash kernel. >Fix: I am think need detect read-only "da" device. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sun May 13 20:36:12 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C38C916A403; Sun, 13 May 2007 20:36:12 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id BB15E13C45B; Sun, 13 May 2007 20:36:11 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [82.116.76.134] (account mc467741@c2i.net HELO [192.168.1.125]) by mailfe07.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 489207784; Sun, 13 May 2007 22:36:09 +0200 From: Hans Petter Selasky To: Igor Popov Date: Sun, 13 May 2007 22:35:56 +0200 User-Agent: KMail/1.9.5 References: <200705061151.l46Bp4e9013742@www.freebsd.org> <200705071512.50827.hselasky@c2i.net> <200705080919.45417.igorpopov@newmail.ru> In-Reply-To: <200705080919.45417.igorpopov@newmail.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200705132235.56792.hselasky@c2i.net> Cc: freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/112461: ehci USB 2.0 doesn't work on nforce4 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, 13 May 2007 20:36:12 -0000 On Tuesday 08 May 2007 08:19, Igor Popov wrote: > =D0=92 =D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B8 =D0=BE=D1= =82 Monday 07 May 2007 16:12:50 Hans Petter Selasky =D0=BD=D0=B0=D0=BF=D0= =B8=D1=81=D0=B0=D0=BB(=D0=B0): > > On Monday 07 May 2007 08:09, Igor Popov wrote: > > > Good morning. > > > > > > > On Sunday 06 May 2007 13:51, Igor Popov wrote: > > > > > >Number: 112461 > > > > > >Category: usb > > > > > >Synopsis: ehci USB 2.0 doesn't work on nforce4 > > > > > >Confidential: no > > > > > >Severity: non-critical > > > > > >Priority: medium > > > > > >Responsible: freebsd-usb > > > > > >State: open > > > > > >Quarter: > > > > > >Keywords: > > > > > >Date-Required: > > > > > >Class: sw-bug > > > > > >Submitter-Id: current-users > > > > > >Arrival-Date: Sun May 06 12:00:11 GMT 2007 > > > > > >Closed-Date: > > > > > >Last-Modified: > > > > > >Originator: Igor Popov > > > > > >Release: 6.0, 6.1, 6.2 > > > > > >Organization: > > > > > >Environment: > > > > > > > > > > FreeBSD unix.my.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Sat Jan 27 > > > > > 13:01:18 EET 2007 > > > > > toor@unix.my.net:/usr/obj/usr/src/sys/SUPERKERNEL i386 > > > > > > > > > > >Description: > > > > > > > > > > I have motherboard(Asus A8N-E) that built on nforce4 chipset, it > > > > > has usb 2.0 ports, but under FreeBSD with usb 2.0 flashdrive max > > > > > speed near 1.2Mb/s on file copying (my custom kernel has ehci > > > > > driver), that is usb1.[01] speed. But under both linux an windows > > > > > with the same flashdrive speed is near 10Mb/s. > > > > > > > > > > Copyright (c) 1992-2007 The FreeBSD Project. > > > > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 199= 3, > > > > > 1994 The Regents of the University of California. All rights > > > > > reserved. FreeBSD is a registered trademark of The FreeBSD > > > > > Foundation. FreeBSD 6.2-RELEASE #0: Sat Jan 27 13:01:18 EET 2007 > > > > > toor@unix.my.net:/usr/obj/usr/src/sys/SUPERKERNEL > > > > > ACPI APIC Table: > > > > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > > > > CPU: AMD Athlon(tm) 64 Processor 3000+ (1809.28-MHz 686-class CPU) > > > > > Origin =3D "AuthenticAMD" Id =3D 0x20ff2 Stepping =3D 2 > > > > > > > > > > Features=3D0x78bfbff > > > >,P GE ,M CA ,CM OV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> > > > > > Features2=3D0x1 > > > > > AMD Features=3D0xe2500800 > > > > > AMD Features2=3D0x1 > > > > > real memory =3D 536805376 (511 MB) > > > > > avail memory =3D 507523072 (484 MB) > > > > > ioapic0 irqs 0-23 on motherboard > > > > > wlan: mac acl policy registered > > > > > ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, > > > > > RF5413) acpi0: on motherboard > > > > > acpi_bus_number: can't get _ADR > > > > > acpi_bus_number: can't get _ADR > > > > > acpi0: Power Button (fixed) > > > > > acpi_bus_number: can't get _ADR > > > > > acpi_bus_number: can't get _ADR > > > > > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > > > > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on > > > > > acpi0 cpu0: on acpi0 > > > > > acpi_button0: on acpi0 > > > > > pcib0: port 0xcf8-0xcff on acpi0 > > > > > pci0: on pcib0 > > > > > pci0: at device 0.0 (no driver attached) > > > > > isab0: at device 1.0 on pci0 > > > > > isa0: on isab0 > > > > > nfsmb0: port > > > > > 0xe400-0xe41f,0x4c00-0x4c3f,0x4c 40-0x4c7f irq 20 at device 1.1 on > > > > > pci0 smbus0: on nfsmb0 > > > > > smb0: on smbus0 > > > > > nfsmb1: on nfsmb0 > > > > > smbus1: on nfsmb1 > > > > > smb1: on smbus1 > > > > > ohci0: mem 0xd3104000-0xd3104fff > > > > > irq 21 at devic e 2.0 on pci0 > > > > > ohci0: [GIANT-LOCKED] > > > > > usb0: OHCI version 1.0, legacy support > > > > > usb0: on ohci0 > > > > > usb0: USB revision 1.0 > > > > > uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > > > > > uhub0: 10 ports with 10 removable, self powered > > > > > ehci0: mem > > > > > 0xfeb00000-0xfeb000ff irq 22 at d evice 2.1 on pci0 > > > > > ehci0: [GIANT-LOCKED] > > > > > usb1: EHCI version 1.0 > > > > > usb1: companion controller, 4 ports each: usb0 > > > > > usb1: on ehci0 > > > > > usb1: USB revision 2.0 > > > > > uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 > > > > > uhub1: 10 ports with 10 removable, self powered > > > > > pcm0: port 0xdc00-0xdcff,0xe000-0xe0ff mem > > > > > 0xd3103000-0xd3103ff f irq 23 at device 4.0 on pci0 > > > > > pcm0: > > > > > atapci0: port > > > > > 0x1f0-0x1f7,0x3f6,0x170-0 x177,0x376,0xf000-0xf00f at device 6.0 = on > > > > > pci0 ata0: on atapci0 > > > > > ata1: on atapci0 > > > > > atapci1: port > > > > > 0x9f0-0x9f7,0xbf0-0xbf3,0 x970-0x977,0xb70-0xb73,0xd800-0xd80f mem > > > > > 0xd3102000-0xd3102fff irq 21 at device 7.0 on pci0 > > > > > ata2: on atapci1 > > > > > ata3: on atapci1 > > > > > atapci2: port > > > > > 0x9e0-0x9e7,0xbe0-0xbe3,0 x960-0x967,0xb60-0xb63,0xc400-0xc40f mem > > > > > 0xd3101000-0xd3101fff irq 22 at device 8.0 on pci0 > > > > > ata4: on atapci2 > > > > > ata5: on atapci2 > > > > > pcib1: at device 9.0 on pci0 > > > > > pci5: on pcib1 > > > > > ath0: mem 0xd3000000-0xd300ffff irq 16 at device 6= =2E0 > > > > > on pci5 ath0: Ethernet address: 00:15:e9:a4:58:9b > > > > > ath0: mac 7.9 phy 4.5 radio 5.6 > > > > > nfe0: port > > > > > 0xb000-0xb007 mem 0xd3 100000-0xd3100fff irq 23 at device 10.0 on > > > > > pci0 > > > > > miibus0: on nfe0 > > > > > e1000phy0: on miibus0 > > > > > e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > > > > > 1000baseTX-FDX, auto nfe0: Ethernet address: 00:17:31:13:8d:3f > > > > > nfe0: [FAST] > > > > > pcib2: at device 11.0 on pci0 > > > > > pci4: on pcib2 > > > > > pcib3: at device 12.0 on pci0 > > > > > pci3: on pcib3 > > > > > pcib4: at device 13.0 on pci0 > > > > > pci2: on pcib4 > > > > > pcib5: at device 14.0 on pci0 > > > > > pci1: on pcib5 > > > > > nvidia0: port 0xa000-0xa07f mem > > > > > 0xd0000000-0xd0ffffff,0xc0 000000-0xcfffffff,0xd1000000-0xd1ffffff > > > > > irq 18 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] > > > > > acpi_tz0: on acpi0 > > > > > fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 > > > > > on acpi0 fdc0: [FAST] > > > > > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > > > > > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags > > > > > 0x10 on acpi0 sio0: type 16550A > > > > > ppc0: port 0x378-0x37f irq 7 on > > > > > acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode > > > > > ppbus0: on ppc0 > > > > > lpt0: on ppbus0 > > > > > lpt0: Interrupt-driven port > > > > > ppi0: on ppbus0 > > > > > atkbdc0: port 0x60,0x64 irq 1 on > > > > > acpi0 atkbd0: irq 1 on atkbdc0 > > > > > atkbd0: [GIANT-LOCKED] > > > > > psm0: irq 12 on atkbdc0 > > > > > psm0: [GIANT-LOCKED] > > > > > psm0: model IntelliMouse, device ID 3 > > > > > pmtimer0 on isa0 > > > > > sc0: at flags 0x100 on isa0 > > > > > sc0: VGA <16 virtual consoles, flags=3D0x300> > > > > > sio1: configured irq 3 not in bitmap of probed irqs 0 > > > > > sio1: port may not be enabled > > > > > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff > > > > > on isa0 Timecounter "TSC" frequency 1809282513 Hz quality 800 > > > > > Timecounters tick every 1.000 msec > > > > > ad0: 238475MB at ata0-master UDMA100 > > > > > acd0: DVDR at ata1-master UDMA66 > > > > > ad1: 190782MB at ata5-master SATA150 > > > > > Trying to mount root from ufs:/dev/ad0s2a > > > > > ath0: link state changed to UP > > > > > nfe0: link state changed to UP > > > > > umass0: vendor 0x0457 USB Mass Storage Device, rev 2.00/1.00, addr > > > > > 2 da0 at umass-sim0 bus 0 target 0 lun 0 > > > > > da0: Removable Direct Access SCSI-2 > > > > > device da0: 40.000MB/s transfers > > > > > da0: 3920MB (8028160 512 byte sectors: 255H 63S/T 499C) > > > > > > > > This is maybe a SCSI problem. > > > > > > > > If you install the new USB stack [the SVN version], see: > > > > > > > > http://www.turbocat.net/~hselasky/usb4bsd > > > > > > > > Then try to copy some files and turn on debugging: > > > > > > > > sysctl hw.usb.umass.debug=3D-1 > > > > > > > > You might get a lot of messages. Look for errors. > > > > > > No, it is standard kernel from RELENG_6_2 branch, usb stack is not > > > modified. > > > > You have to compile a new USB kernel with "options USB_DEBUG". My new U= SB > > stack has that flag set by default. > > Recompiled kernel with makeoptions DEBUG=3D-DUSB_DEBUG > # sysctl hw.usb > hw.usb.ehci.debug: 1 > hw.usb.ohci.debug: 1 > hw.usb.ugen.debug: 1 > hw.usb.uhci.debug: 1 > hw.usb.uhci.loop: 0 > hw.usb.uhid.debug: 0 > hw.usb.uhub.debug: 0 > hw.usb.ukbd.debug: 0 > hw.usb.ulpt.debug: 0 > hw.usb.umass.debug: 1 > hw.usb.ums.debug: 0 > hw.usb.debug: 1 > > ehci_pcd: change=3D0x02 > ehci after reset, status=3D0x00001005 > ehci port 1 reset, status =3D 0x00001005 > usbd_new_device bus=3D0xc3b51000 port=3D1 depth=3D1 speed=3D3 > usbd_new_device: adding unit addr=3D2, rev=3D200, class=3D0, subclass=3D0, > protocol=3D0, maxpacket=3D64, len=3D18, speed=3D3 > usbd_new_device: new dev (addr 2), dev=3D0xc4c35900, parent=3D0xc3b3f900 > usbd_probe_and_attach: trying device specific drivers > usbd_probe_and_attach: no device specific driver found > usbd_probe_and_attach: looping over 1 configurations > usbd_set_config_index: (addr 1) cno=3D2 attr=3D0x80, selfpowered=3D0, pow= er=3D98 > usbd_set_config_index: set config 1 > umass0: vendor 0x0457 USB Mass Storage Device, rev 2.00/1.00, addr 2 > umass0: SCSI over Bulk-Only; quirks =3D 0x0000 > umass0:0:0:-1: Attached to scbus0 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-2 device > da0: 40.000MB/s transfers > da0: 3920MB (8028160 512 byte sectors: 255H 63S/T 499C) > umass0: BBB reset failed, IOERROR > ehci_device_clear_toggle: epipe=3D0xc4c35180 status=3D0x80008d00 > usbd_dump_pipe: pipe=3D0xc4c35180 > usbd_dump_iface: iface=3D0xc40bb020 > device=3D0xc4c35900 idesc=3D0xc433fe09 index=3D0 altindex=3D0 priv=3D0 > usbd_dump_device: dev=3D0xc4c35900 > bus=3D0xc3b51000 default_pipe=3D0xc4c35800 > address=3D2 config=3D1 depth=3D1 speed=3D3 self_powered=3D0 power=3D98 la= ngid=3D1033 > usbd_dump_endpoint: endp=3D0xc3d12dcc > edesc=3D0xc433fe19 refcnt=3D1 > bEndpointAddress=3D0x82 > (usbd_dump_pipe:) > refcnt=3D1 running=3D0 aborting=3D0 > intrxfer=3D0, repeat=3D0, interval=3D-1 > umass0: BBB bulk-in clear stall failed, IOERROR > ehci_device_clear_toggle: epipe=3D0xc4c35000 status=3D0x801f8049 > usbd_dump_pipe: pipe=3D0xc4c35000 > usbd_dump_iface: iface=3D0xc40bb020 > device=3D0xc4c35900 idesc=3D0xc433fe09 index=3D0 altindex=3D0 priv=3D0 > usbd_dump_device: dev=3D0xc4c35900 > bus=3D0xc3b51000 default_pipe=3D0xc4c35800 > address=3D2 config=3D1 depth=3D1 speed=3D3 self_powered=3D0 power=3D98 la= ngid=3D1033 > usbd_dump_endpoint: endp=3D0xc3d12dc0 > edesc=3D0xc433fe12 refcnt=3D1 > bEndpointAddress=3D0x01 > (usbd_dump_pipe:) > refcnt=3D1 running=3D0 aborting=3D0 > intrxfer=3D0, repeat=3D0, interval=3D-1 > umass0: BBB bulk-out clear stall failed, IOERROR > umass0: BBB reset failed, IOERROR > ehci_device_clear_toggle: epipe=3D0xc4c35180 status=3D0x8d00 > usbd_dump_pipe: pipe=3D0xc4c35180 > usbd_dump_iface: iface=3D0xc40bb020 > device=3D0xc4c35900 idesc=3D0xc433fe09 index=3D0 altindex=3D0 priv=3D0 > usbd_dump_device: dev=3D0xc4c35900 > bus=3D0xc3b51000 default_pipe=3D0xc4c35800 > address=3D2 config=3D1 depth=3D1 speed=3D3 self_powered=3D0 power=3D98 la= ngid=3D1033 > usbd_dump_endpoint: endp=3D0xc3d12dcc > edesc=3D0xc433fe19 refcnt=3D1 > bEndpointAddress=3D0x82 > (usbd_dump_pipe:) > refcnt=3D1 running=3D0 aborting=3D0 > > IOERROR on mount, so I have to turn of debug, unplug and plug usbdrive, > mount it and turn on debug. On file copying there were no kernel messages. It looks like your UMASS device does not like to be started with a BBB rese= t=20 command. Is it possible for you to try out the new USB stack? =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Sun May 13 20:40:08 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A125F16A402 for ; Sun, 13 May 2007 20:40:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 8FE1013C489 for ; Sun, 13 May 2007 20:40:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4DKe86q036494 for ; Sun, 13 May 2007 20:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4DKe8vH036491; Sun, 13 May 2007 20:40:08 GMT (envelope-from gnats) Date: Sun, 13 May 2007 20:40:08 GMT Message-Id: <200705132040.l4DKe8vH036491@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/112461: ehci USB 2.0 doesn't work on nforce4 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2007 20:40:08 -0000 The following reply was made to PR usb/112461; it has been noted by GNATS. From: Hans Petter Selasky To: Igor Popov Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: usb/112461: ehci USB 2.0 doesn't work on nforce4 Date: Sun, 13 May 2007 22:35:56 +0200 On Tuesday 08 May 2007 08:19, Igor Popov wrote: > =D0=92 =D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B8 =D0=BE=D1= =82 Monday 07 May 2007 16:12:50 Hans Petter Selasky =D0=BD=D0=B0=D0=BF=D0= =B8=D1=81=D0=B0=D0=BB(=D0=B0): > > On Monday 07 May 2007 08:09, Igor Popov wrote: > > > Good morning. > > > > > > > On Sunday 06 May 2007 13:51, Igor Popov wrote: > > > > > >Number: 112461 > > > > > >Category: usb > > > > > >Synopsis: ehci USB 2.0 doesn't work on nforce4 > > > > > >Confidential: no > > > > > >Severity: non-critical > > > > > >Priority: medium > > > > > >Responsible: freebsd-usb > > > > > >State: open > > > > > >Quarter: > > > > > >Keywords: > > > > > >Date-Required: > > > > > >Class: sw-bug > > > > > >Submitter-Id: current-users > > > > > >Arrival-Date: Sun May 06 12:00:11 GMT 2007 > > > > > >Closed-Date: > > > > > >Last-Modified: > > > > > >Originator: Igor Popov > > > > > >Release: 6.0, 6.1, 6.2 > > > > > >Organization: > > > > > >Environment: > > > > > > > > > > FreeBSD unix.my.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Sat Jan 27 > > > > > 13:01:18 EET 2007 > > > > > toor@unix.my.net:/usr/obj/usr/src/sys/SUPERKERNEL i386 > > > > > > > > > > >Description: > > > > > > > > > > I have motherboard(Asus A8N-E) that built on nforce4 chipset, it > > > > > has usb 2.0 ports, but under FreeBSD with usb 2.0 flashdrive max > > > > > speed near 1.2Mb/s on file copying (my custom kernel has ehci > > > > > driver), that is usb1.[01] speed. But under both linux an windows > > > > > with the same flashdrive speed is near 10Mb/s. > > > > > > > > > > Copyright (c) 1992-2007 The FreeBSD Project. > > > > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 199= 3, > > > > > 1994 The Regents of the University of California. All rights > > > > > reserved. FreeBSD is a registered trademark of The FreeBSD > > > > > Foundation. FreeBSD 6.2-RELEASE #0: Sat Jan 27 13:01:18 EET 2007 > > > > > toor@unix.my.net:/usr/obj/usr/src/sys/SUPERKERNEL > > > > > ACPI APIC Table: > > > > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > > > > CPU: AMD Athlon(tm) 64 Processor 3000+ (1809.28-MHz 686-class CPU) > > > > > Origin =3D "AuthenticAMD" Id =3D 0x20ff2 Stepping =3D 2 > > > > > > > > > > Features=3D0x78bfbff > > > >,P GE ,M CA ,CM OV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> > > > > > Features2=3D0x1 > > > > > AMD Features=3D0xe2500800 > > > > > AMD Features2=3D0x1 > > > > > real memory =3D 536805376 (511 MB) > > > > > avail memory =3D 507523072 (484 MB) > > > > > ioapic0 irqs 0-23 on motherboard > > > > > wlan: mac acl policy registered > > > > > ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, > > > > > RF5413) acpi0: on motherboard > > > > > acpi_bus_number: can't get _ADR > > > > > acpi_bus_number: can't get _ADR > > > > > acpi0: Power Button (fixed) > > > > > acpi_bus_number: can't get _ADR > > > > > acpi_bus_number: can't get _ADR > > > > > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > > > > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on > > > > > acpi0 cpu0: on acpi0 > > > > > acpi_button0: on acpi0 > > > > > pcib0: port 0xcf8-0xcff on acpi0 > > > > > pci0: on pcib0 > > > > > pci0: at device 0.0 (no driver attached) > > > > > isab0: at device 1.0 on pci0 > > > > > isa0: on isab0 > > > > > nfsmb0: port > > > > > 0xe400-0xe41f,0x4c00-0x4c3f,0x4c 40-0x4c7f irq 20 at device 1.1 on > > > > > pci0 smbus0: on nfsmb0 > > > > > smb0: on smbus0 > > > > > nfsmb1: on nfsmb0 > > > > > smbus1: on nfsmb1 > > > > > smb1: on smbus1 > > > > > ohci0: mem 0xd3104000-0xd3104fff > > > > > irq 21 at devic e 2.0 on pci0 > > > > > ohci0: [GIANT-LOCKED] > > > > > usb0: OHCI version 1.0, legacy support > > > > > usb0: on ohci0 > > > > > usb0: USB revision 1.0 > > > > > uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > > > > > uhub0: 10 ports with 10 removable, self powered > > > > > ehci0: mem > > > > > 0xfeb00000-0xfeb000ff irq 22 at d evice 2.1 on pci0 > > > > > ehci0: [GIANT-LOCKED] > > > > > usb1: EHCI version 1.0 > > > > > usb1: companion controller, 4 ports each: usb0 > > > > > usb1: on ehci0 > > > > > usb1: USB revision 2.0 > > > > > uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 > > > > > uhub1: 10 ports with 10 removable, self powered > > > > > pcm0: port 0xdc00-0xdcff,0xe000-0xe0ff mem > > > > > 0xd3103000-0xd3103ff f irq 23 at device 4.0 on pci0 > > > > > pcm0: > > > > > atapci0: port > > > > > 0x1f0-0x1f7,0x3f6,0x170-0 x177,0x376,0xf000-0xf00f at device 6.0 = on > > > > > pci0 ata0: on atapci0 > > > > > ata1: on atapci0 > > > > > atapci1: port > > > > > 0x9f0-0x9f7,0xbf0-0xbf3,0 x970-0x977,0xb70-0xb73,0xd800-0xd80f mem > > > > > 0xd3102000-0xd3102fff irq 21 at device 7.0 on pci0 > > > > > ata2: on atapci1 > > > > > ata3: on atapci1 > > > > > atapci2: port > > > > > 0x9e0-0x9e7,0xbe0-0xbe3,0 x960-0x967,0xb60-0xb63,0xc400-0xc40f mem > > > > > 0xd3101000-0xd3101fff irq 22 at device 8.0 on pci0 > > > > > ata4: on atapci2 > > > > > ata5: on atapci2 > > > > > pcib1: at device 9.0 on pci0 > > > > > pci5: on pcib1 > > > > > ath0: mem 0xd3000000-0xd300ffff irq 16 at device 6= =2E0 > > > > > on pci5 ath0: Ethernet address: 00:15:e9:a4:58:9b > > > > > ath0: mac 7.9 phy 4.5 radio 5.6 > > > > > nfe0: port > > > > > 0xb000-0xb007 mem 0xd3 100000-0xd3100fff irq 23 at device 10.0 on > > > > > pci0 > > > > > miibus0: on nfe0 > > > > > e1000phy0: on miibus0 > > > > > e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > > > > > 1000baseTX-FDX, auto nfe0: Ethernet address: 00:17:31:13:8d:3f > > > > > nfe0: [FAST] > > > > > pcib2: at device 11.0 on pci0 > > > > > pci4: on pcib2 > > > > > pcib3: at device 12.0 on pci0 > > > > > pci3: on pcib3 > > > > > pcib4: at device 13.0 on pci0 > > > > > pci2: on pcib4 > > > > > pcib5: at device 14.0 on pci0 > > > > > pci1: on pcib5 > > > > > nvidia0: port 0xa000-0xa07f mem > > > > > 0xd0000000-0xd0ffffff,0xc0 000000-0xcfffffff,0xd1000000-0xd1ffffff > > > > > irq 18 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] > > > > > acpi_tz0: on acpi0 > > > > > fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 > > > > > on acpi0 fdc0: [FAST] > > > > > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > > > > > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags > > > > > 0x10 on acpi0 sio0: type 16550A > > > > > ppc0: port 0x378-0x37f irq 7 on > > > > > acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode > > > > > ppbus0: on ppc0 > > > > > lpt0: on ppbus0 > > > > > lpt0: Interrupt-driven port > > > > > ppi0: on ppbus0 > > > > > atkbdc0: port 0x60,0x64 irq 1 on > > > > > acpi0 atkbd0: irq 1 on atkbdc0 > > > > > atkbd0: [GIANT-LOCKED] > > > > > psm0: irq 12 on atkbdc0 > > > > > psm0: [GIANT-LOCKED] > > > > > psm0: model IntelliMouse, device ID 3 > > > > > pmtimer0 on isa0 > > > > > sc0: at flags 0x100 on isa0 > > > > > sc0: VGA <16 virtual consoles, flags=3D0x300> > > > > > sio1: configured irq 3 not in bitmap of probed irqs 0 > > > > > sio1: port may not be enabled > > > > > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff > > > > > on isa0 Timecounter "TSC" frequency 1809282513 Hz quality 800 > > > > > Timecounters tick every 1.000 msec > > > > > ad0: 238475MB at ata0-master UDMA100 > > > > > acd0: DVDR at ata1-master UDMA66 > > > > > ad1: 190782MB at ata5-master SATA150 > > > > > Trying to mount root from ufs:/dev/ad0s2a > > > > > ath0: link state changed to UP > > > > > nfe0: link state changed to UP > > > > > umass0: vendor 0x0457 USB Mass Storage Device, rev 2.00/1.00, addr > > > > > 2 da0 at umass-sim0 bus 0 target 0 lun 0 > > > > > da0: Removable Direct Access SCSI-2 > > > > > device da0: 40.000MB/s transfers > > > > > da0: 3920MB (8028160 512 byte sectors: 255H 63S/T 499C) > > > > > > > > This is maybe a SCSI problem. > > > > > > > > If you install the new USB stack [the SVN version], see: > > > > > > > > http://www.turbocat.net/~hselasky/usb4bsd > > > > > > > > Then try to copy some files and turn on debugging: > > > > > > > > sysctl hw.usb.umass.debug=3D-1 > > > > > > > > You might get a lot of messages. Look for errors. > > > > > > No, it is standard kernel from RELENG_6_2 branch, usb stack is not > > > modified. > > > > You have to compile a new USB kernel with "options USB_DEBUG". My new U= SB > > stack has that flag set by default. > > Recompiled kernel with makeoptions DEBUG=3D-DUSB_DEBUG > # sysctl hw.usb > hw.usb.ehci.debug: 1 > hw.usb.ohci.debug: 1 > hw.usb.ugen.debug: 1 > hw.usb.uhci.debug: 1 > hw.usb.uhci.loop: 0 > hw.usb.uhid.debug: 0 > hw.usb.uhub.debug: 0 > hw.usb.ukbd.debug: 0 > hw.usb.ulpt.debug: 0 > hw.usb.umass.debug: 1 > hw.usb.ums.debug: 0 > hw.usb.debug: 1 > > ehci_pcd: change=3D0x02 > ehci after reset, status=3D0x00001005 > ehci port 1 reset, status =3D 0x00001005 > usbd_new_device bus=3D0xc3b51000 port=3D1 depth=3D1 speed=3D3 > usbd_new_device: adding unit addr=3D2, rev=3D200, class=3D0, subclass=3D0, > protocol=3D0, maxpacket=3D64, len=3D18, speed=3D3 > usbd_new_device: new dev (addr 2), dev=3D0xc4c35900, parent=3D0xc3b3f900 > usbd_probe_and_attach: trying device specific drivers > usbd_probe_and_attach: no device specific driver found > usbd_probe_and_attach: looping over 1 configurations > usbd_set_config_index: (addr 1) cno=3D2 attr=3D0x80, selfpowered=3D0, pow= er=3D98 > usbd_set_config_index: set config 1 > umass0: vendor 0x0457 USB Mass Storage Device, rev 2.00/1.00, addr 2 > umass0: SCSI over Bulk-Only; quirks =3D 0x0000 > umass0:0:0:-1: Attached to scbus0 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-2 device > da0: 40.000MB/s transfers > da0: 3920MB (8028160 512 byte sectors: 255H 63S/T 499C) > umass0: BBB reset failed, IOERROR > ehci_device_clear_toggle: epipe=3D0xc4c35180 status=3D0x80008d00 > usbd_dump_pipe: pipe=3D0xc4c35180 > usbd_dump_iface: iface=3D0xc40bb020 > device=3D0xc4c35900 idesc=3D0xc433fe09 index=3D0 altindex=3D0 priv=3D0 > usbd_dump_device: dev=3D0xc4c35900 > bus=3D0xc3b51000 default_pipe=3D0xc4c35800 > address=3D2 config=3D1 depth=3D1 speed=3D3 self_powered=3D0 power=3D98 la= ngid=3D1033 > usbd_dump_endpoint: endp=3D0xc3d12dcc > edesc=3D0xc433fe19 refcnt=3D1 > bEndpointAddress=3D0x82 > (usbd_dump_pipe:) > refcnt=3D1 running=3D0 aborting=3D0 > intrxfer=3D0, repeat=3D0, interval=3D-1 > umass0: BBB bulk-in clear stall failed, IOERROR > ehci_device_clear_toggle: epipe=3D0xc4c35000 status=3D0x801f8049 > usbd_dump_pipe: pipe=3D0xc4c35000 > usbd_dump_iface: iface=3D0xc40bb020 > device=3D0xc4c35900 idesc=3D0xc433fe09 index=3D0 altindex=3D0 priv=3D0 > usbd_dump_device: dev=3D0xc4c35900 > bus=3D0xc3b51000 default_pipe=3D0xc4c35800 > address=3D2 config=3D1 depth=3D1 speed=3D3 self_powered=3D0 power=3D98 la= ngid=3D1033 > usbd_dump_endpoint: endp=3D0xc3d12dc0 > edesc=3D0xc433fe12 refcnt=3D1 > bEndpointAddress=3D0x01 > (usbd_dump_pipe:) > refcnt=3D1 running=3D0 aborting=3D0 > intrxfer=3D0, repeat=3D0, interval=3D-1 > umass0: BBB bulk-out clear stall failed, IOERROR > umass0: BBB reset failed, IOERROR > ehci_device_clear_toggle: epipe=3D0xc4c35180 status=3D0x8d00 > usbd_dump_pipe: pipe=3D0xc4c35180 > usbd_dump_iface: iface=3D0xc40bb020 > device=3D0xc4c35900 idesc=3D0xc433fe09 index=3D0 altindex=3D0 priv=3D0 > usbd_dump_device: dev=3D0xc4c35900 > bus=3D0xc3b51000 default_pipe=3D0xc4c35800 > address=3D2 config=3D1 depth=3D1 speed=3D3 self_powered=3D0 power=3D98 la= ngid=3D1033 > usbd_dump_endpoint: endp=3D0xc3d12dcc > edesc=3D0xc433fe19 refcnt=3D1 > bEndpointAddress=3D0x82 > (usbd_dump_pipe:) > refcnt=3D1 running=3D0 aborting=3D0 > > IOERROR on mount, so I have to turn of debug, unplug and plug usbdrive, > mount it and turn on debug. On file copying there were no kernel messages. It looks like your UMASS device does not like to be started with a BBB rese= t=20 command. Is it possible for you to try out the new USB stack? =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Sun May 13 20:41:05 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6C3A416A402; Sun, 13 May 2007 20:41:05 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.swip.net [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id A8F7A13C46E; Sun, 13 May 2007 20:41:04 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [82.116.76.134] (account mc467741@c2i.net HELO [192.168.1.125]) by mailfe11.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 318846963; Sun, 13 May 2007 22:41:02 +0200 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Sun, 13 May 2007 22:40:49 +0200 User-Agent: KMail/1.9.5 References: <200705132112.46658.idiotbg@gmail.com> <20070513194957.GB28958@in-addr.com> In-Reply-To: <20070513194957.GB28958@in-addr.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705132240.49576.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org, Momchil Ivanov Subject: Re: freebsd & webcam 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, 13 May 2007 20:41:05 -0000 On Sunday 13 May 2007 21:49, Gary Palmer wrote: > On Sun, May 13, 2007 at 09:12:41PM +0200, Momchil Ivanov wrote: > > Hi guys, > > > > I`ve recently received Logitec QuickCam Express Plus and was wondering > > whether I can use it with freebsd. When I plug it in I see the following > > in messages ugen0: vendor 0x046d Camera, rev 1.10/0.00, addr 5 and the > > led on the camera is on. I`ve installed pwc (multimedia/pwcbsd from > > ports) but when I load the module nothing happens: I don`t see anything > > in messages and no /dev/video0 is created. My system is FreeBSD > > 6.2-STABLE #4: Sat Apr 21 23:27:13 CEST 2007 if that would be of any > > help. > > So my question is: can I use my webcam. If yes how :) ? and if no, is > > there some way to change the answer to yes? > > Did you disconnect and reconnect the camera after loading the pwc module? > If it still doesn't appear, you need to post the 'usbdevs -v' output > which will include the device ID as well as the manufacturer ID. Apropos webcameras, I'm currently working on a Linux USB emulation layer for the new USB stack, that will enable High-Speed webcams working through the same "pwcbsd" module that Luigi has created. --HPS From owner-freebsd-usb@FreeBSD.ORG Sun May 13 21:13:58 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF83B16A404; Sun, 13 May 2007 21:13:58 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 882C113C46E; Sun, 13 May 2007 21:13:58 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4DLDwQp039830; Sun, 13 May 2007 21:13:58 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4DLDwYw039826; Sun, 13 May 2007 21:13:58 GMT (envelope-from linimon) Date: Sun, 13 May 2007 21:13:58 GMT From: Mark Linimon Message-Id: <200705132113.l4DLDwYw039826@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-usb@FreeBSD.org Cc: Subject: Re: usb/112640: [usb] Kernel freezes when writing a file to an ex2fs filesystem on a usb disk 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, 13 May 2007 21:13:58 -0000 Synopsis: [usb] Kernel freezes when writing a file to an ex2fs filesystem on a usb disk Responsible-Changed-From-To: freebsd-amd64->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Sun May 13 21:13:27 UTC 2007 Responsible-Changed-Why: Reassign. http://www.freebsd.org/cgi/query-pr.cgi?pr=112640 From owner-freebsd-usb@FreeBSD.ORG Mon May 14 11:08:55 2007 Return-Path: X-Original-To: freebsd-usb@FreeBSD.org Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E2CF16A400 for ; Mon, 14 May 2007 11:08:55 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 66E0513C45B for ; Mon, 14 May 2007 11:08:55 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4EB8tpt033183 for ; Mon, 14 May 2007 11:08:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4EB8rdw033179 for freebsd-usb@FreeBSD.org; Mon, 14 May 2007 11:08:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 14 May 2007 11:08:53 GMT Message-Id: <200705141108.l4EB8rdw033179@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2007 11:08:55 -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/40792 usb signals lead to data loss on device ugen 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 f usb/55555 usb [ums] system freezes with access to /dev/ums0 o bin/57255 usb usbd and multi-function devices o usb/62088 usb [usb] Logitech Cordless/Optical Mouse not working o usb/62309 usb [ugen] [panic] panic: ugen(4) driver 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 f usb/76204 usb panic while using usb attached modem o usb/76395 usb USB printer does not work, usbdevs says "addr 0 should o usb/77184 usb kernel panic on USB device disconnect o usb/77294 usb ucom + ulpcom panic o usb/77940 usb [quirk] [patch] insertion of usb keyboard panics syste f i386/78218 usb [kue] kue not detected on Sony PCG-F370 VAIO o usb/78989 usb please add USB keyboard support to install CD's o usb/79140 usb WD Firewire/USB Combo hangs under load on USB interfac o usb/79269 usb USB ohci da0 plug/unplug causes crashes and lockups. o usb/79287 usb UHCI hang after interrupt transfer o usb/79524 usb printing to Minolta PagePro 1[23]xxW via USB fails wit f 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 f usb/80260 usb Travan USB tape drive fails to write o usb/80361 usb 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/81308 usb [ugen] [patch] polling a ugen(4) control endpoint caus f usb/82198 usb Panic on attaching of ONKI N-338 USB MP3 player f usb/82272 usb Can not recognize Casio camera EX-Z40 as a umass devic o usb/82350 usb [usb] null pointer dereference in USB stack o usb/82520 usb Reboot when USL101 connected o usb/82569 usb [usb] USB mass storage plug/unplug causes system panic o usb/82660 usb EHCI: I/O stuck in state 'physrd'/panic o usb/83504 usb [usb] SpeedTouch USB stop working on recent current (a 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 Microsoft Intellimouse Explorer 4.0A doesn't work. 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/84936 usb install - usb keyboard not recognized o usb/86031 usb need support usb nic rt2500 in my 5.4 STABLE o usb/86767 usb [usb] bogus "slice starts beyond end of the disk:..." o usb/87099 usb panic: ohci_add_done: addr 0x000d1bf0 not found o usb/88743 usb [hang] USB makes kernel hang at boot (regression in 6. o usb/88966 usb kldunload ucom.ko returns "Device busy" error. o usb/89003 usb LaCie Firewire drive not properly supported under 6.0 o usb/89954 usb [usb] USB Disk driver race condition? f usb/89997 usb [umass] [panic] panic on iPod mini detach o usb/90162 usb [usb] [patch] Add support for the MS Wireless USB Mous o usb/90700 usb Kernel panic on connect/mount/use umass device o usb/91238 usb USB tape unit fails to write a second tape file to the o usb/91263 usb [patch] USB quirk needed for Logitec USB Hard disk LHD o usb/91283 usb booting very slow with usb devices connection (regress o usb/91538 usb Unable to print to EPSON CX3500 o usb/91906 usb FreeBSD hangs while booting with USB legacy support on o usb/92052 usb usbd causes defunct process with busy file-handle o kern/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 hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes choppy m f usb/93496 usb USB2.0 umass stalls on VIA o usb/93640 usb device ehci causes interrupt storm on this MSI amd64 m o usb/93828 usb ohci causes panic on boot (HP Pavillion d4100e) o usb/94166 usb btx halted with a flashcard plugged o usb/94384 usb kernel panic with usb2 hardware o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94742 usb [umass] [patch] umass driver does not recognise YANO e o usb/94813 usb mounting write-protected umass device freezes computer o usb/94897 usb Kernel Panic when cleanly unmounting USB disk o usb/95131 usb Boot/setup process does not accept key strokes o usb/95348 usb USB keyboard unplug causes noise on screen o usb/95562 usb Write Stress in USB Mass drive cause: [vinvalbuf: dir o usb/95636 usb [boot] 5 minute delay at boot when using VT6205 based o usb/96120 usb USB mouse not always detected o usb/96224 usb [usb] mount_msdosfs cause page fault in syncer process o usb/96457 usb fatback on umass = reboot o usb/97286 usb MS Wireless Intellimouse Explorer 2.0 doesn't work o usb/99431 usb FreeBSD on MSI 6566E (Intel 845E motherboards) doesn't o usb/101096 usb [if_ural] USB WLAN occasionally causes kernel-panics d o usb/101752 usb [panic] 6.1-RELEASE kernel panic on usb device inserti o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work o usb/102096 usb /usr/sbin/usbd does not handle multiple devices in one o usb/103025 usb [usb] wrong detection of USB device for FreeBSD 6.1 an o usb/104292 usb system lockup on forced umount of usb-storage device o usb/104830 usb system crashes when copying data to umass devices 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/107101 usb [umass] [patch] Quirk for Denver MP3 player o usb/107116 usb [usb] panic while accessing usb msdos pccard o usb/107128 usb [usb] panic while accessing usb msdos flashkey o usb/107248 usb [PATCH] scsi_da.c quirk for Cowon iAUDIO X5 MP3 player 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 problem with samsung flash o usb/107924 usb [patch] usbd(8) does not call detach o usb/108097 usb [usbgen] [patch] ADMtek 851X USB-to-LAN adapter 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/110122 usb [ugen] [patch] usb_interrupt_read does not respect tim 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 kern/111753 usb [uhid] Replicable system panic involving UHID driver o usb/112568 usb USB mode may wrong when mounting psp o usb/112569 usb USB mode may wrong when mounting psp o usb/112631 usb Problem with SONY DSC-S80 camera o usb/112640 usb [usb] Kernel freezes when writing a file to an ex2fs f 117 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem s usb/32653 usb Added patches to improve USB scanner supportOB o usb/40948 usb [usb] USB HP CDW8200 does not work f usb/41415 usb [usb] [patch] Some USB scanners cannot talk to uscanne o usb/48342 usb [PATCH] usbd dynamic device list. o kern/51958 usb [usb] [patch] update for urio driver o kern/52026 usb [usb] feature request: umass driver support for InSyst o usb/53025 usb [ugen] [patch] ugen does not allow O_NONBLOCK for inte o usb/56095 usb [usb] [patch] QUIRK: Apacer Pen Drive fails to work o kern/59698 usb [kbd] [patch] Rework of ukbd HID to AT code translatio f usb/60248 usb [patch] Problem with USB printer HP LaserJet 1300 o usb/61234 usb [usb] [patch] usbhidaction(1) doesn't support using an o usb/63837 usb [uhid] [patch] USB: hid_is_collection() only looks for o kern/65769 usb [usb] Call to tcflush(x, TCIFLUSH) stops input on usb- o kern/66547 usb [usb] Palm Tungsten T USB does not initialize correctl o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/68412 usb [usb] [patch] QUIRK: Philips KEY013 USB MP3 player o usb/70523 usb [usb] [patch] umct sending/receiving wrong characters o usb/70942 usb [usb] Genius Wireless USB mouse: moused doesn't work c o usb/71416 usb [usb] Cryptoflex e-gate USB token (ugen0) detach is no o usb/71417 usb [usb] Cryptoflex e-gate USB token (ugen0) communicatio o usb/71455 usb [usb] Slow USB umass performance of 5.3 o usb/71605 usb [umass] [patch] umass doesn't recognize multiple slots o usb/72380 usb [usb] USB does not work [dual Celeron Abit] o usb/72732 usb [patch] Kyocera 7135 quirk. 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 USB flash drive causes CAM status 0x4 on 4.10Release f usb/74358 usb [umass] unplugging at boot time an umass device crashe o usb/74453 usb Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chipset) doe o usb/74557 usb imation 500mb usb key can only be written halfway on f o usb/74609 usb [umodem] [patch] allowing cdma modems to work at full o usb/74849 usb [usbdevs] [patch] Samsung SPH-i500 does not attach pro o usb/74880 usb [usb] [patch] Samsung N400 cellphone/acm fails to atac o kern/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75800 usb ucom1: init failed STALLED error in time of sync with 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/76732 usb Mouse problems with USB KVM Switch f usb/78371 usb Philips Wearable Audio Player (128) fails to attach f usb/78984 usb Creative MUVO umass failure o usb/79723 usb [usb] prepare for high speed isochronous transfers o usb/79725 usb [usb] [patch] USB device speed is not double-checked o usb/79893 usb [umass] [patch] new usbdevs/umass quirks derived from o usb/80010 usb [aue] [patch] add support for the AEI USB to LAN adapt f usb/80773 usb "usbd_get_string()" could have taken a length paramete o usb/80774 usb have "usbd_find_desc" in line with the other "usbd_fin 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.c is not work with CLIE TH55. f usb/81621 usb external hd hangs under load on ehci o usb/82436 usb [usbdevs] [patch] USL101 Host-to-Host bridge support o o usb/83022 usb ALI USB 2.0 EHCI Controller is not detected o usb/83863 usb Communication problem between opensc/openct via USB wi o usb/85067 usb Cannot attach ScanJet 4300C to usb device o usb/85992 usb [uhid] [patch] USB stops working when trying to read f o usb/86195 usb [usbdevs] [patch] allow USB Ethernet Adaptor "ELECOM L o usb/86298 usb Known good USB mouse won't work with correct settings o usb/86438 usb Fix for non-working iPod over USB is in NetBSD CVS 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/88939 usb [usbdevs] [patch] Fix cheapy Myson USB-IDE adapter f usb/89087 usb usb external harddrive hangs with BBB reset failed, TI f usb/91191 usb HP LaserJet 1020 (USB printer) not recognized f usb/91516 usb [umass] umass0 problems, with Freecom Classic SL Hard 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/92306 usb [quirk] [patch] Support for iRiver U10 USB media playe o usb/92403 usb [uplcom] uplcom.c needs new entry for 4.00 revision of o usb/92852 usb Vertical scroll not working properly on A4Tech WOP-49 o usb/93389 usb Digital Camera Pentax S60 don't work o usb/93872 usb [patch] SCSI quirk required for ELTA 8061 OL USB memor o usb/94132 usb [patch] quirk for CENTURY EX35QUAT disk enclosure o usb/94148 usb [usbdevs] [patch] Make if_cdce work with ARM linux han o usb/94311 usb [ugen][PATCH] allow interrupt IN transactions to be af o usb/94439 usb [patch] Add support for JNC MP3 Player o usb/94946 usb [uhub] [patch] code dynamic status size for status cha o usb/95037 usb USB disk didnt recognized on hot-plug. o usb/95173 usb [usb] cannot mount external usb harddisk VIA Technolog o usb/95241 usb [patch] add USB ID for OEM Pharos 360 GPS p usb/95803 usb [patch] Add support for AnyData ADU-E100H o usb/95805 usb [patch] Add Support for Siemens ES75 modem o usb/96381 usb [patch] add a quirk table entry for a flash ram usb st p usb/96546 usb [usb] [patch] Add support (quirk) for EasyMP3 EM732X U o usb/96714 usb [usbdevs] [patch] Update uvisor to support the Fossil o usb/97175 usb USB cardreader hangs system o usb/97472 usb [patch] add support for Olympus C150,D390 o usb/98343 usb BBB reset failed errors with Creative Muvo MP3 player; o usb/99419 usb external usb harddrive slow to accept 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/101757 usb [patch] uhid.4: correct structure field names to match 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 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 [patch] quirk: TOSHIBA DVD-RAM drive (libretto DVD Doc o usb/104352 usb [ural] ural driver doesnt work o usb/104645 usb Rave C-201 MP3 player does not communicate o usb/105065 usb [sata] SATA - USB Bridge o usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/105518 usb [patch] epson perfection 3490 usb scanner def o usb/106041 usb FreeBSD does not recognise Mustek BearPaw 2400TA usb s o usb/106070 usb devd recognizes ucom, but ttyU is the device actually o usb/106462 usb [usbdevs] Motorola U6 PEBL not recognized by system vi o usb/106538 usb [patch] Can not burn DVD on Sony DRX-820UL external US o usb/106621 usb [usb] DLINK DUB-E100 support broken o usb/106861 usb [PATCH]: usbdevs update: Add product ACER Zeevo BT-500 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/107526 usb [usbdevs] Patch to support the Crystalfontz CFA-635 20 o usb/107642 usb [patch] add Ralink Technology RT2501USB/RT2601USB chip o kern/107665 usb [usb] [patch] uscanner support for epson stylus DX5050 o usb/107701 usb usbd ignores "detach" o usb/107935 usb [uplcom] 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/108427 usb [patch] quirk: Samsung MP0402H o usb/108509 usb [hang] FreeBSD hang at startup after ehci0 detected (C o usb/108810 usb [patch] quirk for I/O Magic USB flash drive "Giga Bank o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC o usb/110477 usb [usbdevs] [patch] add Benq 3300U/4300U support to Free o usb/110681 usb [ukbd][patch] multiple keys will be repeated o usb/110991 usb [patch] QUIRK: Super Top IDE DEVICE (depends on usb/11 o usb/110992 usb [uftdi] [patch] Add Tactrix Openport support in uftdi o usb/111710 usb [patch] [usb] add support for Option GlobeTrotter 3G+ o usb/112161 usb [usbdevs] [patch] Option N.V. Fusion UMTS Quad-GPRS o usb/112392 usb [usbdevs] [patch] Make Epson Perfection 3490 recognize o usb/112460 usb ehci USB 2.0 doesn't work on nforce4 o usb/112461 usb ehci USB 2.0 doesn't work on nforce4 o usb/112463 usb problem with Samsung USB DVD writer, libscg and FreeBS 139 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon May 14 14:21:25 2007 Return-Path: X-Original-To: freebsd-usb@FreeBSD.org Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D242316A400 for ; Mon, 14 May 2007 14:21:25 +0000 (UTC) (envelope-from ingo@efil.de) Received: from moses.efil.de (www.efil.de [213.23.145.142]) by mx1.freebsd.org (Postfix) with ESMTP id 88DCF13C44B for ; Mon, 14 May 2007 14:21:25 +0000 (UTC) (envelope-from ingo@efil.de) Received: by moses.efil.de (Postfix, from userid 1000) id 1D5E711D1AC; Mon, 14 May 2007 16:01:16 +0200 (CEST) Date: Mon, 14 May 2007 14:02:08 +0200 From: Ingo Bormuth To: freebsd-usb@FreeBSD.org Message-ID: <20070514120208.GA8239@efil.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Url: http://ibormuth.efil.de/contact User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: usb/106621: [usb] DLINK DUB-E100 support broken 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, 14 May 2007 14:21:25 -0000 Hi usb team, just wondering whether there is any progress on this one. If not, I'd be glad to do my best trying to fix it myself. Coming from linux though I'm pretty new to freebsd's internals and politics. Eventually I might need some assistance. Is there any prior work outside of the official cvs? Which would be the best irc channel to contact relevant peers? Thanks Ingo -- Ingo Bormuth, voicebox & fax: +49-(0)-12125-10226517 public key 86326EC9, http://ibormuth.efil.de/contact From owner-freebsd-usb@FreeBSD.ORG Mon May 14 15:01:25 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DF11616A400 for ; Mon, 14 May 2007 15:01:25 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.swip.net [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id 8011613C43E for ; Mon, 14 May 2007 15:01:25 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [194.248.135.20] (account mc467741@c2i.net HELO unknown-00-c0-9f-49-78-d8.lan) by mailfe10.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 319433544; Mon, 14 May 2007 17:01:23 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Mon, 14 May 2007 17:01:10 +0200 User-Agent: KMail/1.9.5 References: <20070514120208.GA8239@efil.de> In-Reply-To: <20070514120208.GA8239@efil.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705141701.10105.hselasky@c2i.net> Cc: Ingo Bormuth Subject: Re: usb/106621: [usb] DLINK DUB-E100 support broken 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, 14 May 2007 15:01:26 -0000 On Monday 14 May 2007 14:02, Ingo Bormuth wrote: > Hi usb team, > > just wondering whether there is any progress on this one. > > If not, I'd be glad to do my best trying to fix it myself. > Coming from linux though I'm pretty new to freebsd's internals > and politics. Eventually I might need some assistance. > > Is there any prior work outside of the official cvs? > Which would be the best irc channel to contact relevant peers? > > Thanks > > Ingo Hi, In my if_axe.c : { USB_VENDOR_DLINK, USB_PRODUCT_DLINK_DUBE100, 0 }, { USB_VENDOR_DLINK, USB_PRODUCT_DLINK_DUBE100B1 , AXE_FLAG_772 }, So it is not working? --HPS From owner-freebsd-usb@FreeBSD.ORG Mon May 14 23:54:26 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D033916A400 for ; Mon, 14 May 2007 23:54:26 +0000 (UTC) (envelope-from sec@42.org) Received: from ice.42.org (ice.42.org [194.77.85.2]) by mx1.freebsd.org (Postfix) with ESMTP id 64C6E13C448 for ; Mon, 14 May 2007 23:54:26 +0000 (UTC) (envelope-from sec@42.org) Received: by ice.42.org (Postfix, from userid 1000) id 2779BC46C; Tue, 15 May 2007 01:34:38 +0200 (CEST) Date: Tue, 15 May 2007 01:34:38 +0200 From: Stefan `Sec` Zehl To: freebsd-bluetooth@freebsd.org, freebsd-usb@freebsd.org Message-ID: <20070514233438.GD24803@ice.42.org> X-Current-Backlog: 2710 messages Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i I-love-doing-this: really X-Modeline: vim:set ts=8 sw=4 smarttab tw=72 si noic notitle: Accept-Languages: de, en X-URL: http://sec.42.org/ Cc: Subject: libusbhid bug? 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, 14 May 2007 23:54:26 -0000 Hi, I've been playing around with a Bluetooth HID device. Bluetooth uses the same HID format as USB, so libusbhid is used to parse these messages. While debugging, I've found what I think is a mistake in parsing "Array"-type input messages: In my HID descriptor, there is the following snippet: | 95 06 | Report Count(6) | 75 08 | Report Size(8) | 15 00 | Logical Minimum(0) | 26 a4 00| Logical Maximum(164) | 05 07 | Usage Page(Key Codes) | 19 00 | Usage Minimum(0x00) | 29 a4 | Usage Maximum(0xa4) | 81 00 | Input(Data,Array,Absolute) The current usbhid only parses one item of Report_Size (8bit). According to the spec it should parse Report_Count items: | An array provides an alternate means for | describing the data returned from a group of | buttons. Arrays are more efficient, if less flexible | than variable items. Rather than returning a single | bit for each button in the group, an array returns an | index in each field that corresponds to the pressed | button (like keyboard scan codes). An out-of range | value in and array field is considered no controls | asserted. Buttons or keys in an array that are | simultaneously pressed need to be reported in | multiple fields. Therefore, the number of fields in | an array input item (Report Count) dictates the | maximum number of simultaneous controls that | can be reported. A keyboard could report up to | three simultaneous keys using an array with three | 8-bit fields (Report Size = 8, Report Count = 3). I have created a patch which changes that behaviour, and attached it below. My sample code works fine with these changes, but as I don't have an USB Keyboard, it would be great if someone could check that this doesn't break anything. --- parse.c.org Wed Feb 11 22:09:13 2004 +++ parse.c Tue May 15 01:26:08 2007 @@ -54,6 +54,7 @@ int multimax; int kindset; int reportid; + int isarray; /* * The start of collection item has no report ID set, so save @@ -100,6 +101,7 @@ s->kindset = kindset; s->reportid = id; s->hassavedcoll = 0; + s->isarray = 0; return (s); } @@ -182,6 +184,16 @@ hid_clear_local(c); } } + if(s->isarray) { + REPORT_SAVED_COLL; + *h = *c; + h->next = 0; + h->pos = s->kindpos[c->kind]; + s->kindpos[c->kind] += c->report_size ; + if(--s->isarray ==0) + hid_clear_local(c); + return(1); + }; for (;;) { p = s->p; if (p >= s->end) @@ -262,14 +274,9 @@ } else { if (s->minset) c->usage = c->usage_minimum; - *h = *c; - h->next = 0; - h->pos = s->kindpos[c->kind]; - s->kindpos[c->kind] += - c->report_size * c->report_count; - hid_clear_local(c); s->minset = 0; - return (1); + s->isarray=c->report_count; + goto top; } case 9: /* Output */ retkind = hid_output; CU, Sec -- "The General who in a hundred battles is always victorious is not as great as the one who achieves his objectives without fighting." -- Sun Tzu From owner-freebsd-usb@FreeBSD.ORG Tue May 15 05:20:10 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5EC3916A400 for ; Tue, 15 May 2007 05:20:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 094DB13C45A for ; Tue, 15 May 2007 05:20:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4F5K9M5057508 for ; Tue, 15 May 2007 05:20:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4F5K9qq057501; Tue, 15 May 2007 05:20:09 GMT (envelope-from gnats) Date: Tue, 15 May 2007 05:20:09 GMT Message-Id: <200705150520.l4F5K9qq057501@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Dieter Cc: Subject: Re: amd64/112640: [usb] Kernel freezes when writing a file to an ex2fs filesystem on a usb disk X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dieter List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2007 05:20:10 -0000 The following reply was made to PR usb/112640; it has been noted by GNATS. From: Dieter To: freebsd-amd64@FreeBSD.org, bug-followup@FreeBSD.org Cc: Subject: Re: amd64/112640: [usb] Kernel freezes when writing a file to an ex2fs filesystem on a usb disk Date: Mon, 14 May 2007 21:19:49 +0100 I have had similar hangs. It does not depend on multiple CPUs or USB. Single AMD64 CPU, SATA drive connected to nforce4 ultra. USB disk with FFS works fine, even with large (tens-of-GB) files. I have only seen this with ext2fs. It may well be a problem with large filesizes, perhaps a 31 or 32 bit limit. Small files (a few KB) work okay. Mounting the ext2fs read-only works fine, even with multi-GB files. I think my case was removing a large file from the ext2fs. This was with FreeBSD-6.0. I haven't seen it with 6.2, but that's because I've avoided rm-ing large files on ext2fs. The ext2fs was created under Linux, as were the large files. Rm-ing the large files works fine under Linux. From owner-freebsd-usb@FreeBSD.ORG Tue May 15 06:59:51 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D8A0316A402 for ; Tue, 15 May 2007 06:59:51 +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 272CB13C45D for ; Tue, 15 May 2007 06:59:50 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.lan) by mailfe13.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 96929481; Tue, 15 May 2007 08:59:49 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Markus Brueffer Date: Tue, 15 May 2007 08:59:37 +0200 User-Agent: KMail/1.9.5 References: <20070514233438.GD24803@ice.42.org> In-Reply-To: <20070514233438.GD24803@ice.42.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705150859.37126.hselasky@c2i.net> Cc: freebsd-bluetooth@freebsd.org, Stefan `Sec` Zehl Subject: Re: libusbhid bug? 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, 15 May 2007 06:59:51 -0000 Hi, I think Markus Brueffer is working on a new HID parser. --HPS On Tuesday 15 May 2007 01:34, Stefan `Sec` Zehl wrote: > Hi, > > I've been playing around with a Bluetooth HID device. Bluetooth uses the > same HID format as USB, so libusbhid is used to parse these messages. > > While debugging, I've found what I think is a mistake in parsing > "Array"-type input messages: > > In my HID descriptor, there is the following snippet: > | 95 06 | Report Count(6) > | 75 08 | Report Size(8) > | 15 00 | Logical Minimum(0) > | 26 a4 00| Logical Maximum(164) > | 05 07 | Usage Page(Key Codes) > | 19 00 | Usage Minimum(0x00) > | 29 a4 | Usage Maximum(0xa4) > | 81 00 | Input(Data,Array,Absolute) > > The current usbhid only parses one item of Report_Size (8bit). According > > to the spec it should parse Report_Count items: > | An array provides an alternate means for > | describing the data returned from a group of > | buttons. Arrays are more efficient, if less flexible > | than variable items. Rather than returning a single > | bit for each button in the group, an array returns an > | index in each field that corresponds to the pressed > | button (like keyboard scan codes). An out-of range > | value in and array field is considered no controls > | asserted. Buttons or keys in an array that are > | simultaneously pressed need to be reported in > | multiple fields. Therefore, the number of fields in > | an array input item (Report Count) dictates the > | maximum number of simultaneous controls that > | can be reported. A keyboard could report up to > | three simultaneous keys using an array with three > | 8-bit fields (Report Size = 8, Report Count = 3). > > I have created a patch which changes that behaviour, and attached it > below. My sample code works fine with these changes, but as I don't have > an USB Keyboard, it would be great if someone could check that this > doesn't break anything. > > --- parse.c.org Wed Feb 11 22:09:13 2004 > +++ parse.c Tue May 15 01:26:08 2007 > @@ -54,6 +54,7 @@ > int multimax; > int kindset; > int reportid; > + int isarray; > > /* > * The start of collection item has no report ID set, so save > @@ -100,6 +101,7 @@ > s->kindset = kindset; > s->reportid = id; > s->hassavedcoll = 0; > + s->isarray = 0; > return (s); > } > > @@ -182,6 +184,16 @@ > hid_clear_local(c); > } > } > + if(s->isarray) { > + REPORT_SAVED_COLL; > + *h = *c; > + h->next = 0; > + h->pos = s->kindpos[c->kind]; > + s->kindpos[c->kind] += c->report_size ; > + if(--s->isarray ==0) > + hid_clear_local(c); > + return(1); > + }; > for (;;) { > p = s->p; > if (p >= s->end) > @@ -262,14 +274,9 @@ > } else { > if (s->minset) > c->usage = c->usage_minimum; > - *h = *c; > - h->next = 0; > - h->pos = s->kindpos[c->kind]; > - s->kindpos[c->kind] += > - c->report_size * c->report_count; > - hid_clear_local(c); > s->minset = 0; > - return (1); > + s->isarray=c->report_count; > + goto top; > } > case 9: /* Output */ > retkind = hid_output; > > CU, > Sec From owner-freebsd-usb@FreeBSD.ORG Tue May 15 08:04:38 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CBC8116A413 for ; Tue, 15 May 2007 08:04:38 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id B150D13C4BA for ; Tue, 15 May 2007 08:04:38 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Hnrh3-00027h-IZ for freebsd-usb@freebsd.org; Tue, 15 May 2007 00:43:37 -0700 Message-ID: <10618107.post@talk.nabble.com> Date: Tue, 15 May 2007 00:43:37 -0700 (PDT) From: frank45 To: freebsd-usb@freebsd.org MIME-Version: 1.0 X-Nabble-From: ju_wd@yahoo.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: usb software resource 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, 15 May 2007 08:04:38 -0000 Hi all This site is dedicated to bring you up-to-date information about USB Device Classes, Embedded USB Software & USB Software, their modules and their products. It's helped me as usb developer.... There are much answers and references to helpful software and useful site.. Take a look on: http://www.usb-software.org www.usb-software.org -- View this message in context: http://www.nabble.com/usb-software-resource-tf3756867.html#a10618107 Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@FreeBSD.ORG Wed May 16 17:20:14 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 27A0C16A401 for ; Wed, 16 May 2007 17:20:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id C321613C457 for ; Wed, 16 May 2007 17:20:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4GHKDd0009338 for ; Wed, 16 May 2007 17:20:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4GHKDJt009337; Wed, 16 May 2007 17:20:13 GMT (envelope-from gnats) Date: Wed, 16 May 2007 17:20:13 GMT Message-Id: <200705161720.l4GHKDJt009337@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Gavin Atkinson Cc: Subject: Re: usb/107642: [patch] add Ralink Technology RT2501 USB/RT2601USB chipset driver from OpenBSD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gavin Atkinson List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2007 17:20:14 -0000 The following reply was made to PR usb/107642; it has been noted by GNATS. From: Gavin Atkinson To: bug-followup@FreeBSD.org, valera@chikalov.dp.ua Cc: Subject: Re: usb/107642: [patch] add Ralink Technology RT2501 USB/RT2601USB chipset driver from OpenBSD Date: Wed, 16 May 2007 18:10:48 +0100 This driver has been imported to HEAD as src/sys/dev/usb/if_rum.c etc on Sun May 6 10:07:20 2007. Thanks for your submission! From owner-freebsd-usb@FreeBSD.ORG Wed May 16 17:50:20 2007 Return-Path: X-Original-To: usb@FreeBSD.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 76FB216A408 for ; Wed, 16 May 2007 17:50:20 +0000 (UTC) (envelope-from mi+metlife@aldan.algebra.com) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id 4CEE813C44B for ; Wed, 16 May 2007 17:50:20 +0000 (UTC) (envelope-from mi+metlife@aldan.algebra.com) Received: (qmail 31463 invoked from network); 16 May 2007 17:23:40 -0000 Received: from aldan.algebra.com (HELO [127.0.0.1]) ([216.254.65.224]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 16 May 2007 17:23:39 -0000 Message-ID: <464B3E10.5080802@aldan.algebra.com> Date: Wed, 16 May 2007 13:23:28 -0400 From: "Mikhail T." User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: usb@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: trhodes@FreeBSD.org, asmodai@FreeBSD.org, n_hibma@FreeBSD.org Subject: All-in-one printer/scanner dilemma 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, 16 May 2007 17:50:20 -0000 Hello! I'm looking to replace the aging (and underperforming) HP "all-in-one" with a new device. ConsumerReports recommends Brother's offerings, such as DCP-7020. The device appears supoprted by both ghostscript (printing) and sane (scanning), but connects to the computer via a single USB cable, which is the problem... Last time I checked, having a "ulpt" and a "uscanner" devices on top of the same actual wire was not possible. Is that still the case, and if it is, what are my options? The only work-around available a year ago was to: 1. Disconnect the unit. 2. kldunload one of the two drivers (ulpt or uscanner). 3. kldload the other (uscanner or ulpt). 4. Reconnect the unit. Really, the OS should be able to handle this on its own... Thanks for any advice! Yours, -mi From owner-freebsd-usb@FreeBSD.ORG Wed May 16 18:23:31 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D062116A40A for ; Wed, 16 May 2007 18:23:31 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe11.swip.net [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id 4450D13C45A for ; Wed, 16 May 2007 18:23:31 +0000 (UTC) (envelope-from hselasky@freebsd.org) X-Cloudmark-Score: 0.000000 [] Received: from [82.116.76.134] (account mc467741@c2i.net HELO [192.168.1.106]) by mailfe11.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 321961165; Wed, 16 May 2007 20:23:29 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 16 May 2007 20:23:17 +0200 User-Agent: KMail/1.9.5 References: <464B3E10.5080802@aldan.algebra.com> In-Reply-To: <464B3E10.5080802@aldan.algebra.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705162023.17348.hselasky@freebsd.org> Cc: usb@freebsd.org, "Mikhail T." Subject: Re: All-in-one printer/scanner dilemma 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, 16 May 2007 18:23:31 -0000 Hi! On Wednesday 16 May 2007 19:23, Mikhail T. wrote: > Hello! > > I'm looking to replace the aging (and underperforming) HP "all-in-one" > with a new device. ConsumerReports recommends Brother's offerings, such > as DCP-7020. The device appears supoprted by both ghostscript (printing) > and sane (scanning), but connects to the computer via a single USB > cable, which is the problem... > > Last time I checked, having a "ulpt" and a "uscanner" devices on top of > the same actual wire was not possible. Is that still the case, and if it > is, what are my options? You mean "ulpt" and "ugen" on top? Yes, that is still a problem. But it will be fixed in the new USB stack in not too many weeks :-) > > The only work-around available a year ago was to: > > 1. Disconnect the unit. > 2. kldunload one of the two drivers (ulpt or uscanner). > 3. kldload the other (uscanner or ulpt). > 4. Reconnect the unit. > > Really, the OS should be able to handle this on its own... > --HPS From owner-freebsd-usb@FreeBSD.ORG Wed May 16 19:03:55 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EE4C616A402 for ; Wed, 16 May 2007 19:03:55 +0000 (UTC) (envelope-from mi+metlife@aldan.algebra.com) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id C2A9413C455 for ; Wed, 16 May 2007 19:03:55 +0000 (UTC) (envelope-from mi+metlife@aldan.algebra.com) Received: (qmail 662 invoked from network); 16 May 2007 18:37:15 -0000 Received: from aldan.algebra.com (HELO [127.0.0.1]) ([216.254.65.224]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 16 May 2007 18:37:14 -0000 Message-ID: <464B4F44.9040701@aldan.algebra.com> Date: Wed, 16 May 2007 14:36:52 -0400 From: "Mikhail T." User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Hans Petter Selasky References: <464B3E10.5080802@aldan.algebra.com> <200705162023.17348.hselasky@freebsd.org> In-Reply-To: <200705162023.17348.hselasky@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: All-in-one printer/scanner dilemma 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, 16 May 2007 19:03:56 -0000 Hans Petter Selasky wrote: > Hi! > > On Wednesday 16 May 2007 19:23, Mikhail T. wrote: > >> Last time I checked, having a "ulpt" and a "uscanner" devices on top of >> the same actual wire was not possible. Is that still the case, and if it >> is, what are my options? >> > > You mean "ulpt" and "ugen" on top? > I thought, sane talks to the "uscanner", rather than directly to "ugen". But either way -- the problem is the same... > Yes, that is still a problem. But it will be fixed in the new USB stack in not > too many weeks :-) > What's the ETA? Ability to scan is not urgent, but I don't want to lock that ability out with today's purchase. Thanks, -mi From owner-freebsd-usb@FreeBSD.ORG Wed May 16 19:11:39 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 416B516A403 for ; Wed, 16 May 2007 19:11:39 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id D0FC313C469 for ; Wed, 16 May 2007 19:11:38 +0000 (UTC) (envelope-from hselasky@freebsd.org) X-Cloudmark-Score: 0.000000 [] Received: from [82.116.76.134] (account mc467741@c2i.net HELO [192.168.1.106]) by mailfe08.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 489442960; Wed, 16 May 2007 21:11:37 +0200 From: Hans Petter Selasky To: "Mikhail T." Date: Wed, 16 May 2007 21:11:24 +0200 User-Agent: KMail/1.9.5 References: <464B3E10.5080802@aldan.algebra.com> <200705162023.17348.hselasky@freebsd.org> <464B4F44.9040701@aldan.algebra.com> In-Reply-To: <464B4F44.9040701@aldan.algebra.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705162111.24657.hselasky@freebsd.org> Cc: freebsd-usb@freebsd.org Subject: Re: All-in-one printer/scanner dilemma 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, 16 May 2007 19:11:39 -0000 On Wednesday 16 May 2007 20:36, Mikhail T. wrote: > Hans Petter Selasky wrote: > > Hi! > > > > On Wednesday 16 May 2007 19:23, Mikhail T. wrote: > >> Last time I checked, having a "ulpt" and a "uscanner" devices on top of > >> the same actual wire was not possible. Is that still the case, and if it > >> is, what are my options? > > > > You mean "ulpt" and "ugen" on top? > > I thought, sane talks to the "uscanner", rather than directly to "ugen". > But either way -- the problem is the same... I think "uscanner" grabs the multidevice first, and then "ulpt" cannot attach. Or vice versa. That might still be a problem also. If sane uses libusb to access the scanner part it will work, but I cannot give any exact date, because I'm very busy. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed May 16 19:15:29 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 39B4816A400 for ; Wed, 16 May 2007 19:15:29 +0000 (UTC) (envelope-from mi+metlife@aldan.algebra.com) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id 1887713C469 for ; Wed, 16 May 2007 19:15:29 +0000 (UTC) (envelope-from mi+metlife@aldan.algebra.com) Received: (qmail 32613 invoked from network); 16 May 2007 19:15:28 -0000 Received: from aldan.algebra.com (HELO [127.0.0.1]) ([216.254.65.224]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 16 May 2007 19:15:28 -0000 Message-ID: <464B5834.5050603@aldan.algebra.com> Date: Wed, 16 May 2007 15:15:00 -0400 From: "Mikhail T." User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Hans Petter Selasky References: <464B3E10.5080802@aldan.algebra.com> <200705162023.17348.hselasky@freebsd.org> <464B4F44.9040701@aldan.algebra.com> <200705162111.24657.hselasky@freebsd.org> In-Reply-To: <200705162111.24657.hselasky@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: All-in-one printer/scanner dilemma 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, 16 May 2007 19:15:29 -0000 Hans Petter Selasky wrote: >> I thought, sane talks to the "uscanner", rather than directly to "ugen". >> But either way -- the problem is the same... >> > > I think "uscanner" grabs the multidevice first, and then "ulpt" cannot attach. > Or vice versa. That might still be a problem also. If sane uses libusb to > access the scanner part it will work, You mean, sane may be able to access the scanner part, even if ulpt is attached? > but I cannot give any exact date, because I'm very busy. > The "E" in "ETA" stands for "Estimated", not "Exact" :-) Are we talking about July or next July? Thanks! -mi From owner-freebsd-usb@FreeBSD.ORG Wed May 16 19:23:32 2007 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5BF3716A402 for ; Wed, 16 May 2007 19:23:32 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe11.swip.net [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id ED14B13C45E for ; Wed, 16 May 2007 19:23:31 +0000 (UTC) (envelope-from hselasky@freebsd.org) X-Cloudmark-Score: 0.000000 [] Received: from [82.116.76.134] (account mc467741@c2i.net HELO [192.168.1.106]) by mailfe11.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 321961165; Wed, 16 May 2007 20:23:29 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 16 May 2007 20:23:17 +0200 User-Agent: KMail/1.9.5 References: <464B3E10.5080802@aldan.algebra.com> In-Reply-To: <464B3E10.5080802@aldan.algebra.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705162023.17348.hselasky@freebsd.org> Cc: usb@freebsd.org, "Mikhail T." Subject: Re: All-in-one printer/scanner dilemma 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, 16 May 2007 19:23:32 -0000 Hi! On Wednesday 16 May 2007 19:23, Mikhail T. wrote: > Hello! > > I'm looking to replace the aging (and underperforming) HP "all-in-one" > with a new device. ConsumerReports recommends Brother's offerings, such > as DCP-7020. The device appears supoprted by both ghostscript (printing) > and sane (scanning), but connects to the computer via a single USB > cable, which is the problem... > > Last time I checked, having a "ulpt" and a "uscanner" devices on top of > the same actual wire was not possible. Is that still the case, and if it > is, what are my options? You mean "ulpt" and "ugen" on top? Yes, that is still a problem. But it will be fixed in the new USB stack in not too many weeks :-) > > The only work-around available a year ago was to: > > 1. Disconnect the unit. > 2. kldunload one of the two drivers (ulpt or uscanner). > 3. kldload the other (uscanner or ulpt). > 4. Reconnect the unit. > > Really, the OS should be able to handle this on its own... > --HPS From owner-freebsd-usb@FreeBSD.ORG Wed May 16 19:26:15 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 877E116A403 for ; Wed, 16 May 2007 19:26:15 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id 23AF513C45A for ; Wed, 16 May 2007 19:26:14 +0000 (UTC) (envelope-from hselasky@freebsd.org) X-Cloudmark-Score: 0.000000 [] Received: from [82.116.76.134] (account mc467741@c2i.net HELO [192.168.1.106]) by mailfe05.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 391378458; Wed, 16 May 2007 21:26:13 +0200 From: Hans Petter Selasky To: "Mikhail T." Date: Wed, 16 May 2007 21:26:00 +0200 User-Agent: KMail/1.9.5 References: <464B3E10.5080802@aldan.algebra.com> <200705162111.24657.hselasky@freebsd.org> <464B5834.5050603@aldan.algebra.com> In-Reply-To: <464B5834.5050603@aldan.algebra.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705162126.00656.hselasky@freebsd.org> Cc: freebsd-usb@freebsd.org Subject: Re: All-in-one printer/scanner dilemma 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, 16 May 2007 19:26:15 -0000 On Wednesday 16 May 2007 21:15, Mikhail T. wrote: > Hans Petter Selasky wrote: > >> I thought, sane talks to the "uscanner", rather than directly to "ugen". > >> But either way -- the problem is the same... > > > > I think "uscanner" grabs the multidevice first, and then "ulpt" cannot > > attach. Or vice versa. That might still be a problem also. If sane uses > > libusb to access the scanner part it will work, > > You mean, sane may be able to access the scanner part, even if ulpt is > attached? Yes, but that may [or can be] change[d]. > > > but I cannot give any exact date, because I'm very busy. > > The "E" in "ETA" stands for "Estimated", not "Exact" :-) Are we talking > about July or next July? We're talking some time this year. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed May 16 19:30:46 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0DD8C16A402 for ; Wed, 16 May 2007 19:30:46 +0000 (UTC) (envelope-from mi+metlife@aldan.algebra.com) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id DA6C513C45D for ; Wed, 16 May 2007 19:30:45 +0000 (UTC) (envelope-from mi+metlife@aldan.algebra.com) Received: (qmail 4248 invoked from network); 16 May 2007 19:30:45 -0000 Received: from aldan.algebra.com (HELO [127.0.0.1]) ([216.254.65.224]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 16 May 2007 19:30:45 -0000 Message-ID: <464B5BC6.9020908@aldan.algebra.com> Date: Wed, 16 May 2007 15:30:14 -0400 From: "Mikhail T." User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Hans Petter Selasky References: <464B3E10.5080802@aldan.algebra.com> <200705162111.24657.hselasky@freebsd.org> <464B5834.5050603@aldan.algebra.com> <200705162126.00656.hselasky@freebsd.org> In-Reply-To: <200705162126.00656.hselasky@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: All-in-one printer/scanner dilemma 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, 16 May 2007 19:30:46 -0000 Hans Petter Selasky wrote: >> You mean, sane may be able to access the scanner part, even if ulpt is >> attached? >> > > Yes, but that may [or can be] change[d]. > I'm confused, are you saying, it may be possible to share the functionality /now/? So, which device should I give to sane? The /dev/ulpt0? > We're talking some time this year. > Great -- the sooner the better, thank you! (Frankly, it is embarrassing, that we did not have it 3 years ago :-( Not to point any fingers at anyone in particular.) -mi From owner-freebsd-usb@FreeBSD.ORG Thu May 17 05:42:36 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CE8DC16A403; Thu, 17 May 2007 05:42:35 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id A664213C44B; Thu, 17 May 2007 05:42:35 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4H5gZgp088760; Thu, 17 May 2007 05:42:35 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4H5gZ6A088756; Thu, 17 May 2007 05:42:35 GMT (envelope-from linimon) Date: Thu, 17 May 2007 05:42:35 GMT From: Mark Linimon Message-Id: <200705170542.l4H5gZ6A088756@freefall.freebsd.org> To: valera@chikalov.dp.ua, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org Cc: Subject: Re: usb/107642: [patch] add Ralink Technology RT2501USB/RT2601USB chipset driver from OpenBSD 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, 17 May 2007 05:42:36 -0000 Synopsis: [patch] add Ralink Technology RT2501USB/RT2601USB chipset driver from OpenBSD State-Changed-From-To: open->patched State-Changed-By: linimon State-Changed-When: Thu May 17 05:42:15 UTC 2007 State-Changed-Why: Imported to HEAD May 6th. http://www.freebsd.org/cgi/query-pr.cgi?pr=107642 From owner-freebsd-usb@FreeBSD.ORG Thu May 17 08:15:27 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C910D16A404 for ; Thu, 17 May 2007 08:15:27 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe13.swip.net [212.247.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id 66CE813C468 for ; Thu, 17 May 2007 08:15:26 +0000 (UTC) (envelope-from hselasky@freebsd.org) X-Cloudmark-Score: 0.000000 [] Received: from [82.116.76.134] (account mc467741@c2i.net HELO [192.168.1.106]) by mailfe13.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 99068321; Thu, 17 May 2007 10:15:25 +0200 From: Hans Petter Selasky To: "Mikhail T." Date: Thu, 17 May 2007 10:15:13 +0200 User-Agent: KMail/1.9.5 References: <464B3E10.5080802@aldan.algebra.com> <200705162126.00656.hselasky@freebsd.org> <464B5BC6.9020908@aldan.algebra.com> In-Reply-To: <464B5BC6.9020908@aldan.algebra.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705171015.13289.hselasky@freebsd.org> Cc: freebsd-usb@freebsd.org Subject: Re: All-in-one printer/scanner dilemma 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, 17 May 2007 08:15:27 -0000 Hi, On Wednesday 16 May 2007 21:30, Mikhail T. wrote: > Hans Petter Selasky wrote: > >> You mean, sane may be able to access the scanner part, even if ulpt is > >> attached? > > > > Yes, but that may [or can be] change[d]. > > I'm confused, are you saying, it may be possible to share the > functionality /now/? So, which device should I give to sane? The > /dev/ulpt0? No, you need to change "uscanner.c" so that it does not grab the complete device, but rather just one interface. Also you need some information which interface is the scanner and which is the printer. > > > We're talking some time this year. > > Great -- the sooner the better, thank you! (Frankly, it is embarrassing, > that we did not have it 3 years ago :-( Not to point any fingers at > anyone in particular.) --HPS From owner-freebsd-usb@FreeBSD.ORG Thu May 17 12:19:16 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9576816A403 for ; Thu, 17 May 2007 12:19:16 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.freebsd.org (Postfix) with ESMTP id 6E0B413C45D for ; Thu, 17 May 2007 12:19:16 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: (qmail 3569 invoked from network); 17 May 2007 11:52:35 -0000 Received: from aldan.algebra.com ([216.254.65.224]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 17 May 2007 11:52:34 -0000 Received: from aldan.algebra.com (aldan [127.0.0.1]) by aldan.algebra.com (8.13.8/8.13.8) with ESMTP id l4HBqXFX022601 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 17 May 2007 07:52:34 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.13.8/8.13.8/Submit) id l4HBqXBs022600; Thu, 17 May 2007 07:52:33 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: Hans Petter Selasky Date: Thu, 17 May 2007 07:52:32 -0400 User-Agent: KMail/1.9.5 References: <464B3E10.5080802@aldan.algebra.com> <464B5BC6.9020908@aldan.algebra.com> <200705171015.13289.hselasky@freebsd.org> In-Reply-To: <200705171015.13289.hselasky@freebsd.org> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: freebsd-usb@freebsd.org Subject: Re: All-in-one printer/scanner dilemma 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, 17 May 2007 12:19:16 -0000 On Thursday 17 May 2007 04:15, Hans Petter Selasky wrote: = > I'm confused, are you saying, it may be possible to share the = > functionality /now/? So, which device should I give to sane? The = > /dev/ulpt0? = = No, you need to change "uscanner.c" so that it does not grab the complete = device, but rather just one interface. Also you need some information which = interface is the scanner and which is the printer. If you have a patch (for 6.2-recent), I'll be happy to test it. Thanks! -mi From owner-freebsd-usb@FreeBSD.ORG Thu May 17 12:40:11 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 29B5216A400 for ; Thu, 17 May 2007 12:40:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id CF61E13C44C for ; Thu, 17 May 2007 12:40:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4HCeAk1034710 for ; Thu, 17 May 2007 12:40:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4HCeAI8034703; Thu, 17 May 2007 12:40:10 GMT (envelope-from gnats) Date: Thu, 17 May 2007 12:40:10 GMT Message-Id: <200705171240.l4HCeAI8034703@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Jeroen Ruigrok van der Werven Cc: Subject: Re: usb/106621: [usb] DLINK DUB-E100 support broken X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jeroen Ruigrok van der Werven List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2007 12:40:11 -0000 The following reply was made to PR usb/106621; it has been noted by GNATS. From: Jeroen Ruigrok van der Werven To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/106621: [usb] DLINK DUB-E100 support broken Date: Thu, 17 May 2007 14:30:26 +0200 --mSxgbZZZvrAyzONB Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Attached patch adds a few device ids to the axe(4) driver which are based on the AX88172 chipset. Also added some preliminary ids for devices based on the AX88772 chipset. Additionally the chipset used for the D-Link's B1 revision (the same AX88772) has a datasheet available at http://www.asix.com.tw/FrootAttach/datasheet/AX88772_datasheet_Rev11.pdf nowadays. The manual page update supercedes docs/109664 if the patches get applied. Please verify the build on CURRENT though. -- Jeroen Ruigrok van der Werven / asmodai イェルーン ラウフロック ヴァン デル ウェルヴェン http://www.in-nomine.org/ | http://www.rangaku.org/ Nothing is constant but change... --mSxgbZZZvrAyzONB Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="sys-dev-usb.diff" Index: if_axe.c =================================================================== RCS file: /usr/ncvs/FreeBSD/src/sys/dev/usb/if_axe.c,v retrieving revision 1.44 diff -u -r1.44 if_axe.c --- if_axe.c 12 May 2007 05:56:10 -0000 1.44 +++ if_axe.c 17 May 2007 12:19:30 -0000 @@ -109,8 +109,13 @@ * Various supported device vendors/products. */ static struct axe_type axe_devs[] = { + { USB_VENDOR_ACERCM, USB_PRODUCT_ACERCM_EP1427X2 }, { USB_VENDOR_ASIX, USB_PRODUCT_ASIX_AX88172 }, + { USB_VENDOR_ATEN, USB_PRODUCT_ATEN_UC210T }, + { USB_VENDOR_BILLIONTON, USB_PRODUCT_BILLIONTON_USB2AR }, + { USB_VENDOR_COREGA, USB_PRODUCT_COREGA_FETHER_USB2_TX }, { USB_VENDOR_DLINK, USB_PRODUCT_DLINK_DUBE100 }, + { USB_VENDOR_GOODWAY, USB_PRODUCT_GOODWAY_GWUSB2E }, { USB_VENDOR_JVC, USB_PRODUCT_JVC_MP_PRX1 }, { USB_VENDOR_LINKSYS2, USB_PRODUCT_LINKSYS2_USB200M }, { USB_VENDOR_MELCO, USB_PRODUCT_MELCO_LUAU2KTX }, Index: usbdevs =================================================================== RCS file: /usr/ncvs/FreeBSD/src/sys/dev/usb/usbdevs,v retrieving revision 1.294 diff -u -r1.294 usbdevs --- usbdevs 8 May 2007 18:51:39 -0000 1.294 +++ usbdevs 17 May 2007 12:16:05 -0000 @@ -734,6 +734,7 @@ product ATEN UC1284 0x2001 Parallel printer product ATEN UC10T 0x2002 10Mbps ethernet product ATEN UC232A 0x2008 Serial +product ATEN UC210T 0x2009 10/100 FastEthernet /* Atheros Communications products */ product ATHEROS AR5523 0x0001 AR5523 @@ -768,6 +769,7 @@ product BELKIN F5U409 0x0409 F5U409 Serial product BELKIN F6C550AVR 0x0551 F6C550-AVR UPS product BELKIN F5U120 0x1203 F5U120-PC Hub +product BELKIN F5D5055 0x5055 F5D5055 ethernet product BELKIN F5D7050 0x7050 F5D7050 wireless adapter product BELKIN F5D7050A 0x705a F5D705A wireless adapter product BELKIN F5D9050V3 0x905b F5D9050 ver 3 wireless adapter @@ -777,6 +779,7 @@ product BILLIONTON USBLP100 0x0987 USB100LP product BILLIONTON USBEL100 0x0988 USB100EL product BILLIONTON USBE100 0x8511 USBE100 +product BILLIONTON USB2AR 0x90ff USB2AR 10/100 FastEthernet /* Broadcom products */ product BROADCOM BCM2033 0x2033 BCM2033 Bluetooth USB dongle @@ -840,6 +843,7 @@ product COREGA ETHER_USB_T 0x0001 Ether USB-T product COREGA FETHER_USB_TX 0x0004 FEther USB-TX product COREGA FETHER_USB_TXS 0x000d FEther USB-TXS +product COREGA FETHER_USB2_TX 0x0017 FEther USB2-TX product COREGA FETHER_USB_TXC 0x9601 FEther USB-TXC /* Creative products */ @@ -922,6 +926,8 @@ product DLINK DWLAG122_NF 0x3a05 DWL-AG122 (no firmware) product DLINK2 DWLG122C1 0x3c03 DWL-G122 c1 product DLINK2 WUA1340 0x3c04 WUA-1340 +product DLINK DUBE100B1_1 0x3c05 10/100 ethernet +product DLINK2 DUBE100B1_2 0x3c05 10/100 ethernet product DLINK DSB650C 0x4000 10Mbps ethernet product DLINK DSB650TX1 0x4001 10/100 ethernet product DLINK DSB650TX 0x4002 10/100 ethernet @@ -1002,6 +1008,7 @@ product GOHUBS GOCOM232 0x1001 GoCOM232 Serial /* Good Way Technology products */ +product GOODWAY GWUSB2E 0x6200 GWUSB2E FastEthernet product GOODWAY RT2573 0xc019 RT2573 /* Gravis products */ @@ -1755,6 +1762,7 @@ product DIAMOND2 RIO800USB 0x5002 Rio 800 USB /* Surecom Technology products */ +product ACERCM EP1427X2 0x0893 EP-1427X-2 FastEthernet product SURECOM RT2573 0x31f3 RT2573 /* System TALKS, Inc. */ --mSxgbZZZvrAyzONB Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="share-man-man4-axe.4.diff" Index: axe.4 =================================================================== RCS file: /usr/ncvs/FreeBSD/src/share/man/man4/axe.4,v retrieving revision 1.13 diff -u -r1.13 axe.4 --- axe.4 12 May 2007 05:59:15 -0000 1.13 +++ axe.4 17 May 2007 12:26:52 -0000 @@ -132,9 +132,17 @@ .Pp .Bl -bullet -compact .It +ATEN UC210T +.It +Billionton USB2AR +.It Buffalo (Melco Inc.) LUA-U2-KTX .It -D-Link DUBE100 +Corega FEther USB2-TX +.It +D-Link DUB-E100, revision A +.It +Goodway GWUSB2E .It LinkSys USB200M .It @@ -142,6 +150,8 @@ .It Sitecom LN-029 .It +Surecom EP-1427X-2 +.It System TALKS Inc.\& SGC-X2UL .El .Sh DIAGNOSTICS --mSxgbZZZvrAyzONB-- From owner-freebsd-usb@FreeBSD.ORG Fri May 18 11:04:33 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DA6AD16A404; Fri, 18 May 2007 11:04:32 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 7D94E13C469; Fri, 18 May 2007 11:04:31 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [82.116.76.134] (account mc467741@c2i.net HELO [192.168.1.106]) by mailfe07.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 493616936; Fri, 18 May 2007 13:04:29 +0200 From: Hans Petter Selasky To: Luigi Rizzo Date: Fri, 18 May 2007 13:04:17 +0200 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_xgYTGQnRoVIHbpD" Message-Id: <200705181304.17222.hselasky@c2i.net> X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Linux USB emulation layer now committed to my new USB stack for FreeBSD 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, 18 May 2007 11:04:33 -0000 --Boundary-00=_xgYTGQnRoVIHbpD Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, If you are interested, the files are: http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/sys/dev/usb/usb_compat_linux.c http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/sys/dev/usb/usb_compat_linux.h It is almost finished now. And it is not very much code. Also I have a preliminary patch for Luigi's webcam driver! But it does not compile yet. NOTE: Before you use a Linux USB endpoint you have to call: usb_setup_endpoint() with the buffer size you want. For isoc transfers the buffer size is ignored. Just set a dummy value. Do you have time to fix the rest Luigi? The Linux USB compat layer is in SVN and P4. http://www.turbocat.net/~hselasky/usb4bsd --HPS --Boundary-00=_xgYTGQnRoVIHbpD-- From owner-freebsd-usb@FreeBSD.ORG Fri May 18 12:05:35 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E3F316A401 for ; Fri, 18 May 2007 12:05:35 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.freebsd.org (Postfix) with ESMTP id CD0A513C45B for ; Fri, 18 May 2007 12:05:34 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.13.6) with ESMTP id l4IBrYdx043128; Fri, 18 May 2007 04:53:34 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id l4IBrWpG043127; Fri, 18 May 2007 04:53:32 -0700 (PDT) (envelope-from rizzo) Date: Fri, 18 May 2007 04:53:32 -0700 From: Luigi Rizzo To: Hans Petter Selasky Message-ID: <20070518045331.A41545@xorpc.icir.org> References: <200705181304.17222.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200705181304.17222.hselasky@c2i.net>; from hselasky@c2i.net on Fri, May 18, 2007 at 01:04:17PM +0200 Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Linux USB emulation layer now committed to my new USB stack for FreeBSD 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, 18 May 2007 12:05:35 -0000 On Fri, May 18, 2007 at 01:04:17PM +0200, Hans Petter Selasky wrote: > Hi, > > If you are interested, the files are: > > http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/sys/dev/usb/usb_compat_linux.c > http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/sys/dev/usb/usb_compat_linux.h > > It is almost finished now. > > And it is not very much code. > > Also I have a preliminary patch for Luigi's webcam driver! But it does not > compile yet. > > NOTE: Before you use a Linux USB endpoint you have to call: > > usb_setup_endpoint() with the buffer size you want. For isoc transfers the > buffer size is ignored. Just set a dummy value. > > Do you have time to fix the rest Luigi? not now, sorry. But seeing the patch that you attach, let me kindly comment once again (i have already told you multiple time) that this approach of ignoring compatibility with existing code (usb stack/api/emulation layer, linux device drivers) and not commenting code at all is really a showstopper for getting your code tested and/or accepted. E.g. see usb_compat_linux.c in the url above - basically the only comment is the copyright - way too little for anyone to understand what is done there. usb_compat_linux.h is just a copy of stuff in the existing linux usb emulation, _but_ without any comments at all (and there was a lot of them in the existing code). Undocumented code is almost useless for us, and nobody has the time to reverse engineer your code and document its architecture. cheers luigi From owner-freebsd-usb@FreeBSD.ORG Fri May 18 15:50:11 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B797316A406 for ; Fri, 18 May 2007 15:50:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 615F213C4B0 for ; Fri, 18 May 2007 15:50:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4IFoBaD072321 for ; Fri, 18 May 2007 15:50:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4IFoBDf072320; Fri, 18 May 2007 15:50:11 GMT (envelope-from gnats) Date: Fri, 18 May 2007 15:50:11 GMT Message-Id: <200705181550.l4IFoBDf072320@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Gavin Atkinson Cc: Subject: Re: usb/107128: [usb] panic while accessing usb msdos flashkey X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gavin Atkinson List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 May 2007 15:50:11 -0000 The following reply was made to PR usb/107128; it has been noted by GNATS. From: Gavin Atkinson To: bug-followup@FreeBSD.org, rmgls@orange.fr Cc: Subject: Re: usb/107128: [usb] panic while accessing usb msdos flashkey Date: Fri, 18 May 2007 16:47:05 +0100 This is a duplicate of usb/107116 and should be closed. From owner-freebsd-usb@FreeBSD.ORG Fri May 18 15:52:47 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 10EA216A402; Fri, 18 May 2007 15:52:47 +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 46EC013C447; Fri, 18 May 2007 15:52:46 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [193.217.102.48] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe01.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 473265847; Fri, 18 May 2007 17:52:44 +0200 From: Hans Petter Selasky To: Luigi Rizzo Date: Fri, 18 May 2007 17:52:32 +0200 User-Agent: KMail/1.9.5 References: <200705181304.17222.hselasky@c2i.net> <20070518045331.A41545@xorpc.icir.org> In-Reply-To: <20070518045331.A41545@xorpc.icir.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705181752.32566.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Linux USB emulation layer now committed to my new USB stack for FreeBSD 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, 18 May 2007 15:52:47 -0000 On Friday 18 May 2007 13:53, Luigi Rizzo wrote: > On Fri, May 18, 2007 at 01:04:17PM +0200, Hans Petter Selasky wrote: > > Hi, > > > > If you are interested, the files are: > > > > http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/sys/dev/usb/usb_co > >mpat_linux.c > > http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/sys/dev/usb/usb_co > >mpat_linux.h > > > > It is almost finished now. > > > > And it is not very much code. > > > > Also I have a preliminary patch for Luigi's webcam driver! But it does > > not compile yet. > > > > NOTE: Before you use a Linux USB endpoint you have to call: > > > > usb_setup_endpoint() with the buffer size you want. For isoc transfers > > the buffer size is ignored. Just set a dummy value. > > > > Do you have time to fix the rest Luigi? > > not now, sorry. > > But seeing the patch that you attach, let me kindly comment once > again (i have already told you multiple time) that this approach > of ignoring compatibility with existing code (usb stack/api/emulation > layer, linux device drivers) and not commenting code at all is really a > showstopper for getting your code tested and/or accepted. That documentation you want has been moved to the README and to usb_compat_linux.{c,h}. The rest has been stripped off. It simply not needed! And it describes stuff that is no longer valid. Feel free to add documentation to my _new_ driver, and spend some time on that instead. The old USB stack will be supported when I have time to make an emulation for that also. > > E.g. see usb_compat_linux.c in the url above - basically the only > comment is the copyright - way too little for anyone to understand > what is done there. It is so simple that comments are just in the way. When I started out reading your Linux USB compatibility layer, I didn't understand anything until most of the comments where stripped away. > > usb_compat_linux.h is just a copy of stuff in the existing linux > usb emulation, _but_ without any comments at all (and there was a > lot of them in the existing code). Way too many comments. > > Undocumented code is almost useless for us, and nobody has the > time to reverse engineer your code and document its architecture. It is around 1000 lines of code read. Again, send me a patch with the comments you feel are missing, and I will add it to my driver. And make sure that your comments are up to date. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri May 18 16:00:18 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8AEDC16A405 for ; Fri, 18 May 2007 16:00:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id F06B713C459 for ; Fri, 18 May 2007 16:00:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4IG0HAZ073261 for ; Fri, 18 May 2007 16:00:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4IG0HjH073259; Fri, 18 May 2007 16:00:17 GMT (envelope-from gnats) Date: Fri, 18 May 2007 16:00:17 GMT Message-Id: <200705181600.l4IG0HjH073259@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Gavin Atkinson Cc: Subject: Re: usb/107116: [usb] panic while accessing usb msdos pccard X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gavin Atkinson List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 May 2007 16:00:18 -0000 The following reply was made to PR usb/107116; it has been noted by GNATS. From: Gavin Atkinson To: bug-followup@FreeBSD.org, rmgls@orange.fr Cc: Subject: Re: usb/107116: [usb] panic while accessing usb msdos pccard Date: Fri, 18 May 2007 16:54:35 +0100 Hi, It looks like this problem is related to the contents of the filesystem, which may either be corrupted or which FreeBSD may for some reason not be able to handle. Do you still have the memory stick, and cam you still recreate the issue? Thanks, Gavin From owner-freebsd-usb@FreeBSD.ORG Fri May 18 16:09:58 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 588AA16A401; Fri, 18 May 2007 16:09:58 +0000 (UTC) (envelope-from jmg@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2FBFA13C487; Fri, 18 May 2007 16:09:58 +0000 (UTC) (envelope-from jmg@FreeBSD.org) Received: from freefall.freebsd.org (jmg@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4IG9w0u074060; Fri, 18 May 2007 16:09:58 GMT (envelope-from jmg@freefall.freebsd.org) Received: (from jmg@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4IG9vZP074056; Fri, 18 May 2007 16:09:57 GMT (envelope-from jmg) Date: Fri, 18 May 2007 16:09:57 GMT From: John-Mark Gurney Message-Id: <200705181609.l4IG9vZP074056@freefall.freebsd.org> To: rmgls@orange.fr, jmg@FreeBSD.org, freebsd-usb@FreeBSD.org Cc: Subject: Re: usb/107128: [usb] panic while accessing usb msdos flashkey 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, 18 May 2007 16:09:58 -0000 Synopsis: [usb] panic while accessing usb msdos flashkey State-Changed-From-To: open->closed State-Changed-By: jmg State-Changed-When: Fri May 18 16:08:48 UTC 2007 State-Changed-Why: dup of 107116 http://www.freebsd.org/cgi/query-pr.cgi?pr=107128