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 Thu 23 Oct 2014, 17:59
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
DGC modem driver compiled for Slacko 5.3.3? SOLVED!
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
mouldy


Joined: 04 May 2005
Posts: 498

PostPosted: Mon 16 Jun 2014, 06:31    Post subject:  DGC modem driver compiled for Slacko 5.3.3? SOLVED!  

Did rerwin ever compile a DGC module for Slacko 5.3.3 which I am showing has kernel 3.1.10? I can not find it with search if he did.

I had Zoom 3095 modem back some years and like all my modems here on my hilltop, it succumbed to lightening. I swore never to buy another since they are PITA to compile the necessary driver and make work in linux. I am on dialup for most part so takes effort to download necessary stuff to compile the driver myself.

Well I didnt buy another Zoom, but I recently bought two cheap Lenovo modems that apparently have same problem as Zoom 3095. I had thought they were normal like the Rosewell, or USR, or the generic Chinese clones with the conexant chip, but alas not. They are clones of the Zoom and need the DGC driver.

Last edited by mouldy on Sat 21 Jun 2014, 20:08; edited 1 time in total
Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1529
Location: Maine, USA

PostPosted: Wed 18 Jun 2014, 18:56    Post subject:  

mouldy,
I am glad to hear you are still using dialup. But I am finding with the newer 3.x kernels, modem drivers are not keeping up.

However, there is good news for the DGC modems. They do not actually need the dgcmodem driver. They are driven functionally by the cdc_acm driver that seems to continue to be included in new kernels. It turns out that the dgcmodem driver merely adds the "modem sounds" for it, emitting the sounds through the sound card.

The modem should work just fine; you just won't hear it.

I have not been working with slacko, leaving it to 01micko.

All that said, the dgcmodem driver should compile for kernel 3.1.x, since it is in precise (k3.2.44). I just now tried my Rosewill RNX-56USB on Slacko 5.7 and it appeared to work. You just have to watch the pupdial output to know when it is ready for action.

If you really need the modem sounds, send me a PM with the links to the files needed for compilation (slacko iso, devx, kernel source), and I will see what I can do.
Richard
Back to top
View user's profile Send private message 
mouldy


Joined: 04 May 2005
Posts: 498

PostPosted: Wed 18 Jun 2014, 19:39    Post subject:  

I believe you are mistaken. Some of the modems dont need the DGC driver. The Rosewell, the USR, and the generic Chinese clone modem with the conexant chip for instance do not need the driver. As you say, they just dont make the modem sounds but do connect.

However the Zoom 3095 and the Lenovo modems do need the driver. Puppy simply doesnt see them as a modem without the driver compiled and installed. You can try to make it use the ttyACM0 node but it wont without the properly compiled module available for the particular kernel being installed. Puppy ignores it and says no modem installed. Its not like the old serial modems where they pretty much work whatever you do as long as you point the dialer to their location.

I am visiting friend with cable internet tomorrow, so will try to remember to take along a usb drive and download what I need to compile the driver. Its just big hassle to try to download 100+mb with dialup.
Back to top
View user's profile Send private message 
mouldy


Joined: 04 May 2005
Posts: 498

PostPosted: Fri 20 Jun 2014, 15:31    Post subject:  

Wont compile. Errors out.

