Skip to contentSkip to conversation

Developing a Linux driver using a USB sniffer

DISCUSSION Luca Ellero 5 participants 6 messages May 5, 2014 – May 6, 2014

lore
Share & tools
lore
#0 lore raw

Hi all,
can someone please tell me if it is legal to develop an USB driver analysing the USB protocol with a USB sniffer?
Can this driver be made public under GPL?
Thanks
Regards
Luca Ellero

#1 lore raw
Quoted 8 lines · Luca Ellero

Hi all,
can someone please tell me if it is legal to develop an USB driver analysing the USB protocol with a USB sniffer?
Can this driver be made public under GPL?
Thanks
Regards
Luca Ellero

Hi Luca,
I think your question is really interesting. In my opinion, it depends on the country where you live. If it's illegal in your country, it is for you but not for other people. Laws may drastically vary depending continents and countries.
Cheers

T.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140505/de1e2617/attachment.bin

#2 lore raw
In reply to Luca Ellero
Quoted 4 lines · Luca Ellero

Hi all,
can someone please tell me if it is legal to develop an USB driver analysing the USB protocol with a USB sniffer?
Can this driver be made public under GPL?

Would you ask a doctor for legal advice? If not, why ask a programmer? If you have legal questions, ask a lawyer in your country, they are the only ones that can give you a definitive answer.

good luck,

greg k-h

#3 lore raw
In reply to Luca Ellero

Hi Luca,

Quoted 5 lines · Luca Ellero

Hi all,
can someone please tell me if it is legal to develop an USB driver analysing the USB protocol with a USB sniffer?
Can this driver be made public under GPL?

Just though I'd point out that WireShark http://www.wireshark.org/ already has usb sniffing builtin http://wiki.wireshark.org/CaptureSetup/USB It uses the usbmon which is already part of the kernel
https://www.kernel.org/doc/Documentation/usb/usbmon.txt

--
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140505/9ab5410c/attachment.html

#4 lore raw
Quoted 16 lines · Dave Hylands

Hi Luca,

Quoted 5 lines · On Mon, May 5, 2014 at 5:06 AM, Luca Ellero <[email protected]…

Hi all,
can someone please tell me if it is legal to develop an USB driver analysing the USB protocol with a USB sniffer?
Can this driver be made public under GPL?

Just though I'd point out that WireShark http://www.wireshark.org/
already has usb sniffing builtin
http://wiki.wireshark.org/CaptureSetup/USB It uses the usbmon which is already part of the kernel
https://www.kernel.org/doc/Documentation/usb/usbmon.txt

Quoted 4 lines

--
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com

Thanks to all for the replies ,
regards
Luca

#5 lore raw
In reply to Luca Ellero

Yes to all of that. But IANAL. You cannot MARKET a DEVICE without paying The Man, as it were. But as far as I know, but aren't coming for the driver writers..yet.

Quoted 8 lines · Luca Ellero

Hi all,
can someone please tell me if it is legal to develop an USB driver analysing the USB protocol with a USB sniffer?
Can this driver be made public under GPL?
Thanks
Regards
Luca Ellero

Quoted 5 lines

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140506/283cb8ff/attachment.html