Displaying 20 results from an estimated 76 matches for "usb_device".
2008 Sep 16
2
Cypress Semiconductor USB to serial
My UPS has a usb interface with USB-to-Serial chip.
But ucycom driver doesn't recognize it.
uhid driver does, but it doesn't help me, I need a virtual com port.
(output below is without uhid loaded)
What can I do to get it working?
udi = '/org/freedesktop/Hal/devices/usb_device_665_5161_noserial'
freebsd.device_file = '/dev/ugen1' (string)
freebsd.driver = 'ugen' (string)
freebsd.unit = 1 (0x1) (int)
info.bus = 'usb_device' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_0_0_noserial'
(string)
info.produ...
2008 Sep 16
1
ippon smart power pro 1000
...I connect USB /dev/uhid0 is created. Tried port=/dev/uhid0 - doesn't
work.
Kernel rebuild w/o option uhid.
On connect I get 2 devices /dev/ugen1, /dev/ugen1.1. Tried both of them.
Doesn't work.
Output of lshal about the USB to Serial converter
udi = '/org/freedesktop/Hal/devices/usb_device_665_5161_noserial'
freebsd.device_file = '/dev/ugen1' (string)
freebsd.driver = 'ugen' (string)
freebsd.unit = 1 (0x1) (int)
info.bus = 'usb_device' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_0_0_noserial'
(string)
info...
2007 Jun 01
0
HAL and NUT feedback
...net.se>:
> Den Friday 25 May 2007 08.52.20 skrev Arnaud Quette:
> >
> > I would be interested in some more info:
> > - lshal -u <your device's UDI>
> > the UDI can be obtained for ex. through hal-device-manager
>
> lshal -lu /org/freedesktop/Hal/devices/usb_device_592_2_noserial
> udi = '/org/freedesktop/Hal/devices/usb_device_592_2_noserial'
> ac_adaptor.present = true (bool)
> battery.charge_level.design = 100 (0x64) (int)
> battery.charge_level.last_full = 100 (0x64) (int)
> battery.charge_level.unit = 'percent'...
2007 Sep 28
1
nut + usb + udev with kernel 2.6.22
...ons (gid was set to 'usb'
instead of 'nut', as it was expected to be according to the rules under
/etc/udev/rules.d/70-nut-usbups.rules). Worse, it was improperly setup
only during udev coldplug, whereas hotplugging worked fine. Finally,
when I recompiled the kernel without CONFIG_USB_DEVICE_CLASS (which is
marked DEPRECATED as of 2.6.22), it constantly added the device with the
wrong gid.
After spending many hours, I managed to find a hint to the solution: the
default udev rules that are installed with nut assume that, as far as
the kernel event, SUBSYSTEM needs to be 'usb_device...
2010 Sep 11
1
TrippLite SMART1000LCD
These patches allow this device to function in nut..
diff --git a/trunk/drivers/tripplite-hid.c b/new/drivers/tripplite-hid.c
index c36da98..dddd13c 100644
--- a/trunk/drivers/tripplite-hid.c
+++ b/new/drivers/tripplite-hid.c
@@ -71,6 +71,8 @@ static usb_device_id_t tripplite_usb_device_table[] = {
{ USB_DEVICE(TRIPPLITE_VENDORID, 0x2005), battery_scale_0dot1 },
/* e.g. TrippLite OMNI900LCD */
{ USB_DEVICE(TRIPPLITE_VENDORID, 0x2007), battery_scale_0dot1 },
+ /* e.g. TrippLite Smart1000LCD */
+ { USB_DEVICE(TRIPPLITE_VENDO...
2009 Mar 01
1
[nut-commits] svn commit r1800 - in trunk: . data drivers
...plite-hid.c
> ==============================================================================
> --- trunk/drivers/tripplite-hid.c (original)
> +++ trunk/drivers/tripplite-hid.c Sun Mar 1 19:56:31 2009
> @@ -84,6 +84,8 @@
>
> /* HP R/T 2200 INTL (like SMART2200RMXL2U) */
> { USB_DEVICE(HP_VENDORID, 0x1f0a), battery_scale_1dot0 },
> + /* HP T750 INTL */
> + { USB_DEVICE(HP_VENDORID, 0x1f0a), battery_scale_1dot0 },
This is a no-op. You probably meant
+ /* HP T750 INTL */
+ { USB_DEVICE(HP_VENDORID, 0x1f06), battery_scale_1dot0 },
I can't commit this right now, since my...
2008 Mar 31
3
nut with hal on Fedora 8
...Bus 002 Device 003: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS
Bus 002 Device 001: ID 0000:0000
After reading the nut-hal.txt file I checked to see if I have the fdi
file. I do have it and I did find the 0764:0501 ID in there:
<!-- CyberPower -->
<match key="usb_device.vendor_id" int="0x0764">
<match key="usb_device.product_id" int="0x0005">
<append key="info.category" type="string">battery</append>
<merge key="info.capabilities" type="strlist...
2008 Dec 04
1
ambiguous USB IDs
...splitting the udev files as
> mentioned above.
We could do this more easily by adding another macro, like the
existing one that is used to extract the VID:PID combinations:
/* dummy USB function and macro, inspired from the Linux kernel
* this allows USB information extraction */
#define USB_DEVICE(vendorID, productID) vendorID, productID
#define USB_LIKELY(a, b) USB_DEVICE(a, b)
Best regards, Arjen
--
Please keep list traffic on the list
2020 Apr 03
0
Patch to support Powercool PCRACK-1200VA
...ex,
langid_fix, buf, blen);
} else {
- ret = usb_get_string_simple(udev, command[i].index,
buf, buflen);
+ ret = usb_get_string_simple(udev, command[i].index,
buf, blen);
}
if (ret <= 0) {
@@ -1075,6 +1083,7 @@ static qx_usb_device_id_t qx_usb_id[] = {
{ USB_DEVICE(0x0001, 0x0000), "MEC", "MEC0003",
&fabula_subdriver }, /* Fideltronik/MEC LUPUS 500 USB */
{ USB_DEVICE(0x0001, 0x0000), "ATCL FOR UPS", "ATCL FOR
UPS", &fuji_subdriver...
2010 Mar 09
1
Tripp-Lite SU2200XLA problem
Hi,
I kludged support for the TrippLite SU2200XLA into nut-2.4.3 as follows:
--- ./drivers/tripplite-hid.c.0 2010-03-03 15:53:20.000000000 -0500
+++ ./drivers/tripplite-hid.c 2010-03-03 15:53:40.000000000 -0500
@@ -81,6 +81,8 @@
{ USB_DEVICE(TRIPPLITE_VENDORID, 0x4002), battery_scale_1dot0 },
/* e.g. TrippLite SmartOnline SU1500RTXL2ua */
{ USB_DEVICE(TRIPPLITE_VENDORID, 0x4003), battery_scale_1dot0 },
+ /* e.g. TrippLite SmartOnline SU2200XLA */
+ { USB_DEVICE(TRIPPLITE_VENDORID, 0x4004), battery_scale_1dot...
2008 Dec 26
1
Advice Partner PRPC650 - no serial device
...s/usb/hiddev0 (usb)
UEVENT[1229960645.344142] add /class/hidraw/hidraw0 (hidraw)
UEVENT[1229960645.344149] add /class/usb_endpoint/usbdev2.10_ep81
(usb_endpoint)
UEVENT[1229960645.344156] add /class/usb_endpoint/usbdev2.10_ep02
(usb_endpoint)
UEVENT[1229960645.344163] add /class/usb_device/usbdev2.10 (usb_device)
UEVENT[1229960645.344170] add /class/usb_endpoint/usbdev2.10_ep00
(usb_endpoint)
UDEV [1229960645.345080] add /class/usb (class)
UDEV [1229960645.347737] add /class/hidraw/hidraw0 (hidraw)
UEVENT[1229960645.378680] add /module/usbserial (module)
UEVENT[...
2012 Sep 10
1
usb port issue in 9.1-Prerelease (Possibly Cam related)
...usr/src/sys/dev/usb/storage/umass.c:2183
#6 0xffffffff8091a054 in device_detach (dev=0xfffffe001ec2e900) at
device_if.h:214
#7 0xffffffff8075c458 in usb_detach_device (udev=0xfffffe0007ce8800,
iface_index=32 ' ', flag=Variable "flag" is not available.
) at /usr/src/sys/dev/usb/usb_device.c:1065
#8 0xffffffff8075c5f4 in usb_unconfigure (udev=0xfffffe0007ce8800,
flag=Variable "flag" is not available.
) at /usr/src/sys/dev/usb/usb_device.c:455
#9 0xffffffff8075c88e in usb_free_device (udev=0xfffffe0007ce8800,
flag=Variable "flag" is not available.
) at /usr/src...
2008 Nov 24
1
[nut-commits] svn commit r1578 - in trunk: . drivers
Citeren Arjen de Korte <adkorte-guest at alioth.debian.org>:
> Author: adkorte-guest
> Date: Mon Nov 24 13:13:44 2008
> New Revision: 1578
>
> Log:
> Use new usb_device_id_t and is_usb_device_supported()
> for selection of the subdriver.
Alexander,
It would be nice if you could double check that I didn't horribly
break something here. I don't expect any surprises here, but one never
knows.
Best regards, Arjen
--
Please keep list traffic on the l...
2010 Sep 06
2
HP T1500 INTL
I have a HP T1500 INTL that isn't picked up under 2.4.3. I added the USB
device ID to tripplite-hid.c like:
/* HP T1500 INTL */
{ USB_DEVICE(HP_VENDORID, 0x1f09), battery_scale_1dot0 },
and it seems to work just fine:
# upsc UPS1 at localhost
battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 30
battery.temperature: 23.9
battery.type:
battery.voltage: 40.9
battery.voltage.nominal: 36.0
device.mfr: Hewlett Packard
devic...
2016 Jun 16
2
KVM issue
running centos 6... have had a KVM linux vm (also C6) going for quite
awhile that depends on a USB device mapping (a external audio DAC module).
I updated the host today (yum update), it had been awhile (was like 6.5
before, now its 6.8+), and rebooted. the VM won't restart.
when I try and restart it, I get this
Error restoring domain: internal error Did not find USB device 8bb:2704
2014 Aug 11
1
Cyberpower Value1200E might not need 0.667 battery scaling
...gt; + */
> +static const double battery_voltage_sanity_check = 1.4;
>
> static void *cps_battery_scale(USBDevice_t *device)
> {
> - battery_scale = 0.667;
> + might_need_battery_scale = 1;
> return NULL;
> }
>
> /* USB IDs device table */
> static usb_device_id_t cps_usb_device_table[] = {
> - /* 900AVR/BC900D, CP1200AVR/BC1200D */
> + /* 900AVR/BC900D */
> { USB_DEVICE(CPS_VENDORID, 0x0005), NULL },
> - /* Dynex DX-800U? */
> + /* Dynex DX-800U?, CP1200AVR/BC1200D, CP825AVR-G, CP1000AVRLCD, CP1000PFCLCD, CP1500C, CP550HG, etc. */
>...
2019 Dec 11
1
[EXTERNAL] Re: Tripp Lite SMART1500LCD repeatedly disconnecting and reconnecting
...o USB
disconnects or stale data warnings so far. I only used one rule for my UPS:
# /etc/udev/rules.d/62-nut-usbups.rules
SUBSYSTEM!="usb", GOTO="nut-usbups_rules_end"
# TrippLite
# e.g. TrippLite SMART1500LCD - usbhid-ups
ACTION=="add|change", SUBSYSTEM=="usb|usb_device",
SUBSYSTEMS=="usb|usb_device", ATTR{idVendor}=="09ae",
ATTR{idProduct}=="2012", MODE="664", GROUP="nut", RUN+="/sbin/upsdrvctl
stop; /sbin/upsdrvctl start"
LABEL="nut-usbups_rules_end"
My ups.conf:
# /etc/nut/ups.conf
p...
2020 Apr 03
0
Powercool PCRACK-1200VA patch update
...d command/Read reply */
- ret = usb_get_string_simple(udev, index, buf, buflen);
+ ret = nut_usb_get_string(udev, index, buf, buflen);
if (ret <= 0) {
upsdebugx(3, "read: %s (%d)", ret ? usb_strerror() :
"timeout", ret);
@@ -1075,6 +1040,7 @@ static qx_usb_device_id_t qx_usb_id[] = {
{ USB_DEVICE(0x0001, 0x0000), "MEC", "MEC0003",
&fabula_subdriver }, /* Fideltronik/MEC LUPUS 500 USB */
{ USB_DEVICE(0x0001, 0x0000), "ATCL FOR UPS", "ATCL FOR
UPS", &fuji_subdriver...
2014 Aug 09
0
Cyberpower Value1200E might not need 0.667 battery scaling
On Aug 8, 2014, at 9:15 AM, Charles Lepple <clepple at gmail.com> wrote:
> On Aug 7, 2014, at 10:52 PM, Charles Lepple <clepple at gmail.com> wrote:
>
>> On Aug 7, 2014, at 10:18 PM, Matthew Stapleton <matthew4196 at gmail.com> wrote:
>>
>>> I just got a Cyberpower SOHO Value 1200 ELCD UPS and even with nut 2.7.2, it appears to report battery voltage
2016 Jun 16
0
KVM issue
...an I fix this?
Have you tried a "virsh detach-device ..." and then the corresponding
[re-]attach (or maybe even just a new "attach" first)?
When my guest complains about the USB not being there I can generally
make things work with:
virsh attach-device <guest> --file usb_device.xml --current
where the "usb_device.xml" file has the six lines you included above
from your "virsh edit". Since your guest isn't running I think you'd
have to use "--config", rather than "--current" on that line.
It's not obvious that that will...