Comments (19)
ok, found the way at hidapi/README
Original comment by [email protected]
on 11 Sep 2011 at 3:27
from open-zwave.
i am having the same issue. I am running 2.6.16. I couldnt find anything in
hipapi/README to avoid hidraw usage. Can you help me?
Original comment by [email protected]
on 21 Sep 2011 at 12:41
from open-zwave.
[deleted comment]
from open-zwave.
Correct path is cpp/hidapi/linux/README.TXT
Try to change hid.c to hid-libusb.c in the main Makefile (cpp/build/linux).
Which device you are trying to compile that for?
Original comment by [email protected]
on 21 Sep 2011 at 3:01
from open-zwave.
Linux 2.6.16 is over *six* years old. Even if we were to fix the library to
avoid hid usage, which is entirely possible, this is an ancient kernel. Please
use a modern system.
Original comment by [email protected]
on 21 Sep 2011 at 3:49
from open-zwave.
In some cases this is not possible, unfortunately.
My router's firmware uses this old version of linux since new version doesn't
work with WiFi driver and sources of that driver are closed.
Original comment by [email protected]
on 21 Sep 2011 at 3:58
from open-zwave.
You are trying to have it both ways. If you use old vendor-supplied firmware,
you are going to have problems. I can say that from multiple first-hand
experience. Asking the openzwave developers to support your ancient system is
a bit silly.
So, you have a couple of choices:
* Use a modern embedded distro (e.g, OpenWrt)
* Use better hardware with a fully open system
* Update openzwave yourself to not required support of those modern parts, and
send some patches. But you are likely to run into other issues still.
If you really need to do the last option, it should be a simple matter of
#ifdefs and makefile flags.
Original comment by [email protected]
on 21 Sep 2011 at 7:03
from open-zwave.
and7ey did you ever get this sorted out? I'm trying to get open-zwave running
on an ASUS RT-N16 with DD-WRT running kernel 2.6.24.111.
Original comment by [email protected]
on 14 Jan 2013 at 6:38
from open-zwave.
calebeskurdal, unfortunately, no. I had to use z-connector instead.
Original comment by [email protected]
on 15 Jan 2013 at 4:27
from open-zwave.
[deleted comment]
from open-zwave.
Hello all,
I am having some troubles with the way hidController.cpp is implemented.
First thing the vendorId and productId are hard coded for a specific controller
from a specific vendor if you want to use usblib with another product from a
different vendor then you have to modify the reference provided in
hidcontroller.cpp file.
Logically those vendorId productId should come from a list of recognized
controller and compared with listed device returned by udev.
Then the hid means Human Input Device ! normally usb device attached to hidraw
are keyboard mouse, drawing tablets etc.. in short what allows the use to
interact with a computer.
So why should a z-wave modem static controller be identified by udev as a
device that would be depending on HID and attached to hidraw?
For instance udev on my arch linux (lastest kernel /udev from 1 day ago update)
the Z-Wave controller I use is referenced as a Communicator device type not as
a Human Interface Device device type. So it is attached to the usb tree and not
to the hid tree in udev.
I agree that having this usbcontroller is a great thing, but it should be more
flexible and allow auto detection of hardware like it is intended to do.
Original comment by [email protected]
on 27 Feb 2015 at 6:23
from open-zwave.
The HIDController code is for Controllers that implement the HID instead of
Serial interface. There were several older controllers that do this, but I've
not seen any recent controllers use it.
It defaults to the only HID controller that was released (TrickleStar) but is
modifiable via the ManagerAPI Class, so its not "Hardcoded" just defaulted.
Since you controller is using the Communication class then use the Serial API.
Your assumptions about its capabilities are incorrect. :)
If you are using a USB controller that emulates the Serial interface
(/dev/ttyUSB* etc) then you should be using the Serial Interface instead (the
default).
Original comment by [email protected]
on 2 Mar 2015 at 1:41
from open-zwave.
[deleted comment]
from open-zwave.
Justin thank you for your reply.
The goal of HId interface in openzwave is more clear now.
Ofcourse ideally I would like to get the openzwave library talking to udev to
auto detect the zwave controller and retrieve the port that the library should
use.
but it s alot of work for something that will eventually work.
While letting the user seek and provide the communication port to use in openzwave library will always work.
Original comment by [email protected]
on 2 Mar 2015 at 3:50
from open-zwave.
No need to get so complicated. Just create a udev rule that maps your
Controller to a static device node. (/dev/zwave for example)
Something like this:
ACTION=="remove", GOTO="zwave_controller"
SUBSYSTEM=="usb-serial" ATTRS{idVendor}=="XXXX" ATTRS{idProduct}=="XXXX"
SYMLINK+="zwave"
LABEL="zwave_controller"
You probably have to modify the ATTRS entries to match your ZWave Controller,
or add different attributes, but the concept is the same.
Original comment by [email protected]
on 3 Mar 2015 at 2:47
from open-zwave.
[deleted comment]
from open-zwave.
Hi justin, I ended doing exactly this. if my symlink udev port doesn t exists
and the udev rule file doesn t exists then I create it with the proper idVendor
and idProduct match for my zwave controller.
you can retreive idVendor and idProduct with udevadm info -a -n /dev/ttyUSB0 |
grep idProduct or idVendor.
Thank you again.
Original comment by [email protected]
on 12 Mar 2015 at 3:46
from open-zwave.
This is going away soon.
from open-zwave.
This is optional already
from open-zwave.
Related Issues (20)
- Missing power values from smartplugs since upgrade to 1.6
- error while compiling the example of openzwave
- Error relating to serial port while compiling the code of openzwave HOT 2
- Push refused for new config... HOT 1
- Add New Aeotec Manufacturer ID 0x371 for ZWA006-C Smart Boost Timer Switch
- Build errors at AssociationCommandConfiguration.cpp HOT 5
- Fibaro Button (FGPB-101) Problems HOT 1
- Problem with the Manager::GetValueListValues method
- Compilation errors : overrides a member function but is not marked 'override' HOT 1
- manufacterer_specific.xml --> new
- Doesn't compile on Windows
- Contributing XML file for unknown Neo NAS-pd07z multisensor
- FIBARO Walli Dimmer config 41/42 max value too low
- Where is the master branch to clone with git HOT 1
- On install HOT 1
- Set Values are not getting refreshed after commit 0c82d4b0831b197c88c56e75270c423c9eee24cb HOT 1
- Wrong name in manufacturer_specification.xml for Fibaro FGCD001
- Web site with documentation is not accessible HOT 5
- switch multilevel duration problem
- This project is no longer actively maintained HOT 3
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 open-zwave.