Gentoo Archives: gentoo-user

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

Attachments

File name MIME type
signature.asc application/pgp-signature