servas!

i need to use a USB Power switch (http://www.cleware.de/p-usbswitch3-E.html#USB-Switch4) on my ASUS WL-HDD to control the heating and venting in my greenhouse.

i successfully compiled kamikaze from trunk, i could successfully compile the program to control the device (http://www.vanheusden.com/clewarecontrol/#faq), but the thing i'm struggling around are the device-links, which are not created upon boot ...

the program-faq tells me, that i have to create the following file as udev-rule /etc/udev/rules.d/10-local.rules:
SUBSYSTEM=="usb", KERNEL=="hiddev[0-9]", NAME="usb/hiddev%n", MODE="0666"

but i do not get any links /dev/usb/*, not even the directory /dev/usb !

i also tried to make a rule 09-local.rules:
KERNEL=="1-1", SUBSYSTEM=="usb", ATTRS{idVendor}=="0008", ATTRS{idProduct}=="0d50", NAME="mytest", MODE="0666"

but no device is created ...

any idea, what i'm doing wrong? maybe i just overlooked something ...

ciao
  H.

uname -r
2.6.23.16
root@OpenWrt:/etc/udev/rules.d# lsusb
Bus 001 Device 002: ID 0d50:0008 Cleware GmbH
Bus 001 Device 001: ID 0000:0000 

root@OpenWrt:/etc/udev/rules.d# ls /dev
1-1             log             mtd2            mtdblock0       port            shm             usbdev1.1_ep00
console         mem             mtd2ro          mtdblock1       ppp             tty             usbdev1.1_ep81
full            mtd0            mtd3            mtdblock2       ptmx            ttyS0           usbdev1.2_ep00
fuse            mtd0ro          mtd3ro          mtdblock3       pts             ttyS1           usbdev1.2_ep81
kmem            mtd1            mtd4            mtdblock4       random          urandom         zero
kmsg            mtd1ro          mtd4ro          null            root            usb1

dmesg
.....
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
br-lan: port 1(eth1) entering learning state
br-lan: topology change detected, propagating
br-lan: port 1(eth1) entering forwarding state
usbcore: registered new device driver usb
PPP generic driver version 2.4.2
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
ohci_hcd ssb0:4: SSB OHCI Controller
ohci_hcd ssb0:4: new USB bus registered, assigned bus number 1
ohci_hcd ssb0:4: irq 3, io mem 0x18004000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
USB Universal Host Controller Interface driver v3.0
usb 1-1: new low speed USB device using ohci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
Driver for 1-wire Dallas network protocol.
i2c /dev entries driver
Custom GPIO-based I2C driver version 0.1.0
i2c-gpio-custom: no bus parameter(s) specified
i2c-gpio: probe failed: -19
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver ftdi_sio
drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver
drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
HID device not claimed by input or hiddev
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
fuse init (API version 7.8)
fuse distribution version: 2.7.3

root@OpenWrt:/etc/udev/rules.d# lsmod
Module                  Size  Used by    Not tainted
fuse                   38096  0
usbhid                 17776  0
pl2303                 15440  0
ftdi_sio               22992  0
hid                    53952  1 usbhid
usb_storage            28032  0
usbserial              24608  2 pl2303,ftdi_sio
evdev                   6880  0
i2c_algo_bit            5264  0
i2c_dev                 4240  0
i2c_core               14032  2 i2c_algo_bit,i2c_dev
wire                   16928  0
ehci_hcd               28848  0
uhci_hcd               19920  0
ohci_hcd               16656  0
input_core             20208  3 usbhid,hid,evdev
sd_mod                 18512  0
ppp_async               9856  0
ppp_generic            20192  1 ppp_async
slhc                    5376  1 ppp_generic
crc_ccitt               1024  1 ppp_async
vfat                    8576  0
fat                    42576  1 vfat
usbcore               106576  9 usbhid,pl2303,ftdi_sio,usb_storage,usbserial,ehci_hcd,uhci_hcd,ohci_hcd
switch_core             5088  0
scsi_mod               72256  2 usb_storage,sd_mod
nls_base                4448  2 vfat,fat
diag                    7120  0

and finally:
root@OpenWrt:/etc/udev/rules.d# udevinfo -a -p /sys/bus/usb/devices/1-1

Udevinfo starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

  looking at device '/devices/ssb0:4/usb1/1-1':
    KERNEL=="1-1"
    SUBSYSTEM=="usb"
    DRIVER=="usb"
    ATTR{serial}=="0004F78"
    ATTR{product}=="USB-Switch"
    ATTR{manufacturer}=="Cleware GmbH"
    ATTR{quirks}=="0x0"
    ATTR{maxchild}=="0"
    ATTR{version}==" 1.10"
    ATTR{devnum}=="2"
    ATTR{busnum}=="1"
    ATTR{speed}=="1.5"
    ATTR{bMaxPacketSize0}=="8"
    ATTR{bNumConfigurations}=="1"
    ATTR{bDeviceProtocol}=="00"
    ATTR{bDeviceSubClass}=="00"
    ATTR{bDeviceClass}=="00"
    ATTR{bcdDevice}=="0017"
    ATTR{idProduct}=="0008"
    ATTR{idVendor}=="0d50"
    ATTR{bMaxPower}=="120mA"
    ATTR{bmAttributes}=="80"
    ATTR{bConfigurationValue}=="1"
    ATTR{bNumInterfaces}==" 1"
    ATTR{configuration}==""
    ATTR{dev}=="189:1"

  looking at parent device '/devices/ssb0:4/usb1':
    KERNELS=="usb1"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{serial}=="ssb0:4"
    ATTRS{product}=="SSB OHCI Controller"
    ATTRS{manufacturer}=="Linux 2.6.23.16 ssb-usb-ohci"
    ATTRS{quirks}=="0x0"
    ATTRS{maxchild}=="2"
    ATTRS{version}==" 1.10"
    ATTRS{devnum}=="1"
    ATTRS{busnum}=="1"
    ATTRS{speed}=="12"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceClass}=="09"
    ATTRS{bcdDevice}=="0206"
    ATTRS{idProduct}=="0000"
    ATTRS{idVendor}=="0000"
    ATTRS{bMaxPower}=="  0mA"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{configuration}==""
    ATTRS{dev}=="189:0"

  looking at parent device '/devices/ssb0:4':
    KERNELS=="ssb0:4"
    SUBSYSTEMS=="ssb"
    DRIVERS=="ohci_hcd"