trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: August 2012

Re: [trinity-devel] Tim: TDEHWLIB

From: Darrell Anderson <humanreadable@...>
Date: Mon, 27 Aug 2012 20:57:37 -0700 (PDT)
> ========================================
> Digital camera
> ========================================
> 
> With HAL:
> 
> Powering on the camera while connected to a USB port shows a
> desktop icon almost immediately.
> A dialog appears asking me what to do.
> The lsusb command lists the device.
> When disconnecting or powering off, the icon disappears
> almost immediately.
> 
> With TDEHWLIB:
> 
> Powering on the camera while connected to a USB port does
> not show a desktop icon.
> No dialog appears asking me what to do.
> The lsusb command lists the device.

With a HAL-enabled system, connecting my camera results in a desktop icon labeled "USB Imaging Interface." The icon label "USB Imaging Interface" comes directly from the HAL sources, hald/linux/device.c. Makes sense then when HAL is not installed then no such icon label appears.

I don't know what interface names are used in tdehwlib to create related camera icon labels. Possibly those snippets could be taken from the HAL sources to create familiar desktop icon labels.

Possibly some additional debug messages are needed in tdehwlib to help troubleshoot these bugs.

Darrell