Kernel for A64 git
#62
(04-17-2016, 03:26 AM)peterz Wrote:
(04-16-2016, 09:42 PM)Hart Wrote: I was trying to compile a module also. It was for CH34x driver, the usb serial converter on the Chinese Arduino clones so I could use the Arduino IDE. I got the same problem. The make compiler is looking for a directory that does not exist. You will need to create it and you will need SU or root privelege to do so. Go into your terminal and type 'sudo bash', then enter password 'ubuntu'. You will have a terminal with all root priveleges and file system ownership.
Create the directory build where the compiler is seeking it and place the makefile and any libraries in the build directory and then try the make command from there. It will at least try to compile. That was as far as I got because my particular example froze at like line 4700 or so in the compile. I am pretty rusty at this  and not sure if I have all the required dependancies in the install or what the problem is. But it took me quite a while to figure out that the compiler wanted the build files in the build directory and that I had to create it myself. Maybe you will have better luck with your module.

This driver is on my wish list (together with USB to RS232 converters based on Prolific pl2303 and FTDI  FT232R chips).
USB to RS232 converters based on CH34x chips are super cheap (~1.5 EUR/pcs on ebay) but doesn't work with some devices.

I tested them with following devices:
Works like charm with
- Cisco 2950 switches,
- Cisco 3550 switches,
- Cisco 1721 routers,
- Cisco 1751 routers
- Cisco 1760 routers 

Doesn't work with
- Cisco Aironet 1131ag AP
- Zyxel ES2108G switch.

There is seen output but only garbage characters.
Converters based on pl2303 and FT232R chips (the real ones not the fakes) works in all cases (but are several times more expensive then these cheap ones).

I think the best way would be if Longsleep would compile these modules and bundle them with kernel provided by himself so others can benefit from this in the future.

I have seen some thread where somebody else created a request for some driver and longsleep compiled it.
I'm going to find it and follow the instructions.
This I tested on my x86_64 PC. It seems that it is the same driver which longsleep added yesterday.

peter@ml310g3:~$ dmesg |grep -i ftdi
[  471.759160] usb 5-1: Manufacturer: FTDI
[  472.023377] usbcore: registered new interface driver ftdi_sio
[  472.027264] usbserial: USB Serial support registered for FTDI USB Serial Device
[  472.027376] ftdi_sio 5-1:1.0: FTDI USB Serial Device converter detected
[  472.030770] usb 5-1: FTDI USB Serial Device converter now attached to ttyUSB0

peter@ml310g3:~$ lsusb
Protocol spec without prior Class and Subclass spec at line 17403
Bus 006 Device 002: ID 03f0:1027 Hewlett-Packard Virtual keyboard and mouse
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

peter@ml310g3:~$ sudo lsusb -s 005:002 -v |egrep "idVendor|idProduct|iProduct"
Protocol spec without prior Class and Subclass spec at line 17403
  idVendor           0x0403 Future Technology Devices International, Ltd
  idProduct          0x6001 FT232 USB-Serial (UART) IC
  iProduct                2 USB Serial Converter

peter@ml310g3:~$ lsmod |grep ftdi
ftdi_sio               48930  0
usbserial              45014  1 ftdi_sio


