home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.mandriva      Somewhat decent but also getting bloated      29,919 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 28,496 of 29,919   
   Grimble to Whiskers   
   Re: 1-Wire user access control (was Re:    
   01 Sep 12 11:30:54   
   
   From: grimble@nomail.afraid.org   
      
   On 30/08/12 19:13, Whiskers wrote:   
   > [Subject changed]   
   > On 2012-08-30, Grimble  wrote:   
   >> On 29/08/12 13:48, Grimble wrote:   
   >>> On 29/08/12 13:22, Whiskers wrote:   
   >>>> On 2012-08-28, Grimble  wrote:   
   >>>>> I've just commissioned a new machine that has several USB ports. One of   
   >>>>> these has an adaptor connected, and I want to set its permissions in a   
   >>>>> startup script. Unfortunately in three different starts, the address of   
   >>>>> this adaptor has varied from   
   >>>>> /dev/bus/usb/005/002 to   
   >>>>> /dev/bus/usb/002/002   
   > It's the device that needs to be identified, not whichever USB socket   
   > or hub it happens to be plugged into at any given moment.   
   >   
   > You can pipe the output from lsusb into grep, to search for a   
   > particular device:   
   >   
   >   ]$ lsusb |grep 046d:c408   
   >   Bus 003 Device 002: ID 046d:c408 Logitech, Inc. Marble Mouse (4-button)   
   >   ]$ lsusb |grep tooth   
   Thanks for that - I've written a little sed/awk script to do what I need.   
   Grimble   
      
      
   --   
   Grimble   
   Registered Linux User #450547   
   Running 4.6.5  on 2.6.39.4-5.1-desktop kernel.   
   Mandriva Linux release 2011.0 (Official) for x86_64   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca