Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] USB device (ATtiny86 w. mcronucleus bootloader) not recognized ?
Date: Sun, 06 Aug 2017 16:50:19
Message-Id: 20170806165007.vvdaek6pml3p7v4u@solfire
1 Hi,
2
3 sorry, this will become a little longish...
4
5 Background: To program an ATMEL ATtiny85 via USB
6 without a dedicated USB chip there is a bootloader
7 called "micornucleys", which bitbangs the USB protocoll.
8 This mechanism is used in Digistupms Digispark ATTtiny
9 developmnent board (http://digistump.com/products/1).
10
11 So far so ....nice?
12
13 When I plug in such a little board into my PC, demesg
14 reports:
15 [ 1429.834140] usb 7-4: new low-speed USB device number 15 using ohci-pci
16 [ 1429.965142] usb 7-4: device descriptor read/64, error -62
17 [ 1430.203151] usb 7-4: device descriptor read/64, error -62
18 [ 1430.438161] usb 7-4: new low-speed USB device number 16 using ohci-pci
19 [ 1430.569151] usb 7-4: device descriptor read/64, error -62
20 [ 1430.803174] usb 7-4: device descriptor read/64, error -62
21 [ 1431.038184] usb 7-4: new low-speed USB device number 17 using ohci-pci
22 [ 1431.456157] usb 7-4: device not accepting address 17, error -62
23 [ 1431.582204] usb 7-4: new low-speed USB device number 18 using ohci-pci
24 [ 1432.000209] usb 7-4: device not accepting address 18, error -62
25 [ 1432.000244] usb usb7-port4: unable to enumerate USB device
26
27 or similiar. lsusb does not show anything related at all.
28
29 As recommended on related pages on the internet, I installed
30 dedicated udev rules to show the needed ttyACM device. But
31 since the kernel itsself fails to accept the device, the best
32 udev rules will not work.
33
34 My first thought was: The micronucleus bootloaed is missing or
35 is defective...
36
37 But plugging in the board into my Android tablet (the tablet runs
38 Lollipop and is nothing special at all beside being rooted) via
39 an OTG cable and using lsusb after that, it shows
40 Bus 001 Device 003 ID 16d0:0753 MCS Digistump DigiSpark
41
42 dmesg reports for this device to use the modyle xhci_hcd.
43
44 I loaded that module by hand on my Gentoo PC and reinserted
45 the Digispark: Nothing...same errors as before.
46
47 What can I do to make this Digispark being correctly recognized?
48
49 Thank you VERY much for any help in advance!
50
51 Cheers
52 Meino

Replies