From owner-freebsd-usb@FreeBSD.ORG Sun Apr 25 07:30:18 2010 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 942F9106566C for ; Sun, 25 Apr 2010 07:30:18 +0000 (UTC) (envelope-from peter@pean.org) Received: from system.jails.se (unknown [IPv6:2001:16d8:cc1e:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 472348FC1C for ; Sun, 25 Apr 2010 07:30:18 +0000 (UTC) Received: from localhost (system.jails.se [87.237.210.209]) by system.jails.se (Postfix) with SMTP id 4E582BC3DC for ; Sun, 25 Apr 2010 09:30:12 +0200 (CEST) Received: from pi.pean.org (c-ae06e155.166-7-64736c14.cust.bredbandsbolaget.se [85.225.6.174]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by system.jails.se (Postfix) with ESMTPSA id 5D9AABC3D6 for ; Sun, 25 Apr 2010 09:30:08 +0200 (CEST) From: =?iso-8859-1?Q?Peter_Ankerst=E5l?= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Sun, 25 Apr 2010 09:30:12 +0200 Message-Id: To: freebsd-usb@freebsd.org Mime-Version: 1.0 (Apple Message framework v1078) X-Mailer: Apple Mail (2.1078) X-DSPAM-Result: Innocent X-DSPAM-Processed: Sun Apr 25 09:30:11 2010 X-DSPAM-Confidence: 1.0000 X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 4bd3ef8316291549514707 X-DSPAM-Factors: 27, keymap, 0.40000, keymap, 0.40000, using+the, 0.40000, but, 0.40000, Received*cipher+AES128, 0.40000, Mime-Version*Message, 0.40000, Date*Apr, 0.40000, the+keyboard, 0.40000, the+keyboard, 0.40000, btw, 0.40000, newly+released, 0.40000, pressed+or, 0.40000, or, 0.40000, or, 0.40000, 13"+(7, 0.40000, ctrl+and, 0.40000, choose+US, 0.40000, keymap+first, 0.40000, org, 0.40000, say+US, 0.40000, Date*12, 0.40000, 9+0, 0.40000, 0+freeezes, 0.40000, when+the, 0.40000, But, 0.40000, booted, 0.40000, and+then, 0.40000 Subject: Keyboard problem with new MacBook Pro. 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, 25 Apr 2010 07:30:18 -0000 Hi, I have the newly released macbook pro 13" (7,1). (swedish keyboard) And = it seems that I have some problem with the USB-keyboard driver. The keyboard seems to work more or less in the boot meny, I can type and = so on. But when the system is booted the keyboard dosent work. It seems like ctrl is constantly pressed or something like = that. Nothing that I've done gives me normal characters on screen. Its the FreeBSD 7.3 amd64 version i have installed btw. (8.0 = or 9.0 freeezes during boot due to some acpi-problem = http://wiki.freebsd.org/AppleMacbook#head-083ebc072fcd20e07a74a11565fc41af= b2ca099b) I have got the keyboard to partially work when using the fixit cd. If I = choose US UNIX keymap first and then switch to some other keymap, say US ISO och Swedish ISO it works to type but shift, ctrl and = so on doesnt work. -- Peter Ankerst=E5l peter@pean.org http://www.pean.org/ From owner-freebsd-usb@FreeBSD.ORG Sun Apr 25 07:47:01 2010 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 0054C1065672 for ; Sun, 25 Apr 2010 07:47:01 +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 58AB48FC23 for ; Sun, 25 Apr 2010 07:46:59 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=-hLAtItR7ToA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=8kQB0OdkAAAA:8 a=36QNu89yJZvjxO7gzpcA:9 a=iyA9UL0IUMvNuvy8yrIA:7 a=INtgzwCg_ITr_6G4wIANxW3t_-cA:4 a=wPNLvfGTeEIA:10 a=9aOQ2cSd83gA:10 a=_9dNVqz9WGIWym1m:21 a=TXGoXlgVfOy3Z8Ce:21 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1401581506; Sun, 25 Apr 2010 09:46:58 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 25 Apr 2010 09:44:24 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <20100424140902.4b7meoicg084g04g@webmail.diode.be> <201004241701.34223.hselasky@c2i.net> <20100424211809.fgn1vc5qaswkg8kk@webmail.diode.be> In-Reply-To: <20100424211809.fgn1vc5qaswkg8kk@webmail.diode.be> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201004250944.24898.hselasky@c2i.net> Cc: Subject: Re: webcamd and cameras with Micron (MT9M0x1 and MT9T0x1) chips 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, 25 Apr 2010 07:47:01 -0000 On Saturday 24 April 2010 21:18:09 maillist@diode.be wrote: > Quoting Hans Petter Selasky : > > Hi, > > > >> For both Micron cameras, #webcamd -B just gives `Cannot find USB > >> device'. > > > > This usually happens when the webcamd is not listed. > > > >> dmesg output for the Mightex camera (MT9M001 chip): > >> ugen3.2: at usbus3 > >> > >> and usbconfig -d ugen3.2 dump_device_desc gives: > >> ugen3.2: at usbus3, cfg=0 md=HOST spd=HIGH > >> (480Mbps) pwr=ON > >> > >> bLength = 0x0012 > >> bDescriptorType = 0x0001 > >> bcdUSB = 0x0200 > >> bDeviceClass = 0x0000 > >> bDeviceSubClass = 0x0000 > >> bDeviceProtocol = 0x0000 > >> bMaxPacketSize0 = 0x0040 > >> idVendor = 0x04b4 > >> idProduct = 0x0228 > >> bcdDevice = 0x0000 > >> iManufacturer = 0x0001 > >> iProduct = 0x0002 > >> iSerialNumber = 0x0000 > >> bNumConfigurations = 0x0001 > >> > >> > >> For the MT9T031 camera (likely prototype), dmesg gives: > >> ugen3.2: at usbus3 > >> > >> and usbconfig -d ugen3.2 dump_device_desc: > >> ugen3.2: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) > >> pwr=ON > >> > >> bLength = 0x0012 > >> bDescriptorType = 0x0001 > >> bcdUSB = 0x0200 > >> bDeviceClass = 0x0000 > >> bDeviceSubClass = 0x0000 > >> bDeviceProtocol = 0x0000 > >> bMaxPacketSize0 = 0x0040 > >> idVendor = 0x0634 > >> idProduct = 0x1007 > >> bcdDevice = 0x0021 > >> iManufacturer = 0x0001 > >> iProduct = 0x0002 > >> iSerialNumber = 0x0000 > >> bNumConfigurations = 0x0001 > >> > >> > >> > >> > >> Now, I have no coding skills, but thought it would be good to have a > >> look into the driver code. I hoped I would find Vendor and Product > >> id's that differed from how the camera identified, this explaining the > >> refusal to associate. But while some other v4l drivers appear to > >> contain things like {USB_DEVICE(0xXXXX, 0xXXXX), .driver_info=XXXXX}, > >> such code is absent from the mt9xxxx.c files. Instead, there is a > >> function data = reg_read(client, MT9M001_CHIP_VERSION) that does some > >> sort of identification. But this is on the i2c level, reading the chip > >> version number. I thought that for doing this, the system would > >> already need to know what Micron chip it is dealing with. > >> > >> Any thoughts would be appreciated. > > > > Hi, > > > > I did a little bit of grepping, and I think you need to patch the > > following file to get your webcam working: > > > > v4l-dvb/linux/drivers/media/video/gspca/sn9c20x.c > > > > You can use this entry as an example: > > > > {USB_DEVICE(0x0c45, 0x6240), SN9C20X(MT9M001, 0x5d, 0)}, > > > > The iProduct dump indicates this is the right place to hack for the > > MT9M001 one :-) > > > > --HPS > > I added > {USB_DEVICE(0x04b4, 0x0228), SN9C20X(MT9M001, 0x5d, 0)}, > to the list, with 0x5d as i2c address as the other two MT9M001 entries > have it too. After re-making ulinux and using the new webcamd from > that directory, I get > > Attached ugen3.2[0] to cuse init 0 > Cannot find USB device > > Interestingly, the other (MT9T031) camera, for which nothing changed, > only states `Cannot find USB device' without returning `Attached > [...]'. The Logitech cam, which used to work, states `Attached [...]' > and then `Creating /dev/video0'. > > But for this Logitech cam, pwcview now complains `Failed to access > webcam: Device not configured'. Note that I used the webcamd from > ports before, so I must have messed something up. I updated to the > latest svn version. I will update my ports too, as this doesn't appear > to have anything to do with the change to the code I made. > > On the other hand, webcamd still returns `Cannot find USB device' for > the MT9M001 camera. Maybe simply adding the corresponding USB_DEVICE() > entry was not what you meant? After you add that USB_DEVICE() entry, the following code should be called. Try adding CFLAGS+= -g in the Makefile. Then run webcamd via gdb. In gdb type: break gspca_dev_probe run at first break: next If you don't get the break, you're running an older version of webcamd. Try svn up! You might have to do: make fetch_clean make fetch cd patches/ ./do_patch.sh After svn up. /* -- device connect -- */ static int sd_probe(struct usb_interface *intf, const struct usb_device_id *id) { return gspca_dev_probe(intf, id, &sd_desc, sizeof(struct sd), THIS_MODULE); } --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Apr 25 07:53:54 2010 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 7D5AD106564A; Sun, 25 Apr 2010 07:53:54 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id AB2928FC1A; Sun, 25 Apr 2010 07:53:53 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=U_MU_I5IuZAA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=dgXh8oVzwpvudbOIPKQA:9 a=5HSeDVOzjbAQta0HXQbpAeYPM3kA:4 a=wPNLvfGTeEIA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1383367463; Sun, 25 Apr 2010 09:53:51 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 25 Apr 2010 09:51:19 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: In-Reply-To: X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'( =?iso-8859-1?q?=3B=5FIjlA=3A=0A=09hGE=2E=2EEw?=, =?iso-8859-1?q?XAQ*o=23=5C/M=7ESC=3DS1-f9=7BEzRfT=27=7CHhll5Q=5Dha5Bt-s=7Co?= =?iso-8859-1?q?TlKMusi=3A1e=5BwJl=7Dkd=7DGR=0A=09Z0adGx-x=5F0zGbZj=27e?=(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201004250951.19561.hselasky@c2i.net> Cc: rpaulo@freebsd.org, Peter =?iso-8859-1?q?Ankerst=E5l?= Subject: Re: Keyboard problem with new MacBook Pro. 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, 25 Apr 2010 07:53:54 -0000 On Sunday 25 April 2010 09:30:12 Peter Ankerst=E5l wrote: > Hi, >=20 > I have the newly released macbook pro 13" (7,1). (swedish keyboard) And it > seems that I have some problem with the USB-keyboard driver. The keyboard > seems to work more or less in the boot meny, I can type and so on. But > when the system is booted the keyboard dosent work. It seems like ctrl is > constantly pressed or something like that. Nothing that I've done gives = me > normal characters on screen. Its the FreeBSD 7.3 amd64 version i have > installed btw. (8.0 or 9.0 freeezes during boot due to some acpi-problem > http://wiki.freebsd.org/AppleMacbook#head-083ebc072fcd20e07a74a11565fc41= af > b2ca099b) >=20 > I have got the keyboard to partially work when using the fixit cd. If I > choose US UNIX keymap first and then switch to some other keymap, say US > ISO och Swedish ISO it works to type but shift, ctrl and so on doesnt > work. Hi, In 8-stable and 9-current, we have made several patches in the USB keyboard= =20 area for Apple Keyboards, like supporting the eject key, swapping keys, etc. Regaring the boot issue with Mac, I think it can be solved by adding a quir= k=20 in the kernel: amd64/machdep.c: if (strncmp(sysenv, "MacBook1,1", 10) =3D= =3D 0 || amd64/machdep.c: strncmp(sysenv, "MacBook3,1", 10) =3D= =3D 0 || amd64/machdep.c: strncmp(sysenv, "MacBookPro1,1", 13) = =3D=3D 0=20 || amd64/machdep.c: strncmp(sysenv, "MacBookPro1,2", 13) = =3D=3D 0=20 || amd64/machdep.c: strncmp(sysenv, "MacBookPro3,1", 13) = =3D=3D 0=20 || amd64/pmap.c: if (strncmp(sysenv, "MacBook5,1", 10) =3D= =3D 0 || amd64/pmap.c: strncmp(sysenv, "MacBookPro5,5", 13) = =3D=3D 0=20 || Similar for i386. Could you print out your sysenv during boot and try adding your MacBook to = the=20 quirk list? =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Sun Apr 25 09:04:47 2010 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 DBB201065674 for ; Sun, 25 Apr 2010 09:04:46 +0000 (UTC) (envelope-from peter@pean.org) Received: from system.jails.se (unknown [IPv6:2001:16d8:cc1e:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7DB8F8FC0A for ; Sun, 25 Apr 2010 09:04:46 +0000 (UTC) Received: from localhost (system.jails.se [87.237.210.209]) by system.jails.se (Postfix) with SMTP id BC764BCA3E for ; Sun, 25 Apr 2010 11:04:39 +0200 (CEST) Received: from pi.pean.org (c-ae06e155.166-7-64736c14.cust.bredbandsbolaget.se [85.225.6.174]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by system.jails.se (Postfix) with ESMTPSA id A8F97BCA36; Sun, 25 Apr 2010 11:04:35 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=iso-8859-1 From: =?iso-8859-1?Q?Peter_Ankerst=E5l?= In-Reply-To: <201004250951.19561.hselasky@c2i.net> Date: Sun, 25 Apr 2010 11:04:39 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201004250951.19561.hselasky@c2i.net> To: Hans Petter Selasky X-Mailer: Apple Mail (2.1078) X-DSPAM-Result: Innocent X-DSPAM-Processed: Sun Apr 25 11:04:39 2010 X-DSPAM-Confidence: 1.0000 X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 4bd405a716297983785246 X-DSPAM-Factors: 27, solved+by, 0.40000, keymap, 0.40000, keymap, 0.40000, >>+choose, 0.40000, using+the, 0.40000, >>+installed, 0.40000, but, 0.40000, but, 0.40000, strncmp(sysenv+"MacBookPro1, 0.40000, strncmp(sysenv+"MacBookPro1, 0.40000, not+how, 0.40000, area+for, 0.40000, Received*cipher+AES128, 0.40000, Petter+Selasky, 0.40000, just, 0.40000, Cc*rpaulo+freebsd.org, 0.40000, Mime-Version*Message, 0.40000, Date*Apr, 0.40000, the+keyboard, 0.40000, the+keyboard, 0.40000, made, 0.40000, >+How, 0.40000, btw, 0.40000, newly+released, 0.40000, pressed+or, 0.40000, or, 0.40000, or, 0.40000 Cc: rpaulo@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Keyboard problem with new MacBook Pro. 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, 25 Apr 2010 09:04:47 -0000 On 25 apr 2010, at 09.51, Hans Petter Selasky wrote: > On Sunday 25 April 2010 09:30:12 Peter Ankerst=E5l wrote: >> Hi, >>=20 >> I have the newly released macbook pro 13" (7,1). (swedish keyboard) = And it >> seems that I have some problem with the USB-keyboard driver. The = keyboard >> seems to work more or less in the boot meny, I can type and so on. = But >> when the system is booted the keyboard dosent work. It seems like = ctrl is >> constantly pressed or something like that. Nothing that I've done = gives me >> normal characters on screen. Its the FreeBSD 7.3 amd64 version i have >> installed btw. (8.0 or 9.0 freeezes during boot due to some = acpi-problem >> = http://wiki.freebsd.org/AppleMacbook#head-083ebc072fcd20e07a74a11565fc41af= >> b2ca099b) >>=20 >> I have got the keyboard to partially work when using the fixit cd. If = I >> choose US UNIX keymap first and then switch to some other keymap, say = US >> ISO och Swedish ISO it works to type but shift, ctrl and so on doesnt >> work. >=20 > Hi, >=20 > In 8-stable and 9-current, we have made several patches in the USB = keyboard=20 > area for Apple Keyboards, like supporting the eject key, swapping = keys, etc. >=20 > Regaring the boot issue with Mac, I think it can be solved by adding a = quirk=20 > in the kernel: >=20 > amd64/machdep.c: if (strncmp(sysenv, "MacBook1,1", 10) = =3D=3D 0 || > amd64/machdep.c: strncmp(sysenv, "MacBook3,1", 10) = =3D=3D 0 || > amd64/machdep.c: strncmp(sysenv, "MacBookPro1,1", = 13) =3D=3D 0=20 > || > amd64/machdep.c: strncmp(sysenv, "MacBookPro1,2", = 13) =3D=3D 0=20 > || > amd64/machdep.c: strncmp(sysenv, "MacBookPro3,1", = 13) =3D=3D 0=20 > || > amd64/pmap.c: if (strncmp(sysenv, "MacBook5,1", 10) = =3D=3D 0 || > amd64/pmap.c: strncmp(sysenv, "MacBookPro5,5", = 13) =3D=3D 0=20 > || >=20 > Similar for i386. >=20 > Could you print out your sysenv during boot and try adding your = MacBook to the=20 > quirk list? >=20 > --HPS >=20 How do I print out the sysenv during boot? And when I find it how do I = go about creating a install-cd with the changes on it? (i know how to compile kernel/world = but not how to package it for a CD/DVD) Can I just add the modified part to a already = downloaded cd-image?= From owner-freebsd-usb@FreeBSD.ORG Sun Apr 25 13:21:03 2010 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 B142A106566B for ; Sun, 25 Apr 2010 13:21:03 +0000 (UTC) (envelope-from maillist@diode.be) Received: from out2.stone-is.org (ns1bru.stone-is.net [87.238.161.121]) by mx1.freebsd.org (Postfix) with ESMTP id 41D0E8FC0A for ; Sun, 25 Apr 2010 13:21:02 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by out2.stone-is.org (Postfix) with ESMTP id A75EA15800B2 for ; Sun, 25 Apr 2010 13:13:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at out2.stone-is.org Received: from out2.stone-is.org ([127.0.0.1]) by localhost (out2.stone-is.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tWwsHXJfmpCO for ; Sun, 25 Apr 2010 15:13:23 +0200 (CEST) Received: from be11.1-eurohost.com (vz02.stone-is.net [87.238.162.138]) by out2.stone-is.org (Postfix) with ESMTP id 1F11D1580098 for ; Sun, 25 Apr 2010 15:13:23 +0200 (CEST) Received: (qmail 5929 invoked by uid 48); 25 Apr 2010 15:20:54 +0200 Received: from 5355025E.cable.casema.nl (5355025E.cable.casema.nl [83.85.2.94]) by webmail.diode.be (Horde MIME library) with HTTP; Sun, 25 Apr 2010 15:20:53 +0200 Message-ID: <20100425152053.biben250qokssw40@webmail.diode.be> Date: Sun, 25 Apr 2010 15:20:53 +0200 From: Tiemen To: freebsd-usb@freebsd.org References: <20100424140902.4b7meoicg084g04g@webmail.diode.be> <201004241701.34223.hselasky@c2i.net> <20100424211809.fgn1vc5qaswkg8kk@webmail.diode.be> <201004250944.24898.hselasky@c2i.net> In-Reply-To: <201004250944.24898.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) Subject: Re: webcamd and cameras with Micron (MT9M0x1 and MT9T0x1) chips 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, 25 Apr 2010 13:21:03 -0000 Quoting Hans Petter Selasky : > On Saturday 24 April 2010 21:18:09 maillist@diode.be wrote: >> Quoting Hans Petter Selasky : >> > Hi, >> > >> >> For both Micron cameras, #webcamd -B just gives `Cannot find USB >> >> device'. >> > >> > This usually happens when the webcamd is not listed. >> > >> >> dmesg output for the Mightex camera (MT9M001 chip): >> >> ugen3.2: at usbus3 >> >> >> >> and usbconfig -d ugen3.2 dump_device_desc gives: >> >> ugen3.2: at usbus3, cfg=3D0 md=3DHOST spd=3DHI= GH >> >> (480Mbps) pwr=3DON >> >> >> >> bLength =3D 0x0012 >> >> bDescriptorType =3D 0x0001 >> >> bcdUSB =3D 0x0200 >> >> bDeviceClass =3D 0x0000 >> >> bDeviceSubClass =3D 0x0000 >> >> bDeviceProtocol =3D 0x0000 >> >> bMaxPacketSize0 =3D 0x0040 >> >> idVendor =3D 0x04b4 >> >> idProduct =3D 0x0228 >> >> bcdDevice =3D 0x0000 >> >> iManufacturer =3D 0x0001 >> >> iProduct =3D 0x0002 >> >> iSerialNumber =3D 0x0000 >> >> bNumConfigurations =3D 0x0001 >> >> >> >> >> > >> > Hi, >> > >> > I did a little bit of grepping, and I think you need to patch the >> > following file to get your webcam working: >> > >> > v4l-dvb/linux/drivers/media/video/gspca/sn9c20x.c >> > >> > You can use this entry as an example: >> > >> > {USB_DEVICE(0x0c45, 0x6240), SN9C20X(MT9M001, 0x5d, 0)}, >> > >> > The iProduct dump indicates this is the right place to hack for the >> > MT9M001 one :-) >> > >> > --HPS >> >> I added >> {USB_DEVICE(0x04b4, 0x0228), SN9C20X(MT9M001, 0x5d, 0)}, >> to the list, with 0x5d as i2c address as the other two MT9M001 entries >> have it too. After re-making ulinux and using the new webcamd from >> that directory, I get >> >> Attached ugen3.2[0] to cuse init 0 >> Cannot find USB device >> > > After you add that USB_DEVICE() entry, the following code should be called= . > > Try adding > > CFLAGS+=3D -g > > in the Makefile. > > Then run webcamd via gdb. > > In gdb type: > > break gspca_dev_probe > run > > at first break: > > next > > If you don't get the break, you're running an older version of webcamd. Tr= y > svn up! You might have to do: > > make fetch_clean > make fetch > > cd patches/ > ./do_patch.sh > > After svn up. > > /* -- device connect -- */ > static int sd_probe(struct usb_interface *intf, > const struct usb_device_id *id) > { > return gspca_dev_probe(intf, id, &sd_desc, sizeof(struct sd), > THIS_MODULE); > } > > --HPS > Thanks. I updated ports and svn upped the webcamd code once more, and =20 now I have pwcview working again. Below is the output of gdb with the =20 MT9M001 camera, with the USB_DEVICE() added to sn9c20x.c Maybe one more thing: I checked the hardware, and the bridge of (both) =20 cameras is a CY7C68013(A) (a.k.a. Cypress FX2) microprocessor, not a =20 SN9C20x. Its behaviour will depend on the firmware, so this may become =20 difficult to get to work, and I guess this has more to do with v4l =20 than with freebsd-usb. Yet, I noticed that this bridge is sometimes =20 integrated in webcams functioning as an OV511 replacement: http://ovcam.org/ov511/cameras.html I will try to find out more about what `language' it speaks in my =20 specific cameras. ------------------------ testdoos# gdb ./webcamd GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions= . Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... (gdb) break gspca_dev_probe Breakpoint 1 at 0x806e4a9: file =20 /usr/home/tc/ulinux/v4l-dvb/linux/drivers/media/video/gspca/gspca.c, =20 line 2290. (gdb) run Starting program: /usr/home/tc/ulinux/webcamd [New LWP 100114] [New Thread 28401140 (LWP 100114)] [New Thread 28419140 (LWP 100102)] [New Thread 28418ec0 (LWP 100115)] [New Thread 28418d80 (LWP 100132)] Attached ugen3.2[0] to cuse unit 0 [New Thread 28418c40 (LWP 100139)] [Switching to Thread 28401140 (LWP 100114)] Breakpoint 1, gspca_dev_probe (intf=3D0x285b82b4, id=3D0x813c020, sd_desc=3D0x8139be0, dev_size=3D1808, module=3D0x0) at =20 /usr/home/tc/ulinux/v4l-dvb/linux/drivers/media/video/gspca/gspca.c:2290 2290 struct usb_device *dev =3D interface_to_usbdev(intf); (gdb) next 2293 PDEBUG(D_PROBE, "probing %04x:%04x", id->idVendor, =20 id->idProduct); (gdb) c Continuing. Program received signal SIGHUP, Hangup. [Switching to Thread 28418c40 (LWP 100139)] 0x28288f3f in poll () from /lib/libc.so.7 (gdb) c Continuing. [Thread 28418c40 (LWP 100139) exited] [New Thread 28418c40 (LWP 100139)] Cannot find USB device Program exited with code 01. (gdb) quit --------------------------------- From owner-freebsd-usb@FreeBSD.ORG Mon Apr 26 07:50:02 2010 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 33A7A1065674 for ; Mon, 26 Apr 2010 07:50: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 EC0128FC13 for ; Mon, 26 Apr 2010 07:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3Q7o1dh027171 for ; Mon, 26 Apr 2010 07:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3Q7o1Us027170; Mon, 26 Apr 2010 07:50:01 GMT (envelope-from gnats) Resent-Date: Mon, 26 Apr 2010 07:50:01 GMT Resent-Message-Id: <201004260750.o3Q7o1Us027170@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, Julian Vallis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2254106566B for ; Mon, 26 Apr 2010 07:40:00 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id CDF5B8FC18 for ; Mon, 26 Apr 2010 07:40:00 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o3Q7e0C1055444 for ; Mon, 26 Apr 2010 07:40:00 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o3Q7e0ew055442; Mon, 26 Apr 2010 07:40:00 GMT (envelope-from nobody) Message-Id: <201004260740.o3Q7e0ew055442@www.freebsd.org> Date: Mon, 26 Apr 2010 07:40:00 GMT From: Julian Vallis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/146054: urtw driver potentially out of date 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, 26 Apr 2010 07:50:02 -0000 >Number: 146054 >Category: usb >Synopsis: urtw driver potentially out of date >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Apr 26 07:50:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Julian Vallis >Release: 8.0 / pfSense 2.0 >Organization: >Environment: FreeBSD XXX 8.0-STABLE FreeBSD 8.0-STABLE #1: Thu Apr 22 08:52:03 EDT 2010 ermal@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.8 i386 >Description: Problem described and discussed with the pfSense team here: http://forum.pfsense.org/index.php/topic,24475.0.html Essentially, the urtw driver seems to have been updated in OpenBSD, and should be incorporated into FreeBSD. The specific issue is using the Alfa AWUS036H USB WLAN card on pfSense 2.0, which in turn uses FreeBSD 8. The urtw driver is not recognising the vendor of the card, despite OpenBSD man pages for urtw clearly showing support for the card. Given this card is a favourite for airocrack-ng due to it's 500mW/1W radio output, it's a very popular card. >How-To-Repeat: Try to configure the Alfa AWUS036H USB WLAN using urtw(4) on a FreeBSD 8.0 (or ideally pfSense 2.0) installation. >Fix: none at the moment >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Mon Apr 26 11:07:11 2010 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 CD5BF106564A for ; Mon, 26 Apr 2010 11:07:11 +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 BACA68FC0A for ; Mon, 26 Apr 2010 11:07:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3QB7Btg004305 for ; Mon, 26 Apr 2010 11:07:11 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3QB7B17004303 for freebsd-usb@FreeBSD.org; Mon, 26 Apr 2010 11:07:11 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 26 Apr 2010 11:07:11 GMT Message-Id: <201004261107.o3QB7B17004303@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, 26 Apr 2010 11:07:11 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/146054 usb urtw driver potentially out of date o usb/145513 usb [usb8] New USB stack: no new devices after forced usb o usb/145455 usb [usb8] [patch] USB debug support cannot be disabled o usb/145415 usb [umass] USB card reader does not create slices nodes o usb/145265 usb [patch] Freecom USB-IDE bridge o usb/145237 usb [usbdevs] [patch] Add support for Matrix Orbital MOU d o usb/145184 usb GENERIC can't mount root from USB on Asus EEE o usb/145165 usb [keyboard] ukbd_set_leds_callback: error=USB_ERR_STALL f kern/144938 usb [keyboard] [boot] Boot Failure with Apple (MB869LL/A) o usb/144751 usb [ukbd] [usb8] kernel without keyboard support won't co o usb/144423 usb [usb8] [patch] if_run panic with USB-N13 o usb/144414 usb [keyboard] [patch] Apple "Fn" key doesn't work properl o usb/144387 usb [run] [panic] if_run panic f usb/144332 usb [build] Kernel compile fails when aue is enabled but n o usb/144043 usb [umass] USB DLT tape drive throws random errors o usb/143790 usb [boot] can not boot from usb hdd f usb/143634 usb [umass] [usb8] Jetflash USB flash stick fails to mount f usb/143620 usb [cdce] [usb8] the module if_cdce doesn't support my Op o usb/143448 usb [usbdevs] [usb8] [patch] QUIRK: JMicron JM20336 USB/SA f usb/143294 usb [usb8] copying process stops at some time (10 - 50 sec o usb/143286 usb [ukbd] [usb8] [boot] boot failures on RELENG_8 system f usb/143186 usb [usbdevs] [usb8] [patch] add USB device IDs for Google a usb/143139 usb [umass] [usb8] [patch] Quirk for Century EX35SW4_SB4 J o usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d o usb/142991 usb [uftdi] [usb67] [patch] Patch to add Crystalfontz 533 f usb/142989 usb [usb8] canon eos 50D attaches but detaches after few s f usb/142957 usb [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa o usb/142713 usb [usb67] [panic] Kernel Panik when connecting an IPhone f usb/142276 usb [umass] [usb8] Cache Synchronization Error with Olympu o usb/142229 usb [ums] [usb8] [hang] connecting a USB mouse to a Dell P o usb/141680 usb [uath] [usb8] Netgear WG111T not working with uath dri o usb/141664 usb [pcm] [usb8] Logitech USB microphone failure [regressi o usb/141474 usb [boot] [usb8] FreeBSD 8.0 can not install from USB CDR a usb/141467 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/141327 usb [ukbd] [usb67] USB kbd not working with 7.1+PAE on IBM o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb] Encrypted root, geli password at boot; enter key o usb/140928 usb [u3g] [usb8] [patch] ZTE CDMA2000 1X EV-DO (MG478/AC87 o usb/140920 usb [install] [usb8] USB based install fails on 8.0-RELEAS o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b f usb/140883 usb [axe] [usb8] USB gigabit ethernet hangs after short pe o kern/140849 usb [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0- a usb/140810 usb [uftdi] [usb8] 8.X copy and paste problem / tty overfl o kern/140614 usb [uplcom] [patch] adding support for Radio Shack Gigwar o usb/140590 usb [bluetooth] [usb8] ng_ubt(4) ng_l2cap_process_cmd_rej o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d o usb/140259 usb [libusb] [patch] [usb8] libusb-1.0 portability/compati o usb/140236 usb [msdosfs] [usb8] Labels wiped on external Journaled US o usb/140160 usb [usb8] [acpi] USB ports are no longer "active" after A s usb/139990 usb [panic] [patch] [usb67] Kernel frequently panics after a usb/139598 usb [umass] [usb8] CAM reports "xptioctl: put "device pass o usb/139243 usb [uhci] [usb67] unplug prolific USB serial -> uhci_abor o usb/138915 usb [patch] [usb8] [usb67] add support for SheevaPlug seri a usb/138904 usb [rum] [panic] [usb67] unpluging USB wifi card panics s f usb/138882 usb [ohci] [panic] [usb67] Can't install FreeBSD 7.2 due t a usb/138879 usb [uftdi] [patch] Patch to add support for CTI USB-Mini o usb/138798 usb [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT o usb/138570 usb [usb] [panic] USB mass device panics current 7.2-STABL o usb/138175 usb [usb67] [boot] System cannot boot, when USB reader wit o usb/138172 usb [u3g] [patch] [usb67] Additional dev id for u3g (Optio o usb/138138 usb [u3g] [patch] [usb67] Novatel U760 for u3g (Verizon an o usb/138124 usb [snd_uaudio] [usb8] Axed uaudio functionality in the u o usb/138119 usb [usb67] [usb8] MultiBay CDROM (probably on USB bus) is o usb/137872 usb [usb67] [boot] slow booting on usb flash drive o usb/137806 usb [ukbd] [usb67] USB keyboard doesn't work until it's un o usb/137763 usb [usb67][ukbd] Logitech wireless keyboard media keys no o usb/137616 usb [usb67][usb8][usbdevs] [patch]: usbdevs update: Please o usb/137377 usb [usb8] request support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro f usb/137190 usb [usb8][patch] inhibit spurious button releases for som o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo p usb/137188 usb [usb8][patch] correctly handle USB report descriptors f bin/137180 usb [build] [patch] building world for 8.0-BETA2 fails on o usb/137129 usb [ums] [usb8] SteelSeries Ikari USB laser mouse not att p usb/136761 usb [usbdevs][usb67][patch] Teach usbdevs / u3g(4) about H o usb/135938 usb [aue] [usb67] aue driver only passes traffic in promis o usb/135575 usb [usbdevs] [patch] [usb67] Add HTC Wizard phone vid/pid o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135348 usb [umass] [patch] USB Drive Hangs with ZFS (JMicron USB2 o usb/135206 usb machine reboots when inserted USB device o usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/135182 usb UMASS quirk - Olympus FE20 camera o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o usb/134633 usb Add support for WILLCOM03(SHARP smart phone) o usb/134631 usb [usbdevs] [patch] WiSPY DBx support requires usb tweak o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134117 usb [Patch] Add support for 'Option GlobeTrotter HSDPA Mod o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive o usb/133989 usb [usb8] [ukbd] USB keyboard dead at mountroot> prompt o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o usb/133296 usb [rum] driver not working properly in hostap mode p usb/132799 usb [usb][patch]GENESYS USB2IDE requires NO_SYNCHRONIZE_CA o usb/132785 usb [usb] [patch] Gemtech remote powersocket is classed as o usb/132594 usb USB subsystem causes page fault and crashes o usb/132312 usb [hang] Xorg 7.4 halts USB controller o usb/132080 usb [patch] [usb] [rum] Kernel panic after NOMEM caused by o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 o usb/132036 usb [panic] page fault when connecting Olympus C740 camera o usb/131912 usb [uslcom] [patch] New devices using Silicon Labs chips o usb/131900 usb [usbdevs] [patch] Additional product identification co o usb/131583 usb [umass] Failure when detaching umass Device o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data o usb/131521 usb Registering Belkin UPS to usb_quirks.c o usb/131123 usb [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk o usb/131074 usb no run-time detection of usb devices plugged into exte o usb/130736 usb Page fault unplugging USB stick o usb/130230 usb Samsung Electronics YP-U3 does not attach in 7.1-RELEA o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [usb8] DVD drive detects as 'da' device o usb/129945 usb [usb67] [usbdevs] [patch] add u3g support for Longchee o usb/129766 usb [usb] plugging in usb modem HUAWEI E226 panics system o usb/129758 usb [uftdi] [patch] add Pyramid LCD usb support o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan o usb/129522 usb [ubsa] [usb67] [patch] add support for ZTE AC8700 mode o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader o usb/129251 usb [usbdevs] [usb67] [patch] Liebert UPS being assigned u o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb67] [patch] uaudio is not full duplex p usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2 o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/128324 usb [uplcom] [patch] remove baud rate restriction for PL23 o usb/127980 usb [umass] [patch] Fix Samsung YP U2 MP3 player on 7.x an o usb/127926 usb [boot] USB Timeout during bootup p usb/127549 usb [umass] [usb67] [patch] Meizu MiniPlayer M6 (SL) requi f usb/127543 usb [patch] [ubsa] Support Option Globetrotter HSDPA modem s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should p docs/127406 usb [patch] update umodem man page: Sony Ericsson W810i o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attach and detach o usb/127222 usb [ohci] Regression in 7.0 usb storage generic driver o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d o usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125238 usb [ums] Habu Mouse turns off in X o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work o kern/124130 usb [usb] gmirror fails to start usb devices that were pre o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone o usb/123352 usb [usbdevs] [patch] Add Option GTMAX3.6/7.2 and Quallcom o usb/123351 usb [usbdevs] [patch] Add Reiner SCT cyberJack, Omnikey [2 o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122956 usb [ubsa] [patch] add support for Novatel Wireless XU870 o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122819 usb [usb] [patch] Patch to provide dynamic additions to th o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122621 usb [new driver] [patch] New driver for Sierra Wireless 3G o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/122025 usb [uscanner] [patch] uscanner does not attach to Epson R o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s o usb/121232 usb [usb] [panic] USB CardBus card removal causes reboot s p usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS o usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [snd_uaudio] [patch] Not possible to record with Plant o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th o usb/116699 usb [usbhid] USB HID devices do not initialize at system b o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o usb/114068 usb [usb67] [usb8] [umass] [patch] Problem with connection o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/113060 usb [usb67] [ulpt] [patch] Samsung printer not working in o usb/110856 usb [usb67] [ugen] [patch] interrupt in msgs are truncated s usb/108344 usb [usb67] [atausb] [panic] kernel with atausb panics whe o usb/107827 usb [usb67] [ohci] [panic] ohci_add_done addr not found o usb/107388 usb [usb67] [usb8] [new driver] [patch] add utoppy device o usb/107243 usb [usb67] [cam] [quirk] [patch] Apacer USB Flash Drive q o usb/106041 usb [usb67] [usb8] [request] FreeBSD does not recognise Mu o usb/105361 usb [usb67] [panic] Kernel panic during unmounting mass st s usb/103917 usb [usb67] [uhub] USB driver reports "Addr 0 should never o usb/103418 usb [usb67] [usb8] [patch] [request] usbhidctl(8) add abil o usb/103046 usb [usb67] [ulpt] [patch] ulpt event driven I/O with sele o usb/101775 usb [usb67] [usb8] [libusbhid] [patch] possible error in r o usb/101761 usb [usb67] [patch] [request] usb.h: increase maximal size o usb/100746 usb [usb67] [ukbd] system does not boot due to USB keyboar o usb/99538 usb [keyboard] while using USB keyboard default params of o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o kern/99200 usb [bluetooth] SMP-Kernel crashes reliably when Bluetooth o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91629 usb [usb] usbd_abort_pipe() may result in infinite loop o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me o usb/80829 usb [modules] [panic] possible panic when loading USB-modu s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails o usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/79722 usb [ehci] wrong alignments in ehci.h a usb/79656 usb [ehci] RHSC interrupts lost o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, o usb/76732 usb [ums] Mouse problems with USB KVM Switch o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75797 usb [sound] [regression] 5.3-STABLE(2005 1/4) detect USB h o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o usb/74771 usb [umass] [hang] mounting write-protected umass device a s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/73307 usb [panic] Kernel panics on USB disconnect s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 352 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Apr 26 19:32:05 2010 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 F40BD1065676 for ; Mon, 26 Apr 2010 19:32:04 +0000 (UTC) (envelope-from peter@pean.org) Received: from system.jails.se (unknown [IPv6:2001:16d8:cc1e:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 96AAC8FC1A for ; Mon, 26 Apr 2010 19:32:03 +0000 (UTC) Received: from localhost (system.jails.se [87.237.210.209]) by system.jails.se (Postfix) with SMTP id D7D9EB6246 for ; Mon, 26 Apr 2010 21:31:57 +0200 (CEST) Received: from pi.pean.org (c-ae06e155.166-7-64736c14.cust.bredbandsbolaget.se [85.225.6.174]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by system.jails.se (Postfix) with ESMTPSA id 0DA4DB6237; Mon, 26 Apr 2010 21:31:52 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=iso-8859-1 From: =?iso-8859-1?Q?Peter_Ankerst=E5l?= In-Reply-To: <201004250951.19561.hselasky@c2i.net> Date: Mon, 26 Apr 2010 21:31:56 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <660B95EC-08D5-4D7B-B5C2-9E8AC97462C7@pean.org> References: <201004250951.19561.hselasky@c2i.net> To: Hans Petter Selasky , freebsd-current@freebsd.org X-Mailer: Apple Mail (2.1078) X-DSPAM-Result: Innocent X-DSPAM-Processed: Mon Apr 26 21:31:57 2010 X-DSPAM-Confidence: 1.0000 X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 4bd5ea2d16291827980100 X-DSPAM-Factors: 27, solved+by, 0.40000, keymap, 0.40000, keymap, 0.40000, >>+choose, 0.40000, using+the, 0.40000, >>+installed, 0.40000, but, 0.40000, strncmp(sysenv+"MacBookPro1, 0.40000, strncmp(sysenv+"MacBookPro1, 0.40000, area+for, 0.40000, Received*cipher+AES128, 0.40000, Petter+Selasky, 0.40000, looks, 0.40000, Message-Id*<660B95EC+08D5, 0.40000, Cc*rpaulo+freebsd.org, 0.40000, Mime-Version*Message, 0.40000, Date*Apr, 0.40000, the+keyboard, 0.40000, the+keyboard, 0.40000, made, 0.40000, btw, 0.40000, newly+released, 0.40000, pressed+or, 0.40000, or, 0.40000, or, 0.40000, 13"+(7, 0.40000, ctrl+and, 0.40000 Cc: Matthew Seaman , rpaulo@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Keyboard problem with new MacBook Pro. 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, 26 Apr 2010 19:32:05 -0000 On 25 apr 2010, at 09.51, Hans Petter Selasky wrote: > On Sunday 25 April 2010 09:30:12 Peter Ankerst=E5l wrote: >> Hi, >>=20 >> I have the newly released macbook pro 13" (7,1). (swedish keyboard) = And it >> seems that I have some problem with the USB-keyboard driver. The = keyboard >> seems to work more or less in the boot meny, I can type and so on. = But >> when the system is booted the keyboard dosent work. It seems like = ctrl is >> constantly pressed or something like that. Nothing that I've done = gives me >> normal characters on screen. Its the FreeBSD 7.3 amd64 version i have >> installed btw. (8.0 or 9.0 freeezes during boot due to some = acpi-problem >> = http://wiki.freebsd.org/AppleMacbook#head-083ebc072fcd20e07a74a11565fc41af= >> b2ca099b) >>=20 >> I have got the keyboard to partially work when using the fixit cd. If = I >> choose US UNIX keymap first and then switch to some other keymap, say = US >> ISO och Swedish ISO it works to type but shift, ctrl and so on doesnt >> work. >=20 > Hi, >=20 > In 8-stable and 9-current, we have made several patches in the USB = keyboard=20 > area for Apple Keyboards, like supporting the eject key, swapping = keys, etc. >=20 > Regaring the boot issue with Mac, I think it can be solved by adding a = quirk=20 > in the kernel: >=20 > amd64/machdep.c: if (strncmp(sysenv, "MacBook1,1", 10) = =3D=3D 0 || > amd64/machdep.c: strncmp(sysenv, "MacBook3,1", 10) = =3D=3D 0 || > amd64/machdep.c: strncmp(sysenv, "MacBookPro1,1", = 13) =3D=3D 0=20 > || > amd64/machdep.c: strncmp(sysenv, "MacBookPro1,2", = 13) =3D=3D 0=20 > || > amd64/machdep.c: strncmp(sysenv, "MacBookPro3,1", = 13) =3D=3D 0=20 > || > amd64/pmap.c: if (strncmp(sysenv, "MacBook5,1", 10) = =3D=3D 0 || > amd64/pmap.c: strncmp(sysenv, "MacBookPro5,5", = 13) =3D=3D 0=20 > || >=20 > Similar for i386. >=20 > Could you print out your sysenv during boot and try adding your = MacBook to the=20 > quirk list? >=20 > --HPS >=20 Hi! I managed to get the boot-process past the ACPI-part by adding=20 similar lines like above (MacBookPro7,1) to the FreeBSD HEAD branch (as = of 26 April 19:00 CEST). Made a release iso like this: = http://romana.now.ie/writing/customfreebsdiso.html But now the boot-process panics at a later stage in the process and it = looks like this: http://www.pean.org/macbook_boot.jpg Any pointers?=20= From owner-freebsd-usb@FreeBSD.ORG Mon Apr 26 20:21:40 2010 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 BF55E106564A for ; Mon, 26 Apr 2010 20:21:40 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 0CCD18FC0A for ; Mon, 26 Apr 2010 20:21:39 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id XAA14617; Mon, 26 Apr 2010 23:21:36 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1O6UoC-000N1E-Jk; Mon, 26 Apr 2010 23:21:36 +0300 Message-ID: <4BD5F5CF.20902@icyb.net.ua> Date: Mon, 26 Apr 2010 23:21:35 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100321) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Peter_Ankerst=E5l?= References: <201004250951.19561.hselasky@c2i.net> <660B95EC-08D5-4D7B-B5C2-9E8AC97462C7@pean.org> In-Reply-To: <660B95EC-08D5-4D7B-B5C2-9E8AC97462C7@pean.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-usb@freebsd.org Subject: Re: Keyboard problem with new MacBook Pro. 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, 26 Apr 2010 20:21:40 -0000 on 26/04/2010 22:31 Peter Ankerstål said the following: > I managed to get the boot-process past the ACPI-part by adding > similar lines like above (MacBookPro7,1) to the FreeBSD HEAD branch (as of 26 April 19:00 CEST). Made a release iso like this: http://romana.now.ie/writing/customfreebsdiso.html > > But now the boot-process panics at a later stage in the process and it looks like this: > http://www.pean.org/macbook_boot.jpg > > Any pointers? Wow, a 3833x2492 screenshot of a text console! Can you execute 'bt' at the last prompt? -- Andriy Gapon From owner-freebsd-usb@FreeBSD.ORG Mon Apr 26 20:50:03 2010 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 D1D45106566C for ; Mon, 26 Apr 2010 20:50:03 +0000 (UTC) (envelope-from peter@pean.org) Received: from system.jails.se (unknown [IPv6:2001:16d8:cc1e:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 700FA8FC17 for ; Mon, 26 Apr 2010 20:50:03 +0000 (UTC) Received: from localhost (system.jails.se [87.237.210.209]) by system.jails.se (Postfix) with SMTP id 7E996B69E0 for ; Mon, 26 Apr 2010 22:49:56 +0200 (CEST) Received: from pi.pean.org (c-ae06e155.166-7-64736c14.cust.bredbandsbolaget.se [85.225.6.174]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by system.jails.se (Postfix) with ESMTPSA id 59C2BB69DA; Mon, 26 Apr 2010 22:49:52 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=iso-8859-1 From: =?iso-8859-1?Q?Peter_Ankerst=E5l?= In-Reply-To: <4BD5F5CF.20902@icyb.net.ua> Date: Mon, 26 Apr 2010 22:49:56 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <1C4BFA5C-AC6C-483A-9CEC-251964EFD2EC@pean.org> References: <201004250951.19561.hselasky@c2i.net> <660B95EC-08D5-4D7B-B5C2-9E8AC97462C7@pean.org> <4BD5F5CF.20902@icyb.net.ua> To: Andriy Gapon X-Mailer: Apple Mail (2.1078) X-DSPAM-Result: Innocent X-DSPAM-Processed: Mon Apr 26 22:49:56 2010 X-DSPAM-Confidence: 0.9899 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 4bd5fc7416296239875424 X-DSPAM-Factors: 27, Received*cipher+AES128, 0.01000, Mime-Version*Message, 0.01000, Date*Apr, 0.01000, But, 0.01000, Received*client+certificate, 0.01000, Received*7+64736c14.cust.bredbandsbolaget.se, 0.01000, Received*TLSv1+with, 0.01000, Content-Type*8859+1, 0.01000, Mime-Version*framework+v1078), 0.01000, Content-Type*text/plain+charset=iso, 0.01000, Content-Type*charset=iso+8859, 0.01000, Peter+Ankerstål, 0.01000, Mime-Version*1.0+(Apple, 0.01000, Subject*problem+with, 0.01000, Received*64736c14.cust.bredbandsbolaget.se, 0.01000, Content-Transfer-Encoding*quoted+printable, 0.01000, Received*(using, 0.01000, Received*(No, 0.01000, Received*[85.225.6.174]), 0.01000, Received*ae06e155.166+7, 0.01000, Received*pi.pean.org+(c, 0.01000, the+boot, 0.01000, the+boot, 0.01000, Received*with+cipher, 0.01000, Received*SHA, 0.01000, Subject*new+MacBook, 0.01000, From*Peter_Ankerstål+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 20:50:03 -0000 On 26 apr 2010, at 22.21, Andriy Gapon wrote: > on 26/04/2010 22:31 Peter Ankerst=E5l said the following: >> I managed to get the boot-process past the ACPI-part by adding=20 >> similar lines like above (MacBookPro7,1) to the FreeBSD HEAD branch = (as of 26 April 19:00 CEST). Made a release iso like this: = http://romana.now.ie/writing/customfreebsdiso.html >>=20 >> But now the boot-process panics at a later stage in the process and = it looks like this: >> http://www.pean.org/macbook_boot.jpg >>=20 >> Any pointers?=20 >=20 > Wow, a 3833x2492 screenshot of a text console! > Can you execute 'bt' at the last prompt? >=20 > --=20 > Andriy Gapon >=20 No, sorry. No input seems to work.=20= From owner-freebsd-usb@FreeBSD.ORG Tue Apr 27 11:43:57 2010 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 6104A106566B for ; Tue, 27 Apr 2010 11:43:57 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id A5FB18FC19 for ; Tue, 27 Apr 2010 11:43:56 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA12457; Tue, 27 Apr 2010 14:43:53 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4BD6CDF8.40803@icyb.net.ua> Date: Tue, 27 Apr 2010 14:43:52 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100319) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Peter_Ankerst=E5l?= References: <201004250951.19561.hselasky@c2i.net> <660B95EC-08D5-4D7B-B5C2-9E8AC97462C7@pean.org> <4BD5F5CF.20902@icyb.net.ua> <1C4BFA5C-AC6C-483A-9CEC-251964EFD2EC@pean.org> In-Reply-To: <1C4BFA5C-AC6C-483A-9CEC-251964EFD2EC@pean.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-usb@freebsd.org Subject: Re: Keyboard problem with new MacBook Pro. 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, 27 Apr 2010 11:43:57 -0000 on 26/04/2010 23:49 Peter Ankerstål said the following: > > On 26 apr 2010, at 22.21, Andriy Gapon wrote: > >> on 26/04/2010 22:31 Peter Ankerstål said the following: >>> I managed to get the boot-process past the ACPI-part by adding >>> similar lines like above (MacBookPro7,1) to the FreeBSD HEAD branch (as of 26 April 19:00 CEST). Made a release iso like this: http://romana.now.ie/writing/customfreebsdiso.html >>> >>> But now the boot-process panics at a later stage in the process and it looks like this: >>> http://www.pean.org/macbook_boot.jpg >>> >>> Any pointers? >> Wow, a 3833x2492 screenshot of a text console! >> Can you execute 'bt' at the last prompt? > > No, sorry. No input seems to work. Do you have KDB_TRACE in your kernel config? If not, please try adding it. Thanks. -- Andriy Gapon From owner-freebsd-usb@FreeBSD.ORG Wed Apr 28 03:20:02 2010 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 76E01106566B for ; Wed, 28 Apr 2010 03: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 393498FC13 for ; Wed, 28 Apr 2010 03:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3S3K2PP058845 for ; Wed, 28 Apr 2010 03:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3S3K2Sr058844; Wed, 28 Apr 2010 03:20:02 GMT (envelope-from gnats) Resent-Date: Wed, 28 Apr 2010 03:20:02 GMT Resent-Message-Id: <201004280320.o3S3K2Sr058844@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, Peter Toth Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28E4A1065672 for ; Wed, 28 Apr 2010 03:18:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 1489D8FC13 for ; Wed, 28 Apr 2010 03:18:25 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o3S3IO0n021369 for ; Wed, 28 Apr 2010 03:18:24 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o3S3IOdP021368; Wed, 28 Apr 2010 03:18:24 GMT (envelope-from nobody) Message-Id: <201004280318.o3S3IOdP021368@www.freebsd.org> Date: Wed, 28 Apr 2010 03:18:24 GMT From: Peter Toth To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT 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, 28 Apr 2010 03:20:02 -0000 >Number: 146104 >Category: usb >Synopsis: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT >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: Wed Apr 28 03:20:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Peter Toth >Release: FreeBSD 8.0 amd64 >Organization: >Environment: FreeBSD voyager.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 >Description: When attaching Samsung YP-U4 mp3 player via USB it times out. As a result the device is not recognized as a USB flash drive. These are the errors: usbd_req_re_enumerate:1539: addr=5, set address failed! (USB_ERR_STALLED, ignored) usbd_req_re_enumerate:1553: getting device descriptor at addr 5 failed, USB_ERR_TIMEOUT! usbd_req_re_enumerate:1539: addr=5, set address failed! (USB_ERR_STALLED, ignored) usbd_req_re_enumerate:1553: getting device descriptor at addr 5 failed, USB_ERR_TIMEOUT! usb_alloc_device:1746: Failure selecting configuration index 0: USB_ERR_TIMEOUT, port 4, addr 5 (ignored) ugen4.5: at usbus4 >How-To-Repeat: Plug in a Samsung YP-U4 mp3 player to USB port. The player has two modes MTP or USB removable disk, don't forget to set it to removable disk mode in "Settings -> PC connection". >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Wed Apr 28 07:21:33 2010 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 20129106566C; Wed, 28 Apr 2010 07:21:33 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.swip.net [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id 46ECD8FC12; Wed, 28 Apr 2010 07:21:31 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=ysSFl0pJ4e4A:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=AdjSnqw7lJq3W2Y5uQwA:9 a=FPNuRATo10JCXjMveD1tU-Ei9MIA:4 a=PUjeQqilurYA:10 a=XdHq6f_Vr8vptqgM:21 a=J02-UGGJiOqcPjo9:21 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1221531396; Wed, 28 Apr 2010 09:21:29 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 28 Apr 2010 09:18:53 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201004280318.o3S3IOdP021368@www.freebsd.org> In-Reply-To: <201004280318.o3S3IOdP021368@www.freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201004280918.53560.hselasky@c2i.net> Cc: freebsd-gnats-submit@freebsd.org, Peter Toth Subject: Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT 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, 28 Apr 2010 07:21:33 -0000 On Wednesday 28 April 2010 05:18:24 Peter Toth wrote: > >Number: 146104 > >Category: usb > >Synopsis: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT > >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: Wed Apr 28 03:20:01 UTC 2010 > >Closed-Date: > >Last-Modified: > >Originator: Peter Toth > >Release: FreeBSD 8.0 amd64 > >Organization: > >Environment: > > FreeBSD voyager.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 > > >Description: > > When attaching Samsung YP-U4 mp3 player via USB it times out. As a result > the device is not recognized as a USB flash drive. > > These are the errors: > usbd_req_re_enumerate:1539: addr=5, set address failed! (USB_ERR_STALLED, > ignored) usbd_req_re_enumerate:1553: getting device descriptor at addr 5 > failed, USB_ERR_TIMEOUT! usbd_req_re_enumerate:1539: addr=5, set address > failed! (USB_ERR_STALLED, ignored) usbd_req_re_enumerate:1553: getting > device descriptor at addr 5 failed, USB_ERR_TIMEOUT! > usb_alloc_device:1746: Failure selecting configuration index 0: > USB_ERR_TIMEOUT, port 4, addr 5 (ignored) ugen4.5: at > usbus4 > > >How-To-Repeat: > > Plug in a Samsung YP-U4 mp3 player to USB port. The player has two modes > MTP or USB removable disk, don't forget to set it to removable disk mode > in "Settings -> PC connection". > > >Fix: > > > > > >Release-Note: > >Audit-Trail: > >Unformatted: > Hi, Can you try 8-stable? --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Apr 28 07:30:06 2010 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 964AB106566C for ; Wed, 28 Apr 2010 07:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 778628FC1A for ; Wed, 28 Apr 2010 07:30:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3S7U5WR097065 for ; Wed, 28 Apr 2010 07:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3S7U5GV097062; Wed, 28 Apr 2010 07:30:05 GMT (envelope-from gnats) Date: Wed, 28 Apr 2010 07:30:05 GMT Message-Id: <201004280730.o3S7U5GV097062@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 07:30:06 -0000 The following reply was made to PR usb/146104; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Peter Toth , freebsd-gnats-submit@freebsd.org Subject: Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT Date: Wed, 28 Apr 2010 09:18:53 +0200 On Wednesday 28 April 2010 05:18:24 Peter Toth wrote: > >Number: 146104 > >Category: usb > >Synopsis: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT > >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: Wed Apr 28 03:20:01 UTC 2010 > >Closed-Date: > >Last-Modified: > >Originator: Peter Toth > >Release: FreeBSD 8.0 amd64 > >Organization: > >Environment: > > FreeBSD voyager.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 > > >Description: > > When attaching Samsung YP-U4 mp3 player via USB it times out. As a result > the device is not recognized as a USB flash drive. > > These are the errors: > usbd_req_re_enumerate:1539: addr=5, set address failed! (USB_ERR_STALLED, > ignored) usbd_req_re_enumerate:1553: getting device descriptor at addr 5 > failed, USB_ERR_TIMEOUT! usbd_req_re_enumerate:1539: addr=5, set address > failed! (USB_ERR_STALLED, ignored) usbd_req_re_enumerate:1553: getting > device descriptor at addr 5 failed, USB_ERR_TIMEOUT! > usb_alloc_device:1746: Failure selecting configuration index 0: > USB_ERR_TIMEOUT, port 4, addr 5 (ignored) ugen4.5: at > usbus4 > > >How-To-Repeat: > > Plug in a Samsung YP-U4 mp3 player to USB port. The player has two modes > MTP or USB removable disk, don't forget to set it to removable disk mode > in "Settings -> PC connection". > > >Fix: > > > > > >Release-Note: > >Audit-Trail: > >Unformatted: > Hi, Can you try 8-stable? --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Apr 29 17:30:01 2010 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 96C9F1065672 for ; Thu, 29 Apr 2010 17:30: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 56C6F8FC14 for ; Thu, 29 Apr 2010 17:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3THU1vr095364 for ; Thu, 29 Apr 2010 17:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3THU1BU095362; Thu, 29 Apr 2010 17:30:01 GMT (envelope-from gnats) Resent-Date: Thu, 29 Apr 2010 17:30:01 GMT Resent-Message-Id: <201004291730.o3THU1BU095362@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, SERGEY PEREVALOV Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 208BF106566C for ; Thu, 29 Apr 2010 17:26:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 0C6DC8FC0A for ; Thu, 29 Apr 2010 17:26:06 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o3THQ5en048101 for ; Thu, 29 Apr 2010 17:26:05 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o3THQ5KD048090; Thu, 29 Apr 2010 17:26:05 GMT (envelope-from nobody) Message-Id: <201004291726.o3THQ5KD048090@www.freebsd.org> Date: Thu, 29 Apr 2010 17:26:05 GMT From: SERGEY PEREVALOV To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/146153: [axe][usb] Hosts in network doesn't receive any packets from gigabit usb to ethernet adapter X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 17:30:01 -0000 >Number: 146153 >Category: usb >Synopsis: [axe][usb] Hosts in network doesn't receive any packets from gigabit usb to ethernet adapter >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 29 17:30:00 UTC 2010 >Closed-Date: >Last-Modified: >Originator: SERGEY PEREVALOV >Release: FreeBSD 8.0-RELEASE-p2 >Organization: I own a tiny buisness >Environment: FreeBSD laptop 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 16:02:27 UTC 2010 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: Gigabit usb to ethernet adapter works well within windows, but within FreeBSD 8.0 it doesn't work properly. I found out that hosts in network doesn't receive any packet from this device. I have checked it by tcpdump and ping commands. First I connected only 2 freebsd 8.0 hosts without switch. Then set up network and started ping each. The tcpdump on host, where adapter was installed, showed that it receive and answer to received packets. But another host doesn't receive any packet and continuing send arp packets. And on host where adapter was not installed arp table is empty. I tried to install adapter on another host but problem was repeated. In attach some tcpdump output from host where adapter was installed. dmesg: ugen4.2: at usbus4 axe0: on usbus4 axe0: PHYADDR 0xe0:0x02 miibus0: on axe0 rgephy0: PHY 2 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto ue0: on axe0 ue0: Ethernet address: 00:0e:c6:88:09:4e usbconfig: laptop# usbconfig ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen3.1: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen4.1: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen4.2: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON ifconfig: ue0: flags=8843 metric 0 mtu 1500 ether 00:0e:c6:88:09:4e inet 192.168.2.22 netmask 0xffffff00 broadcast 192.168.2.255 media: Ethernet autoselect (100baseTX ) status: active P.S.: I apologize for my English. >How-To-Repeat: >Fix: Patch attached with submission follows: 01:02:49.266149 IP (tos 0x0, ttl 64, id 4535, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 46, length 64 01:02:49.294375 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.2.22 tell 192.168.2.7, length 46 01:02:54.278539 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.2.22 tell 192.168.2.7, length 46 01:02:59.085138 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.2.22 is-at 00:0e:c6:88:09:4e (oui Unknown), length 28 01:02:59.085142 IP (tos 0x0, ttl 64, id 4536, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 47, length 64 01:02:59.085145 IP (tos 0x0, ttl 64, id 4537, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 48, length 64 01:02:59.085147 IP (tos 0x0, ttl 64, id 4538, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 49, length 64 01:02:59.085150 IP (tos 0x0, ttl 64, id 4539, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 50, length 64 01:02:59.085153 IP (tos 0x0, ttl 64, id 4540, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 51, length 64 01:02:59.085155 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.2.22 is-at 00:0e:c6:88:09:4e (oui Unknown), length 28 01:02:59.085158 IP (tos 0x0, ttl 64, id 4541, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 52, length 64 01:02:59.085160 IP (tos 0x0, ttl 64, id 4542, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 53, length 64 01:02:59.085162 IP (tos 0x0, ttl 64, id 4543, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 54, length 64 01:02:59.085165 IP (tos 0x0, ttl 64, id 4544, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 55, length 64 01:02:59.085167 IP (tos 0x0, ttl 64, id 4545, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 56, length 64 01:02:59.778343 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.2.22 tell 192.168.2.7, length 46 01:03:04.778006 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.2.22 tell 192.168.2.7, length 46 01:03:08.904157 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.2.22 is-at 00:0e:c6:88:09:4e (oui Unknown), length 28 01:03:08.904162 IP (tos 0x0, ttl 64, id 4546, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 57, length 64 01:03:08.904164 IP (tos 0x0, ttl 64, id 4547, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 58, length 64 01:03:08.904167 IP (tos 0x0, ttl 64, id 4548, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 59, length 64 01:03:08.904169 IP (tos 0x0, ttl 64, id 4549, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 60, length 64 01:03:08.904172 IP (tos 0x0, ttl 64, id 4550, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 61, length 64 01:03:08.904174 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.2.22 is-at 00:0e:c6:88:09:4e (oui Unknown), length 28 01:03:08.904177 IP (tos 0x0, ttl 64, id 4551, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 62, length 64 01:03:08.904179 IP (tos 0x0, ttl 64, id 4552, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 63, length 64 01:03:08.904182 IP (tos 0x0, ttl 64, id 4553, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 64, length 64 01:03:08.904184 IP (tos 0x0, ttl 64, id 4554, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 65, length 64 01:03:10.277807 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.2.22 tell 192.168.2.7, length 46 01:03:15.777737 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.2.22 tell 192.168.2.7, length 46 01:03:18.723175 IP (tos 0x0, ttl 64, id 4555, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 66, length 64 01:03:18.723179 IP (tos 0x0, ttl 64, id 4556, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 67, length 64 01:03:18.723181 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.2.22 is-at 00:0e:c6:88:09:4e (oui Unknown), length 28 >Release-Note: >Audit-Trail: >Unformatted: