I am looking for some advice on how to pass the location of a usb device to a plugin that will use data from it.
The device is a USB TEMPer sensor. and the plugin is
here I have read that it is commonly found under /dev/ttyUSB0, It doesnt seem to be showing up in that location under my system. I am running Fedora 12..
When I run lsusb, this is the output
[root@9850x4 ~]# lsusb
Bus 001 Device 010: ID 1130:660c Tenx Technology, Inc.
Bus 001 Device 009: ID 046d:0a13 Logitech, Inc.
Bus 001 Device 002: ID 0424:2513 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2513 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 1532:0007 Razer USA, Ltd DeathAdder Mouse
[root@9850x4 ~]#
I know that “Bus 001 Device 010: ID 1130:660c Tenx Technology, Inc.” is the proper device.
when i run dmesg this is some of the output,
usb 1-2.3: new low speed USB device using ehci_hcd and address 8
usb 1-2.3: New USB device found, idVendor=1130, idProduct=660c
usb 1-2.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
usb 1-2.3: Product: PCsensor Temper
usb 1-2.3: configuration #1 chosen from 1 choice
input: PCsensor Temper as /devices/pci0000:00/0000:00:12.2/usb1/1-2/1-2.3/1-2.3:1.0/input/input13
generic-usb 0003:1130:660C.0009: input,hidraw2: USB HID v1.10 Keyboard [ PCsensor Temper] on usb-0000:00:12.2-2.3/input0
input: PCsensor Temper as /devices/pci0000:00/0000:00:12.2/usb1/1-2/1-2.3/1-2.3:1.1/input/input14
generic-usb 0003:1130:660C.000A: input,hidraw3: USB HID v1.10 Device [ PCsensor Temper] on usb-0000:00:12.2-2.3/input1
The nearest place that i can find where this USB TEMPer is being mountd is /dev/bus/usb/001/010 . Am i missing a step to mount the device?
the usage for the plugin that reads the temperature is
Usage: check_temper [device] [warning] [critical]
I just need help finding where the device lives so the plugin can read it!
when i pass /dev/bus/usb/001 as the device, It defintly doesnt work as this is the output i get.
[root@9850x4 Downloads]# ./check_temper /dev/bus/usb/001/010 40 55
ioctl: Inappropriate ioctl for device