On Sunday 02 January 2011 09:42:29 Francesco Talamona wrote:

> I think is an issue with the UDEV rules.
> At the end of /etc/udev/rules.d/10-local.rules I put this line for my
> liebert USB UPS:
> 
> SUBSYSTEMS=="usb",ATTRS{idVendor}=="10af",ATTRS{idProduct}=="0004",SYMLINK+
> ="liebert- ups" MODE="0660", GROUP="nut", OPTIONS="last_rule"
> 
> and in
> /etc/nut/ups.conf
> 
> user = nut
> [liebert]
>       port = /dev/liebert-ups
>       driver = liebert
> 
> Make sure also about permissions:
> lrwxrwxrwx 1 root root 11  2 gen 10.34 /dev/liebert-ups -> usb/hiddev0
> crw-rw---- 1 root nut 180, 96  2 gen 10.34 usb/hiddev0

Thanks  Francesco, I have now added the symlink to see if it makes a 
difference, however, as I was poking around I noticed that there is *no* 
hiddev* device at all ... is this an indication that something is amiss with 
my kernel?

# cat /usr/src/linux/.config | grep -i hid   
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
CONFIG_HIDRAW=y
CONFIG_USB_HID=y
# CONFIG_HID_PID is not set
CONFIG_USB_HIDDEV=y
# Special HID drivers
# CONFIG_HID_3M_PCT is not set
CONFIG_HID_A4TECH=y
# CONFIG_HID_ACRUX_FF is not set
CONFIG_HID_APPLE=y
CONFIG_HID_BELKIN=y
# CONFIG_HID_CANDO is not set
CONFIG_HID_CHERRY=y
CONFIG_HID_CHICONY=y
# CONFIG_HID_PRODIKEYS is not set
CONFIG_HID_CYPRESS=y
# CONFIG_HID_DRAGONRISE is not set
# CONFIG_HID_EGALAX is not set
CONFIG_HID_EZKEY=y
CONFIG_HID_KYE=y
# CONFIG_HID_GYRATION is not set
# CONFIG_HID_TWINHAN is not set
CONFIG_HID_KENSINGTON=y
CONFIG_HID_LOGITECH=y
CONFIG_HID_MICROSOFT=y
# CONFIG_HID_MOSART is not set
CONFIG_HID_MONTEREY=y
# CONFIG_HID_NTRIG is not set
# CONFIG_HID_ORTEK is not set
# CONFIG_HID_PANTHERLORD is not set
# CONFIG_HID_PETALYNX is not set
# CONFIG_HID_PICOLCD is not set
# CONFIG_HID_QUANTA is not set
# CONFIG_HID_ROCCAT is not set
# CONFIG_HID_ROCCAT_KONE is not set
# CONFIG_HID_SAMSUNG is not set
# CONFIG_HID_SONY is not set
# CONFIG_HID_STANTUM is not set
# CONFIG_HID_SUNPLUS is not set
# CONFIG_HID_GREENASIA is not set
# CONFIG_HID_SMARTJOYPLUS is not set
# CONFIG_HID_TOPSEED is not set
# CONFIG_HID_THRUSTMASTER is not set
# CONFIG_HID_ZEROPLUS is not set
# CONFIG_HID_ZYDACRON is not set

Anyway, with the modified rule in /etc/udev/rules.d/70-nut-usbups.rules:

ATTR{idVendor}=="075d", ATTR{idProduct}=="0300", SYMLINK+="iDowell", 
MODE="664", GROUP="nut"

I still get the same errors.

The symlink itself is not associated with hiddev*, but as follows:

ls -la /dev/iDowell 
lrwxrwxrwx 1 root root 15 Jan  3 15:12 /dev/iDowell -> bus/usb/003/056

Of course, since the device seems to be disconnected and reconnected 
continuously, the link similarly changes the device file that it points to.  A 
few seconds later I get:

ls -la /dev/iDowell 
ls: cannot access /dev/iDowell: No such file or directory

and then soon after:

ls -la /dev/iDowell 
lrwxrwxrwx 1 root root 15 Jan  3 15:14 /dev/iDowell -> bus/usb/003/063

Any ideas what I should be looking for, or what driver might work with this 
baby?
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to