Comments (19)
Hi Eriberto,
I'm a little confused. Do you have a link for "1130:660C model (ID 1130:660c Tenx Technology, Inc. Foot Pedal/Thermometer / USB HID v1.10 Device"?
The link at the bottom of your issue, (http://www.dx.com/p/usb-powered-c-f-thermometer-40-120-c-48285) is for a standard TEMPer thermometer, which is definitely supported. I'm using one!
Cheers,
James
from temper-python.
Hi,
The same link. My thermometer is the shown in photo (I bought this in
DX.com). Is a 1130:6660c.
Thanks!
Eriberto
2014-10-03 19:07 GMT-03:00 James Stewart [email protected]:
Hi Eriberto,
I'm a little confused. Do you have a link for "1130:660C model (ID
1130:660c Tenx Technology, Inc. Foot Pedal/Thermometer / USB HID v1.10
Device"?The link at the bottom of your issue, (
http://www.dx.com/p/usb-powered-c-f-thermometer-40-120-c-48285) is for a
standard TEMPer thermometer, which is definitely supported. I'm using one!Cheers,
James—
Reply to this email directly or view it on GitHub
#20 (comment).
from temper-python.
Can you post the output of dmesg
after you plug in your device?
Here's the dmesg output after plugging in my TEMPer:
[125755.348125] usb 2-2: new low-speed USB device number 2 using uhci_hcd
[125755.524168] usb 2-2: New USB device found, idVendor=0c45, idProduct=7401
[125755.524187] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[125755.524200] usb 2-2: Product: TEMPerV1.4
[125755.524210] usb 2-2: Manufacturer: RDing
[125755.641015] input: RDing TEMPerV1.4 as /devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/input/input13
[125755.641744] generic-usb 0003:0C45:7401.0001: input,hidraw0: USB HID v1.10 Keyboard [RDing TEMPerV1.4] on usb-0000:00:1d.0-2/input0
[125755.659952] generic-usb 0003:0C45:7401.0002: hiddev0,hidraw1: USB HID v1.10 Device [RDing TEMPerV1.4] on usb-0000:00:1d.0-2/input1
[125755.660097] usbcore: registered new interface driver usbhid
[125755.660105] usbhid: USB HID core driver
from temper-python.
Thanks for your reply.
Note that your device is 0c45:7401, not a 1130:660c.
My dmesg:
[ 463.164427] usb 2-1.1: new low-speed USB device number 5 using ehci_hcd
[ 463.294414] usb 2-1.1: New USB device found, idVendor=1130,
idProduct=660c
[ 463.294419] usb 2-1.1: New USB device strings: Mfr=0, Product=2,
SerialNumber=0
[ 463.294422] usb 2-1.1: Product: PCsensor Temper
[ 463.314501] input: PCsensor Temper as
/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/input/input9
[ 463.314807] generic-usb 0003:1130:660C.0006: input,hidraw5: USB HID
v1.10 Keyboard [ PCsensor Temper] on usb-0000:00:1d.0-1.1/input0
[ 463.327717] input: PCsensor Temper as
/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.1/input/input10
[ 463.327950] generic-usb 0003:1130:660C.0007: input,hidraw6: USB HID
v1.10 Device [ PCsensor Temper] on usb-0000:00:1d.0-1.1/input1
Cheers,
Eriberto
from temper-python.
Yep, the different Vendor and Product IDs definitely mean that temper-python
won't discover your device at the moment.
This may be easy to fix... I'll create a branch and let you know when it's ready to test.
from temper-python.
Hum... Good!
Thanks! I liked your program because it has a configuration file. Do you
need some extra info?
Eriberto
2014-10-08 21:24 GMT-03:00 James Stewart [email protected]:
Yep, the different Vendor and Product IDs definitely mean that
temper-python won't discover your device at the moment.This may be easy to fix... I'll create a branch and let you know when it's
ready to test.—
Reply to this email directly or view it on GitHub
#20 (comment).
from temper-python.
Alright, can you check if your device is detected using my fork?
pip install git+git://github.com/amorphic/temper-python.git
from temper-python.
Hi! Thanks again for your quick reply.
Detected, but I got these errors:
temper-poll -c
Found 1 devices
No handlers could be found for logger "temperusb.temper"
Traceback (most recent call last):
File "/usr/local/bin/temper-poll", line 9, in
load_entry_point('temperusb==1.2.1', 'console_scripts', 'temper-poll')()
File
"/usr/local/lib/python2.7/dist-packages/temperusb-1.2.1-py2.7.egg/temperusb/cli.py",
line 50, in main
'temperature_c': dev.get_temperature(),
File
"/usr/local/lib/python2.7/dist-packages/temperusb-1.2.1-py2.7.egg/temperusb/temper.py",
line 153, in get_temperature
self._interrupt_read()
File
"/usr/local/lib/python2.7/dist-packages/temperusb-1.2.1-py2.7.egg/temperusb/temper.py",
line 197, in _interrupt_read
data = self._device.read(ENDPOINT, REQ_INT_LEN, interface=INTERFACE,
timeout=TIMEOUT)
File
"/usr/local/lib/python2.7/dist-packages/pyusb-1.0.0b1-py2.7.egg/usb/core.py",
line 670, in read
self.__get_timeout(timeout)
File
"/usr/local/lib/python2.7/dist-packages/pyusb-1.0.0b1-py2.7.egg/usb/backend/libusb1.py",
line 798, in intr_read
timeout)
File
"/usr/local/lib/python2.7/dist-packages/pyusb-1.0.0b1-py2.7.egg/usb/backend/libusb1.py",
line 889, in __read
_check(retval)
File
"/usr/local/lib/python2.7/dist-packages/pyusb-1.0.0b1-py2.7.egg/usb/backend/libusb1.py",
line 571, in _check
raise USBError(_str_error[ret], ret, _libusb_errno[ret])
usb.core.USBError: [Errno 5] Input/output error
Cheers,
Eriberto
2014-10-09 8:15 GMT-03:00 James Stewart [email protected]:
Alright, can you check if your device is detected using my fork
https://github.com/amorphic/temper-python?pip install git+git://github.com/amorphic/temper-python.git
—
Reply to this email directly or view it on GitHub
#20 (comment).
from temper-python.
Alas... it looks like it's a completely different chipset then. :(
from temper-python.
Yes, the interaction with the device most likely must be different. Without documentation or a lot of logged interaction with the reference driver/application, there is nothing we can do.
If you can come up with any of this or even some working code, it would be useful to reopen this issue.
For now, I'll close it. Sorry @eribertomota !
from temper-python.
Can I help or nothing to do?
The thermometer works fine using this code:
http://www.relavak.com/downloads/temper-1.0.tgz
More details here:
http://relavak.wordpress.com/2009/10/17/temper-temperature-sensor-linux-driver/
2014-10-09 9:46 GMT-03:00 James Stewart [email protected]:
Alas... it looks like it's a completely different chipset then. :(
—
Reply to this email directly or view it on GitHub
#20 (comment).
from temper-python.
This code worked fine and can be used as reference.
https://github.com/kiloforce/PyTEMPer
2014-10-09 9:50 GMT-03:00 Philipp [email protected]:
—
Reply to this email directly or view it on GitHub
#20 (comment).
from temper-python.
Hmm... as I suspected:
This driver is for the device I got in the mail called the TEMPer. It seems that over time the manufacturer has put lots of different products in the market with the same name and very close to the same name all with different underlying implementations.
If your device works with relevak's driver then it should be possible to extract the relevant commands from that code and add them to temper-python. How's your Python? ;)
I might order one from DX and see what turns up. But that'll take a while...
from temper-python.
Great to hear there is a reference! Should be no big thing to transfer the interaction patterns. Hope someone steps up to implement it!
from temper-python.
James and Philipp,
I am confuse now... Do you intend to implement the 1130:660c as an
additional option in your source code?
Cheers,
Eriberto
2014-10-09 10:32 GMT-03:00 Philipp [email protected]:
—
Reply to this email directly or view it on GitHub
#20 (comment).
from temper-python.
Would love to if I find time. Lacking exactly that - please don't wait for it in the near future. :-/
from temper-python.
Ok! Thanks.
Eriberto
2014-10-09 11:36 GMT-03:00 Philipp [email protected]:
Would love to if I find time. Lacking exactly that - please don't wait for
it in the near future. :-/—
Reply to this email directly or view it on GitHub
#20 (comment).
from temper-python.
Eriberto - I'd really like to implement it. I'm also pretty short on time but I don't think it would be too difficult.
The only issue is testing. That device is sold out on dx.com and even if it were available to buy, it seems that it's a bit of a lottery which chipset you get when you buy a TEMPer...;).
All I can do is to try making some changes on my branch and then giving them to you to test. Then rinse and repeat. It'll be a slow process but we might get there in the end.
from temper-python.
Thanks a lot for your attention.
My real intent is have a dual version (for both thermometers), in Python,
with a conf file, and upload it to Debian.
Have a nice day!
Cheers,
Eriberto
2014-10-09 18:43 GMT-03:00 James Stewart [email protected]:
Eriberto - I'd really like to implement it. I'm also pretty short on time
but I don't think it would be too difficult.The only issue is testing. That device is sold out on dx.com and even if
it were available to buy, it seems that it's a bit of a lottery which
chipset you get when you buy a TEMPer...;).All I can do is to try making some changes on my branch and then giving
them to you to test. Then rinse and repeat. It'll be a slow process but we
might get there in the end.—
Reply to this email directly or view it on GitHub
#20 (comment).
from temper-python.
Related Issues (20)
- syntax error on debian buster HOT 7
- Use of Python 3.6 syntax HOT 3
- Update documentation to require Python 3.6+
- ID 0c45:7401 Temperature reading incorrect (TEMPer2V1.4) HOT 2
- New device addition HOT 2
- New release possible? HOT 6
- support for TEMPer2V1.3 request HOT 18
- Pylint? HOT 1
- Sorry, not an issue - adding V1.1 support HOT 4
- Support for TEMPerHumiV1.0 HOT 1
- Port number display is not entirely useful since it isn't guaranteed to be unique HOT 1
- Tag the source HOT 1
- Support for TEMPerGold (1a86:e025) HOT 13
- TEMPer2 not detecting devices HOT 21
- Support for TEMPerGold (3553:a001) HOT 6
- Please do a release with all the fixes from the last 2 years HOT 14
- Support for TEMPerX232 (1a86:5523)
- 0c45:7402 Temperature reading incorrect HOT 15
- No output from temper.py, but no error. HOT 1
- Suggested architecture improvement for supporting new sensors HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from temper-python.