LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Onda N501HS HSDPA/UMTS PC-Card on Slackware 12.0 (https://www.linuxquestions.org/questions/linux-newbie-8/onda-n501hs-hsdpa-umts-pc-card-on-slackware-12-0-a-607708/)

f4lch3tt0 12-18-2007 05:18 PM

Onda N501HS HSDPA/UMTS PC-Card on Slackware 12.0
 
Hi all.

I'm an Italian new Linux user. This is my first post, sorry if my english is not very good.

I'm using a Slackware 12.0 with kernel 2.6.23.11 on an Acer Aspire 5652WLMi laptop. I need to use a PCMCIA PC-Card for HSDPA/UMTS connection.

The model of the PC-Card is "ONDA N501HS", but I suppose that it's only an italian box, Linux recognize it as a Qualcomm, Inc.

These are the steps that I followed.

Recompiled the kernel disabling ehci_hcd.

When I put the PC-Card into the PCMCIA, dmesg says:

Code:

pccard: CardBus card inserted into slot 0
PCI: Enabling device 0000:07:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:07:00.0 to 64
ohci_hcd 0000:07:00.0: OHCI Host Controller
ohci_hcd 0000:07:00.0: new USB bus registered, assigned bus number 5
ohci_hcd 0000:07:00.0: irq 16, io mem 0×54000000
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 1 port detected
PCI: Enabling device 0000:07:00.1 (0000 -> 0002)
ACPI: PCI Interrupt 0000:07:00.1[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:07:00.1 to 64
ohci_hcd 0000:07:00.1: OHCI Host Controller
ohci_hcd 0000:07:00.1: new USB bus registered, assigned bus number 6
ohci_hcd 0000:07:00.1: irq 16, io mem 0×54001000
usb usb6: configuration #1 chosen from 1 choice
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 1 port detected
usb 6-1: new full speed USB device using ohci_hcd and address 2
usb 6-1: configuration #1 chosen from 1 choice

With lsusb I can identify the vendor and the product ID, so I can use the command

Code:

modprobe usbserial vendor=0×05c6 product=0×6613
At this point dmesg says:

Code:

usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbserial_generic 6-1:1.0: generic converter detected
usb 6-1: generic converter now attached to ttyUSB0
usbserial_generic 6-1:1.1: generic converter detected
usb 6-1: generic converter now attached to ttyUSB1
usbserial_generic 6-1:1.2: generic converter detected
usb 6-1: generic converter now attached to ttyUSB2
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core

So I suppose that the modem is on ttyUSB2. When I do an AT request to this device it answers with is IMEI code.

I configure KPPP as illustrated on openlinux.eu/content/view/124/.

But it returns an error (sorry, it's in italian):

Code:

Il demone pppd ha interrotto la connessione in modo inaspettato!

Valore ritornato: 1

Consulta la pagina del manuale di pppd (man pppd) per verificare il significato del codice d’errore ritornato oppure leggi le FAQ di kppp a developer.kde.org/-kppp/index.html

that is something like "pppd daemon died unexpectedly. Error returned: 1. Please use man pppd or visit our website".

In the details:

Code:

pppd[4279]: Couldn’t get channel number: Input/output error
And the terminal:

Code:

$ kppp
Opener: received OpenLock
Opener: received OpenDevice
Opener: received ExecPPPDaemon
In parent: pppd pid 4279
Opener: received OpenResolv
Couldn’t find interface ppp0: No such device
Kernel supports ppp alright.
Couldn’t find interface ppp0: No such device
Couldn’t find interface ppp0: No such device
Couldn’t find interface ppp0: No such device
Couldn’t find interface ppp0: No such device
Couldn’t find interface ppp0: No such device
Couldn’t find interface ppp0: No such device
Couldn’t find interface ppp0: No such device
Couldn’t find interface ppp0: No such device
Couldn’t find interface ppp0: No such device
It was pppd that died
pppd exited with return value 1
Sending 4275 a SIGUSR1
Opener: received RemoveSecret
Opener: received RemoveSecret
Opener: received OpenResolv
Opener: received OpenResolv
Opener: received RemoveLock
Opener: received PPPDExitStatus
Opener: received PPPDExitStatus
Opener: received OpenSysLog


Need every kind of help! Thank You.


All times are GMT -5. The time now is 09:16 PM.