Subject: Re: files.bluetooth:14: undefined attribute `hid'
To: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
From: Iain Hibbert <plunky@rya-online.net>
List: current-users
Date: 09/04/2007 21:08:25
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-101688455-1188936505=:2356
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Tue, 4 Sep 2007, KIYOHARA Takashi wrote:

> I found this problem. ;-)
>
> The attribute 'hid' defined in files.usb.  If we included files.bluetooth
> in files.ARCH, and not include files.usb.  (ex. files.hpcsh)
>
>   # config GENERIC
>   ../../../../dev/bluetooth/files.bluetooth:14: undefined attribute `hid'
>   ../../../../dev/bluetooth/files.bluetooth:21: undefined attribute `hid'
>   ../../../../dev/bluetooth/files.bluetooth:26: undefined attribute `hid'

Yeah, I did notice something like that once. Does it work ok if you move
the 'define hid' from files.usb to sys/conf/files? (as per patch)

You still would not be able to use bthidev though, maybe the 'file
dev/usb/hid.c hid' statement would need to be moved also?

I got on my TODO list to move the HID stuff out of dev/usb but I got no
time right now (good weather means fixing up boat :)

> By the way, Does our bluetooth support BNEP?
> (I want PAN ;-)

Not yet, but something for PANU is on my list for when I get time. I think
it can be done entirely with a userland daemon conveying packets between a
L2CAP socket and tap(4) and should not be too much work.

iain
--0-101688455-1188936505=:2356
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=diff
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NEB.4.64.0709042108250.2356@localhost.>
Content-Description: hid to sys/conf/files
Content-Disposition: attachment; filename=diff

LS0tIC91c3Ivc3JjL3N5cy9jb25mL2ZpbGVzCTIwMDctMDctMjAgMjI6MjA6
NTAuMDAwMDAwMDAwICswMTAwDQorKysgc3lzL2NvbmYvZmlsZXMJMjAwNy0w
OS0wNCAyMDo1NDo0OC4wMDAwMDAwMDAgKzAxMDANCkBAIC0yNjMsNiArMjYz
LDcgQEANCiBkZWZpbmUgCXBja2Jwb3J0CXtbc2xvdCA9IC0xXX0NCiBkZWZp
bmUJcGNrYnBvcnRfbWFjaGRlcF9jbmF0dGFjaA0KIGRlZmluZQlmaXJtbG9h
ZA0KK2RlZmluZQloaWQNCiANCiAjIGF1ZGlvIGRldmljZSBhdHRyaWJ1dGVz
DQogIw0KLS0tIC91c3Ivc3JjL3N5cy9kZXYvdXNiL2ZpbGVzLnVzYgkyMDA3
LTA3LTIwIDIyOjIzOjU4LjAwMDAwMDAwMCArMDEwMA0KKysrIHN5cy9kZXYv
dXNiL2ZpbGVzLnVzYgkyMDA3LTA5LTA0IDIwOjU1OjA0LjAwMDAwMDAwMCAr
MDEwMA0KQEAgLTYxLDcgKzYxLDYgQEANCiBkZWZpbmUJdWhpZGJ1cyB7WyBy
ZXBvcnRpZCA9IC0xIF19DQogDQogIyBISUQgcHJvY2Vzc2luZw0KLWRlZmlu
ZQloaWQNCiBmaWxlCWRldi91c2IvaGlkLmMJCQloaWQNCiANCiAjIEhJRCBy
b290IGRldmljZSBmb3IgbXVsdGlwbGUgcmVwb3J0IElEcw0K

--0-101688455-1188936505=:2356--