Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 07:42
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » REQUESTS
How to make a .pet of g_serial.ko for the 3.2.9 kernel?
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
thudhead

Joined: 30 Jul 2013
Posts: 1

PostPosted: Tue 30 Jul 2013, 18:25    Post_subject:  How to make a .pet of g_serial.ko for the 3.2.9 kernel?  

I want to make my puppy into a usb device, so I need g_serial.ko

I have made g_serial.ko from the 3.2.9 kernel, but don't know how to make a pet file.
Back to top
View user's profile Send_private_message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11121
Location: Arizona USA

PostPosted: Tue 30 Jul 2013, 21:11    Post_subject:  

What's a USB device? Just curious. Sorry, I don't know the answer to your question. Smile
Back to top
View user's profile Send_private_message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Thu 01 Aug 2013, 05:46    Post_subject:  

if kernel/drivers/usb/gadget/g_serial.ko :
then do something like this :
Code:
mkdir -p k3.2.9-g_serial-module/lib/modules/3.2.9kernel/drivers/usb/gadget/
cp kernel/drivers/usb/gadget/g_serial.ko k3.2.9-g_serial-module/lib/modules/3.2.9kernel/drivers/usb/gadget
dir2pet  k3.2.9-g_serial-module


Btw is it really missing ?
Am running k2.6.37.4 atm , the driver/module path might be different

And don't forget to run depmod to introduce the driver into the files modules.dep and others .
.

{
~ # modinfo g_serial
filename: /lib/modules/2.6.37.4-KRG-iatom-1/kernel/drivers/usb/gadget/g_serial.ko
license: GPL
author: David Brownell
author: Al Borchers
description: Gadget Serial v2.4
license: GPL
author: Felipe Balbi
depends: m66592-udc
vermagic: 2.6.37.4-KRG-iatom-1 SMP preempt mod_unload ATOM
parm: idVendor:USB Vendor ID (ushort)
parm: idProduct:USB Product ID (ushort)
parm: bcdDevice:USB Device version (BCD) (ushort)
parm: iManufacturer:USB Manufacturer string (charp)
parm: iProduct:USB Product string (charp)
parm: iSerialNumber:SerialNumber 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)
}
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » REQUESTS
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0488s ][ Queries: 11 (0.0105s) ][ GZIP on ]