Re: Darius, India kernel 2.6.22-14-generic, Modem: ALi Corporation SmartLink SmartPCI563 56K Modem

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

 



--- samad abbasi <s_abbasi12@xxxxxxxxx> wrote:

> 
> Dear All,
> I using Ubuntu Linux 7.10 Gutsy Gibbon.
> I Have an smartLink based winModem, i trying to
> install it on ubuntu by using you,re scanModem
> Suggestions
> That say me to install the to Packages:
> ------------------------
> For 2.6.22-14-generic compiling drivers is
> necessary.
> As of October 2007 the current packages at
> HTTP://linmodems.technion.ac.il/packages/smartlink/ 
> are the
> ungrab-winmodem-20070505.tar.gz and
> slmodem-2.9.11-20070813.tar.gz
> -------------------------------
> ungrab-winmodem installed successfully but the
> slmodem
> installation get me the following error message:
> -------------------------------------------------
>
darius@ubuntu:~/Documents/Modem/slmodem-2.9.11-20070813$
> make
> make -C modem all
> make[1]: Entering directory
>
`/home/darius/Documents/Modem/slmodem-2.9.11-20070813/modem'
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o
> modem_main.o -c modem_main.c
> modem_main.c:45:20: error: unistd.h: No such file or
> directory
> modem_main.c:46:20: error: stdlib.h: No such file or
> directory
> modem_main.c:47:19: error: stdio.h: No such file or
> directory
> modem_main.c:48:20: error: string.h: No such file or
> directory
> modem_main.c:49:19: error: errno.h: No such file or
> directory
> modem_main.c:50:21: error: termios.h: No such file
> or
> directory
> modem_main.c:51:19: error: fcntl.h: No such file or
> directory
> modem_main.c:52:23: error: sys/types.h: No such file
> or directory
> modem_main.c:53:22: error: sys/stat.h: No such file
> or
> directory
> modem_main.c:54:23: error: sys/ioctl.h: No such file
> or directory
> modem_main.c:55:22: error: sys/mman.h: No such file
> or
> directory
> modem_main.c:56:19: error: sched.h: No such file or
> directory
> modem_main.c:57:20: error: signal.h: No such file or
> directory
> In file included from
>
/usr/lib/gcc/i486-linux-gnu/4.1.3/include/syslimits.h:7,
>                  from
>
/usr/lib/gcc/i486-linux-gnu/4.1.3/include/limits.h:11,
>                  from modem_main.c:58:
>
/usr/lib/gcc/i486-linux-gnu/4.1.3/include/limits.h:122:61:
> error: limits.h: No such file or directory
> modem_main.c:59:17: error: grp.h: No such file or
> directory
> In file included from ./modem.h:49,
>                  from modem_main.c:70:
> ./modem_defs.h:50: error: expected &#8216;=&#8217;,
> &#8216;,&#8217;, &#8216;;&#8217;, &#8216;asm&#8217;
> or
> &#8216;__attribute__&#8217; before &#8216;u8&#8217;
> ./modem_defs.h:51: error: expected &#8216;=&#8217;,
> &#8216;,&#8217;, &#8216;;&#8217;, &#8216;asm&#8217;
> or
> &#8216;__attribute__&#8217; before &#8216;u16&#8217;
> ./modem_defs.h:52: error: expected &#8216;=&#8217;,
> &#8216;,&#8217;, &#8216;;&#8217;, &#8216;asm&#8217;
> or
> &#8216;__attribute__&#8217; before &#8216;u32&#8217;
> ./modem_defs.h:54: error: expected &#8216;=&#8217;,
> &#8216;,&#8217;, &#8216;;&#8217;, &#8216;asm&#8217;
> or
> &#8216;__attribute__&#8217; before &#8216;s8&#8217;
> ./modem_defs.h:55: error: expected &#8216;=&#8217;,
> &#8216;,&#8217;, &#8216;;&#8217;, &#8216;asm&#8217;
> or
> &#8216;__attribute__&#8217; before &#8216;s16&#8217;
> ./modem_defs.h:56: error: expected &#8216;=&#8217;,
> &#8216;,&#8217;, &#8216;;&#8217;, &#8216;asm&#8217;
> or
> &#8216;__attribute__&#8217; before &#8216;s32&#8217;
> In file included from ./modem.h:50,
>                  from modem_main.c:70:
> ./modem_homolog.h:53: error: expected
> specifier-qualifier-list before &#8216;u8&#8217;
> ./modem_homolog.h:103: error: expected
> &#8216;:&#8217;, &#8216;,&#8217;, &#8216;;&#8217;,
> &#8216;}&#8217; or &#8216;__attribute__&#8217;
> before
> &#8216;id&#8217;
> In file included from ./modem.h:51,
>                  from modem_main.c:70:
> ./modem_dp.h:82: error: expected declaration
> specifiers or &#8216;...&#8217; before
> &#8216;u8&#8217;
> ./modem_dp.h:83: error: expected declaration
> specifiers or &#8216;...&#8217; before
> &#8216;u8&#8217;
> In file included from modem_main.c:70:
> ./modem.h:138: error: expected
> specifier-qualifier-list before &#8216;u16&#8217;
> ./modem.h:174: error: expected declaration
> specifiers
> or &#8216;...&#8217; before &#8216;u8&#8217;
> ./modem.h:175: error: expected declaration
> specifiers
> or &#8216;...&#8217; before &#8216;u8&#8217;
> ./modem.h:191: error: expected
> specifier-qualifier-list before &#8216;u16&#8217;
> ./modem.h:219: error: expected
> specifier-qualifier-list before &#8216;u8&#8217;
> ./modem.h:263: error: field &#8216;termios&#8217;
> has
> incomplete type
> ./modem.h:319: error: expected
> specifier-qualifier-list before &#8216;u8&#8217;
> ./modem.h:340: error: expected
> specifier-qualifier-list before &#8216;u32&#8217;
> ./modem.h:342: error: expected declaration
> specifiers
> or &#8216;...&#8217; before &#8216;u8&#8217;
> ./modem.h:343: error: expected declaration
> specifiers
> or &#8216;...&#8217; before &#8216;u8&#8217;
> ./modem.h:354: error: expected
> specifier-qualifier-list before &#8216;u8&#8217;
> ./modem.h:371: error: expected
> specifier-qualifier-list before &#8216;u8&#8217;
> ./modem.h:436: error: expected declaration
> specifiers
> or &#8216;...&#8217; before &#8216;u8&#8217;
> ./modem.h:437: error: expected declaration
> specifiers
> or &#8216;...&#8217; before &#8216;u8&#8217;
> ./modem.h:439: error: expected declaration
> specifiers
> or &#8216;...&#8217; before &#8216;u8&#8217;
> ./modem.h:440: error: expected declaration
> specifiers
> or &#8216;...&#8217; before &#8216;u8&#8217;
> ./modem.h:442: error: expected declaration
> specifiers
> or &#8216;...&#8217; before &#8216;u8&#8217;
> ./modem.h:443: error: expected declaration
> specifiers
> or &#8216;...&#8217; before &#8216;u8&#8217;
> modem_main.c:98: error: expected &#8216;=&#8217;,
> &#8216;,&#8217;, &#8216;;&#8217;, &#8216;asm&#8217;
> or
> &#8216;__attribute__&#8217; before
> &#8216;modem_perm&#8217;
> modem_main.c: In function
> &#8216;modemap_start&#8217;:
> modem_main.c:555: warning: implicit declaration of
> function &#8216;ioctl&#8217;
> modem_main.c:559: warning: implicit declaration of
> function &#8216;memset&#8217;
> modem_main.c:559: warning: incompatible implicit
> declaration of built-in function
> &#8216;memset&#8217;
> modem_main.c:560: warning: implicit declaration of
> function &#8216;write&#8217;
> modem_main.c: In function
> &#8216;mdm_device_read&#8217;:
> modem_main.c:602: warning: implicit declaration of
> function &#8216;read&#8217;
> modem_main.c: In function
> &#8216;mdm_device_setup&#8217;:
> modem_main.c:616: error: storage size of
> &#8216;stbuf&#8217; isn&#8217;t known
> modem_main.c:618: warning: incompatible implicit
> declaration of built-in function
> &#8216;memset&#8217;
> modem_main.c:619: warning: implicit declaration of
> function &#8216;stat&#8217;
> modem_main.c:621: warning: implicit declaration of
> function &#8216;fprintf&#8217;
> modem_main.c:621: warning: incompatible implicit
> declaration of built-in function
> &#8216;fprintf&#8217;
> modem_main.c:621: error: &#8216;stderr&#8217;
> undeclared (first use in this function)
> modem_main.c:621: error: (Each undeclared identifier
> is reported only once
> modem_main.c:621: error: for each function it
> appears
> in.)
> modem_main.c:621: warning: implicit declaration of
> function &#8216;strerror&#8217;
> modem_main.c:621: error: &#8216;errno&#8217;
> undeclared (first use in this function)
> 
=== message truncated ===>  Only plain text email is
forwarded by the 
> Discuss@xxxxxxxxxxxxx List Server,
>  as HTML can contain viruses. Use as the email
> Subject Line:
>            YourName, YourCountry  kernel
> 2.6.22-14-generic 
>  With this Subject Line cogent experts will be
> alerted, and useful case names left in the Archive.
>  YourCountry will enable Country specific guidance.
> Your contry's local Linux experts
>  can be found through:
> http://www.linux.org/groups/index.html
>  Responses from Discuss@xxxxxxxxxxxxx are sometimes
> blocked by an Internet Provider mail filters.
>  So in a day, also check the Archived responses at
> http://www.linmodems.org 
> --------------------------  System information
> ----------------------------
> CPU=i686,  
> Linux version 2.6.22-14-generic (buildd@palmer) (gcc
> version 4.1.3 20070929 (prerelease) (Ubuntu
> 4.1.2-16ubuntu2)) #1 SMP Sun Oct 14 23:05:12 GMT
> 2007
>  scanModem update of:  2007-20-07
> 
> 
>  There are no blacklisted modem drivers in
> /etc/modprobe*  files 
> 
> The Advanced Linux Sound Architecture (ALSA)
> packages providing audio support on your System, 
> also includes drivers for some modems. High
> Definition Audio (HDA) cards can themselves host
> a softmodem chipset, with both audio+modem supported
> by a snd-hda-intel driver.
> The ALSA diagnostics are written during bootup to
> /proc/asound/ folders.
> 
> 
>  Modem not detected though HDA card diagnostics,
> though not excluding
>  a possible Conexant modem chip impervious to ALSA
> diagnostics. 
>  Proceeding through alternative possibilties.
> 
> Summary card and chipset information is in: 
> /proc/asound/cards:
>  0 [V8235          ]: VIA8233 - VIA 8235
>                       VIA 8235 with VIA1612A at
> 0xe400, irq 20
>  1 [UART           ]: MPU-401 UART - MPU-401 UART
>                       MPU-401 UART at 0x330, irq 10
> 
> /proc/asound/pcm:
> 00-01: VIA 8235 : VIA 8235 : playback 1 : capture 1
> 00-00: VIA 8235 : VIA 8235 : playback 4 : capture 1
> 
>  A copy of /proc/asound had been copied to
> Modem/ALSAhasan.tgz
> USB modem not detected by lsusb
> 
> For candidate card, firmware information and bootup
> diagnostics are:
> 
>  PCI slot	PCI ID		SubsystemID	Name
>  ----------	---------	---------	--------------
>  00:0b.0	10b9:545a	201f:545a	Modem: ALi Corporation
> SmartLink SmartPCI563 56K Modem
> 
>  Modem interrupt assignment and sharing: 
>  --- Bootup diagnostics for card in PCI slot 00:0b.0
> ----
> [   17.796204] ACPI: PCI Interrupt 0000:00:0b.0[A]
> -> GSI 19 (level, low) -> IRQ 16
> [   17.799872] 0000:00:0b.0: ttyS2 at I/O 0xd028
> (irq = 16) is a 8250
> [   17.801984] 0000:00:0b.0: ttyS3 at I/O 0xd040
> (irq = 16) is a 8250
> [   17.802435] Couldn't register serial port
> 0000:00:0b.0: -28
> 
>  === Finished modem firmware and bootup diagnostics
> section. ===
>  === Next deducing cogent software ===
> 
> 
> There is candidate modem software.
> 
>  For candidate modem in PCI bus:  00:0b.0
>    Class 0703: 10b9:545a Modem: ALi Corporation
> SmartLink SmartPCI563 56K Modem
>       Primary PCI_id  10b9:545a
>  Support type needed or chipset:	slamr
>  
> 
> The modem is supported by the Smartlink slamr driver
> plus the slmodemd helper utility.  Read the
> Smartlink.txt and Modem/YourSystem.txt for follow
> through guidance.
> 
> 
> For 2.6.22-14-generic compiling drivers is
> necessary. As of October 2007 the current packages
> at
> http://linmodems.technion.ac.il/packages/smartlink/ 
> are the
> ungrab-winmodem-20070505.tar.gz and
> slmodem-2.9.11-20070813.tar.gz
> 
> Writing Smartlink.txt
> ============ end Smartlink section
> =====================
> 
>  Completed candidate modem analyses.
> 
>  The base of the UDEV device file system is:
> /dev/.udev
> 
>  Versions adequately match for the compiler
> installed: 4.1.3
>              and the compiler used in kernel
> assembly: 4.1.3
> 
> 
>  
>  Minimal compiling resources appear complete:
>    make utility - /usr/bin/make
>    Compiler version 4.1
>    linuc_headers base folder
> /lib/modules/2.6.22-14-generic/build
> 
>  However some compilations and executable functions
> may need additional files,
>  in the FileNames.h (so called kernel "h"eaders)
> collection installed in  /usr/include/ .
>  For martian_modem, additional required packages are
> libc6-dev (and for Debian/Ubuntu,  linux-libc-dev).
> The also required headers of package libc6 are
> commonly installed by default. 
> 
> 
> 
> If a driver compilation fails, with message
> including some lack of some FileName.h (stdio.h for
> example), then
> Some additional kernel-header files need
> installation to /usr/include. The minimal additional
> packages are libc6-dev
> and any of its dependents, under Ubuntu
> linux-libc-dev
> 
> If an alternate ethernet connection is available,
> $  apt-get update
> $  apt-get -s install linux-kernel-devel
> will install needed pacakage
> For Debian/Ubuntu related distributions, run the
> following command to display the needed package
> list:
> 
> Otherwise packages have to be found through
> http://packages.ubuntu.com
> Once downloaded and transferred into a Linux
> partition,
> they can be installed alltogether with:
> $ sudo dpkg -i *.deb
> 
> 
> Checking pppd properties:
> 	-rwsr-xr-- 1 root dip 269256 2007-10-04 15:57
> /usr/sbin/pppd
> 
> In case of an "error 17" "serial loopback" problem,
> see:
>    
>
http://phep2.technion.ac.il/linmodems/archive-sixth/msg02637.html
> 
> To enable dialout without Root permission do:
> 	$ su - root  (not for Ubuntu)
>         sudo chmod a+x /usr/sbin/pppd
> or under Ubuntu related Linuxes
> 	sudo chmod a+x /usr/sbin/pppd
> 
> Checking settings of:	/etc/ppp/options
> asyncmap 0
> noauth
> crtscts
> lock
> hide-password
> modem
> proxyarp
> lcp-echo-interval 30
> lcp-echo-failure 4
> noipx
> 
> In case of a message like:
>    Warning: Could not modify /etc/ppp/pap-secrets:
> Permission denied
> see
>
http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html
> 
> Read Modem/YourSystem.txt concerning other COMM
> channels: 
=== message truncated ===


Send instant messages to your online friends http://uk.messenger.yahoo.com 

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

  Powered by Linux