lkml.org 
[lkml]   [2011]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] firewire: do not expose globally unique IDs in the kernel log
On Dec 20 Carl Karsten wrote:
> grumble.
>
> I use those guids like so:
>
> plug in dv cam, dmesg, cut guid to clipboard, run:
> dvgrab -guid (paste)

How about:

#!/bin/sh
guid=$(cat /sys/bus/firewire/devices/$1/guid)
shift
dvgrab -guid $guid "$@"

To be called as "dvgrab-wrapper fw3 [more dvgrab options]", with fw3 being
the device of your choice, e.g. the one that just scrolled by in syslog.

Or you run "grep . /sys/bus/firewire/devices/*/guid | sed s/\\/guid:/\\t/"
before dvgrab, and you get a list of GUIDs from which you can copy and
paste.

> It also kinda helps me keep track of what devices are misbehaving, but
> this alone isn't very important.
>
> Any chance of making this configurable?

So far the configuration of the "new" firewire drivers were kept at an
essential minimum, and I am hesitant to add more baroque ones. I would
rather drop this patch now that there was negative feedback, unless there
is going to be positive feedback as well.
--
Stefan Richter
-=====-==-== ==-- =-=--
http://arcgraph.de/sr/


\
 
 \ /
  Last update: 2011-12-21 00:13    [W:0.073 / U:1.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site