harbaum/I2C-Tiny-USB

"Failed to read functionality" after program

roycepope opened this issue · 1 comments

After programming my ATTiny85 with the included main.hex I am getting the following messages in dmesg.

[ 1829.201263] usb 3-1.3: new low-speed USB device number 10 using xhci_hcd
[ 1829.291719] usb 3-1.3: New USB device found, idVendor=16d0, idProduct=0753
[ 1829.291726] usb 3-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1831.328892] usb 3-1.3: USB disconnect, device number 10
[ 1831.558550] usb 3-1.3: new low-speed USB device number 11 using xhci_hcd
[ 1831.639708] usb 3-1.3: New USB device found, idVendor=0403, idProduct=c631
[ 1831.639716] usb 3-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1831.639720] usb 3-1.3: Product: i2c-tiny-usb
[ 1831.639724] usb 3-1.3: Manufacturer: Till Harbaum
[ 1831.639728] usb 3-1.3: SerialNumber: 0215
[ 1831.640173] i2c-tiny-usb 3-1.3:1.0: version 2.01 found at bus 003 address 011
[ 1831.641538]  (null): failure reading functionality
[ 1831.641575] i2c i2c-4: failure reading functionality
[ 1831.641678] i2c i2c-4: connected i2c-tiny-usb device

The device shows up as a "dummy bus"

i2c-4	dummy     	i2c-tiny-usb at bus 003 device 011	Dummy bus

I tried it both with 10K resisters and internal resisters. Same error.
IMG_0960

Issue was due to an older kernel https://lore.kernel.org/patchwork/patch/785282/

Running: 4.4.196-1.el7.elrepo.x86_64 and no longer see an issue.