qemu-discuss
[Top][All Lists]
Advanced

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

[Qemu-discuss] Communication with /ttyUSB0 between host and guest


From: Arthur Lambert
Subject: [Qemu-discuss] Communication with /ttyUSB0 between host and guest
Date: Tue, 15 Jan 2013 14:56:24 +0100

Hello,

I need to use a dongle 3G (HUAWEi - K4605) on qemu (kernel 2.6.32.27,
x86, openwrt environment)

First I have some trouble to switch the mod on the dongle. The dongle
is in storage mode by default and I need to use usb_modeswitch to use
it like a dongle 3G.

I have make some try without sucess :
http://stackoverflow.com/questions/13976000/usb-modeswitch-with-usb-dongle-3g-on-qemu

I have forgive this track and I am trying a new one. My new idea is to
let the host switch my device and use it in qemu when its done. So I
switch my device on my host and start my qemu target with : -usb
-usbdevice host:12d1:14c6. If I run lsusb on my qemu target, all is
ok. I can see my device !

The problem is that I am supposed to communicate with my device though
serial entry like /dev/ttyUSB0. But I cannot find this entry on my
qemu target even if my dongle 3G seems to be ready. Do I have a way to
get this entry available on my qemu target ? Do I have to find a way
to create fake entry on qemu and link it to my real entry in the host
side ?

I have try some command with my qemu like : -usbdevice
serial::/dev/ttyUSB0 but even if my qemu target seems to boot, nothing
has change in /dev directory.

Thank you,

- Arthur LAMBERT



reply via email to

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