lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45B3723D.4030901@gmail.com>
Date:	Sun, 21 Jan 2007 17:01:33 +0300
From:	Ivan Ukhov <uvsoft@...il.com>
To:	linux-kernel@...r.kernel.org
CC:	UVSoft@...il.com
Subject: Re: How to use an usb interface than is claimed by HID?

Jiri Kosina wrote:
> Then, when this is a non-standard situation anyway, would calling 
> hid_disconnect() for the usb_interface of your driver be enough?
>   
I can't even imagine how to call this very function. Could you give me 
an example? After all, this function and friends of its aren't 
EXPORTED_SYMBOLs. Beside it's going to end up depending on the HID 
driver, so the HID driver will have to be loaded all the time even if my 
driver is loaded first and manages to claim the interfaces.

Sorry, I've absolutely forgotten to say that I'm talking about 2.4.x and 
this function looks like:

static void hid_disconnect(struct usb_device *dev, void *ptr);

ptr is a pointer to the struct hid_device structure, which is created 
and initialized in the probe function. Do you offer me to set up this 
structure myself????

Thank you.

Ivan Ukhov.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