Enable the libusb on your system.

NT software on Linux testing.
Post Reply
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Enable the libusb on your system.

Post by usbbdm »

This will allow you to run USB JTAG NT software as normal user. Not need to run as root.

Modify file /lib/udev/rules.d/50-udev-default.rules

Find this line


# libusb device nodes
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0644"


And change it to

SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0666"

Restart your linux should do the job.
PAPAUKA
Junior Member
Posts: 105
Joined: Tue Mar 31, 2009 10:25 am

Post by PAPAUKA »

thanks...usbbdm
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

Tested in SuSe 32 bit
Change from line
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0644"
To
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"

Restart the Linux and it works fine.
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Fedora 14 32 bit.

Post by usbbdm »

Change from
Change from line
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0644"
To
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"

Need to use command
./USBJTAGNT -style windows to be able to bypass the crash when open the dialog.
Also
./UJmodem -style windows.
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

ubuntu 10.10 32 bit.

Post by usbbdm »

Change from line
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0644"
To
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"

Need to use command
./USBJTAGNT -style windows to be able to bypass the crash when open the dialog.
Also
./UJmodem -style windows.

Test result same as Fedora 14.
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

kubuntu 10.10

Post by usbbdm »

Same as ubuntu 10.10
Koevoet
Junior Member
Posts: 298
Joined: Sat Nov 18, 2006 8:29 am

Post by Koevoet »

Only problem with this is once the kernel etc is updated , it will revert back to default values , so will need to be done again.

Regards
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Ubuntu and kubunto now works!!.

Post by usbbdm »

After days of trying finally I made this work!!
If on ubuntu or kubuntu (32bit or 64 bit) the default USB JTAG NT software will not get USB connected. Try this command (root)
modprobe -r usbtest
Then it ------. Try and have fun with Linux.

So far most of the linux versions have been tested. Report your result.
Koevoet
Junior Member
Posts: 298
Joined: Sat Nov 18, 2006 8:29 am

Post by Koevoet »

usbbdm wrote:After days of trying finally I made this work!!
If on ubuntu or kubuntu (32bit or 64 bit) the default USB JTAG NT software will not get USB connected. Try this command (root)



Then it ------. Try and have fun with Linux.

So far most of the linux versions have been tested. Report your result.
Just adding to this , as the above is not a permanant fixture , you could alternatiely do this and blacklist usbtest , add too or create
gedit /etc/modprobe.d/blacklist-custom.conf and add the line
blacklist usbtest

Then reload udev with sudo service udev restart or reboot pc .


abescalamis
Junior Member
Posts: 32
Joined: Fri Feb 05, 2010 2:16 pm

Post by abescalamis »

I tried all of the above and still couldn't get it to recognize the usbbdmnt and also if I use the first release both applications open usbjtagnt and UJmodem with the latest only ujmodem
I'm using ubuntu 10.04
Koevoet
Junior Member
Posts: 298
Joined: Sat Nov 18, 2006 8:29 am

Post by Koevoet »

Open the software via command line as root as see what error it gives you in the terminal window.

Regards
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

abescalamis wrote:I tried all of the above and still couldn't get it to recognize the usbbdmnt and also if I use the first release both applications open usbjtagnt and UJmodem with the latest only ujmodem
I'm using ubuntu 10.04
This could indicate incompatible LibQt library.
Which version of libQT you are using?
I might have built UJmodem and newer USBJTAG NT with different libQT library. I can fix that.
longjon
Junior Member
Posts: 8
Joined: Wed Aug 12, 2009 6:17 am

LoNgJoN

Post by longjon »

Hi can anybody tell me if they are having connection issues
I'm on Backtrack 5 r1 {Based on Ubuntu 10.04} When I open UJmodem connection flickers on and off repeatedly I followed the steps above except
the Blacklist part and restarted my laptop and I still end up with same thing
if anyone has seen or gone trough this and has information that may be
useful please help Thank you in advance
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

longjon wrote:Hi can anybody tell me if they are having connection issues
I'm on Backtrack 5 r1 {Based on Ubuntu 10.04} When I open UJmodem connection flickers on and off repeatedly I followed the steps above except
the Blacklist part and restarted my laptop and I still end up with same thing
if anyone has seen or gone trough this and has information that may be
useful please help Thank you in advance
You need to only have ONE USB JTAG NT application running. That means if you have UBSJTAG NT and UJmodem open you might see this.
longjon
Junior Member
Posts: 8
Joined: Wed Aug 12, 2009 6:17 am

Post by longjon »

I tried that even restarted my computer and ran ujmodem from the terminal
as root and I still get the same thing over and over again could it be something with the application permissions or a driver conflict
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests