Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6672409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:30:17+00:00 2026-05-26T03:30:17+00:00

I have a feature request on a project I work on, it is to

  • 0

I have a feature request on a project I work on, it is to integrate with a Paylife CC handheld, which has a USB connector to connect with the computer. I have the docs, and am reading up on it.

When I searched on google how to read/write to a usb device on linux, it said, use libusb.

I was wondering, is there another possibility? Can’t I just open it like a file and write a stream to it, and read a stream from it?

I don’t actually need to do anything fancy. I just need to write a string of control codes to the device, and it would be mildly nice to read back the ACK and Error codes. But since those are already displayed on the device screen, I don’t have to do much with it, just deliver the total required for payment.

So my question is, what are my options?

The connected computer is a regular ol ubuntu linux box.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T03:30:18+00:00Added an answer on May 26, 2026 at 3:30 am

    It is definitely possible when the device complies with one of the USB device classes — drivers for them are universal.

    If that’s not the case, then you may stick with a manufacturer-provided or a third-party driver, given there is one and you possess enough of it’s documentation.

    If that’s also not the case, libusb-1.0 is your resort, unless you want to write a kernel driver youself 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a feature which allows the user to create projects and view it
I have a feature of my application which depends on alternate-click. Windows users don't
Does Eclipse have a feature that lets you search a project to find all
We have an existing Traceability Matrix in Excel that has columns like: Project Business
I have a design idea for a large project at work and I think
The project, I have involved, has an architecture-oriented project's file/folder structure: Root |____ Node1
I am currently working on a project which has to use WebSockets as a
When I have a feature request on a library in github, I would either
I have a freelance web application project where the client requests new features every
I have a feature in my product that I would like to be installed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.