V845 als USB Host?

S

schwitin

Neues Mitglied
0
Hallo Leute,

ich möchte ein "Maestro 6-Channel USB Servo Controller" von Pololu mit dem Android ansteuern. Laut Doku geht es über die virtellen USB-Ports:

"The Maestro’s two virtual serial ports can be used in Linux without any special driver installation. The virtual serial ports are managed by the cdc-acm kernel module, whose source code you can find in your kernel’s source code drivers/usb/class/cdc-acm.c. When you connect the Maestro to the PC, the two virtual serial ports should appear as devices with names like /dev/ttyACM0 and /dev/ttyACM1 (the number depends on how many other ACM devices you have plugged in). The port with the lower number should be the Command Port, while the port with the higher number should be the TTL Serial Port. You can use any terminal program (such as kermit) to send and receive bytes on those ports."

- Ist V845 dafür geeignet?
- Wie lässt sich herausfinden, ob ein Gerät das usb hsost mode unterstützt?
- Wie lässt sich das Gerät in dieses mode versetzen?
- Entält der Originalkernel die notwendigen acm-Treiber?

Wer Ähnliches machen will, mit diesm Projekt lässt sich ein ein serial port ansteuern:
android-serialport-api - Project Hosting on Google Code

Danke

Wladimir
 
Es scheint ein Qualcomm's MSM7X25 drin zu sein.

Dise Einstellungen habe ich in den Kernelquellen gefunden:

in .config steht:

#
# System Type
#
CONFIG_ARCH_MSM=y
CONFIG_ARCH_MSM7X25=y
CONFIG_ARCH_MSM_ARM11=y

#
# MSM SoC Audio support
#
CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_EHCI=y <--- host mode standardmäßig verfügbar?

#
# USB Function Support
#
CONFIG_USB_FUNCTION=y
CONFIG_USB_FUNCTION_MSM_HSUSB=y not set
CONFIG_USB_FUNCTION_ADB=y
CONFIG_USB_FUNCTION_MASS_STORAGE=y
CONFIG_USB_FUNCTION_DIAG=y
CONFIG_USB_FUNCTION_ETHER=y
CONFIG_USB_FUNCTION_SERIAL=y
CONFIG_USB_AUTO_INSTALL=y
CONFIG_MMC=y
CONFIG_HUAWEI_WIFI_SDCC=y
CONFIG_MMC_UNSAFE_RESUME=y


in drivers/usb/Kconfig steht:

# some non-PCI hcds implement EHCI
config USB_ARCH_HAS_EHCI
boolean
default y if PPC_83xx
default y if SOC_AU1200
default y if ARCH_IXP4XX
default y if ARCH_MSM
default PCI
 
Ich habe versucht den selbstkompillierten Kernel mit "flashboot boot zImage" zu booten, alerdings ohne Erfolg:

creating boot image...
creating boot image - 2418688 bytes
downloading 'boot.img'... OKAY
booting... FAILED (remote: invalid boot image)
Hat jemad eine Idee warum es nicht klappt? Brauche ich HardSPL o.e.?
 
Can anyone point me to the hardware specs of u8210? Does u8210 supports usb host mode? Which modules should be enabled in the kernel config? I wont to control a servo controller from pololu (cdc-acm.ko module), but i can't get it working. The device is not recognized although usbcore.ko, ehci-hcd.ko cdc-acm.ko are insmoded. Can anyone help me?
 
schwitin schrieb:
Can anyone point me to the hardware specs of u8210? Does u8210 supports usb host mode? Which modules should be enabled in the kernel config? I wont to control a servo controller from pololu (cdc-acm.ko module), but i can't get it working. The device is not recognized although usbcore.ko, ehci-hcd.ko cdc-acm.ko are insmoded. Can anyone help me?

I think you can speak German, because the most or all people here are German speaking people ;)
 
  • Danke
Reaktionen: schwitin
Moin!

Die obenstehenden deutschen Beiträge sind ja auch von ihm...

MfG
MrFX
 
  • Danke
Reaktionen: schwitin
Lür;766942 schrieb:
I think you can speak German, because the most or all people here are German speaking people ;)

Weiss jemand wo die Spezifikation für u8210 zu finden ist? Unterstützt dieses Gerät das usb host mode? Welche module müssen in dem Kernel config eingeschaltet werden, damit u8210 das usb host mode unterstützt? Ich habe es hinbekommen, den selbstkompilierten Kernel zu booten und die Kernelmodule usbcore.ko, ehci-hcd.ko und cdc-acm.ko zu laden. Das gerät erkennt jedoch das angeschlossene Gerät nicht (keine Meldungen in dmesg). Ich habe auch mit dem aktivem USB-Hub versucht, allerdings ohne Erfolg. Kann jemand mir helfen?
 
hi schwitin...

probiers mit dieser art fragen mal lieber im xda-developer forum :)
 
  • Danke
Reaktionen: schwitin
Hi KidStealth,

ich habe auch im forum.xda-developers.com diese Frage gestellt. Allerdins ist der V845-Guru kallt-kaffe seit paar Tagen untergetaucht. Ich denke, fragen solcher Art sind sehr gerägespezifisch. Daher dieser Post in "Vodafone 845 Forum".

KidStealth schrieb:
hi schwitin...

probiers mit dieser art fragen mal lieber im xda-developer forum :)
 

Ähnliche Themen

L
Antworten
7
Aufrufe
2.056
Zerberus1971
Zerberus1971
L
  • Lür
Antworten
8
Aufrufe
2.285
marc123
M
LaPinkCherry
  • LaPinkCherry
2
Antworten
24
Aufrufe
3.877
0211dus
0
Zurück
Oben Unten