Shawn Rutledge
2005-04-06 07:09:45 UTC
I'm running kernel 2.6.9-mm1 with devfs. I just downloaded and
compiled x10dev-2.1.1, and modprobe x10 debug=1 works OK:
x10: X10 DEV module v2.1.1 (***@sprintmail.com)
x10: $Id: dev.c,v 1.22 2005/03/27 04:39:26 root Exp $
/usr/src/x10dev-2.1.1/dev/dev.c/527/x10_init(): starting initialization
/usr/src/x10dev-2.1.1/dev/dev.c/531/x10_init(): registering data_major
device 120 for x10d
/usr/src/x10dev-2.1.1/dev/dev.c/543/x10_init(): registering
control_major unit 121 for x10c
/usr/src/x10dev-2.1.1/dev/dev.c/554/x10_init(): X10 /dev devices registered
x10: X10 driver successfully loaded
Then I tried re-plugging my PowerLinc in case that was the reason for
the problem:
usb 1-1: USB disconnect, address 2
usb 1-2: new low speed USB device using address 3
hiddev96: USB HID v1.00 Device [SmartHome SmartHome PowerLinc USB] on
usb-0000:00:07.2-2
[nucleus][11:12:06 PM] /usr/sbin/plusbd -device /dev/usb/hid/hiddev0
Error: Unable to open device /dev/x10/.api (No such file or directory)
Indeed /dev/x10/.api doesn't exist:
[nucleus][11:20:34 PM] ll /dev/x10/
total 0
drwxr-xr-x 1 root root 0 Feb 15 00:30 .
drwxr-xr-x 1 root root 0 Dec 31 1969 ..
crw-r--r-- 1 root root 121, 0 Feb 15 00:30 a
crw-r--r-- 1 root root 120, 0 Feb 15 00:30 a1
crw-r--r-- 1 root root 120, 1 Feb 15 00:30 a2
crw-r--r-- 1 root root 121, 16 Feb 15 00:30 araw
crw-r--r-- 1 root root 121, 1 Feb 15 00:30 b
crw-r--r-- 1 root root 120, 16 Feb 15 00:30 b1
crw-r--r-- 1 root root 120, 17 Feb 15 00:30 b2
crw-r--r-- 1 root root 121, 17 Feb 15 00:30 braw
crw-r--r-- 1 root root 121, 33 Feb 15 00:30 status
crw-r--r-- 1 root root 121, 32 Feb 15 00:30 statusraw
I was stuck a few months ago trying to do this, and gave up; maybe it
was the same bug but I don't remember.
compiled x10dev-2.1.1, and modprobe x10 debug=1 works OK:
x10: X10 DEV module v2.1.1 (***@sprintmail.com)
x10: $Id: dev.c,v 1.22 2005/03/27 04:39:26 root Exp $
/usr/src/x10dev-2.1.1/dev/dev.c/527/x10_init(): starting initialization
/usr/src/x10dev-2.1.1/dev/dev.c/531/x10_init(): registering data_major
device 120 for x10d
/usr/src/x10dev-2.1.1/dev/dev.c/543/x10_init(): registering
control_major unit 121 for x10c
/usr/src/x10dev-2.1.1/dev/dev.c/554/x10_init(): X10 /dev devices registered
x10: X10 driver successfully loaded
Then I tried re-plugging my PowerLinc in case that was the reason for
the problem:
usb 1-1: USB disconnect, address 2
usb 1-2: new low speed USB device using address 3
hiddev96: USB HID v1.00 Device [SmartHome SmartHome PowerLinc USB] on
usb-0000:00:07.2-2
[nucleus][11:12:06 PM] /usr/sbin/plusbd -device /dev/usb/hid/hiddev0
Error: Unable to open device /dev/x10/.api (No such file or directory)
Indeed /dev/x10/.api doesn't exist:
[nucleus][11:20:34 PM] ll /dev/x10/
total 0
drwxr-xr-x 1 root root 0 Feb 15 00:30 .
drwxr-xr-x 1 root root 0 Dec 31 1969 ..
crw-r--r-- 1 root root 121, 0 Feb 15 00:30 a
crw-r--r-- 1 root root 120, 0 Feb 15 00:30 a1
crw-r--r-- 1 root root 120, 1 Feb 15 00:30 a2
crw-r--r-- 1 root root 121, 16 Feb 15 00:30 araw
crw-r--r-- 1 root root 121, 1 Feb 15 00:30 b
crw-r--r-- 1 root root 120, 16 Feb 15 00:30 b1
crw-r--r-- 1 root root 120, 17 Feb 15 00:30 b2
crw-r--r-- 1 root root 121, 17 Feb 15 00:30 braw
crw-r--r-- 1 root root 121, 33 Feb 15 00:30 status
crw-r--r-- 1 root root 121, 32 Feb 15 00:30 statusraw
I was stuck a few months ago trying to do this, and gave up; maybe it
was the same bug but I don't remember.