Re: RE: Conexant USB driver package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Olemis,

Under Debian like Distros, you can determine where files have been
written to with explorations like:
 ls /var/lib/dpkg/info/dgc*
/var/lib/dpkg/info/dgcmodem.list
/var/lib/dpkg/info/dgcmodem.postinst
/var/lib/dpkg/info/dgcmodem.preinst
/var/lib/dpkg/info/dgcmodem.md5sums
/var/lib/dpkg/info/dgcmodem.postrm
/var/lib/dpkg/info/dgcmodem.prerm

Wherein:
less /var/lib/dpkg/info/dgcmodem.postinst
informs that the source code has been written to:
$ ls /usr/lib/dgcmodem
config.mak  LICENSE  modules  rcdgc

I don't have time for a long explanation now.  But per tests copied in
below, set the following symbolic link before running the install:
$ sudo /usr/sbin/dgcconfig

$ sudo ln -s /usr/src/linux-headers-$(uname
-r)/include/generated/autoconf.h /usr/src/linux-headers-$(uname
-r)/include/linux/autoconf.h
where $(uname -r)  is just the current KERNEL VERSION

Note my tests were under a 3.2.n kernel, not the 3.8.n  you are using.
You can easily install some 3.2.n  linux-image + linux-headers package to test.
Through mid June I am traveling with only a laptop and low
CONNECTivity. I don't wish to breaking my Ubuntu Precise, by
installing 3.8 kernel support now.

Please yourself take the responsibility in reporting to Linuxant, as
they want to do a better fix than mine.

MarvS

---------

$ sudo ln -s /usr/src/linux-headers-3.2.0-40-lowlatency/include/generated/autoconf.h
/usr/src/linux-headers-3.2.0-40-lowlatency/include/linux/autoconf.h

marv@marv-MacBookAir:~/Desktop/dgcmodem-1.13a$ sudo /usr/sbin/dgcconfig
Conexant DGC USB modem driver, version 1.13

If you need assistance or more information, please go to:
	http://www.linuxant.com/

When reporting a problem for the first time, please send
us the file generated by "dgcconfig --dumpdiag".

No pre-built modules for: Ubuntu-12.04.2 linux-3.2.0-40-lowlatency x86_64-SMP

Trying to automatically build the driver modules...
(this requires a C compiler and proper kernel sources to be installed)

Where is the linux source build directory that matches your running kernel?
[/lib/modules/3.2.0-40-lowlatency/build]

Building modules for kernel 3.2.0-40-lowlatency, using source directory
/lib/modules/3.2.0-40-lowlatency/build. Please wait...
done.

$ lsmod | grep dgc*
dgcusbdcp              18348  0


On Wed, May 29, 2013 at 1:27 AM, Olemis Lang <olemis@xxxxxxxxx> wrote:
> On 5/28/13, Antonio Olivares <olivares14031@xxxxxxxxx> wrote:
>> Dear Sir,
>>
>> (cd /lib/modules/3.8.0-19-generic/build && make
>> "CNXT_KERNELSRC=/lib/modules/3.8.0-19-generic/build"
>> "M=/usr/lib/dgcmodem/modules" "CC=gcc" clean)
>> make[1]: Entering directory `/usr/src/linux-headers-3.8.0-19-generic'
>> make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-19-generic'
>> rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd
>> .tmp_versions .tmp_versions
>> /lib/modules/3.8.0-19-generic/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.8.0-19-generic/build && make
>> "CNXT_KERNELSRC=/lib/modules/3.8.0-19-generic/build"
>> "M=/usr/lib/dgcmodem/modules" "CC=gcc" modules)
>> make[1]: Entering directory `/usr/src/linux-headers-3.8.0-19-generic'
>>   CC [M]  /usr/lib/dgcmodem/modules/mod_dgcusbdcp.o
>> In file included from /usr/lib/dgcmodem/modules/mod_dgcusbdcp.c:57:0:
>> /usr/lib/dgcmodem/modules/GPL/oscompat.h:125:24: fatal error:
>> asm/system.h: No such file or directory
>> compilation terminated.
>> 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-headers-3.8.0-19-generic'
>> make: *** [all] Error 2
>>
>> A different thread doing google search reveals that one has to look for
>>
>> #include <asm/system.h>
>>
>> where it is called upon and comment it out or change corresponding
>> call to it.  But ATM I am not on a linux box to check :(
>>
>
> Fact is that now I do not have latest sources , but only the .deb
> Marvin attached to private message ...
>
> Thanks !
>
> --
> Regards,
>
> Olemis.
>
> Apache™ Bloodhound contributor
> http://issues.apache.org/bloodhound
>
> Blog ES: http://simelo-es.blogspot.com/
> Blog EN: http://simelo-en.blogspot.com/
>
> Featured article:





[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux