Re: pctel-0.9.7-9-rht-10 and karmic koala 2.6.31-15-generic

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

 



Chris

from the Pctel.txt:
there should be dynamic co-creation of a port/node:  /dev/ttyS_PCTEL0  c 62 69
Check with:
$  ls -l /dev/ttyS_PCTEL0
----------------
So set a symbolic link:
$ sudo ln -s /dev/ttyS_PCTEL0  /dev/modem
Then use /dev/modem as the port.

MarvS

On Wed, Nov 18, 2009 at 9:04 AM, blAcky <blacky@xxxxxxxxxxxxxxxxx> wrote:
> hi,
>
> i am expieriencing trouble getting a pctel chipset modem to run under the
> system stated above.
>
> the make.log says
>
>> CC vuart.o
>> LD binary.a
>> make -C /lib/modules/2.6.31-14-generic/build
>> M=/home/chris/pctel-0.9.7-9-rht-10/src
>> make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.31-14-generic'
>> LD /home/chris/pctel-0.9.7-9-rht-10/src/built-in.o
>> CC [M] /home/chris/pctel-0.9.7-9-rht-10/src/linmodem-2.6.o
>> CC [M] /home/chris/pctel-0.9.7-9-rht-10/src/ptserial-2.6.o
>> CC [M] /home/chris/pctel-0.9.7-9-rht-10/src/ptserial_pci-2.6.o
>> /home/chris/pctel-0.9.7-9-rht-10/src/ptserial_pci-2.6.c: In function
>> ‘pci_pctel_setup’:
>> /home/chris/pctel-0.9.7-9-rht-10/src/ptserial_pci-2.6.c:231: warning:
>> format ‘%x’ expects type ‘unsigned int’, but argument 9 has type ‘long
>> unsigned int’
>> /home/chris/pctel-0.9.7-9-rht-10/src/ptserial_pci-2.6.c: In function
>> ‘amr_pctel_setup’:
>> /home/chris/pctel-0.9.7-9-rht-10/src/ptserial_pci-2.6.c:291: warning:
>> format ‘%04x’ expects type ‘unsigned int’, but argument 7 has type ‘long
>> unsigned int’
>> /home/chris/pctel-0.9.7-9-rht-10/src/ptserial_pci-2.6.c: In function
>> ‘pciserial_init_one’:
>> /home/chris/pctel-0.9.7-9-rht-10/src/ptserial_pci-2.6.c:606: warning:
>> format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘long
>> unsigned int’
>> CC [M] /home/chris/pctel-0.9.7-9-rht-10/src/ptserial_hw-2.6.o
>> LD [M] /home/chris/pctel-0.9.7-9-rht-10/src/linmodem.o
>> LD [M] /home/chris/pctel-0.9.7-9-rht-10/src/pctel.o
>> LD [M] /home/chris/pctel-0.9.7-9-rht-10/src/pctel_hw.o
>> Building modules, stage 2.
>> MODPOST 3 modules
>> CC /home/chris/pctel-0.9.7-9-rht-10/src/linmodem.mod.o
>> LD [M] /home/chris/pctel-0.9.7-9-rht-10/src/linmodem.ko
>> CC /home/chris/pctel-0.9.7-9-rht-10/src/pctel.mod.o
>> LD [M] /home/chris/pctel-0.9.7-9-rht-10/src/pctel.ko
>> CC /home/chris/pctel-0.9.7-9-rht-10/src/pctel_hw.mod.o
>> LD [M] /home/chris/pctel-0.9.7-9-rht-10/src/pctel_hw.ko
>> make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.31-14-generic'
>> rm -f /dev/ttyS_PCTEL0
>> echo "KERNEL==\"ttyS_PCTEL0\", SYMLINK=\"modem\"" >
>> /etc/udev/rules.d/70-pctel.rules
>> install -D -m 644 linmodem.ko
>> /lib/modules/2.6.31-14-generic/misc/linmodem.ko
>> install -D -m 644 pctel.ko /lib/modules/2.6.31-14-generic/misc/pctel.ko
>> install -D -m 644 pctel_hw.ko
>> /lib/modules/2.6.31-14-generic/misc/pctel_hw.ko
>> /sbin/depmod -a
>> /sbin/insmod linmodem.ko
>> insmod: error inserting 'linmodem.ko': -1 File exists
>> make: *** [insmod] Fehler 1
>
> dmesg says it gets initialised
>
>> Nov 11 12:58:40 chris-desktop1 kernel: [ 1215.802322]
>> Nov 11 12:58:57 chris-desktop1 kernel: [ 1233.273639] pctel(233): PCTel
>> initialization. Country code is 33.
>> Nov 11 12:58:57 chris-desktop1 kernel: [ 1233.273642]
>
> everything looks fine as far here
>
>> [ 15.798074] pctel(481): pctel v0.1 loaded
>> [ 15.798173] pctel_hw 0000:00:0e.0: PCI INT A -> GSI 17 (level, low) ->
>> IRQ 17
>> [ 15.798184] pctel_pci(233): PCTel device[0000:00:0e.0](0x70) found
>> 134d:7890 (rev 01), iobase=0x9800, irq=17.
>> [ 15.798191] pctel_pci(609): Setup PCI port: port 0x9800, irq 17, type 0,
>> membase (null), ops (null)
>> [ 15.798204] ttyS_PCTEL0 at I/O 0x9800 (irq = 17) is a PCTel
>
>
> but there does not appear any symlink or device, efax cant find anything.
>
>> Socket läuft auf Port 9900
>> efax-0.9a: 11:04:43Fehler: can't open serial port /dev/ttyS_PCTEL0: No
>> such file or directory
>> efax-0.9a: 11:04:43 beendet - unrecoverable error
>> efax-0.9a: 11:05:01Fehler: can't open serial port /dev/modem: No such file
>> or directory
>> efax-0.9a: 11:05:01 beendet - unrecoverable error
>
>
>
> by the way, i just need the modem for sending and receiving faxes.
>
> the diagnosis tool says about the modem
>
>> Predictive diagnostics for card in bus 00:0e.0:
>> Modem chipset detected on
>> NAME="Communication controller: PCTel Inc HSP MicroModem 56 "
>> CLASS=0780
>> PCIDEV=134d:7890
>> SUBSYS=134d:0001
>> IRQ=17
>> IDENT=PCTEL
>>
>> For candidate modem in: 00:0e.0
>> 0780 Communication controller: PCTel Inc HSP MicroModem 56
>> Primary device ID: 134d:7890
>> Support type needed or chipset: PCTEL
>>
>>
>> At http://linmodems.technion.ac.il/pctel-linux
>> Get the pctel-0.9.7-9-rht-10.tar.gz
>> Unpack under Linux with:
>> tar zxf pctel*.tar.gz
>> and read instuctions therein.
>> Read DOCs/Pctel.txt and Modem/DOCs/YourSystem.txt for follow through
>> guidance.
>>
>> Writing DOCs/Pctel.txt
>>
>> Completed candidate modem analyses.
>>
>> The base of the UDEV device file system is: /dev/.udev
>
>
> is there already any expierience in using this modem with this os?
>
> best regards,
>
> chris
>


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

  Powered by Linux