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>] [day] [month] [year] [list]
Message-ID: <AANLkTik=JqAsr0gyAd7fY-JrrwSXpcd9EEUyqkrxqFhw@mail.gmail.com>
Date:	Tue, 19 Oct 2010 12:48:16 +0300
From:	Pavlos Vinieratos <pvinis@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: bind a usb device to a driver

hello.

I am writing a usb device driver. I have written most of the driver,
and I have tried with the usb-skeleton with my product and vendor id,
to insmod the driver and then unbind the device from usbhid and bind
it to my driver. I use echo -n "3-2:1.0" > /sys/bus/usb/...../unbind
and bind. It unbinds, but the binding fails. echo says there is no
such device..
I tried blacklisting the hid_sony that gets loaded. should I blacklist
hid as well? will I be able to use my mouse and keyboard then? I tried
making a rule in modprobe.d. nothing..
What should I do?

I then tried writing a user space driver, but after I set everything
up (configs, interfaces..) usb_interrupt_read always returns -110
(device busy)..

help?
thanks
--
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