Displaying 20 results from an estimated 29 matches for "usb_control_msg".
2007 Mar 04
1
OMNIVS1500XL and FreeBSD
...may not function correctly.
debug level is '5'
usb_set_debug: Setting debugging level to 5 (on)
usb_os_find_busses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: Found /dev/usb2
usb_os_find_busses: Found /dev/usb3
usb_os_find_devices: Found /dev/ugen0 on /dev/usb1
usb_control_msg: 128 6 512 0 0xbfbfd8f8 8 1000
usb_control_msg: 128 6 512 0 0x8059380 34 1000
skipped 1 class/vendor specific interface descriptors
Checking device (09AE/0001) (/dev/usb1//dev/ugen0)
usb_control_msg: 128 6 768 0 0xbfbfd850 255 1000
usb_control_msg: 128 6 769 1033 0xbfbfd850 255 1000
usb_control_msg...
2010 Jan 10
1
Eaton PW5110 + nut-2.4.1 + OpenBSD
...BCMXCP UPS driver 0.21 (2.4.1)
USB communication subdriver 0.17
debug level is '3'
usb_set_debug: Setting debugging level to 3 (on)
usb_os_find_busses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: Found /dev/usb2
usb_os_find_devices: Found /dev/ugen0 on /dev/usb2
usb_control_msg: 128 6 512 0 0xcfbf7558 8 1000
usb_control_msg: 128 6 512 0 0x7f374500 34 1000
skipped 1 class/vendor specific interface descriptors
usb_control_msg: 0 7 772 0 0xcfbf7490 4 1000
USB error: error reading from interrupt endpoint /dev/ugen0.01: Resource
temporarily unavailable
Communications with UPS...
2009 Sep 05
1
FreeBSD, NUT OmniVS1500
...ses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: can't open /dev/usb2: Permission denied
usb_os_find_busses: can't open /dev/usb3: Permission denied
usb_os_find_busses: can't open /dev/usb4: Permission denied
usb_os_find_devices: Found /dev/ugen0 on /dev/usb1
usb_control_msg: 128 6 512 0 0xbfbfd0f8 8 1000
usb_control_msg: 128 6 512 0 0x80563c0 34 1000
skipped 1 class/vendor specific interface descriptors
Checking device (09AE/0001) (/dev/usb1//dev/ugen0)
usb_control_msg: 128 6 768 0 0xbfbfd050 255 1000
usb_control_msg: 128 6 769 1033 0xbfbfd050 255 1000
usb_control_msg...
2005 Jun 23
1
USB UPS Question...
...pen'
libusb.o(.text+0x14a): In function `libusb_open':
: undefined reference to `usb_set_altinterface'
libusb.o(.text+0x15a): In function `libusb_open':
: undefined reference to `usb_claim_interface'
libusb.o(.text+0x17e): In function `libusb_open':
: undefined reference to `usb_control_msg'
libusb.o(.text+0x192): In function `libusb_open':
: undefined reference to `usb_strerror'
libusb.o(.text+0x203): In function `libusb_open':
: undefined reference to `usb_get_string_simple'
libusb.o(.text+0x2a5): In function `libusb_open':
: undefined reference to `usb_get_s...
2019 Jan 22
4
Yum refuses to install kmod-8188eu from elrepo
...--> Processing Dependency: kernel(usb_get_dev) = 0x372a41af for
package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
--> Processing Dependency: kernel(usb_free_urb) = 0x739aecf4 for
package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
--> Processing Dependency: kernel(usb_control_msg) = 0xd04e3a9e for
package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
--> Processing Dependency: kernel(usb_alloc_urb) = 0x12a4948e for
package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
I've never seen such output from yum before --- I'm guessing it is
asking fo...
2007 Jan 31
3
Re: [Nut-upsuser] Ablerex 625L USB version
...ize_test = 16;
unsigned char raw_buf_test[ReportSize_test + 1];
int rc;
unsigned char *p_raw_buf_test;
upsdebugx(4, "Entering libusb_get_report, ReportSize: %i,
ReportSize_test: %i",ReportSize, ReportSize_test);
if (udev != NULL)
{
rc = usb_control_msg(udev,
USB_ENDPOINT_IN + USB_TYPE_CLASS +
USB_RECIP_INTERFACE,
0x01, /* HID_REPORT_GET */
ReportId+(0x03<<8), /* HID_REPORT_TYPE_FEATURE */
0, raw_buf_test, ReportSize_test, USB_TIMEOUT);...
2008 Nov 30
4
Sweex 1000VA UPS (Lakeview Research)
Hi all,
i've read a thread about this UPS from Peter van Valderen. He tried to
develop a
driver for this specific type of UPS. I've downloaded nut-2.2.2 and tried to
apply
the patches (lakeview.patch & lakeview.v2.patch) but both resulted in
rejected
chunks. I've tried to ./configure with type lakeview and then a make, but
the make
command fails.
Does anybody has any
2007 Jan 23
2
Voltage override in megatec and megatec-over-usb [was: Re: nut-2.0.5 megatec + Online Xanto]
On 1/23/07, Henning Brauer <hb-nut@bsws.de> wrote:
> good new first: the megatec driverin 2.0.5 now works with the Online
> Xanto S3000R here - well, for the very basics.
>
> the UPS has NO way ofidentifying itself. It also does not respond to
> the power ratings query ("F"). I previously used a hacked up fentonups
> driver. This means the driver cannot figure out
2006 May 16
2
MGE Pulsar Extreme communication problems
Hi,
I am trying to talk to an MGE Pulsar Extreme UPS over RS232 with the
mge-shut driver but I'm having some problems.
It appears to init OK but I can't, say, turn the outlets off, eg..
harrow:~>upsc mge@localhost
battery.charge: 78
battery.charge.low: 20
battery.runtime: 05760
driver.name: mge-shut
driver.parameter.port: /dev/cuad1
driver.version: 2.0.3
driver.version.internal: 0.65
2019 Jan 22
0
Yum refuses to install kmod-8188eu from elrepo
...pendency: kernel(usb_get_dev) = 0x372a41af for
> package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
> --> Processing Dependency: kernel(usb_free_urb) = 0x739aecf4 for
> package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
> --> Processing Dependency: kernel(usb_control_msg) = 0xd04e3a9e for
> package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
> --> Processing Dependency: kernel(usb_alloc_urb) = 0x12a4948e for
> package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
>
> I've never seen such output from yum before --- I'm...
2008 Sep 26
0
FreeBSD usbhid-ups problem
Citeren "Daniel O'Connor" <doconnor at gsoft.com.au>:
> usb_control_msg: 161 1 769 0 0x813310c 2 4000
> USB error: error sending control message: Input/output error
> Can't retrieve Report 1: Input/output error
> upsdrv_updateinfo...
> Got to reconnect!
>
> usb_set_debug: Setting debugging level to 3 (on)
> usb_os_find_busses: Found /dev/usb0
&...
2006 Nov 20
0
valgrind and libusb calls
...uot; first.
The problem is that the buffers returned from libusb are all being
marked as invalid (the bytes themselves, not the address).
I see at least two solutions to this:
1) Clear all buffers to zero before calling libusb functions that
write to a buffer (usb_get_interrupt, usb_get_string*,
usb_control_msg, etc.)
2) Mark the valid portions of the buffer after the libusb call with
VALGRIND_MAKE_READABLE.
The big advantage of the first method is that it keeps the code
looking clean, and means we don't have to do any conditional inclusion
of valgrind's memcheck.h or anything. The main drawback...
2009 Sep 09
4
Dmesg log for 2.6.31-rc8 kernel been built on F12 (rawhide) vs log for same kernel been built on F11 and installed on F12
Previous 2.6.31-rc8 kernel was built on F11 and installed with modules on F12.
Current kernel has been built on F12 (2.6.31-0.204.rc9.fc12.x86_64) and installed
on F12 before loading under Xen 3.4.1.
Dmesg log looks similar to Michael Yuong''s ''rc7.git4'' kernel for F12.
Boris.
--- On Tue, 9/8/09, Boris Derzhavets <bderzhavets@yahoo.com> wrote:
From: Boris
2006 Mar 08
2
APC 1500RM / NUT 2.0.3 / newhidups / Solaris 10 [long]
...y, the Solaris libusb document
(/usr/sfw/share/doc/libusb/libusb.txt) notes that the function
usb_get_descriptor_by_endpoint is 'Not implemented for Sun plugins',
and by my reckoning, this is what NUT uses quite a bit - the libusb
code for usb_get_descriptor_by_endpoint seems to just use a
usb_control_msg, in the same format as NUT uses in newhidups.
So. on the off chance someone comes along again asking for newhidups
support on Solaris and/or an APC Smart UPS 1500RM, then people at
least know that compilation is only the first hurdle - hopefully
Sun will sort out the rest of the ugen/libusb driver...
2018 Feb 16
0
[PATCH 1/3] Skip non-feature HID reports
...parsed descriptor to match the type
> as well as the Usage path, so I'm not sure if I can figure out a way
> that it would get an Input report ID confused with a Feature report ID
> (unless interrupt_only is set, as it is for powercom devices).
libusb_get_report() has:
ret = usb_control_msg(udev,
USB_ENDPOINT_IN + USB_TYPE_CLASS + USB_RECIP_INTERFACE,
0x01, /* HID_REPORT_GET */
ReportId+(0x03<<8), /* HID_REPORT_TYPE_FEATURE */
0, raw_buf, ReportSize, USB_TIMEOUT);
Hence, libusb_get_report() always requests the repo...
2019 Jan 22
3
Yum refuses to install kmod-8188eu from elrepo
...(usb_get_dev) = 0x372a41af for
>> package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
>> --> Processing Dependency: kernel(usb_free_urb) = 0x739aecf4 for
>> package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
>> --> Processing Dependency: kernel(usb_control_msg) = 0xd04e3a9e for
>> package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
>> --> Processing Dependency: kernel(usb_alloc_urb) = 0x12a4948e for
>> package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
>>
>> I've never seen such output from yu...
2007 May 13
0
No subject
...cket is a status request to the UPS
*/
buf[0]=0x01;
buf[1]=0x00;
buf[2]=0x00;
buf[3]=0x30;
return execute_and_retrieve_query(buf, reply);
}
int execute_and_retrieve_query(unsigned char *query, unsigned char *reply) {
int ret;
ret = usb_control_msg(upsdev, STATUS_REQUESTTYPE, REQUEST_VALUE,
MESSAGE_VALUE, INDEX_VALUE, query, sizeof(query), 1000);
if (ret < 0) {
return ret;
}
ret = usb_interrupt_read(upsdev, REPLY_REQUESTTYPE, reply,
sizeof(REPLY_PACKETSIZE), 1000);
return ret;...
2007 May 13
0
No subject
...This packet is a status request to the UPS
*/
buf[0]=0x01;
buf[1]=0x00;
buf[2]=0x00;
buf[3]=0x30;
return execute_and_retrieve_query(buf, reply);
}
int execute_and_retrieve_query(unsigned char *query, unsigned char *reply) {
int ret;
ret = usb_control_msg(upsdev, STATUS_REQUESTTYPE, REQUEST_VALUE,
MESSAGE_VALUE, INDEX_VALUE, query, sizeof(query), 1000);
if (ret < 0) {
return ret;
}
ret = usb_interrupt_read(upsdev, REPLY_REQUESTTYPE, reply,
sizeof(REPLY_PACKETSIZE), 1000);
return ret;
}
vo...
2007 May 13
0
No subject
...This packet is a status request to the UPS
*/
buf[0]=0x01;
buf[1]=0x00;
buf[2]=0x00;
buf[3]=0x30;
return execute_and_retrieve_query(buf, reply);
}
int execute_and_retrieve_query(unsigned char *query, unsigned char *reply) {
int ret;
ret = usb_control_msg(upsdev, STATUS_REQUESTTYPE, REQUEST_VALUE,
MESSAGE_VALUE, INDEX_VALUE, query, sizeof(query), 1000);
if (ret < 0) {
return ret;
}
ret = usb_interrupt_read(upsdev, REPLY_REQUESTTYPE, reply,
sizeof(REPLY_PACKETSIZE), 1000);
return ret;
}
vo...
2006 Nov 30
6
zaptel compilation problems with linux 2.6.19
Hello!
I have problems compiling zaptel (tried 1.2.11, 1.2.10 and 1.4.0-beta2 -- all
give the same error) with 2.6.19 kernel
CC [M] /home/roman/install/asterisk/zaptel-1.4.0-beta2/xpp/card_fxo.o
In file included
from /home/roman/install/asterisk/zaptel-1.4.0-beta2/xpp/xpd.h:26,
from /home/roman/install/asterisk/zaptel-1.4.0-beta2/xpp/card_fxo.c:28: