erjiang / usbscale

Reads weight data from USB scales.
GNU General Public License v3.0
90 stars 22 forks source link

I would like to add a Dimo scale #8

Closed venerica closed 8 years ago

venerica commented 10 years ago

I just dimo scale the way that you said but it tell me No USB scale found on this computer. dmesg shows [ 3.679667] usb 1-1.2.4: new full-speed USB device number 6 using dwc_otg [
3.793881] usb 1-1.2.4: New USB device found, idVendor=0922, idProduct=8009 [ 3.802523] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3.812847] usb 1-1.2.4: Product: S250 250 lb Portable Digital Shipping Scale [ 3.821530] usb 1-1.2.4: Manufacturer: DYMO [ 3.827167] usb 1-1.2.4: SerialNumber: 0000000055430 [ 3.868529] hid-generic 0003:0922:8009.0001: hiddev0,hidraw0: USB HID v1.01 Device [DYMO S250 250 lb Portable Digital Shipping Scale] on usb-bcm2708_usb-1.2.4/input0

and

./usbscale shows

Error in USB transfer

erjiang commented 10 years ago

After adding the correct USB id to the scales.h file, can you try running usbscale as root? There is a chance it's caused by incorrect permissions.

venerica commented 10 years ago

The same error.

On March 28, 2014 11:55:34 PM EDT, erjiang notifications@github.com wrote:

After adding the correct USB id to the scales.h file, can you try running usbscale as root? There is a chance it's caused by incorrect permissions.


Reply to this email directly or view it on GitHub: https://github.com/erjiang/usbscale/issues/8#issuecomment-38986132

Sent from my Android device with K-9 Mail. Please excuse my brevity.

venerica commented 10 years ago

I have tried with one of the other scale that you have there and works perfectly, so I got this DIMO usb to try it, and thats the error it shows, thank you.

After adding the correct USB id to the scales.h file, can you try running usbscale as root? There is a chance it's caused by incorrect permissions.


Reply to this email directly or view it on GitHub:

https://github.com/erjiang/usbscale/issues/8#issuecomment-38986132

Luis Gordones

Like Us www.facebook.com/Venemeats office: 416-623-7878 cell: 416-414-8769 www.venericameats.com sales@venericameats.com 3348 Dundas St west. Toronto, Ont.

erjiang commented 10 years ago

Can you also try with the Perl version and see what happens? You'll have to edit the script to change hidraw4 to whichever is the hidraw device when you plug in your scale. (It may have to be run as root because it accesses /dev/hidrawX directly).

sanmai commented 8 years ago

@venerica please try again with the current master

erjiang commented 8 years ago

Closing this issue due to inactivity.