(cd /lib/modules/3.1.10-slacko_4gA/build && make "CNXT_KERNELSRC=/lib/modules/3.1.10-slacko_4gA/build" "M=/usr/lib/dgcmodem/modules" "CC=gcc" clean)
make[1]: Entering directory `/usr/src/linux'
make[1]: Leaving directory `/usr/src/linux'
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions .tmp_versions /lib/modules/3.1.10-slacko_4gA/build/.tmp_versions/dgcusbdcp.mod Modules.symvers GPL/hda/Modules.symvers Module.symvers GPL/hda/Module.symvers modules.order GPL/hda/modules.order Module.markers GPL/hda/Module.markers
(cd /lib/modules/3.1.10-slacko_4gA/build && make "CNXT_KERNELSRC=/lib/modules/3.1.10-slacko_4gA/build" "M=/usr/lib/dgcmodem/modules" "CC=gcc" modules)
make[1]: Entering directory `/usr/src/linux'
CC [M] /usr/lib/dgcmodem/modules/mod_dgcusbdcp.o
/usr/lib/dgcmodem/modules/mod_dgcusbdcp.c:263:36: error: 'SPIN_LOCK_UNLOCKED' undeclared here (not in a function)
make[2]: *** [/usr/lib/dgcmodem/modules/mod_dgcusbdcp.o] Error 1
make[1]: *** [_module_/usr/lib/dgcmodem/modules] Error 2
make[1]: Leaving directory `/usr/src/linux'
make: *** [all] Error 2
Back to top
View user's profile Send private message 
mouldy


Joined: 04 May 2005
Posts: 498

PostPosted: Sat 21 Jun 2014, 20:07    Post subject:  

Rerwin sent me the patched source files. Compiled easily and modem now works fine.
Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1529
Location: Maine, USA

PostPosted: Mon 23 Jun 2014, 15:54    Post subject: DGC modem driver provided for slacko 5.3.3
Subject description: Adds modem sounds for some other ttyACM0 modems
 

Mouldy has sent me his compiled driver so that I can package it for general use. He also tested with the precise pup "firmware" package, which now seems to be unnecessary because 5.3.3 already contains its version of it. (Could you verify that, mouldy?)

So, to activate certain DGC USB modems (such as his) or to add modem sounds for some other modems using ttyACM0 (or such), install the attached pet package and reboot.
Richard

EDIT: Added a "depmod" command to register the added module, so it can be recognized. Moved the module from the normal puppy location to one required by slacko, in order to have it be retained and used.
dgcmodem-1.13-k3.1.10-slacko_4gA.pet
Description  Additional driver for ttyACM modems in slacko 5.3.3 only.
pet

 Download 
Filename  dgcmodem-1.13-k3.1.10-slacko_4gA.pet 
Filesize  8.35 KB 
Downloaded  26 Time(s) 

Last edited by rerwin on Mon 23 Jun 2014, 23:26; edited 6 times in total
Back to top
View user's profile Send private message 
mouldy


Joined: 04 May 2005
Posts: 498

PostPosted: Mon 23 Jun 2014, 17:40    Post subject:  

I tried this module pet on fresh instance of Slacko 5.3.3. Both with firmware pet and without. Didnt work either way!???

The instance of Slacko 5.3.3, where I compiled the module, works fine, using modem now.

Have PM'd Rerwin, sure some stupid little thing I am not doing correctly. He is the expert. I havent messed with this since several years ago when I had a Zoom 3095. I know back then without any firmware upgrade, this driver always worked fine when I directly compiled it. Only sometimes if I just copied an already compiled module.

Big hint to anybody who hasnt already bought one of these DGC modems, look for one like the Rosewill that is recognized and works in linux without the Linuxant driver. It wont make noises without driver but will connect and function just fine. The Zoom and Lenovo versions definitely need the driver for Puppy to see them as modem.
Back to top
View user's profile Send private message 
mouldy


Joined: 04 May 2005
Posts: 498

PostPosted: Tue 24 Jun 2014, 12:43    Post subject:  

I tried rerwin's last dgc pet above on an install of 5.3.3 Slacko that has never had any attempt to have this modem installed. After TWO reboots, it took and works fine.

Then just for kicks I went back and booted into an instance of 5.3.3 Slacko that I created yesterday only for testing his first pet. Without installing the last pet, just like I left it yesterday with first pet installed, it somehow took on this boot up. So works either way. Just takes more than one reboot for whatever strange reason.

Whats probably a bit sad is 5.3.3 is now superseded so if anybody did want to use one of these modems in Slacko, most likely they would have a newer version with different kernel and still have to compile driver themselves. The patched source files do however compile on 3.x.x kernel, whether on latest 3.x.x kernel, who knows.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0626s ][ Queries: 13 (0.0059s) ][ GZIP on ]