Hi all!
Im struggling with Weather Display in Ubuntu. I was hoping someone could understand what I trying to say. Im pretty new as a Ubuntu user, so some of my questions may be wierd… I have read the “Topic: HowTo: Create device-matching udev rules and permissions”, but Im still dont understand. Probably a little slow…
Here is what I got:
Hardware : HP pc with Vista Home Premium installed.
Oregon Scientific WMR200A weather station.
OS : Ubuntu 9.10 - Karmic Koala
Software : Weather Display for Linux
Working perfectly under Vista when using the Windows version, but I get errors in Weather Display when starting it in Ubuntu.
What I’ve done :
I started it. Got the Nag screen, pressed ok, and i get a picture showing the display.
First this message appear:
Looking for data from 18:53:00 01/20/10
USB port failed to open
No more missed data count 1
No more missed data count 2
…
then the terminal window show a LOT of these messages:
USBWrite USB device is not open USBWrite USB device is not open USBWrite USB device is not open USBWrite USB device is not open USBWrite USB device is not open USBWrite USB device is not open USBWrite USB device is not open USBWrite USB device is not open USBWrite USB device is not open USBWrite USB device is not open USBWrite USB device is not open USBWrite USB device is not open USBWrite USB device is not open USBWrite USB device is not open USBWrite USB device is not open USBWrite USB device is not open USBWrite USB device is not open USB
I have read a little about this on various forums, and tried some of it, but im not a linux expert, so much of this is beyond my wit.
Got a hint about udev in one of the post. I did :
kjetil@linux:~/Skrivebord/wdisplay$ udevadm monitor --environment
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[1264018703.353452] add /devices/pci0000:00/0000:00:1d.2/usb4/4-1 (usb)
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb4/4-1
SUBSYSTEM=usb
DEVNAME=bus/usb/004/011
DEVTYPE=usb_device
DEVICE=/proc/bus/usb/004/011
PRODUCT=fde/ca01/302
TYPE=0/0/0
BUSNUM=004
DEVNUM=011
SEQNUM=1815
MAJOR=189
MINOR=394
UDEV [1264018703.355881] add /devices/pci0000:00/0000:00:1d.2/usb4/4-1 (usb)
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb4/4-1
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/004/011
DEVTYPE=usb_device
DEVICE=/proc/bus/usb/004/011
PRODUCT=fde/ca01/302
TYPE=0/0/0
BUSNUM=004
DEVNUM=011
SEQNUM=1815
ID_VENDOR=0fde
ID_VENDOR_ENC=0fde
ID_VENDOR_ID=0fde
ID_MODEL=Universal_Bridge
ID_MODEL_ENC=Universal\x20Bridge
ID_MODEL_ID=ca01
ID_REVISION=0302
ID_SERIAL=0fde_Universal_Bridge
ID_BUS=usb
ID_USB_INTERFACES=:030000:
MAJOR=189
MINOR=394
DEVLINKS=/dev/char/189:394
KERNEL[1264018703.357466] add /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0 (usb)
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
DEVICE=/proc/bus/usb/004/011
PRODUCT=fde/ca01/302
TYPE=0/0/0
INTERFACE=3/0/0
MODALIAS=usb:v0FDEpCA01d0302dc00dsc00dp00ic03isc00ip00
SEQNUM=1816
UDEV [1264018703.357546] add /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0 (usb)
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
DEVICE=/proc/bus/usb/004/011
PRODUCT=fde/ca01/302
TYPE=0/0/0
INTERFACE=3/0/0
MODALIAS=usb:v0FDEpCA01d0302dc00dsc00dp00ic03isc00ip00
SEQNUM=1816
KERNEL[1264018703.357691] add /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/0003:0FDE:CA01.0010 (hid)
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/0003:0FDE:CA01.0010
SUBSYSTEM=hid
HID_ID=0003:00000FDE:0000CA01
HID_NAME=Universal Bridge
HID_PHYS=usb-0000:00:1d.2-1/input0
DRIVER=generic-usb
MODALIAS=hid:b0003v00000FDEp0000CA01
SEQNUM=1817
UDEV [1264018703.357766] add /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/0003:0FDE:CA01.0010 (hid)
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/0003:0FDE:CA01.0010
SUBSYSTEM=hid
HID_ID=0003:00000FDE:0000CA01
HID_NAME=Universal Bridge
HID_PHYS=usb-0000:00:1d.2-1/input0
DRIVER=generic-usb
MODALIAS=hid:b0003v00000FDEp0000CA01
SEQNUM=1817
KERNEL[1264018703.376601] add /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/usb/hiddev0 (usb)
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/usb/hiddev0
SUBSYSTEM=usb
DEVNAME=usb/hiddev0
SEQNUM=1818
MAJOR=180
MINOR=96
UDEV [1264018703.376672] add /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/0003:0FDE:CA01.0010/hidraw/hidraw0 (hidraw)
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/0003:0FDE:CA01.0010/hidraw/hidraw0
SUBSYSTEM=hidraw
DEVNAME=/dev/hidraw0
SEQNUM=1819
MAJOR=252
MINOR=0
DEVLINKS=/dev/char/252:0
KERNEL[1264018703.376739] add /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/0003:0FDE:CA01.0010/hidraw/hidraw0 (hidraw)
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/0003:0FDE:CA01.0010/hidraw/hidraw0
SUBSYSTEM=hidraw
DEVNAME=hidraw0
SEQNUM=1819
MAJOR=252
MINOR=0
UDEV [1264018703.378287] add /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/usb/hiddev0 (usb)
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/usb/hiddev0
SUBSYSTEM=usb
DEVNAME=/dev/usb/hiddev0
SEQNUM=1818
MAJOR=180
MINOR=96
DEVLINKS=/dev/char/180:96
Sorry about all the pasting, im not sure what Im looking for. I think it is DEVNAME=/dev/usb/hiddev0, but im not sure.
I did another test I found in forum. I unplugged the device, started a tail and plugged the device back in. This is what I got:
kjetil@linux:~/Skrivebord/wdisplay$ tail -f -n 0 /var/log/kern.log
Jan 20 21:12:13 linux kernel: [30961.720019] usb 4-1: new low speed USB device using uhci_hcd and address 10
Jan 20 21:12:13 linux kernel: [30961.945133] usb 4-1: configuration #1 chosen from 1 choice
Jan 20 21:12:13 linux kernel: [30961.962120] generic-usb 0003:0FDE:CA01.000F: hiddev96,hidraw0: USB HID v1.10 Device [Universal Bridge] on usb-0000:00:1d.2-1/input0
My hope is that someone understand a little of this, and can guide me closer to my goal of getting a working Weather Display in Ubuntu.
Im happy for answers, even those who a yelling about me being stupid and so on…
–
Best regards,
Kjetil S.