Le Monday 07 July 2008 01:02:51, vous avez écrit : > Le Saturday 05 July 2008 00:19:27, vous avez écrit : > > Hi all, > > > > I try to make to work ftpobex with my Nokia N72. I try with new > > versions for openobex and ftpobex. It's compile fine but if i try > > to list compatible USB obex device, my phone isn't found. > > > > bash-3.2# obexftp -u > > Found 0 USB OBEX interfaces > > > > > > Use '-u interface_number' to connect > > Nothing to do. Use --help for help. > > > > My phone is connected : > > bash-3.2# usbdevs -v > > Controller /dev/usb0: > > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > > Intel(0x8086), rev 1.00 > > port 1 powered > > port 2 powered > > port 3 powered > > port 4 powered > > port 5 powered > > port 6 powered > > Controller /dev/usb1: > > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > > Intel(0x8086), rev 1.00 > > port 1 powered > > port 2 powered > > port 3 powered > > port 4 powered > > port 5 powered > > port 6 powered > > Controller /dev/usb2: > > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > > Intel(0x8086), rev 1.00 > > port 1 addr 2: full speed, power 100 mA, config 1, Nokia N72(0x04c4), > > Nokia(0x0421), rev 0.00 > > port 2 powered > > Controller /dev/usb3: > > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > > Intel(0x8086), rev 1.00 > > port 1 addr 2: low speed, power 98 mA, config 1, USB Optical > > Mouse(0x00c3), vendor 0x15ca(0x15ca), rev 5.12 > > port 2 powered > > Controller /dev/usb4: > > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > > Intel(0x8086), rev 1.00 > > port 1 powered > > port 2 powered > > Controller /dev/usb5: > > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > > Intel(0x8086), rev 1.00 > > port 1 powered > > port 2 powered > > > > I join my dmesg: > > > > OpenBSD 4.4-beta (GENERIC.MP) #1759: Tue Jul 1 20:52:58 MDT 2008 > > [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > real mem = 3476131840 (3315MB) > > avail mem = 3372560384 (3216MB) > > mainbus0 at root > > bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf06e0 (71 entries) > > bios0: vendor American Megatrends Inc. version "0704" date 10/30/2007 > > bios0: ASUSTeK Computer INC. P5K > > acpi0 at bios0: rev 2 > > acpi0: tables DSDT FACP APIC MCFG OEMB HPET OSFR > > acpi0: wakeup devices P0P2(S4) P0P1(S4) UAR1(S4) PS2K(S4) EUSB(S4) > > USBE(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) USB0(S4) USB1(S4) > > USB2(S4) USB3 (S4) USB4(S4) USB5(S4) USB6(S4) P0P4(S4) > > acpitimer0 at acpi0: 3579545 Hz, 24 bits > > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > > cpu0 at mainbus0: apid 0 (boot processor) > > cpu0: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2405.80 MHz > > cpu0: > > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C > >FL > > USH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2 > >,CX 16,xTPR,NXE,LONG cpu0: 4MB 64b/line 16-way L2 cache > > cpu0: apic clock running at 267MHz > > cpu1 at mainbus0: apid 1 (application processor) > > cpu1: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2405.46 MHz > > cpu1: > > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C > >FL > > USH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2 > >,CX 16,xTPR,NXE,LONG cpu1: 4MB 64b/line 16-way L2 cache > > cpu2 at mainbus0: apid 2 (application processor) > > cpu2: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2405.46 MHz > > cpu2: > > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C > >FL > > USH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2 > >,CX 16,xTPR,NXE,LONG cpu2: 4MB 64b/line 16-way L2 cache > > cpu3 at mainbus0: apid 3 (application processor) > > cpu3: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2405.46 MHz > > cpu3: > > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C > >FL > > USH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2 > >,CX 16,xTPR,NXE,LONG cpu3: 4MB 64b/line 16-way L2 cache > > ioapic0 at mainbus0 apid 4 pa 0xfec00000, version 20, 24 pins > > acpihpet0 at acpi0: 14318179 Hz > > acpiprt0 at acpi0: bus 0 (PCI0) > > acpiprt1 at acpi0: bus 1 (P0P2) > > acpiprt2 at acpi0: bus 5 (P0P1) > > acpiprt3 at acpi0: bus -1 (P0P5) > > acpiprt4 at acpi0: bus -1 (P0P6) > > acpiprt5 at acpi0: bus -1 (P0P7) > > acpiprt6 at acpi0: bus 3 (P0P8) > > acpiprt7 at acpi0: bus 2 (P0P9) > > acpiprt8 at acpi0: bus 4 (P0P4) > > acpicpu0 at acpi0: PSS > > acpicpu1 at acpi0: PSS > > acpicpu2 at acpi0: PSS > > acpicpu3 at acpi0: PSS > > acpibtn0 at acpi0: PWRB > > pci0 at mainbus0 bus 0: configuration mode 1 > > pchb0 at pci0 dev 0 function 0 "Intel 82G33 Host" rev 0x02 > > ppb0 at pci0 dev 1 function 0 "Intel 82G33 PCIE" rev 0x02: apic 4 int 16 > > (irq 11) > > pci1 at ppb0 bus 1 > > vga1 at pci1 dev 0 function 0 vendor "ATI", unknown product 0x9442 rev > > 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > > agp0 at vga1: no integrated graphics > > azalia0 at pci1 dev 0 function 1 vendor "ATI", unknown product 0xaa30 rev > > 0x00: apic 4 int 17 (irq 10) > > azalia0: /usr/src/sys/dev/pci/azalia.c/1348 invalid PCM format: > > 0x00000000 azalia0: No codecs found > > uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x02: apic 4 int > > 16 (irq 11) > > uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x02: apic 4 int > > 21 (irq 3) > > uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x02: apic 4 int > > 18 (irq 5) > > ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x02: apic 4 int > > 18 (irq 5) > > usb0 at ehci0: USB revision 2.0 > > uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > > azalia1 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x02: apic > > 4 int 22 (irq 15) > > azalia1: codec[s]: Realtek ALC883 > > audio0 at azalia1 > > ppb1 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x02: apic 4 int > > 17 (irq 10) > > pci2 at ppb1 bus 4 > > ppb2 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x02: apic 4 int > > 17 (irq 10) > > pci3 at ppb2 bus 3 > > jmb0 at pci3 dev 0 function 0 "JMicron JMB363 IDE/SATA" rev 0x03 > > ahci0 at jmb0: apic 4 int 16 (irq 11), AHCI 1.0 > > scsibus0 at ahci0: 32 targets, initiator 32 > > pciide0 at jmb0: DMA, channel 0 wired to native-PCI, channel 1 wired to > > native-PCI > > pciide0: using apic 4 int 16 (irq 11) for native-PCI interrupt > > wd0 at pciide0 channel 0 drive 1: <Maxtor 6Y160P0> > > wd0: 16-sector PIO, LBA48, 156334MB, 320173056 sectors > > wd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 6 > > pciide0: channel 1 disabled (no drives) > > ppb3 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x02: apic 4 int > > 16 (irq 11) > > pci4 at ppb3 bus 2 > > "Attansic Technology L1" rev 0xb0 at pci4 dev 0 function 0 not configured > > uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x02: apic 4 int > > 23 (irq 7) > > uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x02: apic 4 int > > 19 (irq 14) > > uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x02: apic 4 int > > 18 (irq 5) > > ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x02: apic 4 int > > 23 (irq 7) > > usb1 at ehci1: USB revision 2.0 > > uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > > ppb4 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x92 > > pci5 at ppb4 bus 5 > > xl0 at pci5 dev 1 function 0 "3Com 3c905C 100Base-TX" rev 0x74: apic 4 > > int 17 (irq 10), address 00:01:02:da:a4:34 > > bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6 > > "VIA VT6306 FireWire" rev 0xc0 at pci5 dev 3 function 0 not configured > > pcib0 at pci0 dev 31 function 0 "Intel 82801IB LPC" rev 0x02 > > pciide1 at pci0 dev 31 function 2 "Intel 82801I SATA" rev 0x02: DMA, > > channel 0 configured to native-PCI, channel 1 configured to native-PCI > > pciide1: using apic 4 int 22 (irq 15) for native-PCI interrupt > > wd1 at pciide1 channel 1 drive 0: <MAXTOR STM3320820AS> > > wd1: 16-sector PIO, LBA48, 305245MB, 625142448 sectors > > wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5 > > ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x02: apic 4 > > int 18 (irq 5) > > iic0 at ichiic0 > > spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-6400CL5 > > spdmem1 at iic0 addr 0x52: 2GB DDR2 SDRAM non-parity PC2-6400CL5 > > pciide2 at pci0 dev 31 function 5 "Intel 82801I SATA" rev 0x02: DMA, > > channel 0 wired to native-PCI, channel 1 wired to native-PCI > > pciide2: using apic 4 int 22 (irq 15) for native-PCI interrupt > > usb2 at uhci0: USB revision 1.0 > > uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > > usb3 at uhci1: USB revision 1.0 > > uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > > usb4 at uhci2: USB revision 1.0 > > uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > > usb5 at uhci3: USB revision 1.0 > > uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > > usb6 at uhci4: USB revision 1.0 > > uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > > usb7 at uhci5: USB revision 1.0 > > uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > > isa0 at pcib0 > > isadma0 at isa0 > > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > > pckbc0 at isa0 port 0x60/5 > > pckbd0 at pckbc0 (kbd slot) > > pckbc0: using irq 1 for kbd slot > > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > > pcppi0 at isa0 port 0x61 > > midi0 at pcppi0: <PC speaker> > > spkr0 at pcppi0 > > wbsio0 at isa0 port 0x2e/2: W83627DHG rev 0x23 > > lm1 at wbsio0 port 0x290/8: W83627DHG > > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > > mtrr: Pentium Pro MTRR support > > uhidev0 at uhub3 port 1 configuration 1 interface 0 "vendor 0x15ca USB > > Optical Mouse" rev 2.00/5.12 addr 2 > > uhidev0: iclass 3/1 > > ums0 at uhidev0: 3 buttons, Z dir > > wsmouse0 at ums0 mux 0 > > softraid0 at root > > root on wd1a swap on wd1b dump on wd1b > > umodem0 at uhub2 port 2 configuration 1 interface 8 "Nokia Nokia N72" rev > > 2.00/0.00 addr 2 > > umodem0: data interface 9, has no CM over data, has break > > umodem0: status change notification available > > ucom0 at umodem0 > > > > And diff for use last obexftp and openobex version. > > If Anyone has an idea. > > > > Thanks, > > BSDManiak > > I have succeeded to make detect my phone. I Have desactivated ucom > and umodem device. But i have another problem. If i check a first usb > obex device i havn't nothing indication of the obex device. > > bash-3.2# obexftp -u > OBEX_FindInterfaces(): > OBEX_FreeInterfaces(): > OBEX_FreeInterfaces(): > Found 2 USB OBEX interfaces > > 0 (Manufacturer: Product: Serial: (null) Interface description: ) > 1 (Manufacturer: Product: Serial: (null) Interface description: ) > > Use '-u interface_number' to connect > Nothing to do. Use --help for help. > > The second time obexftp core dump: > > bash-3.2# gdb obexftp > GNU gdb 6.3 > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are welcome to change it and/or distribute copies of it under certain > conditions. Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "amd64-unknown-openbsd4.4"...(no debugging > symbols found) > > (gdb) run -u > Starting program: /usr/local/bin/obexftp -u > OBEX_FindInterfaces(): > OBEX_FreeInterfaces(): > > Program received signal SIGSEGV, Segmentation fault. > 0x0000000208c4a1ac in usbobex_find_interfaces (interfaces=0x20c2a4d38) at > usbobex.c:243 > 243 for (i = 0; i < > dev->config[c].bNumInterfaces; i++) { > > and usbdevs says errors : > > bash-3.2# usbdevs > addr 1: EHCI root hub, Intel > addr 1: EHCI root hub, Intel > addr 1: UHCI root hub, Intel > getdevicedesc: ioctl: Input/output error > getstring: ioctl: Input/output error > addr 2: product 0x04c4, vendor 0x0421 > addr 1: UHCI root hub, Intel > addr 2: USB Optical Mouse, vendor 0x15ca > addr 1: UHCI root hub, Intel > addr 1: UHCI root hub, Intel > > If anyone have any idea. > > Thanks, > BSDManiak
I Have enable USB_DEBUG and then i have this: bash-3.2# obexftp -u OBEX_FindInterfaces(): OBEX_FreeInterfaces(): usb_set_debug: Setting debugging level to 5 (on) usb_os_find_busses: Found /dev/usb0 usb_os_find_busses: Found /dev/usb1 usb_os_find_busses: Found /dev/usb2 usb_os_find_busses: Found /dev/usb3 usb_os_find_busses: Found /dev/usb4 usb_os_find_busses: Found /dev/usb5 usb_os_find_devices: Found /dev/ugen0 on /dev/usb3 usb_control_msg: 128 6 512 0 0x7f7ffffcec98 8 1000 usb_control_msg: 128 6 512 0 0x209bae200 282 1000 skipped 3 class/vendor specific interface descriptors skipped 3 class/vendor specific interface descriptors skipped 1 class/vendor specific interface descriptors skipped 3 class/vendor specific interface descriptors skipped 3 class/vendor specific interface descriptors skipped 3 class/vendor specific interface descriptors skipped 3 class/vendor specific interface descriptors usb_control_msg: 128 6 768 0 0x7f7ffffcebf0 255 1000 usb_control_msg: 128 6 769 1033 0x7f7ffffcebf0 255 1000 USB error: error sending control message: Input/output error usb_control_msg: 128 6 768 0 0x7f7ffffcebf0 255 1000 USB error: error sending control message: Input/output error usb_control_msg: 128 6 768 0 0x7f7ffffcebf0 255 1000 USB error: error sending control message: Input/output error usb_control_msg: 128 6 768 0 0x7f7ffffcebf0 255 1000 USB error: error sending control message: Input/output error usb_control_msg: 128 6 768 0 0x7f7ffffcebf0 255 1000 USB error: error sending control message: Input/output error usb_control_msg: 128 6 768 0 0x7f7ffffcebf0 255 1000 USB error: error sending control message: Input/output error usb_control_msg: 128 6 768 0 0x7f7ffffcebf0 255 1000 USB error: error sending control message: Input/output error usb_control_msg: 128 6 768 0 0x7f7ffffcebf0 255 1000 USB error: error sending control message: Input/output error OBEX_FreeInterfaces(): Found 2 USB OBEX interfaces 0 (Manufacturer: Product: Serial: (null) Interface description: ) 1 (Manufacturer: Product: Serial: (null) Interface description: ) Use '-u interface_number' to connect Nothing to do. Use --help for help. I Think it's a problem with libusb :/ BSDManiak