[Bug 251232] devel/urjtag: broken - not working with usb devices

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 18 06:32:07 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251232

            Bug ID: 251232
           Summary: devel/urjtag: broken - not working with usb devices
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri at freebsd.org
          Reporter: tingox+freebsd at gmail.com
             Flags: maintainer-feedback?(yuri at freebsd.org)
          Assignee: yuri at freebsd.org

latest urjtag in ports doesn't want to talk to usb devices. Installed from
package on a 11.4 machine:
tingo at kg-core2$ uname -a
FreeBSD kg-core2.kg4.no 11.4-RELEASE-p3 FreeBSD 11.4-RELEASE-p3 #0: Tue Sep  1
08:22:33 UTC 2020    
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

root at kg-core2# pkg info urjtag*
urjtag-2019.12
root at kg-core2# pkg options urjtag
urjtag - FTDI: on
urjtag - JEDEC: off
urjtag - NLS: on
urjtag - PYTHON: off
urjtag - USB: on

a DirtyJTAG adapter is correctly identified:
root at kg-core2# usbconfig -d ugen0.4
ugen0.4: <DirtyJTAG Jean THOMAS> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=ON (100mA)
root at kg-core2# ls -l /dev/ugen0.4 /dev/usb/0.4.0
lrwxr-xr-x  1 root  wheel         9 Nov  4 22:18 /dev/ugen0.4 -> usb/0.4.0
crw-rw----  1 root  operator  0x2d4 Nov  4 22:18 /dev/usb/0.4.0

and it has permissions so that my user can access it:
tingo at kg-core2$ groups tingo
tingo wheel operator video dialer cups

urjtag doesn't want to talk to the adapter
tingo at kg-core2$ jtag

UrJTAG 2019.12 #
Copyright (C) 2002, 2003 ETC s.r.o.
Copyright (C) 2007, 2008, 2009 Kolja Waschk and the respective authors

UrJTAG is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
There is absolutely no warranty for UrJTAG.

warning: UrJTAG may damage your hardware!
Type "quit" to exit, "help" for help.

jtag> cable dirtyjtag
error: Couldn't connect to suitable USB device.
jtag> quit
I also tried with sudo - no difference. I also tried building devel/urjtag from
ports - no difference. The hardware is verified working (including the usb
cable) on another machine running the same version of urjtag (but running on
Linux).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list