Skip to content

Commit

Permalink
Added CH341SER driver with additional line
Browse files Browse the repository at this point in the history
  • Loading branch information
juliagoda committed Jun 5, 2017
1 parent c6dd579 commit f482c3d
Show file tree
Hide file tree
Showing 4 changed files with 1,425 additions and 2 deletions.
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ifeq ($(KERNELRELEASE), )

KERNELDIR := /lib/modules/$(shell uname -r)/build

PWD :=$(shell pwd)
default:
$(MAKE) -C $(KERNELDIR) M=$(PWD)
clean:
rm -rf .tmp_versions Module.symvers *.mod.c *.o *.ko .*.cmd Module.markers modules.order
load:
modprobe usbserial
insmod ch34x.ko
unload:
rmmod ch34x
else
obj-m := ch34x.o
endif
50 changes: 48 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,48 @@
# CH341SER
CH341SER module with fixed bug
# CH341SER driver

1. [About driver](#about-driver)
2. [Changes](#changes)
3. [Tests](#tests)
4. [Installation](#installation)
5. [Official website](#official-website)

<br/>
<br/>

## About driver

It's a manufacturer software of standard serial to usb chip marked CH340

<br/>
<br/>

## Changes

Added line
`#include <linux/sched/signal.h>`
which helps fix the problem below:
`error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]`

<br/>
<br/>
## Tests

Tested on:
* Arch Linux 4.11.3-1-hardened
* Arch Linux 4.11.3-1-ARCH

<br/>
<br/>

## Installation

See original readme.txt

<br/>
<br/>

## Official website

[http://www.wch.cn/download/CH341SER_LINUX_ZIP.html](http://www.wch.cn/download/CH341SER_LINUX_ZIP.html)


Loading

0 comments on commit f482c3d

Please sign in to comment.