pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: compiling linrad under NetBSD



ea1abz%gmail.com@localhost (Ramiro Aceves) writes:

>   960 | #define HIDIOCSFEATURE(len)    _IOC(_IOC_WRITE|_IOC_READ, 'H', 
>0x06, len)

That is supposed to be a function of a Linux driver, that doesn't exist
in NetBSD, also no program should declare such function itself (but
reference the appropriate header file, e.g. <linux/hidraw.h> if you
were on Linux).

My guess is that this is for a USB device that presents itself as
a HID (Human Interface Device) but has vendor-specific extras. If
that's true, you would need to write code that talks the HID protocol
on a lower level, and you need a custom kernel that forces the ugen
driver to attach so that you can actually talk to the device on
that lower level.



Home | Main Index | Thread Index | Old Index