Skip to content

Commit f52f382

Browse files
committed
bbctl: add atmega32u2 product id to udev rule
Signed-off-by: Jeppe Ledet-Pedersen <[email protected]>
1 parent 84e6b76 commit f52f382

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bluebox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def dfu(self):
310310

311311
time.sleep(1)
312312

313-
self.dev = usb.core.find(idVendor=self.ATMEL_VENDOR, idProduct=self.ATMEL_PRODUCT)
313+
self.dev = usb.core.find(idVendor=self.ATMEL_VENDOR)
314314
if self.dev is None:
315315
raise Exception("Failed to set device in DFU mode")
316316

udev/49-atmel.rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ff4", MODE:="0666"
1+
SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ff[04]", MODE:="0666"

0 commit comments

Comments
 (0)