Displaying 13 results from an estimated 13 matches for "1167,22".
Did you mean:
  1163,22
  
2014 May 19
2
Tripp Lite SMART3000RM2U (protocol 3003) running time and charge?
.../* This may not be right... */
-               if(tl_model == TRIPP_LITE_SMARTPRO) {
-                       battery_charge = (unsigned)(s_value[5]);
-                       dstate_setinfo("battery.charge",  "%u", battery_charge);
-               }
        }
 
@@ -1167,9 +1167,22 @@
                                hex2d(d_value+1, 2) * input_voltage_scaled / 120);
 
                bv = hex2d(d_value+3, 2) * battery_voltage_nominal / 120.0 ;
-
+               // bv is 48V nominal rather than 12V
+
                dstate_setinfo("battery.voltage", "...
2014 May 20
0
Tripp Lite SMART3000RM2U (protocol 3003) running time and charge?
...right... */
> -               if(tl_model == TRIPP_LITE_SMARTPRO) {
> -                       battery_charge = (unsigned)(s_value[5]);
> -                       dstate_setinfo("battery.charge",  "%u", battery_charge);
> -               }
>        }
> 
> @@ -1167,9 +1167,22 @@
>                                hex2d(d_value+1, 2) * input_voltage_scaled / 120);
> 
>                bv = hex2d(d_value+3, 2) * battery_voltage_nominal / 120.0 ;
Does battery_voltage_nominal get set correctly? Theoretically, it should be 48, since the 2nd and 3rd digits o...
2015 Oct 30
1
[PATCH v4 1/6] virtio-net: Stop doing DMA from the stack
..._device *dev, void *p)
@@ -1151,7 +1156,6 @@ static void virtnet_set_rx_mode(struct net_device *dev)
 {
 	struct virtnet_info *vi = netdev_priv(dev);
 	struct scatterlist sg[2];
-	u8 promisc, allmulti;
 	struct virtio_net_ctrl_mac *mac_data;
 	struct netdev_hw_addr *ha;
 	int uc_count;
@@ -1163,22 +1167,22 @@ static void virtnet_set_rx_mode(struct net_device *dev)
 	if (!virtio_has_feature(vi->vdev, VIRTIO_NET_F_CTRL_RX))
 		return;
 
-	promisc = ((dev->flags & IFF_PROMISC) != 0);
-	allmulti = ((dev->flags & IFF_ALLMULTI) != 0);
+	vi->ctrl_promisc = ((dev->flags & IFF_PR...
2015 Oct 30
0
[PATCH v4 1/6] virtio-net: Stop doing DMA from the stack
...6 @@ static void virtnet_set_rx_mode(struct net_device *dev)
>  {
>  	struct virtnet_info *vi = netdev_priv(dev);
>  	struct scatterlist sg[2];
> -	u8 promisc, allmulti;
>  	struct virtio_net_ctrl_mac *mac_data;
>  	struct netdev_hw_addr *ha;
>  	int uc_count;
> @@ -1163,22 +1167,22 @@ static void virtnet_set_rx_mode(struct net_device *dev)
>  	if (!virtio_has_feature(vi->vdev, VIRTIO_NET_F_CTRL_RX))
>  		return;
> 
> -	promisc = ((dev->flags & IFF_PROMISC) != 0);
> -	allmulti = ((dev->flags & IFF_ALLMULTI) != 0);
> +	vi->ctrl_promisc =...
2015 Oct 28
0
[PATCH v2 1/3] virtio_net: Stop doing DMA from the stack
...is_broken(vi->cvq))
>  		cpu_relax();
>  
> -	return status == VIRTIO_NET_OK;
> +	ret = (buf->status == VIRTIO_NET_OK);
> +
> +out:
> +	kfree(buf);
> +	return ret;
>  }
>  
>  static int virtnet_set_mac_address(struct net_device *dev, void *p)
> @@ -1151,7 +1167,7 @@ static void virtnet_set_rx_mode(struct net_device *dev)
>  {
>  	struct virtnet_info *vi = netdev_priv(dev);
>  	struct scatterlist sg[2];
> -	u8 promisc, allmulti;
> +	u8 *cmdbyte;
>  	struct virtio_net_ctrl_mac *mac_data;
>  	struct netdev_hw_addr *ha;
>  	int uc_coun...
2014 May 16
0
Tripp Lite SMART3000RM2U (protocol 3003) running time and charge?
On May 15, 2014, at 9:39 PM, Stefan Bruda wrote:
> What bugs be though is that I cannot seem to be able to read the
> remaining run time on battery.  The battery charge is also widely
> inaccurate (it drops to zero really fast and stays there).  I read
> somewhere that the usb.debug numbers may hold the key to this (at
> least to the running time that is), but I don't know what
2014 May 16
2
Tripp Lite SMART3000RM2U (protocol 3003) running time and charge?
Hello,
I own an older Tripp Lite SMART3000RM2U (protocol 3003).  It does not
work with usbhid-ups but it mostly works with the tripplite_usb driver
(nut 2.7.1, the latest in the Gentoo tree), in the sense that the
status (on line, on battery, etc.) is detected correctly, the machine
is shut down on critical battery, and I can even get some information
from the UPS.  This is how it all looks:
   
2015 Oct 28
2
[PATCH v2 1/3] virtio_net: Stop doing DMA from the stack
...uct virtnet_info *vi, u8 class, u8 cmd,
 	       !virtqueue_is_broken(vi->cvq))
 		cpu_relax();
 
-	return status == VIRTIO_NET_OK;
+	ret = (buf->status == VIRTIO_NET_OK);
+
+out:
+	kfree(buf);
+	return ret;
 }
 
 static int virtnet_set_mac_address(struct net_device *dev, void *p)
@@ -1151,7 +1167,7 @@ static void virtnet_set_rx_mode(struct net_device *dev)
 {
 	struct virtnet_info *vi = netdev_priv(dev);
 	struct scatterlist sg[2];
-	u8 promisc, allmulti;
+	u8 *cmdbyte;
 	struct virtio_net_ctrl_mac *mac_data;
 	struct netdev_hw_addr *ha;
 	int uc_count;
@@ -1163,22 +1179,25 @@ static void v...
2015 Oct 28
2
[PATCH v2 1/3] virtio_net: Stop doing DMA from the stack
...uct virtnet_info *vi, u8 class, u8 cmd,
 	       !virtqueue_is_broken(vi->cvq))
 		cpu_relax();
 
-	return status == VIRTIO_NET_OK;
+	ret = (buf->status == VIRTIO_NET_OK);
+
+out:
+	kfree(buf);
+	return ret;
 }
 
 static int virtnet_set_mac_address(struct net_device *dev, void *p)
