LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   No such device error on installing driver for HSP56 Micro Modem (https://www.linuxquestions.org/questions/linux-hardware-18/no-such-device-error-on-installing-driver-for-hsp56-micro-modem-56669/)

silverstormboy 04-24-2003 09:53 PM

No such device error on installing driver for HSP56 Micro Modem
 
Hi, I have a problem with my HSP56 MicroModem and i hope that i can find the answer in this forum.

MY chip set is:

C3DX
HSP56
CMI8738/PCI-SX
HRTF Audio Com
M5P62-037
003IUGGC.A

I have also downloaded the PCTEL-0.9.6 driver from www.linmodems.org.

the error that appeared is in the 'make install':

'no such device'

below is the steps that i try to install:

./configure -with-hal=cm8738

the result :

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build driver for... HAL_CM8738
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... no, using cp -p
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking /usr/src/linux/include/linux/modversions.h usability... yes
checking /usr/src/linux/include/linux/modversions.h presence... yes
checking for /usr/src/linux/include/linux/modversions.h... yes
checking for Linux kernel version >= 2.4.0... yes
checking for Linux kernel version >= 2.4.7... yes
checking for mknod... mknod
checking for chgrp... chgrp
checking for chmod... chmod
checking for depmod... depmod
checking for rmmod... rmmod
checking for lsmod... lsmod
checking for modprobe... modprobe
checking for objdump... objdump
checking for objcopy... objcopy
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating modules/Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/module/Makefile
config.status: creating src/ptserial/Makefile
config.status: creating misc/Makefile
config.status: creating misc/pctel.spec
config.status: creating misc/SlackBuild
config.status: creating misc/build_rpms.sh
config.status: creating m4/Makefile
config.status: executing depfiles commands
config.status: executing default commands

the next step is : 'make'
and the result is:

Making all in src
make[1]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src'
Making all in module
make[2]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src/module'
rm -f *~ \#* .*~ .\#*
rm -f ptmodule.o
rm -f ptmodule.o
rm -f ../../modules/pctel.o
gcc -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_CM8738 -I../../include -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pctel\" -DVERSION=\"0.9.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -c -o ptmodule.o ptmodule.c
make[3]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src/module'
Removing symbols: init_module, cleanup_module, __module_kernel_version and __module_using_checksums.
make[3]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src/module'
ld -r -o ../../modules/pctel.o ptmodule.o ../../lib/cm8738/pctel-cm8738.o
make[2]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src/module'
Making all in ptserial
make[2]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src/ptserial'
rm -f *~ \#* .*~ .\#*
rm -f ptserial.o ptserial.c
rm -f ptserial.o
rm -f ../../modules/ptserial.o
cp -p -f ptserial-2.4.7.c ../../src/ptserial/ptserial.c
make ptserial.o
make[3]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src/ptserial'
gcc -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_CM8738 -DBUILD_SYSTEM=\""`uname -s -m -r -p`\"" -DGCC_VERSION=\""`gcc --version | head -1`\"" -I../../include -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pctel\" -DVERSION=\"0.9.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -c -o ptserial.o ptserial.c
make[3]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src/ptserial'
ld -r -o ../../modules/ptserial.o ptserial.o
make[2]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src/ptserial'
make[2]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src'
make[1]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src'
Making all in lib
make[1]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/lib'
Making all in modules
make[1]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/modules'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/modules'
Making all in include
make[1]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/include'
Making all in misc
make[1]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/misc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/misc'
Making all in m4
make[1]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/m4'
make[1]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6'


the next step is : 'make install'

and this is where the problem comes.

here is the result:

Making install in src
make[1]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src'
Making install in module
make[2]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src/module'
make[3]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src/module'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src/module'
make[2]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src/module'
Making install in ptserial
make[2]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src/ptserial'
make[3]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src/ptserial'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src/ptserial'
make[2]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src/ptserial'
make[2]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src'
make[3]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src'
make[2]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src'
make[1]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/src'
Making install in lib
make[1]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/lib'
make[2]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/lib'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/lib'
make[1]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/lib'
Making install in modules
make[1]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/modules'
make[2]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/modules'
/bin/sh ../mkinstalldirs /lib/modules/2.4.18-3custom/misc
/usr/bin/install -c -o root -g root -m 644 pctel.o /lib/modules/2.4.18-3custom/misc/pctel.o
/usr/bin/install -c -o root -g root -m 644 ptserial.o /lib/modules/2.4.18-3custom/misc/ptserial.o
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/modules'
make[1]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/modules'
Making install in include
make[1]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/include'
make[2]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/include'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/local/include/pctel
/usr/bin/install -c -m 644 pctel.h /usr/local/include/pctel/pctel.h
make[2]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/include'
make[1]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/include'
Making install in misc
make[1]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/misc'
make[2]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/misc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/misc'
make[1]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/misc'
Making install in m4
make[1]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/m4'
make[2]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/m4'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/m4'
make[1]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6/m4'
make[1]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6'
make[2]: Entering directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6'
make[2]: Nothing to be done for `install-exec-am'.
installing FAQ as /usr/local/share/doc/pctel/FAQ
installing README as /usr/local/share/doc/pctel/README
*** Setting device file. ***
cp: cannot open '/dev/ttyS15' for reading : No such device
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6'
make: *** [install-recursive] Error 1

I even try to recreate the ttyS15 :
rm /dev/ttyS15 /dev/modem
mknod /dev/ttyS15 c 62 79
chgrp uucp /dev/ttyS15
chmod 666 /dev/ttyS15
ln -s /dev/ttyS15 /dev/modem

and I re -run the installation procedure again, but the error is still the same and i cant proceed to the next stage.

Can some please help me or give me a hint of what i should do ?

Thankss...

Aussie 04-24-2003 11:44 PM

You may have incorrectly identified your modem chip, or you have an unsupported chip.
You can ID modems with FCC numbers at this page.

silverstormboy 04-27-2003 10:44 PM

Hi Aussie, thanks for your help.

I have looked into my modem and I found out this:

FCC Reg.No. 6hkchn-33805-m5-e
ren AC.0.8cb
jack.rj11c
model no. DAA module v3.0


and this is what I got from your page:

1752-CX-99
REGISTRANT: HSING TECH ENTERPRISE CO., LTD
MANUFACTURER: PCWARE INTERNATIONAL, INC.
TYPE OF FILING: ORIGINAL REGISTRATION
REG. NO.: 6HKCHN-33805-M5-E REG. CLASS: TERMINAL DEVICE
TYPE OF EQUIPMENT: 56KBPS MODEMS USING ANALOG UPLOAD/DIGITAL DOWNLOAD PROCESSING
EQUIPMENT DESCRIPTION: INTERNAL 56K SOFTWARE MODEM CARD CONTROLLED BY THE CPU
TRADE NAME MODEL TED
PCCHIPS FB M748MR, M741LMR, M741LMRT
PCCHIPS FB P6SE-ML, P6SET-ML

I also try to type : lspci on linux:

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 630 Host (rev 20)
00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513
00:01.2 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 07)
00:01.3 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 07)
00:02.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP
00:0f.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:0f.1 Communication controller: C-Media Electronics Inc CM8738 (rev 10)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] SiS630 GUI Accelerator+3D (rev 20)

If im not wrong, the chipset is already correct, which is CM8738...
and if im wrong, how to get the chipset id?

Did I miss anything? I really want to use this modem to connect to internet, so please help me ...thanks

archish 04-27-2003 10:51 PM

Well i have the same problem and i think its pct789 chipset
My post is 'Pctt 789 chipset modem driver'

Aussie 04-27-2003 10:54 PM

Try not doing it on an M$ filesystem,
Quote:

/mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory /mnt/win/MyDocuments/RedHat/RedHat7_3Manual/WinModemPCTEL/pctel-0.9.6'
make: *** [install-recursive] Error 1
This can cause all sorts of problems, especially if you used winzip to uncompress the archive.

silverstormboy 04-29-2003 09:57 PM

Hi you all, thank you very very much for your help!:)

at last I can move one step after so many days struggling to find whats wrong, and in fact, it is so simple.

My pctel-0.9.6 directory, is on the win directory, which is on the other hard disk....very silly...no wonder it cant find the ttyS15 file....

Thanks Aussie for you post, It suddenly open my mind :)

so far I used the pct789 chipset and it works fine , until I type:
insmod pctel

the error is :
insmod: pctel : no module by that name found
I have check the '/lib/module/linux2.4-18-3custom/misc/' and the pctel.o and pcserial.o is right there.

Do I have to download fixscript.gz to fix the problem?


Thanks a lot pal

silverstormboy 04-30-2003 11:16 PM

hi , I have changed my driver to pctel-0.8.6 and it can installed the pctel module.

the fixscript is not working, it is said:

old_module.o no such directory

when i try to'make install'

this is the error:

depmod: *** unresolved symbols in /lib/modules/2.4.18-3/misc/ptserial.o

and at a result, the ptserial cant be installed.

I have run make xconfig and i choose N for smp support, did i choose the correct one? cause I think I have only one processor.

after I make the changes, I saved it and run : make dep

but still, the error appeared again.

any suggestions? thanks in advance

Aussie 05-01-2003 12:43 AM

Do "depmod -ae" and try again.

akeda 11-12-2004 05:26 AM

problem with my PCtel HSP56 micro modem
 
Hello i've a problem with my PCtel HSP56 micro modem
i'm using mandrake 10 and in hardware profil detect my modem (HSP56 micro modem)
with unknown module.
i had download pctel winmodem from http://linmodems.technion.ac.il/pcte...0.9.7-9.tar.gz
and try in my mandrake 10, here what i got :

[root@localhost pctel-0.9.7-9]$ ./setup
checking for running kernel version...** error
your kernel version is: 2.6.3
this package supports only 2.4.x kernels.
** compilation error
please read the FAQ about reporting compilation problems
and report this problem.
[root@localhost pctel-0.9.7-9]$ cd src
[root@localhost src]$ ./configure -auto
checking for running kernel version...** error
your kernel version is: 2.6.3
this package supports only 2.4.x kernels.

Does anyone has suggestions


All times are GMT -5. The time now is 06:44 PM.