Messages In This Thread
Kernel for A64 git - by longsleep - 02-14-2016, 03:00 AM
RE: Kernel for A64 git - by drag00n - 02-14-2016, 04:12 AM
RE: Kernel for A64 git - by longsleep - 02-14-2016, 04:28 AM
RE: Kernel for A64 git - by drag00n - 02-14-2016, 04:31 AM
RE: Kernel for A64 git - by umiddelb - 02-15-2016, 07:25 AM
RE: Kernel for A64 git - by longsleep - 02-15-2016, 11:05 AM
RE: Kernel for A64 git - by umiddelb - 02-15-2016, 12:11 PM
RE: Kernel for A64 git - by longsleep - 02-15-2016, 12:35 PM
RE: Kernel for A64 git - by longsleep - 02-21-2016, 06:47 AM
RE: Kernel for A64 git - by longsleep - 02-22-2016, 03:09 PM
RE: Kernel for A64 git - by longsleep - 02-23-2016, 02:53 PM
RE: Kernel for A64 git - by tllim - 02-23-2016, 04:28 PM
RE: Kernel for A64 git - by patrickhwood - 02-23-2016, 10:13 PM
RE: Kernel for A64 git - by longsleep - 02-24-2016, 12:36 AM
RE: Kernel for A64 git - by tllim - 02-24-2016, 06:54 PM
RE: Kernel for A64 git - by longsleep - 02-25-2016, 01:16 AM
RE: Kernel for A64 git - by umiddelb - 02-25-2016, 05:04 AM
RE: Kernel for A64 git - by patrickhwood - 02-25-2016, 10:01 AM
RE: Kernel for A64 git - by duanhongyi - 02-25-2016, 01:51 AM
RE: Kernel for A64 git - by longsleep - 02-25-2016, 06:15 AM
RE: Kernel for A64 git - by umiddelb - 02-26-2016, 02:46 AM
RE: Kernel for A64 git - by longsleep - 02-26-2016, 09:15 AM
RE: Kernel for A64 git - by longsleep - 02-28-2016, 03:36 AM
RE: Kernel for A64 git - by patrickhwood - 03-02-2016, 09:52 PM
RE: Kernel for A64 git - by patrickhwood - 03-04-2016, 11:45 AM
RE: Kernel for A64 git - by longsleep - 03-05-2016, 03:41 AM
RE: Kernel for A64 git - by longsleep - 03-06-2016, 10:36 AM
RE: Kernel for A64 git - by tllim - 03-06-2016, 10:47 AM
RE: Kernel for A64 git - by longsleep - 03-06-2016, 10:59 AM
RE: Kernel for A64 git - by longsleep - 03-12-2016, 03:14 AM
RE: Kernel for A64 git - by longsleep - 03-12-2016, 10:39 AM
RE: Kernel for A64 git - by sbhere - 03-13-2016, 09:34 PM
RE: Kernel for A64 git - by Terra854 - 03-17-2016, 09:14 PM
RE: Kernel for A64 git - by longsleep - 03-19-2016, 03:32 PM
RE: Kernel for A64 git - by tllim - 03-19-2016, 08:41 PM
RE: Kernel for A64 git - by duanhongyi - 03-23-2016, 06:27 AM
RE: Kernel for A64 git - by Andrew2 - 03-23-2016, 06:32 AM
RE: Kernel for A64 git - by janjwerner - 03-23-2016, 12:51 PM
RE: Kernel for A64 git - by falk.ben@gmail.com - 03-24-2016, 01:16 PM
RE: Kernel for A64 git - by janjwerner - 03-24-2016, 06:42 PM
RE: Kernel for A64 git - by keiothic - 03-30-2016, 03:00 PM
RE: Kernel for A64 git - by ak_hepcat - 03-30-2016, 06:18 PM
RE: Kernel for A64 git - by janjwerner - 03-30-2016, 07:47 PM
RE: Kernel for A64 git - by patrickhwood - 03-31-2016, 08:49 AM
RE: Kernel for A64 git - by longsleep - 03-31-2016, 10:42 AM
RE: Kernel for A64 git - by ak_hepcat - 03-31-2016, 11:58 AM
RE: Kernel for A64 git - by DaveKram - 04-01-2016, 07:21 AM
RE: Kernel for A64 git - by ak_hepcat - 04-01-2016, 09:54 AM
RE: Kernel for A64 git - by longsleep - 04-03-2016, 03:03 AM
RE: Kernel for A64 git - by mane - 04-07-2016, 03:08 AM
RE: Kernel for A64 git - by Terra854 - 04-08-2016, 09:26 AM
RE: Kernel for A64 git - by longsleep - 04-08-2016, 10:13 AM
RE: Kernel for A64 git - by Terra854 - 04-11-2016, 01:21 AM
RE: Kernel for A64 git - by longsleep - 04-11-2016, 12:01 PM
RE: Kernel for A64 git - by longsleep - 04-16-2016, 03:49 AM
RE: Kernel for A64 git - by tomekr - 04-16-2016, 07:11 AM
RE: Kernel for A64 git - by longsleep - 04-16-2016, 07:56 AM
RE: Kernel for A64 git - by rahlquist - 04-16-2016, 06:33 PM
RE: Kernel for A64 git - by Hart - 04-16-2016, 09:42 PM
RE: Kernel for A64 git - by peterz - 04-17-2016, 03:26 AM
RE: Kernel for A64 git - by peterz - 04-17-2016, 04:44 AM
RE: Kernel for A64 git - by thantik - 04-17-2016, 01:22 PM
RE: Kernel for A64 git - by Hart - 04-17-2016, 05:14 PM
RE: Kernel for A64 git - by Terra854 - 04-20-2016, 09:05 PM
RE: Kernel for A64 git - by jocover - 04-21-2016, 02:01 AM
RE: Kernel for A64 git - by Pirin - 04-23-2016, 09:28 AM
RE: Kernel for A64 git - by longsleep - 04-23-2016, 09:33 AM
RE: Kernel for A64 git - by Pirin - 04-23-2016, 09:50 AM
RE: Kernel for A64 git - by longsleep - 04-23-2016, 01:15 PM
RE: Kernel for A64 git - by ak_hepcat - 04-25-2016, 04:05 PM
RE: Kernel for A64 git - by insignia96 - 04-27-2016, 12:09 AM
RE: Kernel for A64 git - by ak_hepcat - 04-27-2016, 10:50 AM
RE: Kernel for A64 git - by longsleep - 05-02-2016, 01:55 PM
RE: Kernel for A64 git - by longsleep - 05-03-2016, 03:14 PM
RE: Kernel for A64 git - by tkaiser - 05-06-2016, 10:02 AM
RE: Kernel for A64 git - by longsleep - 05-06-2016, 10:47 AM
RE: Kernel for A64 git - by tkaiser - 05-06-2016, 11:16 AM
RE: Kernel for A64 git - by janjwerner - 05-06-2016, 11:21 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 01:06 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 01:14 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 04:24 AM
RE: Kernel for A64 git - by Terra854 - 05-07-2016, 05:40 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 05:45 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 06:08 AM
RE: Kernel for A64 git - by rahlquist - 05-07-2016, 06:20 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 06:28 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 06:37 AM
RE: Kernel for A64 git - by rahlquist - 05-07-2016, 06:54 AM
RE: Kernel for A64 git - by tllim - 05-07-2016, 11:15 AM
RE: Kernel for A64 git - by Terra854 - 05-07-2016, 06:48 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 06:57 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 07:03 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 07:04 AM
RE: Kernel for A64 git - by Terra854 - 05-07-2016, 08:13 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 09:36 AM
RE: Kernel for A64 git - by Terra854 - 05-07-2016, 10:54 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 08:19 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 11:26 AM
RE: Kernel for A64 git - by rhkean - 05-07-2016, 03:10 PM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 03:28 PM
RE: Kernel for A64 git - by longsleep - 05-16-2016, 02:30 PM
RE: Kernel for A64 git - by ak_hepcat - 05-19-2016, 12:24 PM
RE: Kernel for A64 git - by longsleep - 05-19-2016, 12:42 PM
RE: Kernel for A64 git - by ak_hepcat - 05-19-2016, 01:25 PM
RE: Kernel for A64 git - by longsleep - 05-21-2016, 12:24 PM
RE: Kernel for A64 git - by longsleep - 05-24-2016, 03:49 PM
RE: Kernel for A64 git - by longsleep - 05-26-2016, 01:44 PM
RE: Kernel for A64 git - by ak_hepcat - 05-27-2016, 12:14 PM
RE: Kernel for A64 git - by lvcargnini - 05-27-2016, 03:43 PM
RE: Kernel for A64 git - by Terra854 - 05-27-2016, 09:30 PM
RE: Kernel for A64 git - by longsleep - 06-17-2016, 02:32 PM
RE: Kernel for A64 git - by ak_hepcat - 07-05-2016, 11:57 PM
RE: Kernel for A64 git - by longsleep - 07-16-2016, 02:47 AM
RE: Kernel for A64 git - by Luxus - 07-10-2016, 02:45 AM
RE: Kernel for A64 git - by xalius - 07-10-2016, 03:22 AM
RE: Kernel for A64 git - by longsleep - 07-16-2016, 06:25 AM
RE: Kernel for A64 git - by ak_hepcat - 07-17-2016, 10:14 AM
RE: Kernel for A64 git - by scorn4society - 07-24-2016, 12:57 AM
RE: Kernel for A64 git - by longsleep - 07-24-2016, 01:02 AM
RE: Kernel for A64 git - by xalius - 07-16-2016, 12:12 PM
RE: Kernel for A64 git - by dkulinski - 07-18-2016, 07:47 PM
RE: Kernel for A64 git - by ak_hepcat - 07-20-2016, 05:37 PM
RE: Kernel for A64 git - by modsbyus - 07-24-2016, 05:08 AM
RE: Kernel for A64 git - by longsleep - 07-24-2016, 08:04 AM
RE: Kernel for A64 git - by xalius - 07-27-2016, 11:34 AM
RE: Kernel for A64 git - by longsleep - 07-27-2016, 02:36 PM
RE: Kernel for A64 git - by Drakuwa - 08-10-2016, 10:28 AM
RE: Kernel for A64 git - by longsleep - 08-10-2016, 10:34 AM
RE: Kernel for A64 git - by Drakuwa - 08-10-2016, 10:48 AM
RE: Kernel for A64 git - by longsleep - 08-20-2016, 03:52 PM
RE: Kernel for A64 git - by RaimundEge - 08-22-2016, 04:14 PM
RE: Kernel for A64 git - by longsleep - 08-22-2016, 11:38 PM
RE: Kernel for A64 git - by nSkaarup - 08-25-2016, 08:06 AM
RE: Kernel for A64 git - by Terra854 - 09-16-2016, 07:30 AM
RE: Kernel for A64 git - by ak_hepcat - 09-17-2016, 06:04 PM
RE: Kernel for A64 git - by Terra854 - 09-18-2016, 02:00 AM
RE: Kernel for A64 git - by Detritus - 09-19-2016, 04:23 AM
RE: Kernel for A64 git - by Terra854 - 09-19-2016, 07:59 AM
RE: Kernel for A64 git - by fneves - 09-27-2016, 06:12 AM
RE: Kernel for A64 git - by v.podzimek - 10-12-2016, 09:56 AM
RE: Kernel for A64 git - by longsleep - 10-12-2016, 10:01 AM
RE: Kernel for A64 git - by v.podzimek - 10-23-2016, 08:19 AM
RE: Kernel for A64 git - by longsleep - 10-23-2016, 06:52 AM
RE: Kernel for A64 git - by MarkHaysHarris777 - 10-23-2016, 08:07 AM
RE: Kernel for A64 git - by mrv - 10-23-2016, 12:49 PM
RE: Kernel for A64 git - by longsleep - 10-29-2016, 07:09 AM
RE: Kernel for A64 git - by hahn - 10-29-2016, 07:15 AM
RE: Kernel for A64 git - by tllim - 10-31-2016, 04:20 PM
RE: Kernel for A64 git - by androsch - 11-10-2016, 04:21 AM
RE: Kernel for A64 git - by ak_hepcat - 11-17-2016, 01:15 PM
RE: Kernel for A64 git - by androsch - 11-17-2016, 02:10 PM
RE: Kernel for A64 git - by androsch - 11-18-2016, 12:52 AM
RE: Kernel for A64 git - by ak_hepcat - 11-20-2016, 08:56 PM
RE: Kernel for A64 git - by androsch - 11-21-2016, 01:07 PM
RE: Kernel for A64 git - by ak_hepcat - 12-07-2016, 05:49 PM
RE: Kernel for A64 git - by waldo - 11-01-2016, 01:29 PM
RE: Kernel for A64 git - by stepw - 11-01-2016, 09:22 PM
RE: Kernel for A64 git - by marcus - 11-02-2016, 09:31 AM
RE: Kernel for A64 git - by gkkpch - 11-06-2016, 02:09 PM
RE: Kernel for A64 git - by MarkHaysHarris777 - 11-18-2016, 01:45 AM
RE: Kernel for A64 git - by benjanyan - 12-03-2016, 05:05 AM
RE: Kernel for A64 git - by pfeerick - 12-03-2016, 06:27 PM
RE: Kernel for A64 git - by longsleep - 12-16-2016, 02:57 PM
RE: Kernel for A64 git - by tllim - 12-16-2016, 07:46 PM
RE: Kernel for A64 git - by androsch - 12-17-2016, 01:42 AM
RE: Kernel for A64 git - by HenryD - 12-21-2016, 12:24 PM
RE: Kernel for A64 git - by longsleep - 12-21-2016, 12:34 PM
RE: Kernel for A64 git - by default - 01-06-2017, 05:44 PM
RE: Kernel for A64 git - by mbt28 - 01-23-2017, 02:20 PM
RE: Kernel for A64 git - by mont3z - 01-26-2017, 03:47 PM
RE: Kernel for A64 git - by mbt28 - 01-27-2017, 02:33 AM
RE: Kernel for A64 git - by longsleep - 03-11-2017, 12:19 PM
RE: Kernel for A64 git - by hahn - 03-12-2017, 02:43 AM
RE: Kernel for A64 git - by chadbhowell - 03-11-2017, 08:16 PM
RE: Kernel for A64 git - by Charles - 09-05-2017, 04:57 AM
RE: Kernel for A64 git - by Miguel Campos - 03-25-2018, 03:49 AM
RE: Kernel for A64 git - by dkryder - 03-25-2018, 02:16 PM
RE: Kernel for A64 git - by Luke - 03-25-2018, 03:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PineA64+: Audio in 5.0 Kernel puzzles 6 3,456 11-13-2019, 09:41 AM
Last Post: roel
  Rockpro64 NFS root mount (kernel 4.20) - ethernet help? tenspd137 0 1,254 12-06-2018, 01:14 AM
Last Post: tenspd137
  NVMe and new kernel bjbb17 0 1,072 09-25-2018, 03:39 PM
Last Post: bjbb17
  Real-time linux kernel Artyom 45 34,692 09-11-2018, 01:08 AM
Last Post: zzwpine
  DKMS on kernel 3.10.107-pine64 obrienmd 5 3,229 06-21-2018, 05:45 PM
Last Post: evilbunny
  Gentoo for pine64 - longsleep kernel incoherent 0 1,933 12-09-2017, 08:14 AM
Last Post: incoherent
  [SOLVED] UEFI + Fedora Mainline Kernel Booting! cztian 0 1,686 07-13-2017, 08:38 PM
Last Post: cztian
  Mainline kernel [Solved] jeroen79 11 7,910 02-08-2017, 06:19 AM
Last Post: umiddelb
Question Need help : Issue in running compiled kernel with tftp+uboot dinesh.bhoyar 2 2,293 01-30-2017, 12:44 AM
Last Post: dinesh.bhoyar
  Jackd triggers kernel warning cztian 0 1,867 09-03-2016, 08:16 AM
Last Post: cztian

Forum Jump:


Users browsing this thread: 1 Guest(s)