trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: August 2012

Re: [trinity-devel] Tim: TDEHWLIB

From: "Timothy Pearson" <kb9vqf@...>
Date: Tue, 28 Aug 2012 10:24:25 -0500
>> ========================================
>> 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

It looks like the apparent lack of functionality is caused by two main
things:
1.) The TDEHW backend does not yet have per-device mount configuration
support written for it.  Now that I am aware of the missing functionality
I will see what I can do to add it in.

2.) Some of the other problems, such as unmounting not always working, may
be bugs in udev and/or the kernel, as I remember fighting with similar
bugs when I was developing the TDEHW library.  What kernel and udev
versions are you running?

Tim