[Lazarus] RE : RE :FPC_REQUIRES_PROPER_ALIGNMENTdefinedonSolariscausescrashinlazarus

Sven Barth pascaldragon at googlemail.com
Sat Aug 13 18:41:03 CEST 2011


On 12.08.2011 23:45, Mark Morgan Lloyd wrote:
> I'll revisit it in the morning, and will also see if I can get a (Linux)
> guest to see a physical USB device.
>

qemu ... -usb host:DEVICEID:VENDORID ...

should do it. I don't know whether this is supported on Windows hosts as 
well.

On Linux you need to have access rights to the device in 
/dev/bus/usb/BUSID/DEVID.

You can get DEVICEID, VENDORID, BUSID and DEVID by doing a "lsusb". The 
output looks like this:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0ccd:0039 TerraTec Electronic GmbH Grabster AV 400
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 04a9:190a Canon, Inc. CanoScan LiDE 210
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Consider the fourth line for example:
- BUSID: 001
- DEVID: 002
- VENDORID: 0ccd
- DEVICEID: 0039

Regards,
Sven




More information about the Lazarus mailing list