[jp] Udev symlinks (Was: Re: ln -sf /dev/ttyUSB* /dev/pilot)

  • Previous message: [jp] Udev symlinks (Was: Re: ln -sf /dev/ttyUSB* /dev/pilot)
  • Next message: [jp] ln -sf /dev/ttyUSB* /dev/pilot
  • Jason Day jasonday at worldnet.att.net
    Mon Dec 4 14:36:12 EST 2006

     

    On Mon, Dec 04, 2006 at 12:55:45PM -0500, David A. Desrosiers wrote:
    > On Mon, 2006-12-04 at 12:04 -0500, Jason Day wrote:
    > > A workaround that has worked for me is to replace 'KERNEL=="ttyUSB*"'
    > > with 'KERNEL=="ttyUSB[13579]"'.  This forces the rule to only match
    > > against an odd-numbered ttyUSBx, so that the symlink always points to
    > > /dev/ttyUSB1 (in my case). 
    > 
    > Why not make the jump to raw libusb, and skip the whole /dev/, symlink,
    > visor module dance? 
    
    Actually, I have :)  But I know lots of people are still using the visor
    driver, and that race condition took a while for me to figure out.
    
    Jason
    -- 
    Jason Day                                       jasonday at
    http://jasonday.home.att.net                    worldnet dot att dot net
     
    "Of course I'm paranoid, everyone is trying to kill me."
        -- Weyoun-6, Star Trek: Deep Space 9
    
    

     

     

    More information about the jpilot mailing list