@@ -1151,7 +1167,7 @@ static void virtnet_set_rx_mode(struct net_device *dev)
 {
 	struct virtnet_info *vi = netdev_priv(dev);
 	struct scatterlist sg[2];
-	u8 promisc, allmulti;
+	u8 *cmdbyte;
 	struct virtio_net_ctrl_mac *mac_data;
 	struct netdev_hw_addr *ha;
 	int uc_count;
@@ -1163,22 +1179,25 @@ static void v...
2014 May 22
2
Tripp Lite SMART3000RM2U (protocol 3003) running time and charge?
...(tl_model == TRIPP_LITE_SMARTPRO) {
 > > -                       battery_charge = (unsigned)(s_value[5]);
 > > -                       dstate_setinfo("battery.charge",  "%u", battery_charge);
 > > -               }
 > >        }
 > > 
 > > @@ -1167,9 +1167,22 @@
 > >                                hex2d(d_value+1, 2) * input_voltage_scaled / 120);
 > > 
 > >                bv = hex2d(d_value+3, 2) * battery_voltage_nominal / 120.0 ;
 > 
 > Does battery_voltage_nominal get set correctly? Theoretically, it
 > should b...
2015 Oct 30
13
[PATCH v4 0/6] virtio core DMA API conversion
This switches virtio to use the DMA API unconditionally.  I'm sure
it breaks things, but it seems to work on x86 using virtio-pci, with
and without Xen, and using both the modern 1.0 variant and the
legacy variant.
This appears to work on native and Xen x86_64 using both modern and
legacy virtio-pci.  It also appears to work on arm and arm64.
It definitely won't work as-is on s390x, and
2015 Oct 30
13
[PATCH v4 0/6] virtio core DMA API conversion
This switches virtio to use the DMA API unconditionally.  I'm sure
it breaks things, but it seems to work on x86 using virtio-pci, with
and without Xen, and using both the modern 1.0 variant and the
legacy variant.
This appears to work on native and Xen x86_64 using both modern and
legacy virtio-pci.  It also appears to work on arm and arm64.
It definitely won't work as-is on s390x, and
2016 Oct 11
10
[PATCH 0/8] Secure Boot refactoring
Hi everyone,
Apologies for the big patchset. This is a rework of the secure boot code that
moves the building of the blob into its own set of source files (and own hooks),
making the code more flexible and (hopefully) easier to understand as well.
This rework is needed to support more signed firmware for existing and new
chips. Since the firmwares in question are not available yet I cannot send