Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
openct
openct-hald-addon.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openct-hald-addon.patch of Package openct
--- etc/openct.hald.in +++ etc/openct.hald.in @@ -1,16 +1,7 @@ #!/bin/bash -PRODUCT="`printf %x/%x/%x $HAL_PROP_USB_VENDOR_ID $HAL_PROP_USB_PRODUCT_ID \ - $HAL_PROP_USB_DEVICE_REVISION_BCD`" +PRODUCT="`printf %x/%x/%x $HAL_PROP_USB_DEVICE_VENDOR_ID $HAL_PROP_USB_DEVICE_PRODUCT_ID \ + $HAL_PROP_USB_DEVICE_DEVICE_REVISION_BCD`" -DEVICE="`printf /dev/bus/usb/%03u/%03u \ - $HAL_PROP_USB_BUS_NUMBER $HAL_PROP_USB_LINUX_DEVICE_NUMBER`" - -if test -e $DEVICE -then - exec @sbindir@/openct-control attach usb:$PRODUCT usb $DEVICE -fi - -DEVICE="`printf /proc/bus/usb/%03u/%03u \ - $HAL_PROP_USB_BUS_NUMBER $HAL_PROP_USB_LINUX_DEVICE_NUMBER`" -exec @sbindir@/openct-control attach usb:$PRODUCT usb $DEVICE +chown @USER@:@GROUP@ $HAL_PROP_LINUX_DEVICE_FILE +exec @sbindir@/openct-control attach usb:$PRODUCT usb $HAL_PROP_LINUX_DEVICE_FILE
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor