* Writing a USB driver for a non working device
@ 2011-10-11 15:42 madav maddy
2011-10-12 4:54 ` Peter Teoh
0 siblings, 1 reply; 2+ messages in thread
From: madav maddy @ 2011-10-11 15:42 UTC (permalink / raw)
To: kernelnewbies
Hi,
I am newbie. For the better understanding of the USB, i have decided write a
USB driver for the device for which it works in windows but not in linux. So
i have picked the Logitech USB headset.
The background i have is ,i have studied the ldd usb drivers and written few
dummy USB driver.
Before i start implementing, i made some basic study
- on connecting the device to my Ubuntu desktop, lsusb shows
* Bus 002 Device 065: ID 046d:0a01 Logitech, Inc. USB Headset*
on issuing dmesg.
[550289.589037] usb 2-1.6: new full speed USB device using ehci_hcd and
address 66
- so i believe there should be some driver already existing, is my
understanding right?
- if not, where can i start for implementing a new driver of my own?
I think i need start doing some reverse engineering on windows using
some usb logging tool, for the understanding of working of the device
Thanks,
Madav Raman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111011/e64aa33d/attachment.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Writing a USB driver for a non working device
2011-10-11 15:42 Writing a USB driver for a non working device madav maddy
@ 2011-10-12 4:54 ` Peter Teoh
0 siblings, 0 replies; 2+ messages in thread
From: Peter Teoh @ 2011-10-12 4:54 UTC (permalink / raw)
To: kernelnewbies
On Tue, Oct 11, 2011 at 11:42 PM, madav maddy <maddy.mdv007@gmail.com> wrote:
> Hi,
> I am newbie. For the better understanding of the USB, i have decided write a
> USB driver for the device for which it works in windows but not in linux.?So
> i have picked the Logitech USB headset.
> The background i have is ,i have studied the ldd usb drivers and written few
> dummy USB driver.
> Before i start implementing, i made some basic study
> - on connecting the device to my Ubuntu desktop, lsusb shows
> ? ? ?Bus 002 Device 065: ID 046d:0a01 Logitech, Inc. USB Headset
> on issuing dmesg.
> ? ?[550289.589037] usb 2-1.6: new full speed USB device using ehci_hcd and
> address 66
That is the vendor/product ID: 046d:0a01
And then normally u will use userspace USB API to open/read the device:
http://www.libusb.org/
libusb.sourceforge.net/doc/
>
> - so i believe there should be some driver already existing, is my
> understanding right?
> - if not, where can i start for implementing a new driver of my own?
> ? ? ? I think i need ?start doing some reverse engineering on windows using
> some usb logging tool, for the understanding of working of the device
>
> Thanks,
> Madav Raman
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
--
Regards,
Peter Teoh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-12 4:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-11 15:42 Writing a USB driver for a non working device madav maddy
2011-10-12 4:54 ` Peter Teoh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).