Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#57 closed enhancement (invalid)

libusb host program for PLX NET20DC debug device

Reported by: stuge Owned by: somebody
Priority: major Milestone:
Component: coreboot Keywords: usb ehci debug
Cc: Dependencies:
Patch Status: patch needs review


Attachments (1)

usb_debug_io.c (3.0 KB) - added by stuge 9 years ago.
revised with license header and small blksize improvement

Download all attachments as: .zip

Change History (6)

comment:1 Changed 9 years ago by stuge

#can't attach the Makefile so here it is: LDFLAGS=-lusb TARGET=usb_debug_io SRC=$(TARGET).c


gcc -Wall -g -o $@ $(SRC) $(LDFLAGS)


rm -f $(TARGET)

comment:2 Changed 9 years ago by uwe

  • Patch Status changed from there is no patch to patch needs review

Please add a license header to the file(s). Thanks!

Changed 9 years ago by stuge

revised with license header and small blksize improvement

comment:3 Changed 9 years ago by stuge

  • Resolution set to invalid
  • Status changed from new to closed

Not much point in having this code. The usb-serial generic module can do the job just as well, and provides a ttyUSBx interface for any existing serial port utilities. Run

# modprobe usb-serial vendor=0x0525 product=0x127a

to load the driver and associate it with the NET20DC, either before or after the device is connected to the host.

Greg K-H is working on a specific driver for the device (class) as well.

comment:4 Changed 9 years ago by stuge

If someone wants to use it on anything but Linux just reopen the ticket. :)

comment:5 Changed 7 years ago by stepan

To compile this on MacOS X, install libusb from MacPorts? and compile the program with:

gcc -O2 -Wall usb_debug_io.c /opt/local/lib/libusb.a -o usb_debug_io -I/opt/local/include/ -framework IOKit -framework CoreFoundation

Add Comment

Modify Ticket

as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.