AW: 8250_pci -> change device name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Peter,

your idea is great, and easy. Yes I have udev.

Thank you for your reply.

---
Alexander


-----Ursprüngliche Nachricht-----
Von: Peter Hurley [mailto:peter@xxxxxxxxxxxxxxxxxx] 
Gesendet: Dienstag, 5. Mai 2015 12:22
An: Hänel-Baas, Alexander; linux-serial@xxxxxxxxxxxxxxx
Betreff: Re: 8250_pci -> change device name

Hi Alexander,

On 05/05/2015 02:21 AM, Hänel-Baas, Alexander wrote:
> Hi
> 
> In the kernel config i can build the 8250_pci driver as module. 
> So I can switch on (with loading module) the ValleyView LPIO1/2 HSUART Controller when I need it, and not always at startup.
> That is exactly what I want. But I need to change the device name from ttySx to my name like "ttyHSUARTx" 
> only for this pci device and not for the other uart devices which is also controlled by the 8250.
> 
> See:
> tty/serial/8250
>                   /8250_core -> uart -> ttySx <- the naming are untouched
>                   /8250_pci  -> hsuart ->ttyHSUARTx <- only here I 
> will set another device name
> 
> 
> I'm not sure what is the right way to do that. Or is this not possible?

The right way to handle this would be to create a symlink in a udev script (or rc.d scripts if you don't have/use udev).


Regards,
Peter Hurley


��.n��������+%������w��{.n�����{��ǫ����{ay�ʇڙ���f���h������_�(�階�ݢj"��������G����?���&��





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux