Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all.
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.
Hi,
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".
Hi.
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.
Hi.
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 ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.