Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2007 15:05:09 +0400
From:      Vladimir Grebenschikov <vova@fbsd.ru>
To:        Mark Hobden <markhobden@gmail.com>
Cc:        freebsd-current@freebsd.org, freebsd-usb@freebsd.org
Subject:   Re: uhidev(4) update - USB HID driver level for devices with multiple report ids
Message-ID:  <1184929509.1415.10.camel@localhost>
In-Reply-To: <c57a76300707171505y4eda6931g76aa8cab88e09076@mail.gmail.com>
References:  <c57a76300707171505y4eda6931g76aa8cab88e09076@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=F7 =D7=D4, 17/07/2007 =D7 23:05 +0100, Mark Hobden =D0=C9=DB=C5=D4:
> I have updated the uhidev(4) patch from NetBSD to apply to today's 7-CURR=
ENT.
>=20
>  http://www.terinea.co.uk/~mark/patches/uhidev-7-current-p2.diff
>=20
> The following patch is also required for Microsoft wireless keyboard/mice=
 sets
> and Microsoft wireless notebook mice (but the uhidev patch to be applied =
first).
>=20
>  http://www.terinea.co.uk/~mark/patches/uhidev-add-ms-p2.diff

Tries your patch under 7-CURRENT,=20

Both USB keyboard and USB mouse (MS) was not attached after boot, but
detected successful. Most probably due to not fixed default entry in
devd.conf:
attach 100 {
        device-name "ums[0-9]+";
        action "/etc/rc.d/moused start $device-name";
};
...
# When a USB keyboard arrives, attach it as the console keyboard.
attach 100 {
        device-name "ukbd0";
        action "/etc/rc.d/syscons setkeyboard /dev/ukbd0";
};
detach 100 {
        device-name "ukbd0";
        action "/etc/rc.d/syscons setkeyboard /dev/kbd0";
};
...
# usbdevs -v=20
...
 port 6 addr 2: high speed, self powered, config 1, product 0x4486(0x4486),=
 vendor 0x04b3(0x04b3), rev 0.01
  port 1 powered
  port 2 powered
  port 3 powered
  port 4 powered
  port 5 addr 3: low speed, power 100 mA, config 1, USB KMp(0x6782), BTC(0x=
046e), rev 1.00
  port 6 powered
  port 7 addr 4: low speed, power 100 mA, config 1, Microsoft 5-Button Mous=
e with IntelliEye(TM)(0x0047), Microsoft(0x045e), rev 3.00
 port 7 powered
 port 8 powered

part of dmesg:
uhub5: 7 ports with 7 removable, self powered
uhidev0: <BTC USB KMp, class 0/0, rev 1.00/1.00, addr 3> on uhub5
uhid0 on uhidev0
uhid0: input=3D8, output=3D1, feature=3D0
uhidev1: <BTC USB KMp, class 0/0, rev 1.00/1.00, addr 3> on uhub5
uhid1 on uhidev1
uhid1: input=3D3, output=3D0, feature=3D0
uhidev2: <Microsoft Microsoft 5-Button Mouse with IntelliEye(TM), class 0/0=
, rev 1.10/3.00, addr 4> on uhub5
uhid2 on uhidev2

I just think may be it fix problem with bluetooth wireless MS mouse, see
http://archive.netbsd.se/?ml=3Dfreebsd-bluetooth&a=3D2007-06&m=3D4551687

But not, it does not fix it.

--=20
Vladimir B. Grebenschikov
vova@fbsd.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1184929509.1415.10.camel>