From owner-freebsd-usb@FreeBSD.ORG Sun Feb 10 13:44:32 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5424C16A41B; Sun, 10 Feb 2008 13:44:32 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id A64CE13C455; Sun, 10 Feb 2008 13:44:31 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 1D68143CCA7; Sun, 10 Feb 2008 15:44:29 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id Rn3nV829RCaM; Sun, 10 Feb 2008 15:44:28 +0200 (EET) Received: from [10.74.70.239] (unknown [193.138.145.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id CD34243CACC; Sun, 10 Feb 2008 15:44:27 +0200 (EET) Message-ID: <47AEFFAF.1010403@icyb.net.ua> Date: Sun, 10 Feb 2008 15:44:15 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.9 (X11/20071208) MIME-Version: 1.0 To: freebsd-usb@freebsd.org, Warner Losh References: <46C44170.3040108@icyb.net.ua> <4798996A.8090205@icyb.net.ua> In-Reply-To: <4798996A.8090205@icyb.net.ua> Content-Type: multipart/mixed; boundary="------------020405070009000409020001" Cc: Subject: Re: scsi_da quirk for a device with "no name" 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, 10 Feb 2008 13:44:32 -0000 This is a multi-part message in MIME format. --------------020405070009000409020001 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit [sorry for top-quoting, but I think that this should be more convenient since I am following up on my own posts] Warner, list, please consider the attached patch. umass.c part of it is intended to put some meaningful data into inquiry response if a device return completely empty identification. This is useful when cam/scsi layer needs to have a quirk for such a device. scsi_da.c part of it utilizes this new feature to handle ASUS P535 smartphone (phone+pda) configured to act as a mass storage device for USB connection. Another possible alternative to the umass.c patch is to have a new quirk to force some inquiry data instead of dynamic inquiry response checking, but I am not sure if that would be any better. Would it be more convenient for everybody if I file a PR on this ? Thank you for your attention. on 24/01/2008 15:58 Andriy Gapon said the following: > This is me again on the issue of a weird umass device that reports empty > strings to SCSI inquiry command. Currently the only way to specify some > SCSI-level quirk for such a device is to create a quirk entry with all > fields set to wildcard "*", but apparently such a quirk would be applied > to many more devices. > A suggestion: what about umass intercepting a response of inquiry > command and generating some names in such a case. E.g. vendor and > product identification could be generated from the USB ids like > Vendor_abcd, Product_1234. > In this case we would get some sufficient identification for such devices. > > P.S. it also seems that if NO_INQUIRY umass quirk is specified for a > device, then its identification will be empty as well. I think that this > is not good because, for example, scsi_da quirks are troublesome then. > > P.P.S. it is currently impossible to have scsi_da quirk entries with > empty fields (""), they get ignored. > > on 16/08/2007 15:22 Andriy Gapon said the following: >> I have ASUS P535 PPC+phone with Windows Mobile 5 on it. >> It has an option to act as a USB mass storage (instead of attempting >> acivesync). >> >> When I tried it, it first got recognized by umass and then it >> immediately panicked my system. >> >> From messages: >> kernel: umass0: ASUS Generic Mass Storage, rev 2.00/0.00, addr 3 >> kernel: da0 at umass-sim0 bus 0 target 0 lun 0 >> kernel: da0: < > Removable Direct Access SCSI-0 device >> kernel: da0: 1.000MB/s transfers >> kernel: da0: 1952MB (3998720 512 byte sectors: 255H 63S/T 248C) >> >> From panic (typed from memory): >> umass0: Invalid CSW: tag 7 should be 8 >> (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x0, scsi >> status == 0x4 >> >> I googled up several reports of similar and not so similar panics. >> Here's a small overview that is not directly related to a question that >> I really want to ask: >> >> 1. Invalid CSW problems where a signature is wrong, I see that >> WRONG_CSWSIG umass quirk is recommended for that; >> 2. Invalid CSW problems where a tag is wrong and the values are very >> different, I see that one person attempted to cure that with a new >> hand-rolled quirk to simply ignore the mismatch; >> 3. Invalid CSW problems where a tag is wrong and the difference is >> exactly one. I don't know if there is anything special about that, but >> it looks the most interesting of all the cases. >> >> In some cases but not all "Invalid CSW" comes together with "Synchronize >> cache failed" and DA_Q_NO_SYNC_CACHE scsi_da quirk is recommended for that. >> >> So I attempted the latter quirk and it helped me! But there is one not >> good thing about the way I did that - I used wild cards ("*") for all >> three of vendor, product and revision. This is because they all appear >> to be empty/unset. This is shown in both kernel messages and by >> camcontrol devlist and by camcontrol inquiry. >> I am not sure if there are any risks of applying the quirk to all >> possible da devices, there will be only umass ones in my case, but I >> still would like to do something more specific to the device in question. >> >> Will empty patterns work ? I mean if I put "", "", "" entry into the >> quirk array. Actually, I can test this myself soon, but not today. >> >> Thank you. >> >> P.S. some links to the problems that others have reported: >> http://www.freebsd.org/cgi/query-pr.cgi?pr=114916&cat= >> http://osdir.com/ml/os.freebsd.devel.usb/2005-12/msg00039.html >> http://lists.freebsd.org/pipermail/freebsd-bugs/2004-November/010483.html >> http://lists.freebsd.org/pipermail/freebsd-bugs/2004-January/005170.html >> http://lists.freebsd.org/mailman/htdig/freebsd-usb/2004-December/000318.html >> http://lists.freebsd.org/mailman/htdig/freebsd-usb/2005-February/000660.html >> > > -- Andriy Gapon --------------020405070009000409020001 Content-Type: text/x-patch; name="p535.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="p535.diff" --- sys/dev/usb/umass.c 2008-02-10 15:30:23.000000000 +0200 +++ sys/dev/usb/umass.c 2008-02-10 15:02:43.000000000 +0200 @@ -3063,6 +3059,12 @@ maxsector = scsi_4btoul(rcap->addr) - 1; scsi_ulto4b(maxsector, rcap->addr); } + else if (csio->cdb_io.cdb_bytes[0] == INQUIRY && + csio->data_ptr[8] == '\0' && csio->data_ptr[16] == '\0') { + usb_device_descriptor_t *dd = usbd_get_device_descriptor(sc->sc_udev); + sprintf(&csio->data_ptr[8], "%04x", UGETW(dd->idVendor)); + sprintf(&csio->data_ptr[16], "%04x", UGETW(dd->idProduct)); + } xpt_done(ccb); break; --- sys/cam/scsi/scsi_da.c 2008-02-10 12:40:43.000000000 +0200 +++ sys/cam/scsi/scsi_da.c 2008-02-10 15:09:05.000000000 +0200 @@ -535,6 +535,13 @@ {T_DIRECT, SIP_MEDIA_REMOVABLE, "ChipsBnk", "USB*", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, + { + /* + * ASUS P535 in umass device mode + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "0b05*", "422f*", + "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE + }, }; static disk_strategy_t dastrategy; --------------020405070009000409020001-- From owner-freebsd-usb@FreeBSD.ORG Sun Feb 10 17:39:53 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C574216A420 for ; Sun, 10 Feb 2008 17:39:53 +0000 (UTC) (envelope-from kaiwang27@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id 63A2313C4CE for ; Sun, 10 Feb 2008 17:39:52 +0000 (UTC) (envelope-from kaiwang27@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so1310470nfb.33 for ; Sun, 10 Feb 2008 09:39:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:x-authentication-warning:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=aj6zMyGPH34j3pDT9NBq0wzKFHpw6jDecsRlNibdfU0=; b=o6DjXf7mMZkD26JjOJ5pqdYq4GTDZCQlEbAAKzJ/qSHOcbCsA574rv/vS7NCche1pPw9NF55baGRdkYdEvkq47e4SHjcQ4Z2QqcdzN+Mz9bqfnBBC/+ZltOBGo+e5MUDITPvJSHzfOaW/b3+cby13v8cg2KbUtO9hE1LcO0uv50= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=LLTa/HxppvnZ53eIfwWfWsi6z7wM4RYGhNQ+IcYS9nf9+/A6dy6MBKZyfzG+HheDKEfJvTaz0iEZTtKzdu0q7tt70saP+MuCwKm2YazO7Timvv59I3nbmSsEaeCOqUQa9F7x/mYtzd4EZyy9epXx/Xbe4ETJHLvUUwEJBXznm3k= Received: by 10.78.161.4 with SMTP id j4mr27122689hue.49.1202663458347; Sun, 10 Feb 2008 09:10:58 -0800 (PST) Received: from plan0.kaiwan.csbnet.se ( [193.11.244.12]) by mx.google.com with ESMTPS id z34sm17144001ikz.8.2008.02.10.09.10.54 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 10 Feb 2008 09:10:56 -0800 (PST) Received: from localhost ([127.0.0.1] helo=plan0.kaiwan.csbnet.se) by plan0.kaiwan.csbnet.se with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JOFhd-0009iq-4l; Sun, 10 Feb 2008 18:10:53 +0100 Received: (from kaffir@localhost) by plan0.kaiwan.csbnet.se (8.14.2/8.14.2/Submit) id m1AHAqAj037375; Sun, 10 Feb 2008 18:10:52 +0100 (CET) (envelope-from kaiwang27@gmail.com) X-Authentication-Warning: plan0.kaiwan.csbnet.se: kaffir set sender to kaiwang27@gmail.com using -f Date: Sun, 10 Feb 2008 18:10:52 +0100 From: Kai Wang To: Chuck Robey Message-ID: <20080210171052.GA37262@plan0.kaiwan.csbnet.se> Mail-Followup-To: Chuck Robey , freebsd-usb@freebsd.org References: <47AE28EB.7070205@chuckr.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <47AE28EB.7070205@chuckr.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-usb@freebsd.org Subject: Re: getting my new graphic tablet cooperating with gimp 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, 10 Feb 2008 17:39:53 -0000 On Sat, Feb 09, 2008 at 05:27:55PM -0500, Chuck Robey wrote: > I have a nice new UC-Logic WP8060-TAB08, sometimes called the Superpen, and > I want to get it working so's I can make fine art with it (yeah, I'm a > dreamer, so what else is new, hey?) The return off of dmesg is: > > ums0: on uhub0 > ums0: X report 0x0002 not supported > device_attach: ums0 attach returned 6 This is because your tablet use absolute coordinates (most tablets do) while ums(4) currently only support relative ones. Could you please try to dump your pen's report descriptor and paste it here, thus we can have more infomation? You can do it by: Download the tool: http://people.freebsd.org/~kaiw/tools/krepdump.tgz # tar xzvf krepdump.tgz # cd krepdump # make # kldload ./krepdump.ko Then connect your superpen to the usb port, (if it is already connected you will have to disconnect it first) the report descriptor will be printed on the console. (or you can type 'dmesg' to see it) -- Kai From owner-freebsd-usb@FreeBSD.ORG Sun Feb 10 18:38:43 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81E5916A5A5 for ; Sun, 10 Feb 2008 18:38:43 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id 79EE313C46B for ; Sun, 10 Feb 2008 18:38:43 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: (qmail 8173 invoked from network); 10 Feb 2008 18:38:41 -0000 Received: from april.chuckr.org (chuckr@[66.92.151.30]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 10 Feb 2008 18:38:41 -0000 Message-ID: <47AF4370.8080605@chuckr.org> Date: Sun, 10 Feb 2008 13:33:20 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.6 (X11/20071107) MIME-Version: 1.0 To: Chuck Robey , freebsd-usb@freebsd.org References: <47AE28EB.7070205@chuckr.org> <20080210171052.GA37262@plan0.kaiwan.csbnet.se> In-Reply-To: <20080210171052.GA37262@plan0.kaiwan.csbnet.se> X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: Re: getting my new graphic tablet cooperating with gimp 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, 10 Feb 2008 18:38:43 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kai Wang wrote: > On Sat, Feb 09, 2008 at 05:27:55PM -0500, Chuck Robey wrote: >> I have a nice new UC-Logic WP8060-TAB08, sometimes called the Superpen, and >> I want to get it working so's I can make fine art with it (yeah, I'm a >> dreamer, so what else is new, hey?) The return off of dmesg is: >> >> ums0: on uhub0 >> ums0: X report 0x0002 not supported >> device_attach: ums0 attach returned 6 > > This is because your tablet use absolute coordinates (most tablets do) > while ums(4) currently only support relative ones. > > Could you please try to dump your pen's report descriptor and paste it > here, thus we can have more infomation? > > You can do it by: > > Download the tool: > http://people.freebsd.org/~kaiw/tools/krepdump.tgz > > # tar xzvf krepdump.tgz > # cd krepdump > # make > # kldload ./krepdump.ko > > Then connect your superpen to the usb port, (if it is already connected > you will have to disconnect it first) the report descriptor will be > printed on the console. (or you can type 'dmesg' to see it) > > -- > Kai Kai, another thing just occurred to me, you mgith need a physical description of the system. It comes with a stylus that has a replaceable plastic tip, and 3 extra tips are packaged with it. The stylus itself has a 1.5 volt AAA cell in it, and the barrel of the stylus has a rocker switch on it, one that seems to have 3 positions: a center position, which I would probably define as "rest", to which it remains when no force is applied, and the switch may be rocked either forward (nearer to the tip) or backward (away from the tip). There might possibly be a third position that might be defined, because the light on the top of the tablet itself comes on solid when the tip of the pen touches it, and that might possibly be defined as a third button, sort of mimicing a 3 button mouse. I understand from company literature that the tablet allows 1024 levels of force gradient, to select differing widths of brushes in applications such as gimp. Like I siad, the tablet has a green LED which is mounted at the top center of the tablet. The writing area is 8 inches wide by 6 inches tall, and is covered by a translucent piece of fairly heavy (maybe 10 mil?) plastic. I noted no spares for this in the package. They will probably sell replacements for this covering, as it would be a very natural place for a particular application to emblazon a series of hot areas for special input.. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHr0Nwz62J6PPcoOkRAq9pAJ92xZdlAisXsYt/WfxofaEegoij4QCghOXF 3I8TvLXiefVJKK4X+ztRvms= =Ezlg -----END PGP SIGNATURE----- From owner-freebsd-usb@FreeBSD.ORG Sun Feb 10 21:30:04 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE0DB16A46C for ; Sun, 10 Feb 2008 21:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B1A5213C457 for ; Sun, 10 Feb 2008 21:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1ALU4T7046448 for ; Sun, 10 Feb 2008 21:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1ALU4td046445; Sun, 10 Feb 2008 21:30:04 GMT (envelope-from gnats) Date: Sun, 10 Feb 2008 21:30:04 GMT Message-Id: <200802102130.m1ALU4td046445@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Volker Cc: Subject: Re: usb/56095: [usb] [patch] QUIRK: Apacer Pen Drive fails to work X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Volker List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2008 21:30:04 -0000 The following reply was made to PR usb/56095; it has been noted by GNATS. From: Volker To: bug-followup@FreeBSD.org, hburch@lumeta.com Cc: Subject: Re: usb/56095: [usb] [patch] QUIRK: Apacer Pen Drive fails to work Date: Sun, 10 Feb 2008 22:25:04 +0100 This issue seems to have been solved (RELENG_4 and up). See PR kern/50297 for discussion (PID is different but a manual check of umass.c shows there's already a quirk for device PID=0x1300). I recommend to close this PR. From owner-freebsd-usb@FreeBSD.ORG Sun Feb 10 23:00:09 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E296C16A41B for ; Sun, 10 Feb 2008 23:00:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C134613C458 for ; Sun, 10 Feb 2008 23:00:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1AN09CQ052585 for ; Sun, 10 Feb 2008 23:00:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1AN09C4052584; Sun, 10 Feb 2008 23:00:09 GMT (envelope-from gnats) Date: Sun, 10 Feb 2008 23:00:09 GMT Message-Id: <200802102300.m1AN09C4052584@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Volker Cc: Subject: Re: usb/56095: [usb] [patch] QUIRK: Apacer Pen Drive fails to work X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Volker List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2008 23:00:10 -0000 The following reply was made to PR usb/56095; it has been noted by GNATS. From: Volker To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/56095: [usb] [patch] QUIRK: Apacer Pen Drive fails to work Date: Sun, 10 Feb 2008 23:57:48 +0100 submitters mail address bounces: (host exgw2.lumeta.com[65.198.68.66] said: 550 5.1.1 : Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command)) From owner-freebsd-usb@FreeBSD.ORG Sun Feb 10 23:28:31 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E325D16A41A; Sun, 10 Feb 2008 23:28:31 +0000 (UTC) (envelope-from shaun@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B9BBB13C458; Sun, 10 Feb 2008 23:28:31 +0000 (UTC) (envelope-from shaun@FreeBSD.org) Received: from freefall.freebsd.org (shaun@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1ANSVJn055087; Sun, 10 Feb 2008 23:28:31 GMT (envelope-from shaun@freefall.freebsd.org) Received: (from shaun@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1ANSV3Z055083; Sun, 10 Feb 2008 23:28:31 GMT (envelope-from shaun) Date: Sun, 10 Feb 2008 23:28:31 GMT Message-Id: <200802102328.m1ANSV3Z055083@freefall.freebsd.org> To: hburch@lumeta.com, shaun@FreeBSD.org, freebsd-usb@FreeBSD.org From: shaun@FreeBSD.org Cc: Subject: Re: usb/56095: [usb] [patch] QUIRK: Apacer Pen Drive fails to work 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, 10 Feb 2008 23:28:32 -0000 Synopsis: [usb] [patch] QUIRK: Apacer Pen Drive fails to work State-Changed-From-To: open->closed State-Changed-By: shaun State-Changed-When: Sun Feb 10 23:26:36 UTC 2008 State-Changed-Why: Issue is believed to be fixed. Also: the submitter apparently cannot be reached any more. http://www.freebsd.org/cgi/query-pr.cgi?pr=56095 From owner-freebsd-usb@FreeBSD.ORG Mon Feb 11 11:07:17 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D2D816A46E for ; Mon, 11 Feb 2008 11:07:17 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E8B8013C4E3 for ; Mon, 11 Feb 2008 11:07:16 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1BB7G3q007573 for ; Mon, 11 Feb 2008 11:07:16 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1BB7GGg007569 for freebsd-usb@FreeBSD.org; Mon, 11 Feb 2008 11:07:16 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Feb 2008 11:07:16 GMT Message-Id: <200802111107.m1BB7GGg007569@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 11:07:17 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa o usb/91629 usb usbd_abort_pipe() may result in infinite loop 2 problems total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/46176 usb [umass] [panic] umass causes kernel panic if device re o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o bin/57255 usb usbd and multi-function devices o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/73307 usb [panic] Kernel panics on USB disconnect o usb/74771 usb [umass] [hang] mounting write-protected umass device a o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o usb/75797 usb [pcm] 5.3-STABLE(2005 1/4) detect USB headset, But can o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, o usb/77294 usb [ulpcom] [panic] ucom + ulpcom panic o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa a usb/79656 usb [ehci] RHSC interrupts lost o usb/79722 usb [ehci] wrong alignments in ehci.h o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails o usb/80829 usb [modules] [panic] possible panic when loading USB-modu o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/82660 usb [echi] [panic] EHCI: I/O stuck in state 'physrd'/panic o usb/83563 usb [umamss] [panic] Page Fault while detaching Mpman Usb o usb/83677 usb [usb] [request] usb controller often not detected (Sun o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/88743 usb [hang] USB makes kernel hang at boot (regression in 6. o usb/88966 usb [modules] kldunload ucom.ko returns "Device busy" erro s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/89954 usb [umass] [panic] USB Disk driver race condition? o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/91283 usb [boot] booting very slow with usb devices connection ( o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/92052 usb [unlpt] usbd causes defunct process with busy file-han o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes o usb/93640 usb [echi] [irq] device ehci causes interrupt storm on thi o usb/93828 usb [ochi] [panic] ohci causes panic on boot (HP Pavillion o usb/94166 usb [umass] [boot] btx halted with a flashcard plugged o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94813 usb [umass] mounting write-protected umass device freezes o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk s usb/95348 usb [kbd] USB keyboard unplug causes noise on screen o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 s usb/96120 usb [ums] [request] USB mouse not always detected o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync o usb/96457 usb [umass] [panic] fatback on umass = reboot s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/99431 usb [kbd] FreeBSD on MSI 6566E (Intel 845E motherboards) d o usb/101096 usb [if_ural] [panic] USB WLAN occasionally causes kernel- o usb/101448 usb [ohci] FBSD 6.1-STABLE/AMD64 crashes under heavy USB/O o usb/101752 usb [umass] [panic] 6.1-RELEASE kernel panic on usb device o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work f usb/102096 usb [patch] usbd(8) does not handle multiple devices in on o usb/103025 usb [uhub] [panic] wrong detection of USB device for FreeB o usb/104292 usb [umass] [hang] system lockup on forced umount of usb-s o usb/104830 usb [umass] system crashes when copying data to umass devi o usb/105186 usb [ehci] [panic] USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 c o usb/106615 usb [uftdi] uftdi module does not automatically load with o usb/106648 usb [umass] [hang] USB Floppy on D1950 10 min Hang on Inse s usb/106832 usb USB HP printer is not detected by kernel when ACPI ena o usb/107248 usb [umass] [patch] scsi_da.c quirk for Cowon iAUDIO X5 MP o usb/107446 usb [umass] umass problems (usb and fw disks) o usb/107827 usb [ohci] [panic] ohci_add_done addr not found o usb/107848 usb [umass] [request] cannot access Samsung flash disk o usb/107924 usb [patch] usbd(8) does not call detach o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE (regr o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu o usb/109397 usb [panic] on boot from USB flash o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/113478 usb [boot] [request] FreeBSD could not start on Core2Duo n s usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6 o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971 o usb/113851 usb [boot] Unable to boot install cd from USB-CDROM s usb/113977 usb [request] Need a way to set mode of USB disk's write c o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o usb/114682 usb [umass] generic USB media-card reader unusable o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116699 usb [usbhid] USB HID devices do not initialize at system b o usb/116947 usb [ukbd] [patch] enable boot protocol on the USB keyboar o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118391 usb [usbdevs] [patch] Add uscanner ID for Epson CX4800 o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/119018 usb [usbd] HP ScanJet 4300C found as knowndev but not reco o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119509 usb USB flaky on Dell Optiplex 755 o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119945 usb [rum] [panic] rum device in hostap mode, cause kernel o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119985 usb [umass] [panic] inserting of an Apacer 1Gb USB Flash l o usb/120017 usb [ehci] [patch] CS5536 (AMD Geode) USB 2.0 quirk o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/120283 usb Automation reboot with wireless keyboard & mouse o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo 123 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/48342 usb [usbd] [patch] usbd dynamic device list. f usb/51958 usb [urio] [patch] update for urio driver s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 o usb/59698 usb [kbd] [patch] Rework of ukbd HID to AT code translatio s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/63837 usb [uhid] [patch] USB: hid_is_collection() only looks for o usb/65769 usb [ucom] Call to tcflush(x, TCIFLUSH) stops input on usb o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/72380 usb [uhub] [request] USB does not work [dual Celeron Abit] s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/73056 usb [ukbd] Sun Microsystems Type 6 USB mouse not working i o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R f usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74557 usb imation 500mb usb key can only be written halfway on f o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76732 usb Mouse problems with USB KVM Switch o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ s usb/80777 usb [request] usb_rem_task() should wait for callback to c o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. f usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/83863 usb [ugen] Communication problem between opensc/openct via s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device o usb/85257 usb [boot] BTX boot loader fails on USB CDROM (HP DL145 Op o usb/86298 usb [mouse] Known good USB mouse won't work with correct s o usb/87224 usb Cannot mount USB Zip750 o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/88408 usb [axe] axe0 read PHY failed o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91896 usb [camcontrol] Serial Number of USB Memory Sticks is not o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/95173 usb [umass] [patch] cannot mount external usb harddisk VIA o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/99538 usb [kbd] while using USB keyboard default params of atkbd o usb/100746 usb [kbd] system does not boot due to USB keyboard problem o usb/101761 usb [usb] [patch] [request] usb.h: increase maximal size o o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/102678 usb [kbd] Dell PowerEdge DRAC5 USB Keyboard does not work o usb/102976 usb [panic] Casio Exilim Digital Camera causes panic on in o usb/103046 usb [ulpt] [patch] ulpt event driven I/O with select(2) an o usb/103289 usb [request] USB 2.0 problems on AMD LX-800 CPU and CS-55 o usb/103418 usb [usbhidctl] [patch] [request] usbhidctl: add ability t o usb/103917 usb [uhub] USB driver reports "Addr 0 should never happen" o usb/104290 usb [umass] [patch] quirk: TOSHIBA DVD-RAM drive (libretto o usb/104352 usb [ural] [patch] ural driver doesnt work o usb/104645 usb [umass] [request] Rave C-201 MP3 player does not commu o usb/105065 usb [sata] SATA - USB Bridge o usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/106041 usb [usb] [request] FreeBSD does not recognise Mustek Bear o usb/106621 usb [axe] [patch] DLINK DUB-E100 support broken o usb/106861 usb [usbdevs] [patch]: usbdevs update: Add product ACER Ze o usb/107243 usb [cam] [patch] Apacer USB Flash Drive quirk o usb/107388 usb [patch] [request] new driver: add utoppy device from N o usb/107496 usb [uhub] USB device problem on RELENG_6_2 (SHORT_XFER) ( o usb/107665 usb [usbdevs] [patch] uscanner support for epson stylus DX s usb/107701 usb [usbd] [request] usbd ignores "detach" o usb/107935 usb [uplcom] [panic] panic while accessing /dev/cuaU0 o usb/108056 usb [ohci] Mouse gets powered off during device probe when s usb/108344 usb [panic] kernel with atausb panics when unplugging USB o usb/108509 usb [hang] FreeBSD hang at startup after ehci0 detected (C o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC s usb/110991 usb [usbdevs] [patch] QUIRK: Super Top IDE DEVICE (depends o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4 o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/113432 usb [ucom] WARNING: attempt to net_add_domain(netgraph) af o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/114068 usb [umass] [patch] Problems with connection of the umass o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o usb/115080 usb [usbdevs] [patch] allow using a Hercules HWGUSB2-54-V2 o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/116574 usb [ehci] [patch] Add device ids for ICH8 USB chipsets f usb/116898 usb [panic] sleeping thread while using USB hard drive to o usb/117075 usb [scsi_da] [patch] quirk: USB Samsung YP-U3 MP3 o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/117185 usb [umodem] [patch] Add support for UNION interface descr o usb/117205 usb [uscanner] [patch] uscanner support for HP ScanJet 447 o usb/117546 usb [usbdevs] [patch] Add MaxStream ZigBee product ID to u o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/118374 usb [usbdevs] [patch] support Option GlobeTrotter Max 3.6 o usb/118479 usb [ubsa] [patch] ubsa driver does not recognize AnyDATA o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround s usb/118571 usb [boot] [request] fix BTX issues when booting FreeBSD 7 o usb/118670 usb [ums] [patch] Razer Copperhead Laser Mouse shows up as o usb/118686 usb [usbdevs] [patch] teach usbdevs / ubsa(4) about Huawei o usb/118741 usb [umass] [patch] Support for Nikon D300 digital camera o usb/119002 usb [patch] [request] new driver: add "ucp" driver support o usb/119150 usb [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED (regress o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR (regression) o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119981 usb [usbdevs] [patch] add support for LOGITEC LAN-GTJ/U2 g 123 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Feb 11 22:22:39 2008 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5758816A41B for ; Mon, 11 Feb 2008 22:22:39 +0000 (UTC) (envelope-from trtrgav@mail.ru) Received: from mx44.mail.ru (mx44.mail.ru [195.239.211.10]) by mx1.freebsd.org (Postfix) with ESMTP id 1915313C447 for ; Mon, 11 Feb 2008 22:22:39 +0000 (UTC) (envelope-from trtrgav@mail.ru) Received: from f89.mail.ru (f89.mail.ru [194.67.57.169]) by mx44.mail.ru (mPOP.Fallback_MX) with ESMTP id C93EF3801BFD9 for ; Mon, 11 Feb 2008 23:49:35 +0300 (MSK) Received: from mail by f89.mail.ru with local id 1JOfao-000NZr-00 for freebsd-usb@FreeBSD.org; Mon, 11 Feb 2008 23:49:34 +0300 Received: from [88.73.87.208] by koi.mail.ru with HTTP; Mon, 11 Feb 2008 23:49:34 +0300 From: Ivan To: freebsd-usb@FreeBSD.org Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [88.73.87.208] Date: Mon, 11 Feb 2008 23:49:34 +0300 In-Reply-To: <200801291006.m0TA6rlQ029613@freefall.freebsd.org> References: <200801291006.m0TA6rlQ029613@freefall.freebsd.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: Cc: Subject: Re[2]: usb/85067: [uscanner] Cannot attach ScanJet 4300C to usb device X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ivan List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 22:22:39 -0000 The problem is fixed in 6.3-STABLE. ScanJet got attached as uscanner0 without any problems. But scanimage (SANE) currently needs it to be a generic usb-device (ugen) and ugen fails with the same problem as uscanner did it before. So, plese apply the same fix to ugen, as it was done for uscanner. And the world will be happy :) -----Original Message----- From: linimon@FreeBSD.org To: root@pukruppa.de, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org Date: Tue, 29 Jan 2008 10:06:53 GMT Subject: Re: usb/85067: [uscanner] Cannot attach ScanJet 4300C to usb device > > Synopsis: [uscanner] Cannot attach ScanJet 4300C to usb device > > State-Changed-From-To: open->suspended > State-Changed-By: linimon > State-Changed-When: Tue Jan 29 10:06:34 UTC 2008 > State-Changed-Why: > Mark suspended awaiting patches. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=85067 > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" > From owner-freebsd-usb@FreeBSD.ORG Tue Feb 12 00:25:11 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C65F16A417 for ; Tue, 12 Feb 2008 00:25:11 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from cp65.agava.net (cp65.agava.net [89.108.66.215]) by mx1.freebsd.org (Postfix) with ESMTP id 51F1913C467 for ; Tue, 12 Feb 2008 00:25:11 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by cp65.agava.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1JOiaA-000Gfr-Iv for freebsd-usb@freebsd.org; Tue, 12 Feb 2008 03:01:06 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 1E5208412 for ; Tue, 12 Feb 2008 02:59:04 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id CD91617023; Tue, 12 Feb 2008 02:58:32 +0300 (MSK) Date: Tue, 12 Feb 2008 02:58:32 +0300 From: Dmitry Marakasov To: freebsd-usb@freebsd.org Message-ID: <20080211235832.GA1054@hades.panopticon> Mail-Followup-To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp65.agava.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - amdmi3.ru X-Source: X-Source-Args: X-Source-Dir: Subject: Need docs on USB driver development 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, 12 Feb 2008 00:25:11 -0000 Hi! I want to write driver for "AVerMedia Technologies" "AVerMedia USB Radio" FM tuner. Though it's HID device, I was not able to make it work through neither uhid nor ugen drivers (though I'm gonna do some more digging here). So I've decided to go level lower and write kernel driver for the device (for fun & new knowledge as well). I've taken ufm driver as a basis and now I have a driver that successfully attaches to a device, creates device node and reports some info, but I'm a but stuch with actually communicating with device. Neither arch handbook, nor developers handbook, usbd_* manpage and usb headers have any verbose information. Thus, I would be grateful for documentation on FreeBSD USB driver development. If you're curious, my current work is based on http://av-usbradio.sourceforge.net/index.php?show=reverse. Currently I try to send that 16 initialize bytes into the device. I set up pipe via usbd_open_pipe, then xfer via usbd_alloc_xfer and try to do usbd_bulk_transfer, but it fails with USBD_IOERROR and sometimes I end with my system unresponsible to keystrokes (though I can switch between consoles). Also advices regarding driver testing environemnt would be useful (fsck takes too much time). I can think of qemu which AFAIR supports USB devices and booting from NFS partition. -- Dmitry A. Marakasov | jabber: amdmi3@jabber.ru amdmi3@amdmi3.ru | http://www.amdmi3.ru From owner-freebsd-usb@FreeBSD.ORG Tue Feb 12 01:03:07 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98E7516A418 for ; Tue, 12 Feb 2008 01:03:07 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from cp65.agava.net (cp65.agava.net [89.108.66.215]) by mx1.freebsd.org (Postfix) with ESMTP id 5309C13C45A for ; Tue, 12 Feb 2008 01:03:06 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by cp65.agava.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1JOjaz-000AIU-Tw for freebsd-usb@freebsd.org; Tue, 12 Feb 2008 04:06:02 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 664A384EF for ; Tue, 12 Feb 2008 04:03:59 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 0B96517023; Tue, 12 Feb 2008 04:03:28 +0300 (MSK) Date: Tue, 12 Feb 2008 04:03:27 +0300 From: Dmitry Marakasov To: freebsd-usb@freebsd.org Message-ID: <20080212010327.GB1054@hades.panopticon> Mail-Followup-To: freebsd-usb@freebsd.org References: <20080211235832.GA1054@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20080211235832.GA1054@hades.panopticon> User-Agent: Mutt/1.5.17 (2007-11-01) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp65.agava.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - amdmi3.ru X-Source: X-Source-Args: X-Source-Dir: Subject: Re: Need docs on USB driver development 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, 12 Feb 2008 01:03:07 -0000 * Dmitry Marakasov (amdmi3@amdmi3.ru) wrote: > work through neither uhid nor ugen drivers (though I'm gonna do > some more digging here). So I've decided to go level lower and write Upd: I was able to make it work through ugen. By the chance I've plugged the device into another slot, and it worked. So the curious thing is that it works like that: addr 1: UHCI root hub, Intel addr 3: AVerMedia USB Radio, AVerMedia Technologies (can write commands to /dev/ugen0.2) But not like that: addr 1: OHCI root hub, NEC addr 2: AVerMedia USB Radio, AVerMedia Technologies (writing to /dev/ugen0.2 fails with EIO) -- Dmitry A. Marakasov | jabber: amdmi3@jabber.ru amdmi3@amdmi3.ru | http://www.amdmi3.ru From owner-freebsd-usb@FreeBSD.ORG Tue Feb 12 09:35:41 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B2ED16A525; Tue, 12 Feb 2008 09:35:41 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E14B513C45D; Tue, 12 Feb 2008 09:35:40 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1C9ZeZR023049; Tue, 12 Feb 2008 09:35:40 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1C9ZeCJ023045; Tue, 12 Feb 2008 09:35:40 GMT (envelope-from linimon) Date: Tue, 12 Feb 2008 09:35:40 GMT Message-Id: <200802120935.m1C9ZeCJ023045@freefall.freebsd.org> To: nivit@email.it, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/63837: [uhid] [patch] USB: hid_is_collection() only looks for the first item 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, 12 Feb 2008 09:35:41 -0000 Synopsis: [uhid] [patch] USB: hid_is_collection() only looks for the first item State-Changed-From-To: open->feedback State-Changed-By: linimon State-Changed-When: Tue Feb 12 09:34:24 UTC 2008 State-Changed-Why: In the followup to kern/62323, someone mentions that this fix is no longer needed for FreeBSD 6.X and beyond. Can the submitter confirm this? http://www.freebsd.org/cgi/query-pr.cgi?pr=63837 From owner-freebsd-usb@FreeBSD.ORG Tue Feb 12 09:35:55 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB34516A420; Tue, 12 Feb 2008 09:35:55 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9E97413C461; Tue, 12 Feb 2008 09:35:55 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1C9ZtW4023095; Tue, 12 Feb 2008 09:35:55 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1C9ZtWg023091; Tue, 12 Feb 2008 09:35:55 GMT (envelope-from linimon) Date: Tue, 12 Feb 2008 09:35:55 GMT Message-Id: <200802120935.m1C9ZtWg023091@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-usb@FreeBSD.org, linimon@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/63837: [uhid] [patch] USB: hid_is_collection() only looks for the first item 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, 12 Feb 2008 09:35:55 -0000 Synopsis: [uhid] [patch] USB: hid_is_collection() only looks for the first item Responsible-Changed-From-To: freebsd-usb->linimon Responsible-Changed-By: linimon Responsible-Changed-When: Tue Feb 12 09:35:46 UTC 2008 Responsible-Changed-Why: Track feedback. http://www.freebsd.org/cgi/query-pr.cgi?pr=63837 From owner-freebsd-usb@FreeBSD.ORG Tue Feb 12 10:43:23 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EF9E16A469; Tue, 12 Feb 2008 10:43:23 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 710C513C457; Tue, 12 Feb 2008 10:43:23 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1CAhNB6027445; Tue, 12 Feb 2008 10:43:23 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1CAhNZs027441; Tue, 12 Feb 2008 10:43:23 GMT (envelope-from remko) Date: Tue, 12 Feb 2008 10:43:23 GMT Message-Id: <200802121043.m1CAhNZs027441@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-usb@FreeBSD.org, remko@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: usb/119002: [patch] [request] new driver: add "ucp" driver support 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, 12 Feb 2008 10:43:23 -0000 Synopsis: [patch] [request] new driver: add "ucp" driver support Responsible-Changed-From-To: freebsd-usb->remko Responsible-Changed-By: remko Responsible-Changed-When: Tue Feb 12 10:43:22 UTC 2008 Responsible-Changed-Why: After reading Mark's periodic interesting PR's grab this one to handle. http://www.freebsd.org/cgi/query-pr.cgi?pr=119002 From owner-freebsd-usb@FreeBSD.ORG Tue Feb 12 10:46:47 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E29816A418; Tue, 12 Feb 2008 10:46:47 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E3F6313C465; Tue, 12 Feb 2008 10:46:46 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1CAkk7h027638; Tue, 12 Feb 2008 10:46:46 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1CAkkbJ027634; Tue, 12 Feb 2008 10:46:46 GMT (envelope-from remko) Date: Tue, 12 Feb 2008 10:46:46 GMT Message-Id: <200802121046.m1CAkkbJ027634@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-usb@FreeBSD.org, remko@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: usb/95173: [umass] [patch] cannot mount external usb harddisk VIA Technologies Inc. USB 2.0 IDE Bridge 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, 12 Feb 2008 10:46:47 -0000 Synopsis: [umass] [patch] cannot mount external usb harddisk VIA Technologies Inc. USB 2.0 IDE Bridge Responsible-Changed-From-To: freebsd-usb->remko Responsible-Changed-By: remko Responsible-Changed-When: Tue Feb 12 10:46:46 UTC 2008 Responsible-Changed-Why: After reading Mark's periodic interesting PR's grab this one to handle. http://www.freebsd.org/cgi/query-pr.cgi?pr=95173 From owner-freebsd-usb@FreeBSD.ORG Tue Feb 12 11:31:01 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C9AD16A46E for ; Tue, 12 Feb 2008 11:31:01 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id C0FB613C4D5 for ; Tue, 12 Feb 2008 11:31:00 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id m1CBUw5E040320 for ; Tue, 12 Feb 2008 12:30:58 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id m1CBUpX1056741 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 12 Feb 2008 12:30:51 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id m1CBUoXC049648 for ; Tue, 12 Feb 2008 12:30:50 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id m1CBUobp049647 for freebsd-usb@freebsd.org; Tue, 12 Feb 2008 12:30:50 +0100 (CET) (envelope-from ticso) Date: Tue, 12 Feb 2008 12:30:50 +0100 From: Bernd Walter To: freebsd-usb@freebsd.org Message-ID: <20080212113049.GE46322@cicely12.cicely.de> References: <20080211235832.GA1054@hades.panopticon> <20080212010327.GB1054@hades.panopticon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080212010327.GB1054@hades.panopticon> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on cicely12.cicely.de Subject: Re: Need docs on USB driver development X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2008 11:31:01 -0000 On Tue, Feb 12, 2008 at 04:03:27AM +0300, Dmitry Marakasov wrote: > * Dmitry Marakasov (amdmi3@amdmi3.ru) wrote: > > > work through neither uhid nor ugen drivers (though I'm gonna do > > some more digging here). So I've decided to go level lower and write > Upd: I was able to make it work through ugen. By the chance I've plugged > the device into another slot, and it worked. > > So the curious thing is that it works like that: > addr 1: UHCI root hub, Intel > addr 3: AVerMedia USB Radio, AVerMedia Technologies > > (can write commands to /dev/ugen0.2) > > But not like that: > addr 1: OHCI root hub, NEC > addr 2: AVerMedia USB Radio, AVerMedia Technologies > > (writing to /dev/ugen0.2 fails with EIO) Some devices are way to sensitive to noise and sometimes even timing. What you see is very likely a transmission error because of hardware problems and not of software. I would say the device is just badly designed. You may even change the situation by adding an hub between. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de From owner-freebsd-usb@FreeBSD.ORG Tue Feb 12 18:35:50 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C02FF16A480 for ; Tue, 12 Feb 2008 18:35:50 +0000 (UTC) (envelope-from ben@altesco.nl) Received: from altus-escon.com (altesco.xs4all.nl [82.95.106.39]) by mx1.freebsd.org (Postfix) with ESMTP id 9173813C4DB for ; Tue, 12 Feb 2008 18:35:48 +0000 (UTC) (envelope-from ben@altesco.nl) Received: from benjoam.altus-escon.com (benjoam.altus-escon.com [193.78.231.14]) by altus-escon.com (8.13.6/8.13.1) with ESMTP id m1CIIEpT031887 for ; Tue, 12 Feb 2008 19:18:19 +0100 (CET) (envelope-from ben@altesco.nl) Message-Id: <8B2121C8-E8F1-49F1-A24E-797A6F08D2AA@altesco.nl> From: Ben Stuyts To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Tue, 12 Feb 2008 19:15:21 +0100 X-Mailer: Apple Mail (2.919.2) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (altus-escon.com [193.78.231.42]); Tue, 12 Feb 2008 19:18:19 +0100 (CET) X-Virus-Scanned: ClamAV 0.92/5789/Tue Feb 12 15:56:33 2008 on earth.altus-escon.com X-Virus-Status: Clean Subject: Panic on connecting external harddrive 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, 12 Feb 2008 18:35:50 -0000 Hi, I posted this to amd64 and current mailing lists, but can't get any help. I looked through this list's archive but no solution either. Maybe somebody here can help me? I have a consistent panic when I connect a 2.5" LaCie 250 GB drive to a SuperMicro 6015P-TR. This server is running amd64 with ZFS. Not being able to connect external harddrives is kind of a show stopper for putting this server into production. Here is the panic message: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x290 fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff803ff8aa stack pointer = 0x10:0xffffffffd72eed70 frame pointer = 0x10:0xffffffffd72eedb0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 48 (usb3) [thread pid 48 tid 100047 ] Stopped at usb_transfer_complete+0x10a: movq 0x290(%rax),%rax db> tr Tracing pid 48 tid 100047 td 0xffffff00034fe350 usb_transfer_complete() at usb_transfer_complete+0x10a usbd_start_transfer() at usbd_start_transfer+0x1a1 bus_dmamap_load() at bus_dmamap_load+0x453 usbd_transfer() at usbd_transfer+0xae usbd_sync_transfer() at usbd_sync_transfer+0xe usbd_do_request_flags_pipe() at usbd_do_request_flags_pipe+0x96 usbd_do_request_flags() at usbd_do_request_flags+0x25 usbd_get_string_desc() at usbd_get_string_desc+0x88 usbd_get_string() at usbd_get_string+0xcd usbd_devinfo_vp() at usbd_devinfo_vp+0x80 usbd_devinfo() at usbd_devinfo+0x46 usbd_new_device() at usbd_new_device+0x68b uhub_explore() at uhub_explore+0x295 usb_discover() at usb_discover+0x38 usb_event_thread() at usb_event_thread+0x9f fork_exit() at fork_exit+0x12b fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xffffffffd72efd30, rbp = 0 --- Here is the dmesg: Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-PRERELEASE #15: Wed Feb 6 16:07:55 CET 2008 root@mars.altus-escon.com:/usr/obj/usr/src/sys/MARS Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E5335 @ 2.00GHz (2000.08-MHz K8- class CPU) Origin = "GenuineIntel" Id = 0x6f7 Stepping = 7 Features = 0xbfebfbff < FPU ,VME ,DE ,PSE ,TSC ,MSR ,PAE ,MCE ,CX8 ,APIC ,SEP ,MTRR ,PGE ,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2 =0x4e33d AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 4 usable memory = 4280487936 (4082 MB) avail memory = 4117889024 (3927 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 p4tcc0: on cpu0 cpu1: on acpi0 p4tcc1: on cpu1 cpu2: on acpi0 p4tcc2: on cpu2 cpu3: on acpi0 p4tcc3: on cpu3 cpu4: on acpi0 p4tcc4: on cpu4 cpu5: on acpi0 p4tcc5: on cpu5 cpu6: on acpi0 p4tcc6: on cpu6 cpu7: on acpi0 p4tcc7: on cpu7 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: irq 16 at device 0.0 on pci1 pci2: on pcib2 pcib3: irq 16 at device 0.0 on pci2 pci3: on pcib3 pcib4: at device 0.0 on pci3 pci4: on pcib4 pcib5: irq 18 at device 2.0 on pci2 pci5: on pcib5 em0: port 0x2000-0x201f mem 0xd8000000-0xd801ffff irq 18 at device 0.0 on pci5 em0: Using MSI interrupt em0: Ethernet address: 00:30:48:7b:88:7e em0: [FILTER] em1: port 0x2020-0x203f mem 0xd8020000-0xd803ffff irq 19 at device 0.1 on pci5 em1: Using MSI interrupt em1: Ethernet address: 00:30:48:7b:88:7f em1: [FILTER] pcib6: at device 0.3 on pci1 pci6: on pcib6 puc0: port 0x3030-0x3037,0x3028-0x302f,0x3020-0x3027,0x3018-0x301f, 0x3010-0x3017,0x3000-0x300f irq 24 at device 1.0 on pci6 puc0: [FILTER] uart0: on puc0 uart0: [FILTER] uart1: on puc0 uart1: [FILTER] ppc0: on puc0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 plip0: cannot reserve interrupt, failed. lpt0: on ppbus0 lpt0: Polled port ppi0: on ppbus0 pcib7: at device 4.0 on pci0 pci7: on pcib7 pcib8: at device 6.0 on pci0 pci8: on pcib8 pci0: at device 8.0 (no driver attached) uhci0: port 0x1800-0x181f irq 17 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1820-0x183f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1840-0x185f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xd8500000-0xd85003ff irq 17 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered umass0: on uhub3 uhid0: on uhub3 ukbd0: on uhub3 kbd2 at ukbd0 pcib9: at device 30.0 on pci0 pci9: on pcib9 vgapci0: port 0x4000-0x40ff mem 0xd0000000-0xd7ffffff,0xd8220000-0xd822ffff irq 18 at device 1.0 on pci9 em2: port 0x4400-0x443f mem 0xd8200000-0xd821ffff irq 16 at device 2.0 on pci9 em2: Ethernet address: 00:30:48:44:1a:ab em2: [FILTER] isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1860-0x186f at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0x1890-0x1897,0x1884-0x1887,0x1888-0x188f,0x1880-0x1883,0x1870-0x187f mem 0xd8500400-0xd85007ff irq 19 at device 31.2 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A, console sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 orm0: at iomem 0xc0000-0xcafff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 WARNING: ZFS is considered to be an experimental feature in FreeBSD. Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert enabled, rule-based forwarding disabled, default to deny, logging limited to 50 packets/entry by default ZFS filesystem version 6 ZFS storage pool version 6 acd0: DMA limited to UDMA33, controller found non-ATA66 cable acd0: DVDROM at ata0-slave UDMA33 ad4: 143089MB at ata2-master SATA150 ad6: 143089MB at ata3-master SATA150 SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #5 Launched! SMP: AP CPU #4 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #7 Launched! da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-3 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from zfs:tank Please let me know if there is anything I can do to help debug this. This is not (yet) a production server, so I can try out various things if needed. With kind regards, Ben From owner-freebsd-usb@FreeBSD.ORG Tue Feb 12 22:13:05 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E71D16A4A7 for ; Tue, 12 Feb 2008 22:13:05 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (in-addr.broker.freenet6.net [IPv6:2001:5c0:8fff:fffe::214d]) by mx1.freebsd.org (Postfix) with ESMTP id 3982D13C4D3 for ; Tue, 12 Feb 2008 22:13:04 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from gjp by noop.in-addr.com with local (Exim 4.54 (FreeBSD)) id 1JP3N9-000M1p-0s; Tue, 12 Feb 2008 17:13:03 -0500 Date: Tue, 12 Feb 2008 17:13:02 -0500 From: Gary Palmer To: Ben Stuyts Message-ID: <20080212221302.GB62536@in-addr.com> References: <8B2121C8-E8F1-49F1-A24E-797A6F08D2AA@altesco.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8B2121C8-E8F1-49F1-A24E-797A6F08D2AA@altesco.nl> Cc: freebsd-usb@freebsd.org Subject: Re: Panic on connecting external harddrive 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, 12 Feb 2008 22:13:05 -0000 On Tue, Feb 12, 2008 at 07:15:21PM +0100, Ben Stuyts wrote: > Hi, > > I posted this to amd64 and current mailing lists, but can't get any > help. I looked through this list's archive but no solution either. > Maybe somebody here can help me? > > I have a consistent panic when I connect a 2.5" LaCie 250 GB drive to > a SuperMicro 6015P-TR. This server is running amd64 with ZFS. Not > being able to connect external harddrives is kind of a show stopper > for putting this server into production. > > Here is the panic message: > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x290 > fault code = supervisor read data, page not present > instruction pointer = 0x8:0xffffffff803ff8aa > stack pointer = 0x10:0xffffffffd72eed70 > frame pointer = 0x10:0xffffffffd72eedb0 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 48 (usb3) > [thread pid 48 tid 100047 ] > Stopped at usb_transfer_complete+0x10a: movq 0x290(%rax),%rax > db> tr > Tracing pid 48 tid 100047 td 0xffffff00034fe350 > usb_transfer_complete() at usb_transfer_complete+0x10a > usbd_start_transfer() at usbd_start_transfer+0x1a1 > bus_dmamap_load() at bus_dmamap_load+0x453 > usbd_transfer() at usbd_transfer+0xae > usbd_sync_transfer() at usbd_sync_transfer+0xe > usbd_do_request_flags_pipe() at usbd_do_request_flags_pipe+0x96 > usbd_do_request_flags() at usbd_do_request_flags+0x25 > usbd_get_string_desc() at usbd_get_string_desc+0x88 > usbd_get_string() at usbd_get_string+0xcd > usbd_devinfo_vp() at usbd_devinfo_vp+0x80 > usbd_devinfo() at usbd_devinfo+0x46 > usbd_new_device() at usbd_new_device+0x68b > uhub_explore() at uhub_explore+0x295 > usb_discover() at usb_discover+0x38 > usb_event_thread() at usb_event_thread+0x9f > fork_exit() at fork_exit+0x12b > fork_trampoline() at fork_trampoline+0xe > --- trap 0, rip = 0, rsp = 0xffffffffd72efd30, rbp = 0 --- Has anyone pointed you at http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html ? Regards, Gary From owner-freebsd-usb@FreeBSD.ORG Tue Feb 12 22:20:01 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D324916A421 for ; Tue, 12 Feb 2008 22:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B1E0C13C467 for ; Tue, 12 Feb 2008 22:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1CMK1Na083114 for ; Tue, 12 Feb 2008 22:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1CMK1OZ083113; Tue, 12 Feb 2008 22:20:01 GMT (envelope-from gnats) Resent-Date: Tue, 12 Feb 2008 22:20:01 GMT Resent-Message-Id: <200802122220.m1CMK1OZ083113@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, Andriy Gapon Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E234916A41B for ; Tue, 12 Feb 2008 22:12:23 +0000 (UTC) (envelope-from avg@kiev.net.ua) Received: from hosted.kievnet.com (hosted.kievnet.com [193.138.144.10]) by mx1.freebsd.org (Postfix) with ESMTP id 9BC7813C448 for ; Tue, 12 Feb 2008 22:12:23 +0000 (UTC) (envelope-from avg@kiev.net.ua) Received: from [10.74.70.239] (helo=edge) by hosted.kievnet.com with esmtpa (Exim 4.62) (envelope-from ) id 1JP1rV-0007nd-Lx for FreeBSD-gnats-submit@freebsd.org; Tue, 12 Feb 2008 22:36:17 +0200 Received: from edge (localhost [127.0.0.1]) by edge (8.14.2/8.14.2) with ESMTP id m1CKaG43006417 for ; Tue, 12 Feb 2008 22:36:16 +0200 (EET) (envelope-from avg@edge) Received: (from avg@localhost) by edge (8.14.2/8.14.2/Submit) id m1CKaFNq006416; Tue, 12 Feb 2008 22:36:15 +0200 (EET) (envelope-from avg) Message-Id: <200802122036.m1CKaFNq006416@edge> Date: Tue, 12 Feb 2008 22:36:15 +0200 (EET) From: Andriy Gapon To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/120572: quirk to support ASUS P535 as umass (and inquiry fixup) 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, 12 Feb 2008 22:20:02 -0000 >Number: 120572 >Category: usb >Synopsis: quirk to support ASUS P535 as umass (and inquiry fixup) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 12 22:20:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Andriy Gapon >Release: FreeBSD 7.0-RC1 i386 >Organization: >Environment: System: FreeBSD 7.0-RC1 i386 >Description: History and details of the issue can be found in the following post: http://docs.freebsd.org/cgi/mid.cgi?47AEFFAF.1010403 Short summary: ASUS P535 smart phone configured to act as a umass storage requires DA_Q_NO_SYNC_CACHE quirk in da(4). The problem is that da(4) quirks are set based on inquiry information, but the device in question provides entirely empty inquiry information (bytes for vendor, product and revision are all zeroes). The only way in current infrastructure to provide a quirk for such a device is to have a wildcard quirk ("*", "*", "*"). But that quirk would be applied to all da(4) devices, which can not be good. Proposed patch has two parts. umass part detects inquiry responses that have empty vendor and product info and sets product and vendor info to the corresponding USB device parameters (as hexadecimal numbers). scsi_da part provides the quirk for the ASUS device in question. Note that the umass.c part of teh patch might provide help to supporting more similarly impaired devices. >How-To-Repeat: 1. Get ASUS P535 device with miniSD memory card 2. configure the device to act as umass for USB connection (Setting/Connection/USB) 3. plug into PC 4. observe info and error messages like the following: kernel: umass0: ASUS Generic Mass Storage, rev 2.00/0.00, addr 3 kernel: da0 at umass-sim0 bus 0 target 0 lun 0 kernel: da0: < > Removable Direct Access SCSI-0 device kernel: da0: 1.000MB/s transfers kernel: da0: 1952MB (3998720 512 byte sectors: 255H 63S/T 248C) umass0: Invalid CSW: tag 7 should be 8 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x0, scsi status == 0x4 >Fix: --- p535.diff begins here --- --- sys/dev/usb/umass.c 2008-02-10 15:30:23.000000000 +0200 +++ sys/dev/usb/umass.c 2008-02-10 15:02:43.000000000 +0200 @@ -3063,6 +3059,12 @@ maxsector = scsi_4btoul(rcap->addr) - 1; scsi_ulto4b(maxsector, rcap->addr); } + else if (csio->cdb_io.cdb_bytes[0] == INQUIRY && + csio->data_ptr[8] == '\0' && csio->data_ptr[16] == '\0') { + usb_device_descriptor_t *dd = usbd_get_device_descriptor(sc->sc_udev); + sprintf(&csio->data_ptr[8], "%04x", UGETW(dd->idVendor)); + sprintf(&csio->data_ptr[16], "%04x", UGETW(dd->idProduct)); + } xpt_done(ccb); break; --- sys/cam/scsi/scsi_da.c 2008-02-10 12:40:43.000000000 +0200 +++ sys/cam/scsi/scsi_da.c 2008-02-10 15:09:05.000000000 +0200 @@ -535,6 +535,13 @@ {T_DIRECT, SIP_MEDIA_REMOVABLE, "ChipsBnk", "USB*", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, + { + /* + * ASUS P535 in umass device mode + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "0b05*", "422f*", + "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE + }, }; static disk_strategy_t dastrategy; --- p535.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Tue Feb 12 22:59:45 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6C0716A480 for ; Tue, 12 Feb 2008 22:59:45 +0000 (UTC) (envelope-from ben@altesco.nl) Received: from altus-escon.com (altesco.xs4all.nl [82.95.106.39]) by mx1.freebsd.org (Postfix) with ESMTP id 7EBA213C46B for ; Tue, 12 Feb 2008 22:59:45 +0000 (UTC) (envelope-from ben@altesco.nl) Received: from susan.stuyts.nl (stuyts.xs4all.nl [82.95.106.42]) by altus-escon.com (8.13.6/8.13.1) with ESMTP id m1CMxYEE036445; Tue, 12 Feb 2008 23:59:40 +0100 (CET) (envelope-from ben@altesco.nl) Message-Id: <3CC33BA3-9337-4BC4-8B80-6EB8CA165938@altesco.nl> From: Ben Stuyts To: Gary Palmer In-Reply-To: <20080212221302.GB62536@in-addr.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Tue, 12 Feb 2008 23:59:28 +0100 References: <8B2121C8-E8F1-49F1-A24E-797A6F08D2AA@altesco.nl> <20080212221302.GB62536@in-addr.com> X-Mailer: Apple Mail (2.919.2) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (altus-escon.com [193.78.231.42]); Tue, 12 Feb 2008 23:59:40 +0100 (CET) X-Virus-Scanned: ClamAV 0.92/5794/Tue Feb 12 21:49:27 2008 on earth.altus-escon.com X-Virus-Status: Clean X-Spam-Status: No, score=-3.9 required=3.5 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on earth.altus-escon.com Cc: freebsd-usb@freebsd.org Subject: Re: Panic on connecting external harddrive 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, 12 Feb 2008 22:59:46 -0000 Hi Gary, On 12 Feb 2008, at 23:13, Gary Palmer wrote: > On Tue, Feb 12, 2008 at 07:15:21PM +0100, Ben Stuyts wrote: >> I have a consistent panic when I connect a 2.5" LaCie 250 GB drive to >> a SuperMicro 6015P-TR. This server is running amd64 with ZFS. Not >> being able to connect external harddrives is kind of a show stopper >> for putting this server into production. >> > Has anyone pointed you at > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html No, but I've read about it. I can supply a kernel dump if that helps. With kind regards, Ben From owner-freebsd-usb@FreeBSD.ORG Wed Feb 13 00:30:04 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D53F16A418 for ; Wed, 13 Feb 2008 00:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 416EB13C4E1 for ; Wed, 13 Feb 2008 00:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1D0U4p7095720 for ; Wed, 13 Feb 2008 00:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1D0U46N095717; Wed, 13 Feb 2008 00:30:04 GMT (envelope-from gnats) Date: Wed, 13 Feb 2008 00:30:04 GMT Message-Id: <200802130030.m1D0U46N095717@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Volker Cc: Subject: Re: usb/119985: [umass] [panic] inserting of an Apacer 1Gb USB Flash leads to crash hald X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Volker List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2008 00:30:04 -0000 The following reply was made to PR usb/119985; it has been noted by GNATS. From: Volker To: bug-followup@FreeBSD.org, citycat4@ngs.ru Cc: Subject: Re: usb/119985: [umass] [panic] inserting of an Apacer 1Gb USB Flash leads to crash hald Date: Wed, 13 Feb 2008 01:24:13 +0100 Rashid, I don't think any developer will have any deeper look into this problem as is - can you show us a backtrace of hald? Please find the file called 'hald.core' and then run: `gdb /usr/local/sbin/hald /path/to/hald.core' and invoke the 'bt' command. It is useful to do this with a debug version of hald: Let hald core dump with that debug version and then create the backtrace. Also please insert the memory stick, restart hald (`/usr/local/etc/rc.d/hald start') and send the output of `lshal' (or does even that core dump?). The backtrace and lshal output will at least be needed for further inspection of your problem. Thank you very much! From owner-freebsd-usb@FreeBSD.ORG Wed Feb 13 02:17:47 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 424B616A417; Wed, 13 Feb 2008 02:17:47 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (in-addr.broker.freenet6.net [IPv6:2001:5c0:8fff:fffe::214d]) by mx1.freebsd.org (Postfix) with ESMTP id 048AE13C457; Wed, 13 Feb 2008 02:17:47 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from uucp by noop.in-addr.com with local-rmail (Exim 4.54 (FreeBSD)) id 1JP7Bx-000MOs-SX; Tue, 12 Feb 2008 21:17:45 -0500 Received: from localhost.home.in-addr.com ([127.0.0.1]:57724 helo=rimmer.home.in-addr.com) by rimmer.home.in-addr.com with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JP7Bf-0004bh-9W; Wed, 13 Feb 2008 02:17:27 +0000 Message-ID: <47B25337.6020906@freebsd.org> Date: Wed, 13 Feb 2008 02:17:27 +0000 From: Gary Palmer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.11) Gecko/20080125 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Ben Stuyts References: <8B2121C8-E8F1-49F1-A24E-797A6F08D2AA@altesco.nl> <20080212221302.GB62536@in-addr.com> <3CC33BA3-9337-4BC4-8B80-6EB8CA165938@altesco.nl> In-Reply-To: <3CC33BA3-9337-4BC4-8B80-6EB8CA165938@altesco.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: Panic on connecting external harddrive 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, 13 Feb 2008 02:17:47 -0000 Ben Stuyts wrote: > Hi Gary, > > On 12 Feb 2008, at 23:13, Gary Palmer wrote: > >> On Tue, Feb 12, 2008 at 07:15:21PM +0100, Ben Stuyts wrote: >>> I have a consistent panic when I connect a 2.5" LaCie 250 GB drive to >>> a SuperMicro 6015P-TR. This server is running amd64 with ZFS. Not >>> being able to connect external harddrives is kind of a show stopper >>> for putting this server into production. >>> >> Has anyone pointed you at >> >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html >> > > No, but I've read about it. I can supply a kernel dump if that helps. Ben, You might get someone who knows the USB stack to spot a problem if you are able to supply a full backtrace with variables and line numbers for the functions. If you feel the need to file a PR, that level of information will be required. Regards, Gary P.S. I am not a USB guru, just trying to help From owner-freebsd-usb@FreeBSD.ORG Wed Feb 13 09:42:52 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A07AE16A4C4; Wed, 13 Feb 2008 09:42:52 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7919B13C447; Wed, 13 Feb 2008 09:42:52 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1D9gqlt044619; Wed, 13 Feb 2008 09:42:52 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1D9gpkN044615; Wed, 13 Feb 2008 09:42:51 GMT (envelope-from linimon) Date: Wed, 13 Feb 2008 09:42:51 GMT Message-Id: <200802130942.m1D9gpkN044615@freefall.freebsd.org> To: asa@gascom.ru, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/51958: [urio] [patch] update for urio driver 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, 13 Feb 2008 09:42:52 -0000 Synopsis: [urio] [patch] update for urio driver State-Changed-From-To: feedback->suspended State-Changed-By: linimon State-Changed-When: Wed Feb 13 09:37:01 UTC 2008 State-Changed-Why: The patches are no longer available on the FTP server, and the submitter has not responded for a request to their new location. This one just fell through the cracks :-( Mark it suspended in case anyone wants to pick up the patch that's there and continue with it. http://www.freebsd.org/cgi/query-pr.cgi?pr=51958 From owner-freebsd-usb@FreeBSD.ORG Wed Feb 13 09:50:17 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72F5816A41A; Wed, 13 Feb 2008 09:50:17 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4DD8A13C465; Wed, 13 Feb 2008 09:50:17 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1D9oHNu045355; Wed, 13 Feb 2008 09:50:17 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1D9oGjt045351; Wed, 13 Feb 2008 09:50:16 GMT (envelope-from linimon) Date: Wed, 13 Feb 2008 09:50:16 GMT Message-Id: <200802130950.m1D9oGjt045351@freefall.freebsd.org> To: citycat4@ngs.ru, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/119985: [umass] [panic] inserting of an Apacer 1Gb USB Flash leads to crash hald 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, 13 Feb 2008 09:50:17 -0000 Synopsis: [umass] [panic] inserting of an Apacer 1Gb USB Flash leads to crash hald State-Changed-From-To: open->feedback State-Changed-By: linimon State-Changed-When: Wed Feb 13 09:50:03 UTC 2008 State-Changed-Why: Note that submitter has been asked for feedback. http://www.freebsd.org/cgi/query-pr.cgi?pr=119985 From owner-freebsd-usb@FreeBSD.ORG Wed Feb 13 11:23:35 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADEBD16A469 for ; Wed, 13 Feb 2008 11:23:35 +0000 (UTC) (envelope-from man@alkar.net) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 2775113C47E for ; Wed, 13 Feb 2008 11:23:34 +0000 (UTC) (envelope-from man@alkar.net) Received: from man.alkar.net (account man@alkar.net [212.86.226.26] verified) by cmail.optima.ua (CommuniGate Pro SMTP 5.1.14) with ESMTPSA id 76707694 for freebsd-usb@freebsd.org; Wed, 13 Feb 2008 12:23:32 +0200 From: Artyom Mirgorodsky To: freebsd-usb@freebsd.org Date: Wed, 13 Feb 2008 12:23:30 +0200 User-Agent: KMail/1.9.50 (FreeBSD/7.0-PRERELEASE; KDE/4.0.61; i386; svn-774072; 2008-02-12) MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802131223.30688.man@alkar.net> Subject: Transcend JF V60 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, 13 Feb 2008 11:23:35 -0000 Hi. I have a trouble with USB flash Transcend JF V60 umass0: on uhub2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 3935MB (8060927 512 byte sectors: 255H 63S/T 501C) When I copy big files from flash or execute dd if=/dev/da0s1 of=/dev/null bs=1M process copying hangs. After some time (1-2 minutes), process renews copying and hangs again. On linux or windows all good. From owner-freebsd-usb@FreeBSD.ORG Wed Feb 13 17:01:37 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDC9816A420 for ; Wed, 13 Feb 2008 17:01:36 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.freebsd.org (Postfix) with ESMTP id B23CB13C4DB for ; Wed, 13 Feb 2008 17:01:36 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0JW600JDISMMBU90@osl1smout1.broadpark.no> for freebsd-usb@freebsd.org; Wed, 13 Feb 2008 18:01:35 +0100 (CET) Received: from kg-work.kg4.no ([80.202.173.59]) by osl1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with SMTP id <0JW6007MOSMKCSY1@osl1sminn1.broadpark.no> for freebsd-usb@freebsd.org; Wed, 13 Feb 2008 18:01:34 +0100 (CET) Date: Wed, 13 Feb 2008 18:01:32 +0100 From: Torfinn Ingolfsen To: freebsd-usb@freebsd.org Message-id: <20080213180132.511a7fb4.torfinn.ingolfsen@broadpark.no> In-reply-to: <20080210171052.GA37262@plan0.kaiwan.csbnet.se> References: <47AE28EB.7070205@chuckr.org> <20080210171052.GA37262@plan0.kaiwan.csbnet.se> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.5; i386-portbld-freebsd6.3) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: Re: getting my new graphic tablet cooperating with gimp 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, 13 Feb 2008 17:01:37 -0000 On Sun, 10 Feb 2008 18:10:52 +0100 Kai Wang wrote: > On Sat, Feb 09, 2008 at 05:27:55PM -0500, Chuck Robey wrote: > > I have a nice new UC-Logic WP8060-TAB08, sometimes called the > > Superpen, and I want to get it working so's I can make fine art > > with it (yeah, I'm a dreamer, so what else is new, hey?) The > > return off of dmesg is: > > > > ums0: > > on uhub0 ums0: X report 0x0002 not supported > > device_attach: ums0 attach returned 6 > > This is because your tablet use absolute coordinates (most tablets do) > while ums(4) currently only support relative ones. > > Could you please try to dump your pen's report descriptor and paste it > here, thus we can have more infomation? In case it is of interest, herer is the "krepdump" from a Wacom CTF-420 tablet: Feb 13 17:56:24 kg-work kernel: [report desc size=110] Feb 13 17:56:24 kg-work kernel: USAGE PAGE Generic Desktop(1) Feb 13 17:56:24 kg-work kernel: USAGE Mouse(2) Feb 13 17:56:24 kg-work kernel: COLLECTION Application(1) Feb 13 17:56:24 kg-work kernel: REPORT ID 1 Feb 13 17:56:24 kg-work kernel: USAGE Pointer(1) Feb 13 17:56:24 kg-work kernel: COLLECTION Physical(0) Feb 13 17:56:24 kg-work kernel: USAGE PAGE Button(9) Feb 13 17:56:24 kg-work kernel: USAGE MINIMUM Button1(1) Feb 13 17:56:24 kg-work kernel: USAGE MAXIMUM Button3(3) Feb 13 17:56:24 kg-work kernel: LOGICAL MINIMUM 0 Feb 13 17:56:24 kg-work kernel: LOGICAL MAXIMUM 1 Feb 13 17:56:24 kg-work kernel: REPORT COUNT 3 Feb 13 17:56:24 kg-work kernel: REPORT SIZE 1 Feb 13 17:56:24 kg-work kernel: INPUT ( Data Variable Absolute ) (2) Feb 13 17:56:24 kg-work kernel: REPORT COUNT 1 Feb 13 17:56:24 kg-work kernel: REPORT SIZE 5 Feb 13 17:56:24 kg-work kernel: INPUT ( Const Array Absolute ) (1) Feb 13 17:56:24 kg-work kernel: USAGE PAGE Generic Desktop(1) Feb 13 17:56:24 kg-work kernel: USAGE X(48) Feb 13 17:56:24 kg-work kernel: USAGE Y(49) Feb 13 17:56:24 kg-work kernel: USAGE Wheel(56) Feb 13 17:56:24 kg-work kernel: LOGICAL MINIMUM -127 Feb 13 17:56:24 kg-work kernel: LOGICAL MAXIMUM 127 Feb 13 17:56:24 kg-work kernel: REPORT SIZE 8 Feb 13 17:56:24 kg-work kernel: REPORT COUNT 3 Feb 13 17:56:24 kg-work kernel: INPUT ( Data Variable Relative ) (6) Feb 13 17:56:24 kg-work kernel: REPORT COUNT 3 Feb 13 17:56:24 kg-work kernel: INPUT ( Const Array Absolute ) (1) Feb 13 17:56:24 kg-work kernel: END COLLECTION Feb 13 17:56:24 kg-work kernel: END COLLECTION Feb 13 17:56:24 kg-work kernel: USAGE PAGE Digitizer(13) Feb 13 17:56:24 kg-work kernel: USAGE Digitizer(1) Feb 13 17:56:24 kg-work kernel: COLLECTION Application(1) Feb 13 17:56:24 kg-work kernel: REPORT ID 2 Feb 13 17:56:24 kg-work kernel: COLLECTION Physical(0) Feb 13 17:56:24 kg-work kernel: USAGE PAGE Microsoft(65280) Feb 13 17:56:24 kg-work kernel: USAGE Unknown Usage(1) Feb 13 17:56:24 kg-work kernel: LOGICAL MINIMUM 0 Feb 13 17:56:24 kg-work kernel: LOGICAL MAXIMUM 255 Feb 13 17:56:24 kg-work kernel: REPORT SIZE 8 Feb 13 17:56:24 kg-work kernel: REPORT COUNT 7 Feb 13 17:56:24 kg-work kernel: INPUT ( Data Variable Absolute ) (2) Feb 13 17:56:24 kg-work kernel: END COLLECTION Feb 13 17:56:24 kg-work kernel: USAGE Unknown Usage(1) Feb 13 17:56:24 kg-work kernel: REPORT ID 99 Feb 13 17:56:24 kg-work kernel: REPORT COUNT 7 Feb 13 17:56:24 kg-work kernel: INPUT ( Data Variable Absolute ) (2) Feb 13 17:56:24 kg-work kernel: USAGE Unknown Usage(1) Feb 13 17:56:24 kg-work kernel: REPORT ID 2 Feb 13 17:56:24 kg-work kernel: REPORT COUNT 1 Feb 13 17:56:24 kg-work kernel: FEATURE ( Data Variable Absolute ) (2) Feb 13 17:56:24 kg-work kernel: USAGE Unknown Usage(1) Feb 13 17:56:24 kg-work kernel: REPORT ID 3 Feb 13 17:56:24 kg-work kernel: REPORT COUNT 1 Feb 13 17:56:24 kg-work kernel: FEATURE ( Data Variable Absolute ) (2) Feb 13 17:56:24 kg-work kernel: END COLLECTION Feb 13 17:56:24 kg-work kernel: [hexdump] Feb 13 17:56:24 kg-work kernel: 0000 05 01 09 02 A1 01 85 01 09 01 A1 00 05 09 19 01 Feb 13 17:56:24 kg-work kernel: 0010 29 03 15 00 25 01 95 03 75 01 81 02 95 01 75 05 Feb 13 17:56:24 kg-work kernel: 0020 81 01 05 01 09 30 09 31 09 38 15 81 25 7F 75 08 Feb 13 17:56:24 kg-work kernel: 0030 95 03 81 06 95 03 81 01 C0 C0 05 0D 09 01 A1 01 Feb 13 17:56:24 kg-work kernel: 0040 85 02 A1 00 06 00 FF 09 01 15 00 26 FF 00 75 08 Feb 13 17:56:24 kg-work kernel: 0050 95 07 81 02 C0 09 01 85 63 95 07 81 02 09 01 85 Feb 13 17:56:24 kg-work kernel: 0060 02 95 01 B1 02 09 01 85 03 95 01 B1 02 C0 Feb 13 17:56:24 kg-work kernel: ums0: WACOM CTF-420 V2.0-0, rev 1.10/2.00, addr 2, iclass 3/1 Feb 13 17:56:24 kg-work kernel: ums0: 3 buttons and Z dir. Note: this tablet works with moused already. I haven't tried any "tablet" settings in xorg yet. system: tingo@kg-work$ uname -a FreeBSD kg-work.kg4.no 6.3-STABLE FreeBSD 6.3-STABLE #7: Sat Jan 26 22:35:33 CET 2008 root@kg-work.kg4.no:/usr/obj/usr/src/sys/SS51G i386 -- Regards, Torfinn Ingolfsen From owner-freebsd-usb@FreeBSD.ORG Wed Feb 13 17:33:16 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E41D16A41B for ; Wed, 13 Feb 2008 17:33:16 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.freebsd.org (Postfix) with ESMTP id 63A5513C45A for ; Wed, 13 Feb 2008 17:33:16 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: (qmail 1436 invoked from network); 13 Feb 2008 17:33:16 -0000 Received: from april.chuckr.org (chuckr@[66.92.151.30]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 13 Feb 2008 17:33:15 -0000 Message-ID: <47B328A9.7080808@chuckr.org> Date: Wed, 13 Feb 2008 12:28:09 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.6 (X11/20071107) MIME-Version: 1.0 To: Torfinn Ingolfsen References: <47AE28EB.7070205@chuckr.org> <20080210171052.GA37262@plan0.kaiwan.csbnet.se> <20080213180132.511a7fb4.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20080213180132.511a7fb4.torfinn.ingolfsen@broadpark.no> X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: getting my new graphic tablet cooperating with gimp 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, 13 Feb 2008 17:33:16 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Torfinn Ingolfsen wrote: > On Sun, 10 Feb 2008 18:10:52 +0100 > Kai Wang wrote: > >> On Sat, Feb 09, 2008 at 05:27:55PM -0500, Chuck Robey wrote: >>> I have a nice new UC-Logic WP8060-TAB08, sometimes called the >>> Superpen, and I want to get it working so's I can make fine art >>> with it (yeah, I'm a dreamer, so what else is new, hey?) The >>> return off of dmesg is: >>> >>> ums0: >>> on uhub0 ums0: X report 0x0002 not supported >>> device_attach: ums0 attach returned 6 >> This is because your tablet use absolute coordinates (most tablets do) >> while ums(4) currently only support relative ones. >> >> Could you please try to dump your pen's report descriptor and paste it >> here, thus we can have more infomation? I appreciate the extra information. In fact, I am having one heck of a time trying to figure out exactly how to parse this. I am reading with the HID1_11 spec on my knee at all times, but I swear, I have never seen such a poorly written document! I am having a terrible time trying to figure out the actual scope of each statement, which refers to what. I don't run any piece of Windows stuff here, so many of the pieces of demo software I have found on the web do me no good. I'm not giving up, I keep on making new discoveries, but if anyone knows of a description of HID that involves some real use of English, I sure would appreciate a pointer to it. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHsyipz62J6PPcoOkRAk1iAJ0QiueTV+eASLvpdmplR1WkR2mYVACglFCS XTXcjiijqGKx33go/Vways8= =bUwO -----END PGP SIGNATURE----- From owner-freebsd-usb@FreeBSD.ORG Wed Feb 13 17:36:37 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E22316A419; Wed, 13 Feb 2008 17:36:37 +0000 (UTC) (envelope-from ben@altesco.nl) Received: from altus-escon.com (altesco.xs4all.nl [82.95.106.39]) by mx1.freebsd.org (Postfix) with ESMTP id 0776813C461; Wed, 13 Feb 2008 17:36:36 +0000 (UTC) (envelope-from ben@altesco.nl) Received: from benjoam.altus-escon.com (benjoam.altus-escon.com [193.78.231.14]) by altus-escon.com (8.13.6/8.13.1) with ESMTP id m1DHaUU5085089; Wed, 13 Feb 2008 18:36:35 +0100 (CET) (envelope-from ben@altesco.nl) Message-Id: <729AFEC6-CA7C-473C-9E80-F90AC651B5E9@altesco.nl> From: Ben Stuyts To: Gary Palmer In-Reply-To: <47B25337.6020906@freebsd.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Wed, 13 Feb 2008 18:36:29 +0100 References: <8B2121C8-E8F1-49F1-A24E-797A6F08D2AA@altesco.nl> <20080212221302.GB62536@in-addr.com> <3CC33BA3-9337-4BC4-8B80-6EB8CA165938@altesco.nl> <47B25337.6020906@freebsd.org> X-Mailer: Apple Mail (2.919.2) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (altus-escon.com [193.78.231.42]); Wed, 13 Feb 2008 18:36:35 +0100 (CET) X-Virus-Scanned: ClamAV 0.92/5799/Wed Feb 13 16:15:22 2008 on earth.altus-escon.com X-Virus-Status: Clean Cc: freebsd-usb@freebsd.org Subject: Re: Panic on connecting external harddrive 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, 13 Feb 2008 17:36:37 -0000 Hi, On 13 Feb 2008, at 03:17, Gary Palmer wrote: > You might get someone who knows the USB stack to spot a problem if > you are able to supply a full backtrace with variables and line > numbers for the functions. If you feel the need to file a PR, that > level of information will be required. I'm trying, but I can't get a crashdump. I have dumpdev in rc.conf set to my swap partition, and during booting it correctly says it will dump to that device. My swap is 4 GB and I have 4 GB memory, but doing the math it should fit. I tried 'call doadump' from kdb, but that just hangs there indefinitely. No output, no disk activity. I have to hard-reset the machine. While searching the mailing lists I found this sometimes happens, but I found no solution. > P.S. I am not a USB guru, just trying to help Thank you! With kind regards, Ben From owner-freebsd-usb@FreeBSD.ORG Wed Feb 13 18:30:05 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 451F316A475 for ; Wed, 13 Feb 2008 18:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 18E0D13C4E1 for ; Wed, 13 Feb 2008 18:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1DIU4v1085898 for ; Wed, 13 Feb 2008 18:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1DIU4Ib085893; Wed, 13 Feb 2008 18:30:04 GMT (envelope-from gnats) Date: Wed, 13 Feb 2008 18:30:04 GMT Message-Id: <200802131830.m1DIU4Ib085893@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Volker Cc: Subject: Re: usb/119985: [umass] [panic] inserting of an Apacer 1Gb USB Flash leads to crash hald X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Volker List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2008 18:30:05 -0000 The following reply was made to PR usb/119985; it has been noted by GNATS. From: Volker To: bug-followup@FreeBSD.org, citycat4@ngs.ru Cc: Subject: Re: usb/119985: [umass] [panic] inserting of an Apacer 1Gb USB Flash leads to crash hald Date: Wed, 13 Feb 2008 19:29:13 +0100 problem solved by updating sysutils/hal to 0.5.8.20080203 PR can be closed! From owner-freebsd-usb@FreeBSD.ORG Wed Feb 13 18:42:25 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E134916A418; Wed, 13 Feb 2008 18:42:25 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C0D1613C467; Wed, 13 Feb 2008 18:42:25 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1DIgPj8087136; Wed, 13 Feb 2008 18:42:25 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1DIgOx5087132; Wed, 13 Feb 2008 18:42:24 GMT (envelope-from gavin) Date: Wed, 13 Feb 2008 18:42:24 GMT Message-Id: <200802131842.m1DIgOx5087132@freefall.freebsd.org> To: citycat4@ngs.ru, gavin@FreeBSD.org, freebsd-usb@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: usb/119985: [umass] [panic] inserting of an Apacer 1Gb USB Flash leads to crash hald 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, 13 Feb 2008 18:42:26 -0000 Synopsis: [umass] [panic] inserting of an Apacer 1Gb USB Flash leads to crash hald State-Changed-From-To: feedback->closed State-Changed-By: gavin State-Changed-When: Wed Feb 13 18:41:36 UTC 2008 State-Changed-Why: Problem has been solved by a new version of the port http://www.freebsd.org/cgi/query-pr.cgi?pr=119985 From owner-freebsd-usb@FreeBSD.ORG Wed Feb 13 19:05:45 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1810116A41A; Wed, 13 Feb 2008 19:05:45 +0000 (UTC) (envelope-from ben@altus-escon.com) Received: from altus-escon.com (altesco.xs4all.nl [82.95.106.39]) by mx1.freebsd.org (Postfix) with ESMTP id 96C9513C46B; Wed, 13 Feb 2008 19:05:44 +0000 (UTC) (envelope-from ben@altus-escon.com) Received: from benjoam.altus-escon.com (benjoam.altus-escon.com [193.78.231.14]) by altus-escon.com (8.13.6/8.13.1) with ESMTP id m1DIQkeZ085800; Wed, 13 Feb 2008 19:26:51 +0100 (CET) (envelope-from ben@altus-escon.com) Message-Id: <5BA674D3-BEC5-4588-90E5-AF98B68BF96F@altus-escon.com> From: Ben Stuyts To: Ben Stuyts In-Reply-To: <729AFEC6-CA7C-473C-9E80-F90AC651B5E9@altesco.nl> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Wed, 13 Feb 2008 19:26:45 +0100 References: <8B2121C8-E8F1-49F1-A24E-797A6F08D2AA@altesco.nl> <20080212221302.GB62536@in-addr.com> <3CC33BA3-9337-4BC4-8B80-6EB8CA165938@altesco.nl> <47B25337.6020906@freebsd.org> <729AFEC6-CA7C-473C-9E80-F90AC651B5E9@altesco.nl> X-Mailer: Apple Mail (2.919.2) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (altus-escon.com [193.78.231.42]); Wed, 13 Feb 2008 19:26:51 +0100 (CET) X-Virus-Scanned: ClamAV 0.92/5799/Wed Feb 13 16:15:22 2008 on earth.altus-escon.com X-Virus-Status: Clean Cc: freebsd-usb@freebsd.org Subject: Re: Panic on connecting external harddrive 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, 13 Feb 2008 19:05:45 -0000 Hi, On 13 Feb 2008, at 18:36, Ben Stuyts wrote: > I'm trying, but I can't get a crashdump. I have dumpdev in rc.conf > set to my swap partition, and during booting it correctly says it > will dump to that device. My swap is 4 GB and I have 4 GB memory, > but doing the math it should fit. Here is something really odd: For debugging I had options KDB options DDB options GDB in my kernel conf. To find out why it would not dump, I removed DDB and GDB, and now it has gotten a lot harder to panic the system. If I plug or unplug the USB drive slowly, I get the usual connect/ disconnect messages and no panic. Only when I connect and then around 3 s later unplug, I get a panic. This is while the connect message comes by on the screen. (Ok, maybe I'm asking for it at that point.) How could the inclusion of DDB/GDB affect the USB subsystem? Some odd timing problem? (And still no way to create a crashdump...) With kind regards, Ben From owner-freebsd-usb@FreeBSD.ORG Wed Feb 13 19:20:05 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E878A16A417 for ; Wed, 13 Feb 2008 19:20:05 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.81]) by mx1.freebsd.org (Postfix) with ESMTP id D6A0413C448 for ; Wed, 13 Feb 2008 19:20:05 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (asmtp007-s [10.150.69.70]) by smtpoutm.mac.com (Xserve/smtpout018/MantshX 4.0) with ESMTP id m1DJJUe7013263; Wed, 13 Feb 2008 11:19:30 -0800 (PST) Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mac.com (Xserve/asmtp007/MantshX 4.0) with ESMTP id m1DJJC5m007496 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 13 Feb 2008 11:19:20 -0800 (PST) Message-Id: From: Marcel Moolenaar To: Ben Stuyts In-Reply-To: <5BA674D3-BEC5-4588-90E5-AF98B68BF96F@altus-escon.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Wed, 13 Feb 2008 11:19:12 -0800 References: <8B2121C8-E8F1-49F1-A24E-797A6F08D2AA@altesco.nl> <20080212221302.GB62536@in-addr.com> <3CC33BA3-9337-4BC4-8B80-6EB8CA165938@altesco.nl> <47B25337.6020906@freebsd.org> <729AFEC6-CA7C-473C-9E80-F90AC651B5E9@altesco.nl> <5BA674D3-BEC5-4588-90E5-AF98B68BF96F@altus-escon.com> X-Mailer: Apple Mail (2.919.2) Cc: freebsd-usb@freebsd.org Subject: Re: Panic on connecting external harddrive 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, 13 Feb 2008 19:20:06 -0000 On Feb 13, 2008, at 10:26 AM, Ben Stuyts wrote: > Hi, > > On 13 Feb 2008, at 18:36, Ben Stuyts wrote: > >> I'm trying, but I can't get a crashdump. I have dumpdev in rc.conf >> set to my swap partition, and during booting it correctly says it >> will dump to that device. My swap is 4 GB and I have 4 GB memory, >> but doing the math it should fit. > > Here is something really odd: For debugging I had > > options KDB > options DDB > options GDB > > in my kernel conf. To find out why it would not dump, I removed DDB > and GDB, and now it has gotten a lot harder to panic the system. If > I plug or unplug the USB drive slowly, I get the usual connect/ > disconnect messages and no panic. Only when I connect and then > around 3 s later unplug, I get a panic. This is while the connect > message comes by on the screen. (Ok, maybe I'm asking for it at that > point.) > > How could the inclusion of DDB/GDB affect the USB subsystem? Some > odd timing problem? (And still no way to create a crashdump...) Memory corruption: by adding or removing options, you change the kernel itself as well as its behaviour. This can change where in the kernel the corruption happens and what sub-systems are being affected. See if some other options have the same effect... -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-usb@FreeBSD.ORG Thu Feb 14 00:00:09 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B6F416A47C for ; Thu, 14 Feb 2008 00:00:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 154FF13C4D9 for ; Thu, 14 Feb 2008 00:00:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1E008Nc010679 for ; Thu, 14 Feb 2008 00:00:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1E008M5010678; Thu, 14 Feb 2008 00:00:08 GMT (envelope-from gnats) Date: Thu, 14 Feb 2008 00:00:08 GMT Message-Id: <200802140000.m1E008M5010678@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Volker Cc: Subject: Re: usb/65769: [ucom] Call to tcflush(x, TCIFLUSH) stops input on usb-serial forever X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Volker List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2008 00:00:09 -0000 The following reply was made to PR usb/65769; it has been noted by GNATS. From: Volker To: bug-followup@FreeBSD.org, cejkar@fit.vutbr.cz Cc: Subject: Re: usb/65769: [ucom] Call to tcflush(x, TCIFLUSH) stops input on usb-serial forever Date: Thu, 14 Feb 2008 00:56:37 +0100 Rudolf, just came across your really old PR and am wondering if this is still an issue with recent releases (6.x/7.0)? From owner-freebsd-usb@FreeBSD.ORG Thu Feb 14 04:07:11 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3989716A418 for ; Thu, 14 Feb 2008 04:07:11 +0000 (UTC) (envelope-from markus@FreeBSD.org) Received: from mail-in-12.arcor-online.net (mail-in-12.arcor-online.net [151.189.21.52]) by mx1.freebsd.org (Postfix) with ESMTP id AE74013C45A for ; Thu, 14 Feb 2008 04:07:10 +0000 (UTC) (envelope-from markus@FreeBSD.org) Received: from mail-in-09-z2.arcor-online.net (mail-in-09-z2.arcor-online.net [151.189.8.21]) by mail-in-12.arcor-online.net (Postfix) with ESMTP id 641084C96D; Thu, 14 Feb 2008 05:07:09 +0100 (CET) Received: from mail-in-06.arcor-online.net (mail-in-06.arcor-online.net [151.189.21.46]) by mail-in-09-z2.arcor-online.net (Postfix) with ESMTP id 47A2828EDBE; Thu, 14 Feb 2008 05:07:09 +0100 (CET) Received: from galaxy.homeunix.org (dslb-084-061-046-087.pools.arcor-ip.net [84.61.46.87]) by mail-in-06.arcor-online.net (Postfix) with ESMTP id 1203A35E6A5; Thu, 14 Feb 2008 05:07:09 +0100 (CET) Received: from cheops.phoenix (cheops.phoenix [192.168.1.3]) by galaxy.homeunix.org (Postfix) with ESMTP id 548E43F456; Thu, 14 Feb 2008 05:04:21 +0100 (CET) From: Markus Brueffer To: freebsd-usb@freebsd.org Date: Thu, 14 Feb 2008 05:06:48 +0100 User-Agent: KMail/1.9.7 References: <47AE28EB.7070205@chuckr.org> <20080213180132.511a7fb4.torfinn.ingolfsen@broadpark.no> <47B328A9.7080808@chuckr.org> In-Reply-To: <47B328A9.7080808@chuckr.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1913414.gXjQVzJ3N8"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200802140506.52864.markus@FreeBSD.org> X-Virus-Scanned: ClamAV 0.92.1/5805/Thu Feb 14 00:29:12 2008 on mail-in-06.arcor-online.net X-Virus-Status: Clean Cc: Subject: Re: getting my new graphic tablet cooperating with gimp 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, 14 Feb 2008 04:07:11 -0000 --nextPart1913414.gXjQVzJ3N8 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Mittwoch, 13. Februar 2008 18:28:09 schrieb Chuck Robey: > Torfinn Ingolfsen wrote: > > On Sun, 10 Feb 2008 18:10:52 +0100 > > > > Kai Wang wrote: > >> On Sat, Feb 09, 2008 at 05:27:55PM -0500, Chuck Robey wrote: > >>> I have a nice new UC-Logic WP8060-TAB08, sometimes called the > >>> Superpen, and I want to get it working so's I can make fine art > >>> with it (yeah, I'm a dreamer, so what else is new, hey?) The > >>> return off of dmesg is: > >>> > >>> ums0: > >>> on uhub0 ums0: X report 0x0002 not supported > >>> device_attach: ums0 attach returned 6 > >> > >> This is because your tablet use absolute coordinates (most tablets do) > >> while ums(4) currently only support relative ones. > >> > >> Could you please try to dump your pen's report descriptor and paste it > >> here, thus we can have more infomation? > > I appreciate the extra information. In fact, I am having one heck of a > time trying to figure out exactly how to parse this. I am reading with t= he > HID1_11 spec on my knee at all times, but I swear, I have never seen such= a > poorly written document! It's not _that_ bad, but it surely lacks several clarifications in some are= as=20 and some information on specific topics is scattered across the whole=20 document. Best thing to get started is IMHO to get an idea about what reports are and= to=20 get the raw report descriptor of a simple device (e.g. a mouse if it's not= =20 from a keyboard/mouse combo) and start decoding it by hand. The sources of= =20 the libusbhid parser might be of help as well, although it contains several= =20 bugs and isn't spec compliant in several cases, but it might get you an ide= a=20 of what's going on. Furthermore playing with usbhidctl might be of help. I have written a completly new fully spec compliant HID parser which is soo= n=20 ready for public consumption as part of a new libhid. It contains many=20 comments and should be easy to understand. The data representation directly= =20 takes the tree-like structure of a decoded report descriptor into account s= o=20 that it's easy to write drivers that only handle one or more specific=20 application collections. Furthermore physical descriptors are supported and= =20 the data handling functions hide the concept of report IDs so that it's les= s=20 error prone to develop HID drivers (ums(4) e.g. doesn't support reports oth= er=20 than report 0 which is the reason that many of todays mice don't work). The= =20 parser itself will hopefully replace our current in-kernel HID parser. > I am having a terrible time trying to figure out=20 > the actual scope of each statement, which refers to what. I don't run any > piece of Windows stuff here, so many of the pieces of demo software I have > found on the web do me no good. I didn't find any windows software that really made it easier to understand= =20 the spec. It's IMHO easier to directly get your hands dirty and to read the= =20 code of an HID parser. > I'm not giving up, I keep on making new discoveries, but if anyone knows = of > a description of HID that involves some real use of English, I sure would > appreciate a pointer to it. If you have any specific questions, please drop me a mail. Markus --nextPart1913414.gXjQVzJ3N8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD4DBQBHs75c1I0Qcnj4qNQRAk54AJiU6OlMsYPOlH08wbeXURpLDCikAKCrOQt1 Aj2rhRlwyNLpJLJtbThl+g== =i5uM -----END PGP SIGNATURE----- --nextPart1913414.gXjQVzJ3N8-- From owner-freebsd-usb@FreeBSD.ORG Thu Feb 14 10:20:02 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D352916A419 for ; Thu, 14 Feb 2008 10:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B5BEF13C4CE for ; Thu, 14 Feb 2008 10:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1EAK2ng062577 for ; Thu, 14 Feb 2008 10:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1EAK2Sa062576; Thu, 14 Feb 2008 10:20:02 GMT (envelope-from gnats) Date: Thu, 14 Feb 2008 10:20:02 GMT Message-Id: <200802141020.m1EAK2Sa062576@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Rudolf Cejka Cc: Subject: Re: usb/65769: [ucom] Call to tcflush(x, TCIFLUSH) stops input on usb-serial forever X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rudolf Cejka List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2008 10:20:02 -0000 The following reply was made to PR usb/65769; it has been noted by GNATS. From: Rudolf Cejka To: Volker Cc: bug-followup@FreeBSD.org Subject: Re: usb/65769: [ucom] Call to tcflush(x, TCIFLUSH) stops input on usb-serial forever Date: Thu, 14 Feb 2008 10:58:53 +0100 Volker wrote (2008/02/14): > just came across your really old PR and am wondering if this is still > an issue with recent releases (6.x/7.0)? Uff, it is really very long time and I could not easily repeat exactly the same steps with remote kernel debugging, however I tried to connect two FreeBSD 6.2-STABLEs using identical USB-to-Serial converter with self-patched tip forcing calling tcflush(fd, TCIFLUSH) and/or tcflush(fd, TCIOFLUSH) and it seems that it is working now. On the other side, please look at cvsweb, src/sys/dev/usb/ucom.c, revisions 1.56 (3 years ago) and 1.64 (7 months ago), where the first change tries to fix this PR and the second tries to fix another consequent problem, however I hope that the solution survived and the problem is solved even in the most current sources, so you can close this PR. Regards. -- Rudolf Cejka http://www.fit.vutbr.cz/~cejkar Brno University of Technology, Faculty of Information Technology Bozetechova 2, 612 66 Brno, Czech Republic From owner-freebsd-usb@FreeBSD.ORG Thu Feb 14 10:28:51 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FA0D16A421 for ; Thu, 14 Feb 2008 10:28:51 +0000 (UTC) (envelope-from ben@altesco.nl) Received: from altus-escon.com (altesco.xs4all.nl [82.95.106.39]) by mx1.freebsd.org (Postfix) with ESMTP id AC61F13C4E5 for ; Thu, 14 Feb 2008 10:28:50 +0000 (UTC) (envelope-from ben@altesco.nl) Received: from benjoam.altus-escon.com (benjoam.altus-escon.com [193.78.231.14]) by altus-escon.com (8.13.6/8.13.1) with ESMTP id m1EASiSw008571 for ; Thu, 14 Feb 2008 11:28:49 +0100 (CET) (envelope-from ben@altesco.nl) Message-Id: From: Ben Stuyts To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Thu, 14 Feb 2008 11:28:44 +0100 X-Mailer: Apple Mail (2.919.2) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (altus-escon.com [193.78.231.42]); Thu, 14 Feb 2008 11:28:49 +0100 (CET) X-Virus-Scanned: ClamAV 0.92/5806/Thu Feb 14 10:02:39 2008 on earth.altus-escon.com X-Virus-Status: Clean Subject: LaCie hd SYNCHRONIZE CACHE errors 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, 14 Feb 2008 10:28:51 -0000 Hello, Now that these drives no longer immediately panic the system (see other thread), I see another problem. The drive is a mini LaCie 250 GB 2.5". On connecting the drive I see: Feb 13 20:44:25 mars root: Unknown USB device: vendor 0x059f product 0x0c41 bus uhub3 Feb 13 20:44:25 mars kernel: umass1: on uhub3 Feb 13 20:44:26 mars kernel: da1 at umass-sim1 bus 1 target 0 lun 0 Feb 13 20:44:26 mars kernel: da1: Fixed Direct Access SCSI-2 device Feb 13 20:44:26 mars kernel: da1: 40.000MB/s transfers Feb 13 20:44:26 mars kernel: da1: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C) Feb 13 20:44:26 mars kernel: GEOM_LABEL: Label for provider da1s1 is msdosfs/LACIE. uname -a: FreeBSD mars.altus-escon.com 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #20: Wed Feb 13 20:22:18 CET 2008 root@mars.altus-escon.com:/usr/ obj/usr/src/sys/MARS amd64 When accessing the drive I get lots of these errors: Feb 13 22:27:30 mars kernel: (da1:umass-sim1:1:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 Feb 13 22:27:30 mars kernel: (da1:umass-sim1:1:0:0): CAM Status: SCSI Status Error Feb 13 22:27:30 mars kernel: (da1:umass-sim1:1:0:0): SCSI Status: Check Condition Feb 13 22:27:30 mars kernel: (da1:umass-sim1:1:0:0): ILLEGAL REQUEST asc:20,0 Feb 13 22:27:30 mars kernel: (da1:umass-sim1:1:0:0): Invalid command operation code Feb 13 22:27:30 mars kernel: (da1:umass-sim1:1:0:0): Unretryable error After each message it takes a moment for I/O to start again, so I/O performance is terrible. From reading sys/cam/README.quirks, I see there is a DA_Q_NO_SYNC_CACHE quirk that can be added, but this should only be done on a device or system hang. Is this enough cause? Or is there something else I can try? Thanks, Ben From owner-freebsd-usb@FreeBSD.ORG Thu Feb 14 14:08:13 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F27FD16A420; Thu, 14 Feb 2008 14:08:12 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D0CF213C4D5; Thu, 14 Feb 2008 14:08:12 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1EE8CXn081151; Thu, 14 Feb 2008 14:08:12 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1EE8BFt081147; Thu, 14 Feb 2008 14:08:12 GMT (envelope-from remko) Date: Thu, 14 Feb 2008 14:08:12 GMT Message-Id: <200802141408.m1EE8BFt081147@freefall.freebsd.org> To: cejkar@fit.vutbr.cz, remko@FreeBSD.org, freebsd-usb@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: usb/65769: [ucom] Call to tcflush(x, TCIFLUSH) stops input on usb-serial forever 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, 14 Feb 2008 14:08:13 -0000 Synopsis: [ucom] Call to tcflush(x, TCIFLUSH) stops input on usb-serial forever State-Changed-From-To: open->closed State-Changed-By: remko State-Changed-When: Thu Feb 14 14:08:11 UTC 2008 State-Changed-Why: Volker reports that the submitter reported this can be closed, make it happen http://www.freebsd.org/cgi/query-pr.cgi?pr=65769 From owner-freebsd-usb@FreeBSD.ORG Thu Feb 14 19:28:34 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA44916A469 for ; Thu, 14 Feb 2008 19:28:34 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.freebsd.org (Postfix) with ESMTP id B966913C457 for ; Thu, 14 Feb 2008 19:28:34 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: (qmail 636 invoked from network); 14 Feb 2008 19:28:34 -0000 Received: from april.chuckr.org (chuckr@[66.92.151.30]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 14 Feb 2008 19:28:33 -0000 Message-ID: <47B49534.3060207@chuckr.org> Date: Thu, 14 Feb 2008 14:23:32 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.6 (X11/20071107) MIME-Version: 1.0 To: Markus Brueffer References: <47AE28EB.7070205@chuckr.org> <20080213180132.511a7fb4.torfinn.ingolfsen@broadpark.no> <47B328A9.7080808@chuckr.org> <200802140506.52864.markus@FreeBSD.org> In-Reply-To: <200802140506.52864.markus@FreeBSD.org> X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: getting my new graphic tablet cooperating with gimp 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, 14 Feb 2008 19:28:35 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Markus Brueffer wrote: >> I appreciate the extra information. In fact, I am having one heck of a >> time trying to figure out exactly how to parse this. I am reading with the >> HID1_11 spec on my knee at all times, but I swear, I have never seen such a >> poorly written document! > > It's not _that_ bad, but it surely lacks several clarifications in some areas > and some information on specific topics is scattered across the whole > document. Maybe I'm not used to the style, but reading this reminds me of the first few times I plowed my way thru the sgml spec, before I finally realized those guys weren't trying to get anything done, they were trying only to lay a foundation for a foundation for a way to get things done. Getting past that was difficult, and I find specific sections of the usbhid spec just as difficult. There is little or no linkage between the sections that describe features, and the sections that demonstrate how to use those features. As one example (which I think I've finally figured out), section 4.2 (Subclass), the subparagraph below that titled ""Subclass Codes" uses the term (in italics) of bInterfaceSubClass. It describes one usagfe where it would be zero (0), but doesn't bother to say what the other use would be, nor give any example of what context you'd want to use this statement. I've written specs myself, but never one that did such a great job of obfuscation. I doubt, strongly, that any of you could do as badly (unless you were going thru perhaps 3 levels of language translation, that would do it). Anyhow, that's the reason why I am not yet finished in figuring out the parsing of my own unit's config dump. > > Best thing to get started is IMHO to get an idea about what reports are and to > get the raw report descriptor of a simple device (e.g. a mouse if it's not > from a keyboard/mouse combo) and start decoding it by hand. The sources of > the libusbhid parser might be of help as well, although it contains several > bugs and isn't spec compliant in several cases, but it might get you an idea > of what's going on. Furthermore playing with usbhidctl might be of help. > > I have written a completly new fully spec compliant HID parser which is soon > ready for public consumption as part of a new libhid. It contains many > comments and should be easy to understand. The data representation directly > takes the tree-like structure of a decoded report descriptor into account so > that it's easy to write drivers that only handle one or more specific > application collections. Furthermore physical descriptors are supported and > the data handling functions hide the concept of report IDs so that it's less > error prone to develop HID drivers (ums(4) e.g. doesn't support reports other > than report 0 which is the reason that many of todays mice don't work). The > parser itself will hopefully replace our current in-kernel HID parser. > OK, couple more questions: would the state of your new libhid be far enough along that it might be possible for me to study it? If it were, could I get a copy, if I agreed that you are giving me the copy for study only, that I'm not to release it anywhere myself? Another thing, is there any way, beyond my forcing the action in patched code, to get the uhid driver to claim my device? I mean, some system configuration method to force this, like it used to be possible back a long time ago in the old usbd.conf? I might be able to figure some things out, if I could experiment with usbhidctl, if I could use it thru uhid. >> I am having a terrible time trying to figure out >> the actual scope of each statement, which refers to what. I don't run any >> piece of Windows stuff here, so many of the pieces of demo software I have >> found on the web do me no good. > > I didn't find any windows software that really made it easier to understand > the spec. It's IMHO easier to directly get your hands dirty and to read the > code of an HID parser. You;'re going to tell me it's easier to read the code than read the spec, and in the same breath tell me that the spec isn't so badly written? > >> I'm not giving up, I keep on making new discoveries, but if anyone knows of >> a description of HID that involves some real use of English, I sure would >> appreciate a pointer to it. > > If you have any specific questions, please drop me a mail. Look, I'll be honest, I'm kinda embarrassed at the level questions I need answered, I'm probagbly not going to ask them here on the mail list. If I were to start up a usbhid channel on freenode, anyone might come up there and answer questions? If not, don't worry, I'm going to keep at this until I di understand it, I'm rather stubborn. > > Markus -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHtJU0z62J6PPcoOkRAsT9AJ4v2ORqxbo3KyuzDMtf3jKTWUKn0QCfbPlR burjy7Hn8MkMVmHJWTQPrq8= =SAdg -----END PGP SIGNATURE----- From owner-freebsd-usb@FreeBSD.ORG Thu Feb 14 21:10:10 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF01416A421 for ; Thu, 14 Feb 2008 21:10:10 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.freebsd.org (Postfix) with ESMTP id CFD2013C459 for ; Thu, 14 Feb 2008 21:10:10 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: (qmail 13224 invoked from network); 14 Feb 2008 21:10:09 -0000 Received: from april.chuckr.org (chuckr@[66.92.151.30]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 14 Feb 2008 21:10:09 -0000 Message-ID: <47B4AD05.80509@chuckr.org> Date: Thu, 14 Feb 2008 16:05:09 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.6 (X11/20071107) MIME-Version: 1.0 To: Markus Brueffer References: <47AE28EB.7070205@chuckr.org> <20080213180132.511a7fb4.torfinn.ingolfsen@broadpark.no> <47B328A9.7080808@chuckr.org> <200802140506.52864.markus@FreeBSD.org> In-Reply-To: <200802140506.52864.markus@FreeBSD.org> X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Found: a BETTER Hid Usage spec 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, 14 Feb 2008 21:10:11 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You folks by now are pretty well tired of listening to me bitch about that horrible HID1_11 spec. It's the one that Kai pointed me at, and I have been searching the web ever since, trying to find some other spec written by someone who honestly wanted to explain things, not just confuse the heck out of me, Well, I foound one. I'm not really able to say that all you folks will all think as I do, that's it's one heck of a big jump forward, but maybe some of you would also benefit, so I'm going to post the URL here, and I do hope that some of you actually like this: http://www.usb.org/developers/devclass_docs/Hut1_11.pdf I know, the name is nearly the same as the other one, but I checked, the two specs are night and day different, it's not just me having some flashback from the acid days. I do hope that some of you read and enjoy this thing. God knows I needed this! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHtK0Fz62J6PPcoOkRAuNoAJ41UAW8+RgIphl2M7/VFKKPk1qHRgCePF44 BnQgnqGWRrw+4e30AOd3YUo= =G3Qq -----END PGP SIGNATURE----- From owner-freebsd-usb@FreeBSD.ORG Fri Feb 15 00:50:15 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79E2116A468 for ; Fri, 15 Feb 2008 00:50:15 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.freebsd.org (Postfix) with ESMTP id 69D8813C45A for ; Fri, 15 Feb 2008 00:50:15 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: (qmail 30722 invoked from network); 15 Feb 2008 00:50:14 -0000 Received: from april.chuckr.org (chuckr@[66.92.151.30]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 15 Feb 2008 00:50:14 -0000 Message-ID: <47B4E09A.7020108@chuckr.org> Date: Thu, 14 Feb 2008 19:45:14 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.6 (X11/20071107) MIME-Version: 1.0 To: freebsd-usb@freebsd.org X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: usb stuff from a architect. direction 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, 15 Feb 2008 00:50:15 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 OK, because of that great usb usages manual, sometime tomorrow I should really have all the info from the enumeration, meaning all the data in a report, picked apart in my head. I understand that I'm going to need a driver, and I have tentatively picked out a name, uta, for Usb Tablet Absolute (it doesn't digitize relatively, it does it using absolute numbers). OK, I can see this, but dies this mean that uta has to be able to feed into the moused daemon? Also, in the deal of X11, I need to be able to understand if it can (with the correct interface, and what's that is a fine question) be placed into my xorg.conf right where I now stick my /dev/psm0, or does it need some sort of extra input thingy (see /usr/local/lib/xorg/modules/input) to interface it? I think maybe it might fall under the XInput description. Anyhow, what I'm looking for is some advice for where I go once I write enough of the uta to where it works ok with moused, what needs to come next. Lastly, realize my final goal is to get this thing working with gimp. Everything else is extra and sacrificeable. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHtOCaz62J6PPcoOkRArLBAJ4u1/EjE7SCO3nzfa7msgu2cEs5VwCePqOS lzGM2gbM+qVlY5o/MxUkoLc= =cHuX -----END PGP SIGNATURE----- From owner-freebsd-usb@FreeBSD.ORG Fri Feb 15 17:19:43 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AE5316A420 for ; Fri, 15 Feb 2008 17:19:43 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.tele2.se [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id 8F6FA13C448 for ; Fri, 15 Feb 2008 17:19:42 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [62.113.133.70] (account mc467741@c2i.net [62.113.133.70] verified) by mailfe11.swip.net (CommuniGate Pro SMTP 5.1.13) with ESMTPA id 637284826; Fri, 15 Feb 2008 18:19:40 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 15 Feb 2008 18:20:39 +0100 User-Agent: KMail/1.9.7 References: <47B4E09A.7020108@chuckr.org> In-Reply-To: <47B4E09A.7020108@chuckr.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802151820.39869.hselasky@c2i.net> Cc: Subject: Re: usb stuff from a architect. direction 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, 15 Feb 2008 17:19:43 -0000 On Friday 15 February 2008, Chuck Robey wrote: > OK, because of that great usb usages manual, sometime tomorrow I should > really have all the info from the enumeration, meaning all the data in a > report, picked apart in my head. I understand that I'm going to need a > driver, and I have tentatively picked out a name, uta, for Usb Tablet > Absolute (it doesn't digitize relatively, it does it using absolute > numbers). OK, I can see this, but dies this mean that uta has to be able > to feed into the moused daemon? Also, in the deal of X11, I need to be > able to understand if it can (with the correct interface, and what's that > is a fine question) be placed into my xorg.conf right where I now stick my > /dev/psm0, or does it need some sort of extra input thingy (see > /usr/local/lib/xorg/modules/input) to interface it? > > I think maybe it might fall under the XInput description. Anyhow, what I'm > looking for is some advice for where I go once I write enough of the uta to > where it works ok with moused, what needs to come next. > > Lastly, realize my final goal is to get this thing working with gimp. > Everything else is extra and sacrificeable. Hi, Looking forward to seeing your document! --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Feb 15 18:03:17 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 617D416A41B for ; Fri, 15 Feb 2008 18:03:17 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.freebsd.org (Postfix) with ESMTP id 2508A13C4D3 for ; Fri, 15 Feb 2008 18:03:16 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: (qmail 8045 invoked from network); 15 Feb 2008 18:03:16 -0000 Received: from april.chuckr.org (chuckr@[66.92.151.30]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 15 Feb 2008 18:03:16 -0000 Message-ID: <47B5D2BB.10706@chuckr.org> Date: Fri, 15 Feb 2008 12:58:19 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.6 (X11/20071107) MIME-Version: 1.0 To: Hans Petter Selasky References: <47B4E09A.7020108@chuckr.org> <200802151820.39869.hselasky@c2i.net> In-Reply-To: <200802151820.39869.hselasky@c2i.net> X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: usb stuff from a architect. direction 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, 15 Feb 2008 18:03:17 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hans Petter Selasky wrote: > On Friday 15 February 2008, Chuck Robey wrote: >> OK, because of that great usb usages manual, sometime tomorrow I should >> really have all the info from the enumeration, meaning all the data in a >> report, picked apart in my head. I understand that I'm going to need a >> driver, and I have tentatively picked out a name, uta, for Usb Tablet >> Absolute (it doesn't digitize relatively, it does it using absolute >> numbers). OK, I can see this, but dies this mean that uta has to be able >> to feed into the moused daemon? Also, in the deal of X11, I need to be >> able to understand if it can (with the correct interface, and what's that >> is a fine question) be placed into my xorg.conf right where I now stick my >> /dev/psm0, or does it need some sort of extra input thingy (see >> /usr/local/lib/xorg/modules/input) to interface it? >> >> I think maybe it might fall under the XInput description. Anyhow, what I'm >> looking for is some advice for where I go once I write enough of the uta to >> where it works ok with moused, what needs to come next. >> >> Lastly, realize my final goal is to get this thing working with gimp. >> Everything else is extra and sacrificeable. > > Hi, > > Looking forward to seeing your document! > > --HPS I hope so, but right now, I'm not in any kind of position to do that, I'm just still too ignorant. One thing, Kai Wang has been making continuous changes in his krepdump usb-hid dumping kernel module, and I really am able to make much more sense of it now, in fact, I think I can say I understand it all now. I'm into reading software now. Since no one has given me any architectural sort of hints, it seems like I'm going to have to gather up all the rest by reading code. When I get done, if you'd be nice enough to serve as a thorn in my side, I will see if I can make a document that's of some use. That's only partially a joke, because I'm as lazy as the next person is. Among other things, I'm looking forward to seeing some or libhid, which I've been hinted is something like our libusbhid(version the next). Seeing as the HID is no longer merely the province of usb (its now being spoken of as being used by bluetooth), splitting it off the usb stuff makes huge sense. I think it's Markus Brueffer whose doing the libhid stuff, but I can't yet find where it's at (even in pre-release, not finished form). If I could get a look at that, I'd appreciate it. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHtdK7z62J6PPcoOkRAobcAJ99wLI3fg8iYWMSDecmP2rRXPfjPwCeNdrv HO6yscEno5P8i848rOfvqdQ= =AR/r -----END PGP SIGNATURE----- From owner-freebsd-usb@FreeBSD.ORG Sat Feb 16 14:10:22 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FE5B16A469; Sat, 16 Feb 2008 14:10:22 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2E77913C459; Sat, 16 Feb 2008 14:10:22 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1GEAMeC012238; Sat, 16 Feb 2008 14:10:22 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1GEAMC1012234; Sat, 16 Feb 2008 14:10:22 GMT (envelope-from linimon) Date: Sat, 16 Feb 2008 14:10:22 GMT Message-Id: <200802161410.m1GEAMC1012234@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/120729: [panic] fault while in kernel mode with connecting USB memory stick X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2008 14:10:22 -0000 Synopsis: [panic] fault while in kernel mode with connecting USB memory stick Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Sat Feb 16 14:10:07 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=120729