LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-26-2012, 05:01 AM   #31
w0lf
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Rep: Reputation: Disabled
Question Kaw-410 usb


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.
 
Old 01-02-2013, 04:39 PM   #32
krizzz
Member
 
Registered: Oct 2004
Location: NY
Distribution: Slackware
Posts: 200

Rep: Reputation: 30
Try this from the terminal:
Code:
ls -l /dev/usb/hiddev*
And post results

Also, before "reading values" you should be getting the name of your scale displayed.

Last edited by krizzz; 01-02-2013 at 04:41 PM.
 
Old 01-03-2013, 01:25 AM   #33
w0lf
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Rep: Reputation: Disabled
Post Kaw-410 usb

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".

(sorry for my english, i'm french user ..)
 
Old 01-03-2013, 04:38 PM   #34
krizzz
Member
 
Registered: Oct 2004
Location: NY
Distribution: Slackware
Posts: 200

Rep: Reputation: 30
No worries, I'm not a native English speaker either. You should try to confirm that the scale is actually generating values by doing this:
Code:
cat /dev/usb/hiddev0 > testing.bin
Press CTRL+C to interrupt it.
Make sure that the scale is turned on and weighting something while you do that.

Then view the file with your favorite editor to see if anything was saved, there should be a whole bunch of random looking characters.
Code:
vi testing.bin

Last edited by krizzz; 01-03-2013 at 04:39 PM.
 
Old 01-07-2013, 12:42 PM   #35
w0lf
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Rep: Reputation: Disabled
Unhappy Test fails ...

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

What's happen ?

Last edited by w0lf; 01-07-2013 at 02:04 PM.
 
Old 01-10-2013, 12:14 PM   #36
krizzz
Member
 
Registered: Oct 2004
Location: NY
Distribution: Slackware
Posts: 200

Rep: Reputation: 30
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.
 
Old 01-16-2013, 04:32 AM   #37
w0lf
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Rep: Reputation: Disabled
Bad news

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 ?
 
Old 01-24-2013, 12:37 PM   #38
krizzz
Member
 
Registered: Oct 2004
Location: NY
Distribution: Slackware
Posts: 200

Rep: Reputation: 30
Does the scale work on windows? Do you have a windows software for it?
 
Old 01-24-2013, 04:17 PM   #39
w0lf
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Rep: Reputation: Disabled
Hi.
Ya, the scale works on Windows XP/7 and i have a specific software on a CDROM : "Body Scale" (the EXE name is FatScaleUsb.exe)
 
Old 02-11-2013, 02:09 AM   #40
w0lf
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Rep: Reputation: Disabled
up :]

Have-you a model name with real-time display results on the Computer ?
i can't find model on web with this feature !!!
 
Old 03-08-2013, 03:45 AM   #41
w0lf
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Rep: Reputation: Disabled
.. up ?!
Can you gives me some usb scales supported by your program ?
 
  


Reply

Tags
electronic, joystick, kde, mouse, qemu, radio, source, usb, windows



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mplayer: picture does not scale bamsesbilledbog Linux - Software 5 11-19-2012 01:38 PM
glade and scale widgets johnson_steve Programming 10 03-15-2006 03:29 PM
Large Scale porting lucky6969b Programming 2 01-26-2006 09:32 PM
scale sundaresh Linux - General 1 11-14-2005 03:15 PM
Crop/scale pdfs S.B. Linux - Software 1 03-16-2005 11:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration