Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.
This repository was archived by the owner on Jul 3, 2020. It is now read-only.

More Hardware Devices #137

Open
Open

Description

@RossComputerGuy

Is there a way to access these devices:

  • bluetooth
  • usb
  • speakers
  • headphones
  • printers

Activity

  1. piranna commented on Dec 13, 2016

    @piranna

    Is there a way to access these devices:

    As Linus Tordvalds said, "Do you pine for the nice days of minix-1.1, when men were men and wrote their own device drivers?" ;-)

    By the way, from your list, speakers and headphones are the (almost?) the same from a driver/computer perspective, and probably the most simple ones to develop because on their most simple behaviour it's just a matter of read and write on some specific ports, specially for the internal speaker/buzzer (it was a college practice for me, but almost no computer have it these days).
    The other ones are probably too much complex to write a driver from scratch, specially the USB protocol. Printers were easy to program when they used a parallel port (the same thing: just poke some port address), but today all printers are USB and no computer have a parallel port these days. Maybe you could have some luck with a serial port and program its UART...

    Said that, there are bindings for Node.js for libusb library, but if you are into the mood of write a pure Javascript USB library (at least on a basic level, that's it, support a TTY-to-USB adapter so it can be connected to an Arduino board) then go for it :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions