#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 |
Description
Attachments (1)
Change History (6)
comment:1 Changed 6 years ago by stuge
comment:2 Changed 6 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!
comment:3 Changed 6 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 6 years ago by stuge
If someone wants to use it on anything but Linux just reopen the ticket. :)
comment:5 Changed 4 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
Note: See
TracTickets for help on using
tickets.

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