search for: modalias

Displaying 20 results from an estimated 70 matches for "modalias".

2011 Sep 02
3
[PATCH] Staging: hv: vmbus: Show the modalias in /sys/bus/vmbus/devices/*/
Show a modalias file in /sys/bus/vmbus/devices/*/ Add a helper function to print the same content in modalias and uevent. Signed-off-by: Olaf Hering <olaf at aepfle.de> --- drivers/staging/hv/vmbus_drv.c | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) --- a/drivers/staging/...
2011 Sep 02
3
[PATCH] Staging: hv: vmbus: Show the modalias in /sys/bus/vmbus/devices/*/
Show a modalias file in /sys/bus/vmbus/devices/*/ Add a helper function to print the same content in modalias and uevent. Signed-off-by: Olaf Hering <olaf at aepfle.de> --- drivers/staging/hv/vmbus_drv.c | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) --- a/drivers/staging/...
2014 Aug 01
0
virtio hotplug in CentOS 5.10 guest incomplete
Hi, I just tried to hot-plug a virtio disk to a CentOS 5.10 guest that runs on a CentOS 6.5 host. The Problem is that while the device shows up under /sys/ the corresponding device node does not: /sys/devices/virtio-pci/virtio0: bus device driver modalias net:eth0 power status subsystem uevent vendor /sys/devices/virtio-pci/virtio1: block:vda bus device driver modalias power serial status subsystem uevent vendor /sys/devices/virtio-pci/virtio2: bus device driver modalias power status subsystem uevent vendor So virtio0 is eth0 a...
2008 Feb 01
2
Four UPS's via usb.
> Hello everyone. I try to connect four PowerMust 2000 ups's via usb to one > computer using megatec_usb driver. But megatec_usb completly ignores port > directive in ups.conf, I even try port = /dev/null and megatec_usb founds > ups and it works. The 'port' is not used for USB connected devices, it's only needed for compatibility reasons. > Problem is that
2011 Jun 24
1
[PATCH 1/2] xen: Populate xenbus device attributes
...+static ssize_t devtype_show(struct device *dev, + struct device_attribute *attr, char *buf) { return sprintf(buf, "%s\n", to_xenbus_device(dev)->devicetype); } -static DEVICE_ATTR(devtype, S_IRUSR | S_IRGRP | S_IROTH, xendev_show_devtype, NULL); -static ssize_t xendev_show_modalias(struct device *dev, - struct device_attribute *attr, char *buf) +static ssize_t modalias_show(struct device *dev, + struct device_attribute *attr, char *buf) { return sprintf(buf, "xen:%s\n", to_xenbus_device(dev)->devicetype); } -static DEVICE_ATTR(modalias, S_IRUSR...
2011 Jun 24
1
[PATCH 1/2] xen: Populate xenbus device attributes
...+static ssize_t devtype_show(struct device *dev, + struct device_attribute *attr, char *buf) { return sprintf(buf, "%s\n", to_xenbus_device(dev)->devicetype); } -static DEVICE_ATTR(devtype, S_IRUSR | S_IRGRP | S_IROTH, xendev_show_devtype, NULL); -static ssize_t xendev_show_modalias(struct device *dev, - struct device_attribute *attr, char *buf) +static ssize_t modalias_show(struct device *dev, + struct device_attribute *attr, char *buf) { return sprintf(buf, "xen:%s\n", to_xenbus_device(dev)->devicetype); } -static DEVICE_ATTR(modalias, S_IRUSR...
2011 Jun 24
1
[PATCH 1/2] xen: Populate xenbus device attributes
...+static ssize_t devtype_show(struct device *dev, + struct device_attribute *attr, char *buf) { return sprintf(buf, "%s\n", to_xenbus_device(dev)->devicetype); } -static DEVICE_ATTR(devtype, S_IRUSR | S_IRGRP | S_IROTH, xendev_show_devtype, NULL); -static ssize_t xendev_show_modalias(struct device *dev, - struct device_attribute *attr, char *buf) +static ssize_t modalias_show(struct device *dev, + struct device_attribute *attr, char *buf) { return sprintf(buf, "xen:%s\n", to_xenbus_device(dev)->devicetype); } -static DEVICE_ATTR(modalias, S_IRUSR...
2019 Oct 15
1
[PATCH V3 2/7] mdev: bus uevent support
...+82,17 @@ static int mdev_match(struct device *dev, struct device_driver *drv) > return 0; > } > > +static int mdev_uevent(struct device *dev, struct kobj_uevent_env *env) > +{ > + struct mdev_device *mdev = to_mdev_device(dev); > + > + return add_uevent_var(env, "MODALIAS=mdev:c%02X", mdev->class_id); > +} > + > struct bus_type mdev_bus_type = { > .name = "mdev", > .match = mdev_match, > + .uevent = mdev_uevent, > .probe = mdev_probe, > .remove = mdev_remove, > }; I'd merge that into the previous patch...
2013 Oct 08
0
[PATCH 5/8] virtio: convert bus code to use dev_groups
...TTR_RO(vendor); + static ssize_t status_show(struct device *_d, struct device_attribute *attr, char *buf) { struct virtio_device *dev = dev_to_virtio(_d); return sprintf(buf, "0x%08x\n", dev->config->get_status(dev)); } +static DEVICE_ATTR_RO(status); + static ssize_t modalias_show(struct device *_d, struct device_attribute *attr, char *buf) { @@ -32,6 +38,8 @@ static ssize_t modalias_show(struct device *_d, return sprintf(buf, "virtio:d%08Xv%08X\n", dev->id.device, dev->id.vendor); } +static DEVICE_ATTR_RO(modalias); + static ssiz...
2013 Oct 08
0
[PATCH 5/8] virtio: convert bus code to use dev_groups
...TTR_RO(vendor); + static ssize_t status_show(struct device *_d, struct device_attribute *attr, char *buf) { struct virtio_device *dev = dev_to_virtio(_d); return sprintf(buf, "0x%08x\n", dev->config->get_status(dev)); } +static DEVICE_ATTR_RO(status); + static ssize_t modalias_show(struct device *_d, struct device_attribute *attr, char *buf) { @@ -32,6 +38,8 @@ static ssize_t modalias_show(struct device *_d, return sprintf(buf, "virtio:d%08Xv%08X\n", dev->id.device, dev->id.vendor); } +static DEVICE_ATTR_RO(modalias); + static ssiz...
2013 Oct 17
0
patch "virtio: convert bus code to use dev_groups" added to driver-core tree
...TTR_RO(vendor); + static ssize_t status_show(struct device *_d, struct device_attribute *attr, char *buf) { struct virtio_device *dev = dev_to_virtio(_d); return sprintf(buf, "0x%08x\n", dev->config->get_status(dev)); } +static DEVICE_ATTR_RO(status); + static ssize_t modalias_show(struct device *_d, struct device_attribute *attr, char *buf) { @@ -32,6 +38,8 @@ static ssize_t modalias_show(struct device *_d, return sprintf(buf, "virtio:d%08Xv%08X\n", dev->id.device, dev->id.vendor); } +static DEVICE_ATTR_RO(modalias); + static ssiz...
2013 Oct 17
0
patch "virtio: convert bus code to use dev_groups" added to driver-core tree
...TTR_RO(vendor); + static ssize_t status_show(struct device *_d, struct device_attribute *attr, char *buf) { struct virtio_device *dev = dev_to_virtio(_d); return sprintf(buf, "0x%08x\n", dev->config->get_status(dev)); } +static DEVICE_ATTR_RO(status); + static ssize_t modalias_show(struct device *_d, struct device_attribute *attr, char *buf) { @@ -32,6 +38,8 @@ static ssize_t modalias_show(struct device *_d, return sprintf(buf, "virtio:d%08Xv%08X\n", dev->id.device, dev->id.vendor); } +static DEVICE_ATTR_RO(modalias); + static ssiz...
2013 May 15
8
[Bug 64645] New: Massive corruption
...ssful (/var/run/acpid.socket) udev information: ----------------- P: /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1 E: DEVPATH=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1 E: EV=3 E: ID_INPUT=1 E: ID_INPUT_KEY=1 E: ID_PATH=acpi-LNXPWRBN:00 E: ID_PATH_TAG=acpi-LNXPWRBN_00 E: KEY=10000000000000 0 E: MODALIAS=input:b0019v0000p0001e0000-e0,1,k74,ramlsfw E: NAME="Power Button" E: PHYS="LNXPWRBN/button/input0" E: PRODUCT=19/0/1/0 E: PROP=0 E: SUBSYSTEM=input E: UDEV_LOG=3 E: USEC_INITIALIZED=3821882 P: /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1 N: input/event1 E: BACKSPACE=gu...
2009 Apr 18
4
no ForceFeedback in Wine
Hey Guys, The ForceFeedback from my Microsoft Sidewinder ForceFeedback Wheel doesn't work with Wine. I compiled wine myself and "ac_cv_member_struct_ff_effect_direction=yes" was set in the config.log like it is told here: http://wiki.winehq.org/ForceFeedback I also checked that FF is working with BZFlag under Linux. When i play BZFlag with Wine, the FF-Effects are missing. I
2019 Oct 11
0
[PATCH V3 2/7] mdev: bus uevent support
...drivers/vfio/mdev/mdev_driver.c @@ -82,9 +82,17 @@ static int mdev_match(struct device *dev, struct device_driver *drv) return 0; } +static int mdev_uevent(struct device *dev, struct kobj_uevent_env *env) +{ + struct mdev_device *mdev = to_mdev_device(dev); + + return add_uevent_var(env, "MODALIAS=mdev:c%02X", mdev->class_id); +} + struct bus_type mdev_bus_type = { .name = "mdev", .match = mdev_match, + .uevent = mdev_uevent, .probe = mdev_probe, .remove = mdev_remove, }; -- 2.19.1
2013 Nov 19
7
Quadrified GTX 480 VT-d passthrough. CUDA 5.5 in Linux partial success
Hi everyone, after following in the footsteps of the following discussion (http://lists.xenproject.org/archives/html/xen-users/2013-09/msg00106.html) I had been able to turn my GTX 480 into a Quadro 6000. When I VT-d passthrough it to a Debian jessie VM it shows up fine and CUDA 5.5 seems to function properly up to a point: lspci -v: 00:04.0 VGA compatible controller: NVIDIA Corporation GF100GL
2019 Apr 19
0
[ANNOUNCE] libdrm 2.4.98
...: add deadlock test for sdma tests/amdgpu: add memset dispatch test tests/amdgpu: add memcpy dispatch test tests/amdgpu: add memset draw test tests/amdgpu: add memcpy draw test tests/amdgpu: minor fix for dispatch/draw test Emil Velikov (4): xf86drm: fallback to MODALIAS for OF less platform devices xf85drm: de-duplicate drmParse{Platform.Host1x}{Bus,Device}Info Revert "libdrm: Fix issue about differrent domainID but same BDF" Bump the version to 2.4.98 Emily Deng (1): libdrm: Fix issue about differrent domainID but same BDF Eric...
2012 Nov 13
3
Bug#693154: xen-hypervisor-4.0-amd64: Xen "map irq failed" with Intel igb driver and 82576 quad port nic
...oot root 4096 Nov 13 17:37 dma_mask_bits -rw------- 1 root root 4096 Nov 13 17:37 enable -r--r--r-- 1 root root 4096 Oct 16 15:25 irq -r--r--r-- 1 root root 4096 Nov 13 17:37 local_cpulist -r--r--r-- 1 root root 4096 Nov 13 17:37 local_cpus -r--r--r-- 1 root root 4096 Nov 13 17:37 modalias -rw-r--r-- 1 root root 4096 Nov 13 17:37 msi_bus -r--r--r-- 1 root root 4096 Nov 13 17:37 numa_node drwxr-xr-x 2 root root 0 Nov 13 17:37 power --w--w---- 1 root root 4096 Nov 13 17:37 remove --w--w---- 1 root root 4096 Nov 13 17:37 rescan --w------- 1 root root 4096 Nov 13 17:...
2012 Dec 05
12
[PATCH 1/3] virtio: change to_vp_device to an inlined definition
to_vp_device is worth changing to inlined definition. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- drivers/virtio/virtio_pci.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/virtio/virtio_pci.c b/drivers/virtio/virtio_pci.c index e3ecc94..7681fe3 100644 --- a/drivers/virtio/virtio_pci.c +++ b/drivers/virtio/virtio_pci.c @@ -98,11 +98,7 @@
2012 Dec 05
12
[PATCH 1/3] virtio: change to_vp_device to an inlined definition
to_vp_device is worth changing to inlined definition. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- drivers/virtio/virtio_pci.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/virtio/virtio_pci.c b/drivers/virtio/virtio_pci.c index e3ecc94..7681fe3 100644 --- a/drivers/virtio/virtio_pci.c +++ b/drivers/virtio/virtio_pci.c @@ -98,11 +98,7 @@