Ticket #57 (closed enhancement: invalid)

Opened 3 years ago

Last modified 4 months ago

libusb host program for PLX NET20DC debug device

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

Description


Attachments

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

Change History

Changed 3 years ago by stuge

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

$(TARGET): $(SRC)

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

clean:

rm -f $(TARGET)

Changed 3 years ago by uwe

  • patchstatus changed from there is no patch to patch needs review

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

Changed 3 years ago by stuge

revised with license header and small blksize improvement

Changed 3 years ago by stuge

  • status changed from new to closed
  • resolution set to invalid

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.

Changed 3 years ago by stuge

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

Changed 4 months 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/Change #57 (libusb host program for PLX NET20DC debug device)

Author


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


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.