motorola mobiltelefon kezelese freebsd-vel

Fórumok

sziasztok!

szereztem nemreg 1 motorola v3 telefont, viszont a klasszikus problemaval szembesultem: adnak hozza cd-t, amin csak a win driverek vannak ott...

megkerdeztem gugli-t (google), hogy mi a helyzet, es persze tudott segiteni:
moto4lin, p2kmoto
persze a honlapon ugy tesznek, mintha mukodne a dolog bsd-n is, de nem teszi, meg le sem fordul :(

eloszor nem tetszik neki, hogy:

#include <usb.h>

man usb alapjan igy kene kineznie:

#include <dev/usb/usb.h&gt

javitas utan make-re meg mindig negativ a valasz:


make

make  all-recursive
Making all in src
/usr/local/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c p2kmoto.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c p2kmoto.c  -fPIC -DPIC -o .libs/p2kmoto.o
p2kmoto.c:96: error: syntax error before '*' token
p2kmoto.c:96: warning: data definition has no type or storage class
p2kmoto.c: In function `p2k_getDevList':
p2kmoto.c:160: error: `usb_dev_handle' undeclared (first use in this function)
p2kmoto.c:160: error: (Each undeclared identifier is reported only once
p2kmoto.c:160: error: for each function it appears in.)
p2kmoto.c:160: error: `udev' undeclared (first use in this function)
p2kmoto.c:172: error: `usb_busses' undeclared (first use in this function)
p2kmoto.c:172: error: dereferencing pointer to incomplete type
p2kmoto.c:173: error: dereferencing pointer to incomplete type
p2kmoto.c:173: error: dereferencing pointer to incomplete type
p2kmoto.c:180: error: dereferencing pointer to incomplete type
p2kmoto.c:182: error: dereferencing pointer to incomplete type
p2kmoto.c:182: error: dereferencing pointer to incomplete type
p2kmoto.c:184: error: dereferencing pointer to incomplete type
p2kmoto.c:185: error: dereferencing pointer to incomplete type
p2kmoto.c:192: error: dereferencing pointer to incomplete type
p2kmoto.c:193: error: dereferencing pointer to incomplete type
p2kmoto.c:196: error: dereferencing pointer to incomplete type
p2kmoto.c:197: error: dereferencing pointer to incomplete type
p2kmoto.c: In function `p2k_findDevice':
p2kmoto.c:223: warning: assignment makes pointer from integer without a cast
p2kmoto.c:225: error: dereferencing pointer to incomplete type
p2kmoto.c:229: error: dereferencing pointer to incomplete type
p2kmoto.c:229: error: dereferencing pointer to incomplete type
p2kmoto.c:230: error: dereferencing pointer to incomplete type
p2kmoto.c:230: error: dereferencing pointer to incomplete type
p2kmoto.c: In function `p2k_connect':
p2kmoto.c:255: warning: assignment makes pointer from integer without a cast
p2kmoto.c: At top level:
p2kmoto.c:315: error: syntax error before "usb_dev_handle"
p2kmoto.c: In function `p2k_sendControl':
p2kmoto.c:319: error: `dev' undeclared (first use in this function)
p2kmoto.c:328: error: `requesttype' undeclared (first use in this function)
p2kmoto.c:328: error: `request' undeclared (first use in this function)
p2kmoto.c:328: error: `value' undeclared (first use in this function)
p2kmoto.c:328: error: `bytes' undeclared (first use in this function)
p2kmoto.c:328: error: `size' undeclared (first use in this function)
p2kmoto.c:328: error: `timeout' undeclared (first use in this function)
*** Error code 1

lehetseges, hogy ennyire mas lenne az

usb.h

freebsd es linux alatt?
van valakinek otlete, hogyan tudnam feltenni a cuccost? most FreeBSD 5.4-RELEASE-em van hp nx9020-on, de valoszinuleg valtok 6-ra...

elore is kosz a segitseget :)

udv,
Cs.

Hozzászólások

1) ha már váltasz 7-re válts
2) V3-ban van blutyuk, azon keresztül el lehet érni FreeBSD alól is. Nézd meg a Handbookban a BT kezelést. Bár elég macerás az a parancssori ketyer, de elindulásnak jó.
(Ja, megnéztem anno egy röpke teszt erejéig USB-n is, elég furcsa volt, mert ha nem a saját kábelét használtam, tölteni ugyan engedte az usb-ről, de a gépem észre se vette, hogy rádugtam valamit. Saját kábelével legalább látott valamit.)