Comments (7)
Does it work for you if you use "modprobe g_serial stall=0 removable=1 nofua=1" I haven't tried the g_serial driver myself as I normally just use an actual adapter connected to the pins, but I'm looking into this.
from kali-arm-build-scripts.
root@kali:# modprobe g_serial stall=0 removable=1 nofua=1#
modprobe: ERROR: could not insert 'g_serial': Invalid argument
root@kali:
from kali-arm-build-scripts.
Does this still fail to work for you with the 2.1 release?
from kali-arm-build-scripts.
The module is no longer present in 2.1:
root@kali:# modprobe g_serial# lsb_release -a
modprobe: FATAL: Module g_serial not found in directory /lib/modules/4.4.0-armv7-devel-r28
root@kali:
No LSB modules are available.
Distributor ID: Kali
Description: Kali GNU/Linux Rolling
Release: kali-rolling
Codename: kali-rolling
root@kali:# uname -a;date;uptime#
Linux kali 4.4.0-armv7-devel-r28 #2 SMP Sat Jan 23 02:53:51 CST 2016 armv7l GNU/Linux
Tue Mar 1 12:10:40 UTC 2016
12:10:40 up 7 min, 1 user, load average: 1.07, 0.75, 0.36
root@kali:
from kali-arm-build-scripts.
There is a 2.1.1 image that hasn't been posted yet, unfortunately, and the g_serial module does exist there (just checked). Please try again once it's posted.
from kali-arm-build-scripts.
Sure, will give it a go once the image is available and I'll report here the status.
Thank you.
from kali-arm-build-scripts.
root@kali:~# uname -a;date;uptime
Linux kali 4.1.18 #1 SMP PREEMPT RT Wed Mar 16 20:59:54 CDT 2016 armv7l GNU/Linux
Sat Mar 26 16:50:17 UTC 2016
16:50:17 up 4 min, 1 user, load average: 0.07, 0.11, 0.05
root@kali:~# modinfo g_serial
filename: /lib/modules/4.1.18/kernel/drivers/usb/gadget/legacy/g_serial.ko
license: GPL
author: David Brownell
author: Al Borchers
description: Gadget Serial v2.4
depends: libcomposite
intree: Y
vermagic: 4.1.18 SMP preempt mod_unload modversions ARMv7 thumb2 p2v8
parm: idVendor:USB Vendor ID (ushort)
parm: idProduct:USB Product ID (ushort)
parm: bcdDevice:USB Device version (BCD) (ushort)
parm: iSerialNumber:SerialNumber string (charp)
parm: iManufacturer:USB Manufacturer string (charp)
parm: iProduct:USB Product string (charp)
parm: use_acm:Use CDC ACM, default=yes (bool)
parm: use_obex:Use CDC OBEX, default=no (bool)
parm: n_ports:number of ports to create, default=1 (uint)
root@kali:~# modprobe g_serial
modprobe: ERROR: could not insert 'g_serial': No such device
root@kali:~# modprobe g_serial stall=0 removable=1 nofua=1
modprobe: ERROR: could not insert 'g_serial': No such device
root@kali:~#
root@kali:~# dmesg
[ 304.004213] g_serial: unknown parameter 'stall' ignored
[ 304.009493] g_serial: unknown parameter 'removable' ignored
[ 304.016530] g_serial: unknown parameter 'nofua' ignored
root@kali:~#
from kali-arm-build-scripts.
Related Issues (20)
- FriendlyArm NanoPC-T4 HOT 6
- Default Password toor for root Doesn't work on Fresh Image for Odroid C2? HOT 12
- Simple Kali arm build script for Raspberry pi 3 b+ HOT 3
- Container fails with error code 1 HOT 3
- rpi3-nexmon.sh fails with error code 1 HOT 8
- Create a arm64 script for the rapi 3b and 3b+? HOT 2
- [P4wnP1 + Nexmon] Unable to connect to the AP HOT 1
- `apt-get update` reports "Release file not valid yet." HOT 3
- HP Chromebook 13 G1 m7 variant HOT 1
- Can't Install raspi3-firmware HOT 3
- Fixed errors of pi-bluetooth for Pi Zero W HOT 3
- Need build scripts and images for ARM64 SBBR systems and Always Connected PCs HOT 1
- GPIO not working on Kali Linux RaspberryPi 3 64bit 2018.4a HOT 11
- Trying to build RPI3-Nexmon and the build fails in trying to access raspberrypi-kernel HOT 23
- PINE64 Pinebook 1080p HOT 1
- rpi0: g_serial and /dev/ttyGS0 HOT 2
- Odroid U2 image does not include "u2" in image name HOT 3
- Odroid image: read outside partition HOT 2
- rpi3-nexmon.sh couldn't download package bash HOT 2
- Suggestion for README.md
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kali-arm-build-scripts.