Closed kryp7ik closed 7 years ago
Alright never mind I got it to work. I just noticed there was a dev branch so I gave that one a try and it worked right away. Thanks a lot for all your hard work putting this together. My computer looks nice and psychedelic now :-)
Ok so I got everything installed without any errors but when I try to run any command it just sits there not responding. It doesn't trigger any errors but it is not having any effect on the lights either. I've tried running multiple different commands and all of the produce the same result....
'sudo hue spectrum 1' for example will just sit there and I've let it go for about 10 minutes and still no warning message or anything and I have to CTRL + C to stop the application.
The following is the output of 'udevadm info -a -n /dev/ttyACM0'
`looking at device '/devices/pci0000:00/0000:00:16.0/usb7/7-2/7-2:1.0/tty/ttyACM0': KERNEL=="ttyACM0" SUBSYSTEM=="tty" DRIVER==""
looking at parent device '/devices/pci0000:00/0000:00:16.0/usb7/7-2/7-2:1.0': KERNELS=="7-2:1.0" SUBSYSTEMS=="usb" DRIVERS=="cdc_acm" ATTRS{authorized}=="1" ATTRS{bAlternateSetting}==" 0" ATTRS{bInterfaceClass}=="02" ATTRS{bInterfaceNumber}=="00" ATTRS{bInterfaceProtocol}=="01" ATTRS{bInterfaceSubClass}=="02" ATTRS{bNumEndpoints}=="01" ATTRS{bmCapabilities}=="6" ATTRS{iad_bFirstInterface}=="00" ATTRS{iad_bFunctionClass}=="02" ATTRS{iad_bFunctionProtocol}=="01" ATTRS{iad_bFunctionSubClass}=="02" ATTRS{iad_bInterfaceCount}=="02" ATTRS{supports_autosuspend}=="1"
looking at parent device '/devices/pci0000:00/0000:00:16.0/usb7/7-2': KERNELS=="7-2" SUBSYSTEMS=="usb" DRIVERS=="usb" ATTRS{authorized}=="1" ATTRS{avoid_reset_quirk}=="0" ATTRS{bConfigurationValue}=="1" ATTRS{bDeviceClass}=="ef" ATTRS{bDeviceProtocol}=="01" ATTRS{bDeviceSubClass}=="02" ATTRS{bMaxPacketSize0}=="8" ATTRS{bMaxPower}=="100mA" ATTRS{bNumConfigurations}=="1" ATTRS{bNumInterfaces}==" 3" ATTRS{bcdDevice}=="0101" ATTRS{bmAttributes}=="80" ATTRS{busnum}=="7" ATTRS{configuration}=="" ATTRS{devnum}=="2" ATTRS{devpath}=="2" ATTRS{idProduct}=="00df" ATTRS{idVendor}=="04d8" ATTRS{ltm_capable}=="no" ATTRS{manufacturer}=="Microchip Technology Inc." ATTRS{maxchild}=="0" ATTRS{product}=="MCP2200 USB Serial Port Emulator" ATTRS{quirks}=="0x0" ATTRS{removable}=="unknown" ATTRS{serial}=="0001753250" ATTRS{speed}=="12" ATTRS{urbnum}=="84" ATTRS{version}==" 2.00"
looking at parent device '/devices/pci0000:00/0000:00:16.0/usb7': KERNELS=="usb7" SUBSYSTEMS=="usb" DRIVERS=="usb" ATTRS{authorized}=="1" ATTRS{authorized_default}=="1" ATTRS{avoid_reset_quirk}=="0" ATTRS{bConfigurationValue}=="1" ATTRS{bDeviceClass}=="09" ATTRS{bDeviceProtocol}=="00" ATTRS{bDeviceSubClass}=="00" ATTRS{bMaxPacketSize0}=="64" ATTRS{bMaxPower}=="0mA" ATTRS{bNumConfigurations}=="1" ATTRS{bNumInterfaces}==" 1" ATTRS{bcdDevice}=="0404" ATTRS{bmAttributes}=="e0" ATTRS{busnum}=="7" ATTRS{configuration}=="" ATTRS{devnum}=="1" ATTRS{devpath}=="0" ATTRS{idProduct}=="0001" ATTRS{idVendor}=="1d6b" ATTRS{interface_authorized_default}=="1" ATTRS{ltm_capable}=="no" ATTRS{manufacturer}=="Linux 4.4.0-47-generic ohci_hcd" ATTRS{maxchild}=="4" ATTRS{product}=="OHCI PCI host controller" ATTRS{quirks}=="0x0" ATTRS{removable}=="unknown" ATTRS{serial}=="0000:00:16.0" ATTRS{speed}=="12" ATTRS{urbnum}=="31" ATTRS{version}==" 1.10"
looking at parent device '/devices/pci0000:00/0000:00:16.0': KERNELS=="0000:00:16.0" SUBSYSTEMS=="pci" DRIVERS=="ohci-pci" ATTRS{broken_parity_status}=="0" ATTRS{class}=="0x0c0310" ATTRS{consistent_dma_mask_bits}=="32" ATTRS{d3cold_allowed}=="0" ATTRS{device}=="0x4397" ATTRS{dma_mask_bits}=="32" ATTRS{driver_override}=="(null)" ATTRS{enable}=="1" ATTRS{irq}=="22" ATTRS{local_cpulist}=="0-5" ATTRS{local_cpus}=="3f" ATTRS{msi_bus}=="1" ATTRS{numa_node}=="0" ATTRS{subsystem_device}=="0x4397" ATTRS{subsystem_vendor}=="0x1002" ATTRS{vendor}=="0x1002"
looking at parent device '/devices/pci0000:00': KERNELS=="pci0000:00" SUBSYSTEMS=="" DRIVERS==""`
So to me it seems that Linux is indeed recognizing it but it won't work for some reason. I also found some stuff on an arduino forum which uses a similar serial communication that suggested removing 'modemmanager' so I did that and rebooted my machine but that didn't change anything either.
I've tried plugging the hue+ box into different USB ports as well but continue to get the same result.
I've also tried manually specifying the port with the -p flag but again it still hangs up with no error messages or any output at all for that matter.
If there's any thing you could recommend it would be greatly appreciated.