On Wed, 2006-04-05 at 13:23 -0400, Mlists wrote:
> On Wed, 2006-04-05 at 18:14 +0200, Pawel Kot wrote:
> > Hi,
> >
> > On 4/5/06, Mlists <address@hidden> wrote:
> > > > > > The driver does not create any devices. Userspace tools like udev
> > > > > > currently to it.
> > > > >
> > > > > Sorry its so long but its a general purpose kernel. I use ARCH linux.
> > > >
> > > > I meant lsusb. Sorry for the mistake.
My phone is a NOkia 6620.
Well, I've had some time to hack a bit of the code and I have
the /dev/USB0 coming up with the following changes:
nokia_dku2.h
#define NOKIA6620_PRODUCT_ID 0x040d
nokia_dku2.c
static struct usb_device_id id_table [] = {
{ USB_DEVICE(NOKIA_VENDOR_ID, NOKIA7600_PRODUCT_ID) },
{ USB_DEVICE(NOKIA_VENDOR_ID, NOKIA6230_PRODUCT_ID) },
{ USB_DEVICE(NOKIA_VENDOR_ID, NOKIA6170_PRODUCT_ID) },
{ USB_DEVICE(NOKIA_VENDOR_ID, NOKIA6670_PRODUCT_ID) },
{ USB_DEVICE(NOKIA_VENDOR_ID, NOKIA6680_PRODUCT_ID) },
{ USB_DEVICE(NOKIA_VENDOR_ID, NOKIA6230i_PRODUCT_ID) },
{ USB_DEVICE(NOKIA_VENDOR_ID, NOKIA6620_PRODUCT_ID) },
{ } /* Terminating entry */
};
It now recognizes my phone but not the ports. It seems the 6620 uses
different endpoints then the rest.
The NOKIA_AT_PORT for the 6620 is 0x84.
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 8
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 7 CDC Comms Interface
CDC Header:
bcdCDC 1.00
CDC ACM:
bmCapabilities 0x0f
connection notifications
sends break
line coding and serial state
get/set/clear comm features
CDC Union:
bMasterInterface 8
bSlaveInterface 9
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 128
>From what I read from the lsusb -vvv however, my phone is not showing an
endpoint for Obex -- is that correct?
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 6
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 2 Communications
bInterfaceSubClass 11 OBEX
bInterfaceProtocol 0
iInterface 6 PC Suite Services
CDC Header:
bcdCDC 1.10
CDC OBEX:
bcdVersion 1.00
CDC Union:
bMasterInterface 6
bSlaveInterface 7
Is this a problem with the phone? Why would it not be showing the
endpoint properly? Any help would be appreciated!
Norm
_______________________________________________
gnokii-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/gnokii-users