Displaying 20 results from an estimated 111 matches for "hidraw".
2017 Mar 11
2
[nut-upsuser] Copeland Engineering Dockmaster
[moved to nut-upsdev while we figure out the protocol]
> On Mar 9, 2017, at 11:22 AM, Drew from Zhrodague <drewzhrodague at zhrodague.net> wrote:
>
> I'm able to cat /dev/usb/hiddev0 and /dev/hidraw0 - I pipe this through hexdump and I get different types of data from each:
>
>
> hiddev:
>
> 0002420 00a7 ffa0 00ff 0000 00a7 ffa0 00ff 0000
> 0002430 00a7 ffa0 00a3 0000 00a7 ffa0 0001 0000
> 0002440 00a6 ffa0 0080 0000 00a7 ffa0 0011 0000
> 0002450 00a7 ffa0 00bd 0000...
2019 Dec 09
2
new mobo, ups doesn't connect
...nt to talk to it, and the original name _(usbhid-ups)
> > doesn't work from new mobo. Oh wait, I can't spell. But that didn't
> > help, and a restart gets this error:
>
> ...
>
> > Dec 07 18:49:46 coyote upsd[3259]: Can't connect to UPS [myups]
> > (hidraw-myups): No such file or directory
>
> Hi Gene,
>
> Might be simpler to start with the contents of your /etc/nut/ups.conf
> file?
>
> Mine looks like this:
>
> [apc]
> driver = usbhid-ups
> port = auto # USB
>
> Yours should probably look similar:
>
> [...
2008 Dec 26
1
Advice Partner PRPC650 - no serial device
...USB*) is not detected. OS is Debian Lenny (same
behavior on Ubuntu Hardy).
Did anyone have any success with this UPS? Here is what my dmesg and
udevmonitor say (on Debian):
dmesg:
usb 2-3: new low speed USB device using ohci_hcd and address 10
usb 2-3: configuration #1 chosen from 1 choice
hiddev96hidraw0: USB HID v1.00 Device [POWERCOM CO., LTD. USB to
Serial] on usb-0000:00:0b.0-3
usb 2-3: New USB device found, idVendor=0d9f, idProduct=0002
usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-3: Product: USB to Serial
usb 2-3: Manufacturer: POWERCOM CO., LTD.
usbcore: registere...
2011 Jun 25
1
Belkin F6C1200-UNV on Ubuntu 11.04
...EL[1308961682.709674] add
/devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0/0003:050D:1100.0007 (hid)
KERNEL[1308961682.979776] add
/devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0/usb/hiddev0 (usb)
KERNEL[1308961682.979802] add
/devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0/0003:050D:1100.0007/hidraw/hidraw0
(hidraw)
However, the usb devices are created in root group and without read access
to nut group.
$ ls -l /dev/usb
crw------- 1 root root 180, 96 2011-06-24 20:43 hiddev0
Package information:
$ apt-cache showpkg nut
Package: nut
Versions:
2.6.0-1ubuntu3
(/var/lib/apt/lists/ubuntu.media.mi...
2019 Dec 09
1
new mobo, ups doesn't connect
On Dec 8, 2019, at 10:26 PM, Gene Heskett <gheskett at shentel.net> wrote:
> I put it back to original and restarted the nut-server. And its now
> working. Go figure...
>> [myups]
>> #driver=hidraw
>> driver=usbhid-ups
>> #driver=belkin
>> #driver=belkinunv
>> #driver=genericups
>> port=auto
>> offdelay=120
>> ondelay=0
>
Glad that worked! (For reference, "hiddev" and "hidraw" are names for kernel drivers vice NUT drivers.)
&g...
2019 Dec 08
4
new mobo, ups doesn't connect
...New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[71069.012579] usb 1-9: Product: Smart-UPS_1500 FW:UPS 03.5 / ID=1015
[71069.012580] usb 1-9: Manufacturer: American Power Conversion
[71069.012581] usb 1-9: SerialNumber: 3S1906X11389
[71069.126796] hid-generic 0003:051D:0003.0003: hiddev0,hidraw2: USB HID
v1.11 Device [American Power Conversion Smart-UPS_1500 FW:UPS 03.5 /
ID=1015] on usb-0000:00:14.0-9/input0
What driver do I now put in /etc/nut/ups.conf? hid-generic doesn't seem
to want to talk to it, and the original name _(usbhid-ups) doesn't work
from new mobo. Oh wait,...
2008 Jul 13
3
Unitek Alpha 650 ipE
...0000:00/0000:00:0f.2/usb1/1-1 (usb)
UEVENT[1215983089.665007] add /class/input/input4 (input)
UDEV [1215983089.666893] add /class/usb_endpoint/usbdev1.4_ep00 (usb_endpoint)
UEVENT[1215983089.687097] add /class/input/input4/event2 (input)
UEVENT[1215983089.687426] add /class/hidraw/hidraw0 (hidraw)
UEVENT[1215983089.688045] add /class/usb_endpoint/usbdev1.4_ep81 (usb_endpoint)
UDEV [1215983089.688161] add /class/hidraw/hidraw0 (hidraw)
UDEV [1215983089.710476] add /devices/pci0000:00/0000:00:0f.2/usb1/1-1/1-1:1.0 (usb)
UDEV [1215983089.731838] add /...
2019 Dec 09
0
new mobo, ups doesn't connect
...name _(usbhid-ups)
> > > doesn't work from new mobo. Oh wait, I can't spell. But that
> > > didn't help, and a restart gets this error:
> >
> > ...
> >
> > > Dec 07 18:49:46 coyote upsd[3259]: Can't connect to UPS [myups]
> > > (hidraw-myups): No such file or directory
> >
> > Hi Gene,
> >
> > Might be simpler to start with the contents of your
> > /etc/nut/ups.conf file?
> >
> > Mine looks like this:
> >
> > [apc]
> > driver = usbhid-ups
> > port = auto # USB
&g...
2017 Mar 19
3
[nut-upsuser] Copeland Engineering Dockmaster
...MaxPacketSize, especially for lower-speed USB devices.
> This is from the hid-example.c:
>
> Report Descriptor:
> 6 a0 ff 9 a5 a1 1 9 a6 9 a7 15 0 25 ff 75 8 95 8 81 2 9 a9 15 0 25 ff 75 8 95 8 91 2 c0
>
I mistyped earlier:
> * Use libhid, which involves detaching the hiddev/hidraw driver from the device. We do this all the time with PDC HID devices. It might take a little more experimenting to find the libusb command to send.
should be "Use libusb..." - at one point, there was a libhid that used libusb, but part of that got absorbed into NUT.
I started modifying...
2010 May 11
0
more USB logs
...usb 2-2: Manufacturer: CPS
usb 2-2: usb_probe_device
usb 2-2: configuration #1 chosen from 1 choice
usb 2-2: adding 2-2:1.0 (config #1, interface 0)
usbhid 2-2:1.0: usb_probe_interface
usbhid 2-2:1.0: usb_probe_interface - got id
generic-usb 0003:0764:0501.0058: claimed by neither input, hiddev nor hidraw
hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0004
hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0004
ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00030300
PESC CSC LSDA PPS
hub 2-0:1.0: port 2, status 0300, change 0003, 1.5 Mb/s
usb 2-2: USB disconnect, address 88
usb 2-2: unregistering...
2016 Oct 14
0
Wine release 1.9.21
...on and removal.
winebus.sys: Add implementation for device removal.
hidclass.sys: Minidriver handling for IRP_MN_REMOVE_DEVICE finished the IRP.
winebus.sys: Implement IOCTL_HID_GET_DEVICE_ATTRIBUTES for hid devices.
winebus.sys: Implement IOCTL_HID_GET_DEVICE_DESCRIPTOR for hidraw.
winebus.sys: Implement IOCTL_HID_GET_REPORT_DESCRIPTOR for hidraw.
winehid.sys: Add HID minidriver.
winehid.sys: Register as a HID minidriver.
include: Define IoSkipCurrentIrpStackLocation.
winehid.sys: Implement handing internal ioctls.
wine.inf: Add WineHID to...
2014 Nov 26
0
"Communications with UPS advice@localhost lost" when using an other USB device
...number 3 using ehci-pci
[ 1.619257] usb 3-1.3: New USB device found, idVendor=0665, idProduct=5161
[ 1.619262] usb 3-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.619265] usb 3-1.3: Product: USB to Serial
[ 1.619268] usb 3-1.3: Manufacturer: INNO TECH
[ 1.623072] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.625251] usbcore: registered new interface driver usbhid
[ 1.625253] usbhid: USB HID core driver
[ 1.626014] hid-generic 0003:0665:5161.0001: hiddev0,hidraw0: USB HID v1.00 Device [INNO TECH USB to Serial] on usb-0000:00:1a.0-1.3/input0
[ 1.6936...
2014 Nov 26
2
"Communications with UPS advice@localhost lost" when using an other USB device
I use Debian jessie with nut-server 2.7.2-1+b3.
Yesterday I've configured it for my new Advice PRS850 (a UPS with USB interface).
I also have an USB webcam (and also USB mouse and keyboard, but that doesn't matter).
When I start the program Cheese (a program which uses the webcam), I receive the following broadcast message:
"Communications with UPS advice at localhost lost"
2015 Mar 02
0
New batteries and another attempt to get nut running
...com> wrote:
> Hi Charles; I hope this finds you well.
Hi Gene,
> Here is dmesg output:
> gene at coyote:~$ dmesg |grep Belkin
> [ 3.315667] usb 2-3: Product: Belkin UPS
> [ 3.315669] usb 2-3: Manufacturer: Belkin
> [ 4.084258] generic-usb 0003:050D:0751.0009: hiddev0,hidraw4: USB HID v1.11 Device [Belkin Belkin UPS] on usb-0000:00:02.0-3/input
>
> I have configured it to use this generic-usb,
Configured NUT, udev, or the kernel?
(For most Linux distributions on PC hardware, the stock kernel should
work, since NUT can kick out the hiddev and hidraw drivers at...
2009 Dec 27
2
Old thread on belkin
...d make another run at it.
Trying to run the driver as the user gene, I'm getting this:
---------------------------
[root at coyote ups]# su gene -c "/sbin/belkin -D -a myups"
Network UPS Tools - Belkin Smart protocol driver 0.21 (2.2.2)
debug level is '1'
Unable to open /dev/hidraw0: Permission denied
Current user id: gene (501)
Serial port owner: root (0)
Serial port group: root (0)
Mode of port: 0660
Things to try:
- Use another port (with the right permissions)
- Fix the port owner/group or permissions on this port
- Run this driver as another user (upsdrvct...
2015 Jan 27
0
CyberPower BR850ELCD ignores offdelay and turns itself back on while still on battery
...gt;
> between the USB device detected and upsd failing to start, there are about 50 more lines in the syslog, including the following services - acpid, ntpd, networkmanager, dbus
> Then follows:
>
> Jan 1 02:00:13 beagle kernel: [ 10.406794] hid-generic 0003:0764:0501.0003: hiddev0,hidraw2: USB HID v1.10 Device [CPS BR850ELCD] on usb-s5p-ehci-3.2/input0
This is normal, although NUT detaches the hiddev/hidraw drivers, and goes directly through libusb to the generic USB kernel driver.
> following this, are multiple lines from the modemananger service and another USB device gettin...
2020 Oct 17
0
[RFC] treewide: cleanup unreachable breaks
...eturn
fs/efs/inode.c:166: WARNING:UNNECESSARY_BREAK: break is not useful after a goto or return
fs/ocfs2/cluster/tcp.c:1201: WARNING:UNNECESSARY_BREAK: break is not useful after a goto or return
kernel/bpf/syscall.c:2786: WARNING:UNNECESSARY_BREAK: break is not useful after a goto or return
samples/hidraw/hid-example.c:168: WARNING:UNNECESSARY_BREAK: break is not useful after a goto or return
samples/hidraw/hid-example.c:171: WARNING:UNNECESSARY_BREAK: break is not useful after a goto or return
samples/hidraw/hid-example.c:174: WARNING:UNNECESSARY_BREAK: break is not useful after a goto or return
sa...
2011 Oct 01
1
USB CyberPower
...ersion installed: 2.6.0-r1
Size of files: 1,663 kB
Homepage: http://www.networkupstools.org/
Description: Network-UPS Tools
License: GPL-2
The kernel is 3.0.4.
Here is the dmesg output:
generic-usb 0003:0764:0501.0005: claimed by neither input, hiddev nor hidraw
usb 2-3: USB disconnect, device number 5
usb 2-3: new low speed USB device number 6 using ohci_hcd
usb 2-3: New USB device found, idVendor=0764, idProduct=0501
usb 2-3: New USB device strings: Mfr=3, Product=1, SerialNumber=0
usb 2-3: Product: CP550HG
usb 2-3: Manufacturer: CPS
usb 2-3: usbfs: USB...
2019 Dec 09
0
new mobo, ups doesn't connect
...ric doesn't seem
> to want to talk to it, and the original name _(usbhid-ups) doesn't work
> from new mobo. Oh wait, I can't spell. But that didn't help, and a
> restart gets this error:
...
> Dec 07 18:49:46 coyote upsd[3259]: Can't connect to UPS [myups]
> (hidraw-myups): No such file or directory
Hi Gene,
Might be simpler to start with the contents of your /etc/nut/ups.conf file?
Mine looks like this:
[apc]
driver = usbhid-ups
port = auto # USB
Yours should probably look similar:
[myups]
driver = usbhid-ups
port = auto # USB
Are you using Debian?...
2015 Mar 01
2
New batteries and another attempt to get nut running
Hi Charles; I hope this finds you well.
Here is dmesg output:
gene at coyote:~$ dmesg |grep Belkin
[ 3.315667] usb 2-3: Product: Belkin UPS
[ 3.315669] usb 2-3: Manufacturer: Belkin
[ 4.084258] generic-usb 0003:050D:0751.0009: hiddev0,hidraw4: USB HID v1.11 Device [Belkin Belkin UPS] on usb-0000:00:02.0-3/input
I have configured it to use this generic-usb, and probably made it less
secure by adding myself to /etc/group/nut and changing many of the perms
to 0660 or 0664 so I can edit this stuff as me. Those of course are fixable
lat...