Giter Site home page Giter Site logo

Comments (7)

steev avatar steev commented on May 25, 2024

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.

strasharo avatar strasharo commented on May 25, 2024

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.

steev avatar steev commented on May 25, 2024

Does this still fail to work for you with the 2.1 release?

from kali-arm-build-scripts.

strasharo avatar strasharo commented on May 25, 2024

The module is no longer present in 2.1:

root@kali:# modprobe g_serial
modprobe: FATAL: Module g_serial not found in directory /lib/modules/4.4.0-armv7-devel-r28
root@kali:
# lsb_release -a
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.

steev avatar steev commented on May 25, 2024

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.

strasharo avatar strasharo commented on May 25, 2024

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.

strasharo avatar strasharo commented on May 25, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.