From owner-freebsd-current@FreeBSD.ORG Sat Mar 21 16:04:32 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 210E6106566C for ; Sat, 21 Mar 2009 16:04:31 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.tele2.se [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id 8A5538FC2D for ; Sat, 21 Mar 2009 16:04:30 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=AjWy0yrHG2sA:10 a=OhxIi9mhZdoA:10 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=OoBUzFzcrZkFUNt12-UA:9 a=gbbAk37sl8vW4nxXe68A:7 a=ysSAt1dz-lGwsnCRdCXvTcnJ_yIA:4 a=LY0hPdMaydYA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe10.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1044325303; Sat, 21 Mar 2009 17:04:28 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Sat, 21 Mar 2009 17:06:57 +0100 User-Agent: KMail/1.9.7 References: <200903211448.28590.pieter@degoeje.nl> In-Reply-To: <200903211448.28590.pieter@degoeje.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903211706.58474.hselasky@c2i.net> Cc: Pieter de Goeje Subject: Re: usbconfig / hal-device no longer lists usb devices X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 16:04:33 -0000 On Saturday 21 March 2009, Pieter de Goeje wrote: > Since a couple of weeks usbconfig and hal-device no longer list my usb > devices. I know it worked before (also with the new USB stack). I think > this causes my mouse to not work in X, while it works fine on the console. > I've double checked that I don't have libusb from ports installed. I've > rebuild kernel/world, make delete-old && make delete-old libs, recompiled > hald, but still no success. > > $ uname -a > FreeBSD nox.student.utwente.nl 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Mar > 21 13:37:32 CET 2009 > pyotr@nox.student.utwente.nl:/usr/obj/FreeBSD/FreeBSD-current/src/sys/GENER >IC i386 > > $ usbconfig list > 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=HIGH (480Mbps) > pwr=ON > ugen4.1: at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=ON > ugen5.1: at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=ON > ugen6.1: at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=ON > ugen7.1: at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) > pwr=ON > > Relevant sections from dmesg > > uhci0: port 0xd000-0xd01f irq 16 at > device 26.0 on pci0 > uhci0: [ITHREAD] > uhci0: LegSup = 0x2f00 > usbus0: on uhci0 > uhci1: port 0xd100-0xd11f irq 21 at > device 26.1 on pci0 > uhci1: [ITHREAD] > uhci1: LegSup = 0x2f00 > usbus1: on uhci1 > uhci2: port 0xd500-0xd51f irq 18 at > device 26.2 on pci0 > uhci2: [ITHREAD] > uhci2: LegSup = 0x2f00 > usbus2: on uhci2 > ehci0: mem 0xfc105000-0xfc1053ff > irq 18 at device 26.7 on pci0 > ehci0: [ITHREAD] > usbus3: EHCI version 1.0 > usbus3: on ehci0 > uhci3: port 0xd200-0xd21f irq 23 at > device 29.0 on pci0 > uhci3: [ITHREAD] > uhci3: LegSup = 0x2f00 > usbus4: on uhci3 > uhci4: port 0xd300-0xd31f irq 19 at > device 29.1 on pci0 > uhci4: [ITHREAD] > uhci4: LegSup = 0x2f00 > usbus5: on uhci4 > uhci5: port 0xd400-0xd41f irq 18 at > device 29.2 on pci0 > uhci5: [ITHREAD] > uhci5: LegSup = 0x2f00 > usbus6: on uhci5 > ehci1: mem 0xfc104000-0xfc1043ff > irq 23 at device 29.7 on pci0 > ehci1: [ITHREAD] > usbus7: EHCI version 1.0 > usbus7: on ehci1 > usbus0: 12Mbps Full Speed USB v1.0 > usbus1: 12Mbps Full Speed USB v1.0 > usbus2: 12Mbps Full Speed USB v1.0 > usbus3: 480Mbps High Speed USB v2.0 > usbus4: 12Mbps Full Speed USB v1.0 > usbus5: 12Mbps Full Speed USB v1.0 > usbus6: 12Mbps Full Speed USB v1.0 > usbus7: 480Mbps High Speed USB v2.0 > ugen0.1: at usbus0 > uhub0: on usbus0 > ugen1.1: at usbus1 > uhub1: on usbus1 > ugen2.1: at usbus2 > uhub2: on usbus2 > ugen3.1: at usbus3 > uhub3: on usbus3 > ugen4.1: at usbus4 > uhub4: on usbus4 > ugen5.1: at usbus5 > uhub5: on usbus5 > ugen6.1: at usbus6 > uhub6: on usbus6 > ugen7.1: at usbus7 > uhub7: on usbus7 > > ugen0.2: at usbus0 > uhid0: 1.10/a.00, addr 2> on usbus0 > ugen1.2: at usbus1 > ums0: on > usbus1 ums0: 16 buttons and [XYZ] coordinates > uhid1: on > usbus1 Make sure that the devices under /dev/usb/xxx have proper permissions. --HPS