Re: [gentoo-dev] /dev/serial/ (was "Let's redesign the entire filesystem!")
On Thu, Mar 15, 2012 at 3:17 PM, Greg KH wrote: > On Thu, Mar 15, 2012 at 03:04:36PM -0400, Rich Freeman wrote: >> # ls -l /dev/serial >> ls: cannot access /dev/serial: No such file or directory > > Do you have your serial device plugged in? If not, it will not show up. > Yup - it is plugged in, and the links in /dev/mythser show up fine. Since I've been recording my TV shows on the correct channels I have to assume the devices are working fine too. > You do know that USB buses can be dynamically renumbered depending on > the phase of the moon, right? Be careful here... Hmm - this has been stable for me for years, compared to just using /dev/ttyUSBn. In any case, I have no idea why nothing shows up in /dev/serial. The only device nodes I can find for serial are /dev/ttyUSBn and /dev/mythser/n (the latter being from my own rules). Rich
[gentoo-dev] /dev/serial/ (was "Let's redesign the entire filesystem!")
On Thu, Mar 15, 2012 at 03:04:36PM -0400, Rich Freeman wrote: > On Thu, Mar 15, 2012 at 10:42 AM, Greg KH wrote: > > > > Why not use the links in /dev/serial/ which are there for this specific > > reason? > > > > # ls -l /dev/serial > ls: cannot access /dev/serial: No such file or directory Do you have your serial device plugged in? If not, it will not show up. > Something in a newer version of udev perhaps? It went into udev version 136, way back in 2008, so odds are, you have it on your system... > Or would my defining my > own symlinks end up overriding some rule elsewhere. I just added > these lines to /etc/udev/rules.d: > SUBSYSTEM=="tty", DRIVERS=="pl2303", KERNELS=="4-1:1.0", > KERNEL=="ttyUSB*", SYMLINK="mythser/rca1" > SUBSYSTEM=="tty", DRIVERS=="pl2303", KERNELS=="3-3:1.0", > KERNEL=="ttyUSB*", SYMLINK="mythser/rca2" You do know that USB buses can be dynamically renumbered depending on the phase of the moon, right? Be careful here... greg k-h