From owner-freebsd-usb@FreeBSD.ORG Wed Jul 1 07:08:08 2009 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 D1F75106564A for ; Wed, 1 Jul 2009 07:08:08 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id 5E1838FC18 for ; Wed, 1 Jul 2009 07:08:07 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=kHiLD6Pb4HYA:10 a=gg2W7PyvkLb8p4ie143lBA==:17 a=JjkNSL0xAAAA:8 a=qzFoFaD7qbPoc53dh-AA:9 a=wFqe2Ruvhb9JhV0UgVItlb384ZgA:4 Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1275417612; Wed, 01 Jul 2009 09:08:06 +0200 From: Hans Petter Selasky To: Markus Dolze Date: Wed, 1 Jul 2009 09:07:38 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <4A4A5D7E.70708@nurfuerspam.de> <200906302120.40790.hselasky@c2i.net> <4A4A6FD2.8000109@nurfuerspam.de> In-Reply-To: <4A4A6FD2.8000109@nurfuerspam.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907010907.39860.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Failing controls transfers in VMware 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, 01 Jul 2009 07:08:09 -0000 On Tuesday 30 June 2009 22:04:34 Markus Dolze wrote: > Hans Petter Selasky wrote: > > On Tuesday 30 June 2009 20:46:22 Markus Dolze wrote: > >> Hello, > >> > >> for several days I ways trying to get devel/avrdude to work with an > >> USBasp compatibel device (www.ullihome.de) on FreeBSD 7.2 running as a > >> guest in VMware Workstation 6.5.2. > >> > >>... > > > > FYI: Not a solution maybe, but 8-current has a new USB stack. > > > > Works with AVRDUDE. > > > > --HPS > > Hi, > > yes, I know. Therefore I already tried and the result is even worse. > Output from the test program: > > freebsd8# ./main > ./main: Command not found. > freebsd8# ./test > Found AVR-USB device > USB_control_msg result: 20 > 2e 00 > Found device from vendor: (null) > USB_control_msg result: 6 > 61 00 > Found device: (null) > > freebsd8# uname -v > FreeBSD 8.0-CURRENT-200906 #0: Mon Jun 29 23:38:52 CEST 2009 > root@freebsd8.intra.mdolze.de:/usr/obj/usr/src/sys/CUSTOM > > It does not even get string descriptors back (second byte of buffer is > 0x00). > > > Avrdude doesn't work either: > > freebsd8# avrdude -c usbasp -p atmega8 -U eeprom:r:-:h > avrdude: error: usbasp_transmit: Unknown error > That's maybe a bug in the firmware in your USB device! Can you try reading the strings using usbconfig -u XXX -a YYY dump_string ZZZ What does usbconfig output? --HPS