[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KDE2 and Linux 2.4
From: James Tappin <sjt () star ! sr ! bham ! ac ! uk>
Date: 2001-02-07 17:19:16
[Download RAW message or body]
On Wednesday 07 February 2001 15:40, Adriaan de Groot wrote:
> On Wed, 7 Feb 2001, Navindra Umanee wrote:
> > Does KDE2 still have problems running with Linux 2.4? According to
> > this article, this seems to be the case:
>
> Well, this isn't a KDE2-as-a-whole problem but my personal corner of KDE2
> - KPilot - has serious issues with kernel 2.4. And since you've brought it
> up I'll describe my problem here and solicit solutions from kde-devel as a
> whole:
>
> Kernel 2.4 makes USB device nodes (in /dev/udb/ I think) on-the-fly. One
> part of KPilot is a daemon process that sits and waits for input on a
> device. Up til now you could set it to wait on /dev/usb0 and all would be
> fine. Except under kernel 2.4, there *is* no /dev/usb/0 until the input is
> there, so KPilot can't possibly wait on /dev/usb/0 before it exists.
>
> Are there any ideas about what to do about this? [I suppose some kind of
> Dir-Watcher might work...]
I'm probably going in way out of my depth here as I've never used a Pilot or
2.4, but I have had a fair bit of experience with usbdevfs (under 2.2.18)
with gphoto.
There is a user-land library called libusb (http://libusb.sourceforge.net)
which allows you to access devices, and it can I think look for devices
appearing by vendor and product id.
Permissions under 2.4 should be handled by hotplug (under 2.2 I wrote a small
daemon to do the job (http://www.xena.uklinux.net/Linux/usb_perms.html)).
Probably a red herring but might be useful.
James
--
+------------------------+-------------------------------+---------+
| James Tappin | School of Physics & Astronomy | O__ |
| sjt@star.sr.bham.ac.uk | University of Birmingham | -- \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722 | |
+--------------------------------------------------------+---------+
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic