Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
There is less than 24 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm trying to connect my USB scale on my Ubuntu 12.04 but i have some problems.
I will explain step by step my procedure*:
- open a terminal
- connect the scale
- in terminal*: lsusb*: Bus 002 Device 005: ID 0fff:0001 Aopen, Inc.*: good news
- compile and run the C program on post 5*: the compilation works and the program said*: «*reading values*»*: good news
- when i had put the scale on my computer, the LCD display «*LOAD*» …
- i have try to put myself on the scale but the program had any reactions …
The scale model is KAW-410 USB and my aim is just to keep the results in a file txt.
Thanks for your answer !
i have not the USB scale at this time.
But i remember when i connect the scale and run the program, i could see the name of the USB scale before "reading values".
In memory, the result of "ls -l /dev/usb/hiddev*" is "hiddev0".
i have tryed the commands into last post but the test fails i think.
After typing command-line : sudo cat /dev/usb/hiddev0 >testing_scale.bin, i try to put myself on the scale but not reaction with the Scale (the LCD displays "LOAD") ...
After, i interrupted the process with Ctrl+C and see the content of the file testing_scale.bin with vi editor.
It's an empty file ...
When i type dmesg command-line, i can see this model :
[ 4174.544035] usb 6-2: new low-speed USB device number 2 using uhci_hcd
[ 4174.737490] generic-usb 0003:0FFF:0001.0003: hiddev0,hidraw2: USB HID v1.00 Device [SONiX Transtek-Scale v3] on usb-0000:00:1d.0-2/input0
It almost looks to me like you need to send something to your scale in order to initialize it. You will have to use some USB sniffing software on Windows to check if the driver sends something to the scale. It should not be too difficult with the right software.
Here is a free one : http://usbsnoop.sourceforge.net/
Let us know how it went.
I have tryed some softs to snif USB port ..
USBSnoop has some problems to display interface. When i run the program, the interface alway blinking ... i have tried xp-compatibilty mode but nothing change ...
I tried 2 others softs : usblyzer and an other.
I can seen datas (HEXA datas) when i put the scale into the USB port. But, when i try to put myself on the scale, no reaction, no logs ...
I think, the USB-scale can't communicate in live with the OS ..
I googled to find a USB Scale with usb live communication but i don't find any model. I find usb postal-scale only !
Have you some models of USB weighing scale ?