BeetleX Posted May 28, 2019 Share Posted May 28, 2019 Hi, I want to attach an external USB-I2C adapter (i2c-tiny-usb, https://github.com/harbaum/I2C-Tiny-USB). As I understand, the existing kernel drivers should be invoked for this. First I tried with Raspian, all went fine: [ 66.451429] usb 1-1.3: new low-speed USB device number 7 using dwc_otg [ 66.595547] usb 1-1.3: New USB device found, idVendor=0403, idProduct=c631 [ 66.595562] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 66.595571] usb 1-1.3: Product: i2c-tiny-usb [ 66.595579] usb 1-1.3: Manufacturer: Till Harbaum [ 66.595587] usb 1-1.3: SerialNumber: 0150 [ 66.633027] i2c-tiny-usb 1-1.3:1.0: version 2.01 found at bus 001 address 007 [ 66.636876] i2c i2c-3: connected i2c-tiny-usb device [ 66.637519] usbcore: registered new interface driver i2c-tiny-usb The same with cubietruck, kernel 4.13.16, i2c activated in armbian-config: [9266171.211947] usb 3-1: new low-speed USB device number 4 using ohci-platform [9266171.478997] usb 3-1: New USB device found, idVendor=0403, idProduct=c631 [9266171.479011] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [9266171.479017] usb 3-1: Product: i2c-tiny-usb [9266171.479023] usb 3-1: Manufacturer: Till Harbaum [9266171.479029] usb 3-1: SerialNumber: 0189 The driver seems not to be activated. Anything I could do for diagnosis? Rgds, Holger Link to comment Share on other sites More sharing options...
Tido Posted May 28, 2019 Share Posted May 28, 2019 1 minute ago, BeetleX said: Anything I could do for diagnosis? armbianmonitor -u tells the reader all the details about your Installation, like Kernel-Version and much more Link to comment Share on other sites More sharing options...
BeetleX Posted May 28, 2019 Author Share Posted May 28, 2019 http://sprunge.us/4pkzYv Link to comment Share on other sites More sharing options...
Igor Posted May 28, 2019 Share Posted May 28, 2019 Enable https://github.com/armbian/build/blob/master/config/kernel/linux-sunxi-next.config#L2744 , submit PR and wait for next update. If you need it faster, use build tools and make a custom kernel while enabling this on the way. 4 hours ago, BeetleX said: i2c activated in armbian-config This is related to onboard I2C. Link to comment Share on other sites More sharing options...
BeetleX Posted May 28, 2019 Author Share Posted May 28, 2019 Great, thank you! Link to comment Share on other sites More sharing options...
Recommended Posts