gnokii-users
[Top][All Lists]
Advanced

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

Re: Nokia 6630 and USB-Cable


From: Peter Schütt
Subject: Re: Nokia 6630 and USB-Cable
Date: Mon, 04 Jul 2005 09:08:03 +0200
User-agent: KNode/0.8.2

Hallo,

>> >> DKU 2, I think.
>> >> This is the cable which is delivered with my handy.
>> >
>> > So I thought. You didn't read README-DKU2, did you? Linux standard
>> > kernel driver is incompatible with FBUS mode. You need to use a driver
>> > provided with gnokii (see patches directory). I think it will work in
>> > Windows if you will install a driver provided with the cable.
>> 
>> So I have to get a new Kernel because I use 2.6.8-2 and I have to use at
>> least 2.6.9.
> 
> You may try out and test it with 2.6.8-2 first.
> 
>> I try to compile the patch with my kernel but it does not work as the
>> document says.
> 
> What are the exact error messages?

I entered the directory and typed "make"  :


address@hidden:~/gnokii-0.6.7/patches/kernel_2.6$ make
make[1]: Entering directory `/usr/src/kernel-headers-2.6.8-2-k7'
  CC [M]  /home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.o
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:36:24:
usb-serial.h: Datei oder Verzeichnis nicht gefunden
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:54: Warnung:
`struct usb_serial' declared inside parameter list
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:54: Warnung: its
scope is only this definition or declaration, which is probably not what
you want
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:67: error:
`usb_serial_probe' undeclared here (not in a function)
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:67: error:
Initialisierungselement ist nicht konstant
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:67: error: (near
initialization for `nokia_driver.probe')
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:68: error:
`usb_serial_disconnect' undeclared here (not in a function)
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:68: error:
Initialisierungselement ist nicht konstant
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:68: error: (near
initialization for `nokia_driver.disconnect')
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:72: error: variable
`nokia_device' has initializer but incomplete type
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:73: error: unknown
field `owner' specified in initializer
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:73: Warnung:
Elementüberschreitung in struct-Initialisierung
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:73: Warnung: (nahe
der Initialisierung für »nokia_device«)
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:74: error: unknown
field `name' specified in initializer
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:74: Warnung:
Elementüberschreitung in struct-Initialisierung
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:74: Warnung: (nahe
der Initialisierung für »nokia_device«)
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:75: error: unknown
field `id_table' specified in initializer
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:75: Warnung:
Elementüberschreitung in struct-Initialisierung
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:75: Warnung: (nahe
der Initialisierung für »nokia_device«)
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:76: error: unknown
field `num_interrupt_in' specified in initializer
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:76: Warnung:
Elementüberschreitung in struct-Initialisierung
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:76: Warnung: (nahe
der Initialisierung für »nokia_device«)
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:77: error: unknown
field `num_bulk_in' specified in initializer
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:77: Warnung:
Elementüberschreitung in struct-Initialisierung
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:77: Warnung: (nahe
der Initialisierung für »nokia_device«)
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:78: error: unknown
field `num_bulk_out' specified in initializer
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:78: Warnung:
Elementüberschreitung in struct-Initialisierung
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:78: Warnung: (nahe
der Initialisierung für »nokia_device«)
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:79: error: unknown
field `num_ports' specified in initializer
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:79: Warnung:
Elementüberschreitung in struct-Initialisierung
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:79: Warnung: (nahe
der Initialisierung für »nokia_device«)
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:80: error: unknown
field `probe' specified in initializer
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:81: Warnung:
Elementüberschreitung in struct-Initialisierung
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:81: Warnung: (nahe
der Initialisierung für »nokia_device«)
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:87: Warnung:
`struct usb_serial' declared inside parameter list
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:88: error:
conflicting types for `nokia_probe'
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:54: error: previous
declaration of `nokia_probe'
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c: In Funktion
»nokia_probe«:
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:93: error:
dereferencing pointer to incomplete type
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:97: error:
dereferencing pointer to incomplete type
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:98: error:
dereferencing pointer to incomplete type
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:101: error:
dereferencing pointer to incomplete type
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c: In Funktion
»nokia_init«:
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:113: Warnung:
implicit declaration of function `usb_serial_register'
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:117: Warnung:
implicit declaration of function `usb_serial_deregister'
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c: Auf höchster
Ebene:
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:72: error: storage
size of `nokia_device' isn't known
/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.c:33: Warnung:
`debug' defined but not used
make[2]: ***
[/home/peter/gnokii-0.6.7/patches/kernel_2.6/nokia_dku2.o]Fehler 1
make[1]: *** [_module_/home/peter/gnokii-0.6.7/patches/kernel_2.6] Fehler 2
make[1]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-k7'
make: *** [module] Fehler 2

Do I need a newer kernel?

>> Does the patch also work at 2.6.11 ?
> 
> That's not the patch, that's a separate module. But it should work
> with this kernel.
> 
>> Perhaps I can get a DKU5 - cable.
>> Does this work?
> 
> Not all models. AFAIR original Nokia one doesn't work. Most clones work.

I found an old DKU5-cable, not from nokia, but it does not work.

Ciao
  Peter Schütt

-- 
www.pstt.de

Die E-Mail-Adresse funktioniert, kann aber u.U. in Zukunft mal abgeschaltet
werden. Ohne "_remove_this_" wird sie auch in Zukunft noch funktionieren.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]