[erlang-questions] any usb lib for Erlang

Benoit Chesneau <>
Sat Sep 28 13:30:38 CEST 2013


On Sat, Sep 28, 2013 at 12:53 PM, Tony Rogvall <> wrote:

> Hi!
>
> Sadly enough the libusb do not (did not at the time) support plug an play,
> this must be handled by some
> other type of application. I did solve it for serial usb devices by using
> fnotify (github.com/Feuerlabs/fnotify)
> code found in (github.com/tonyrog/uart/src/uart_devices.erl)
>

smart! Sounds like a good idea.

>
> Please hint to the list (or to me) if you find some nice plug and play api
> that is multi platform.
> (I have use for it in an other project github.com/tonyrog/hid )
>

Yup still looking at it. there are probably some system libs that does it.
Odd enough most low level libs in erlang are outdated and done for most 4-5
years ago....

>
> Thanks
>
> /Tony
>
> On 28 sep 2013, at 09:48, Benoit Chesneau <> wrote:
>
> Hi all,
>
> I am looking for a USB library for Erlang that would allow me to detect
> the insertion of usb devices like any wifi/bt dongles or hard disks. Is
> there ay more recent lib than this one ?
>
> https://github.com/tonyrog/libusb
>
>
> - benoit
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
>  "Installing applications can lead to corruption over time. Applications
> gradually write over each other's libraries, partial upgrades occur, user
> and system errors happen, and minute changes may be unnoticeable and
> difficult to fix"
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130928/a4411df5/attachment.html>


More information about the erlang-questions mailing list