Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Script to automatically download and install rockbox firmware

Re: Script to automatically download and install rockbox firmware

From: Nix <nix_at_esperi.org.uk>
Date: Tue, 15 May 2007 12:54:39 +0100

On 15 May 2007, Menachem Shapiro said:

> I created a file called 98-rockbox.rules and put it in
> /etc/udev/rules.d. I experimented with different things, trying to use
> the VID and PID of the usb device as an identifier. I ended up with
> something like tihs:
> SUBSYSTEM=="usb", ATTRS{idVendor}=="05ab", ATTRS{idProduct}=="0060",
> RUN+="/home/mshapiro/rockbox_scripts/rockbox_downloader.sh"
>
>>From your helpful information below, it looks like I am trying to use
> the wrong block to identify the device, which is probably why it
> wouldn't work. I was hoping to use the VID and PID of the device as an
> identifier, since that information is unique to the device, but that
> may not be possible. I will try out different things and report how it
> went.

You can use whatever block you like, but all the keys have to come
from the same block. (Or you could upgrade udev, as later versions
don't have this limitation.)

-- 
`In the future, company names will be a 32-character hex string.'
  --- Bruce Schneier on the shortage of company names
Received on 2007-05-15

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy