[Sussex] Implementing a custom USB device with Linux host

David Morris dave at greenacre.no-ip.com
Thu Jun 25 21:37:11 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Steve Dobson wrote:
> Hi George
> 
> George Chamberlayne wrote:
>> I have designed/built a custom USB peripheral composite device for a
>> customer.
> 
>> The device implements a HID mouse and CDC 'serial port' in a custom USB
>> peripheral device with just one USB interface cable.
> 
>> This device works OK with a windows XP host PC.
> 
>> I'm after some help or info for getting this USB device to enumerate and
>> work with Ubuntu Linux.
> 
> If you are looking for professional help contact me off list.
> 
> If your just looking for a poke in the right direction then the correct
> way of doing this would be to use the userland USB library (libusb)
> which can talk to your drive via the appropriate kernel module.  I've
> been using this to interface with my Velleman K8055 interface board
> which also has a USB interface.  Works well - no problems.
> 
> Steve


Just to echo what Steve said, libusb is the way to go.  You may also
want to create a udev rule, to change the permissions on the device when
it's plugged in, if you wish to restrict/modify the defaults.

Dave
__
Sussex mailing list
Sussex at mailman.lug.org.uk
E-mail Address: sussex at mailman.lug.org.uk
Sussex LUG Website: http://www.sussex.lug.org.uk/
https://mailman.lug.org.uk/mailman/listinfo/sussex

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEUEARECAAYFAkpD780ACgkQOtqu4mrzwoupagCdF6bEN+BCkrU6UJ8AM0zfvUA2
6UUAmK/XzCUT5O81obawlmSaFsR09yU=
=tbMD
-----END PGP SIGNATURE-----



More information about the Sussex mailing list