Re: T1E1 cards

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

 



On Fri, Oct 23, 2009 at 6:17 PM, Greg KH <greg@xxxxxxxxx> wrote:
> On Fri, Oct 23, 2009 at 01:08:49PM -0400, Bob Beers wrote:
<snip>
>> 1 - How can I get the driver to load automatically, and execute the
>>  cfg calls to create the low level device?
>
> Fix the driver to have it load automatically.  Do you have a pointer to
> the source code for it anywhere?
>

Hi Greg,

 I got the code from OneStopSystems, it is for their wanPMC-CxT1E1
card.  They have a public ftp site. the file is
<ftp://ftp.onestopsystems.com/WAN-PMC-C4T1E1%20driver%20linux/wanPMC_CxT1E1_Linux_3_1B.tgz>.
(I don't know the proper etiquette for getting the login credentials to you.
 I don't think there is any problem with me sharing them with you,
 but I'm just not sure they should be published on the list.)

>> 2 - What is the proper way to create the upper devices as hdlcX
>>  vs. ethX?
>
> The driver should do this for you.

I am interested in seeing if I can make the necessary changes to the driver code
 to have this happen, but maybe this belongs in a different forum now?

>
>>  I know that I can use 'ip link set dev eth4 name hdlc0'
>>  or something like ifrename for renaming once they're created,
>>  but maybe I can change something in the driver code to have
>>  them start out with the right interface name.
>
> Yes, you can, or you can write a udev rule to rename the device when it
> is seen.
>

Since I have made a successful udev rule (thanks, Matt) to notice the card
 and load the driver, I think I will continue down this path for the short term.

> thanks,
>
> greg k-h
>

Thanks for your help,

-Bob Beers
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux