Kernel Version

Kernel Version

Postby j.coudrais » Mon Aug 08, 2011 7:40 pm

Hi everybody

i'm using 6.1 firmware with lacie NSvs1.

I didn't find which kernel versions are V7.0 and V8.0 firmwares...
Who knows that? :?:

I'm looking for FTDI drivers for our NAS, with 2.6.33.1 kernel, ie V6.1 firmware ;)

I want our NAS to become domotic server

Hope someone to help me...
j.coudrais
Donator VIP
Donator VIP
 
Posts: 35
Joined: Sat Aug 06, 2011 10:39 am
Location: LYON

Re: Kernel Version

Postby Jocko » Mon Aug 08, 2011 8:05 pm

Hi,

Since firmware version 6.1, the kernel version is identical and is 2.6.33.1.

And I think you know about this page ;) : http://www.ftdichip.com/Drivers/VCP.htm
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Kernel Version

Postby j.coudrais » Mon Aug 08, 2011 8:17 pm

Thank you for your quick answer...

Yes on thi spage it says that it' included in kernel..."Included in 2.6.31 kernel and later"

But it's not so simple... I have problems to get /dev/ttyUSBxx runs properly

Bus 001 Device 007: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 001 Device 006: ID 0403:6001 Future Technology Devices International, Ltd FT

Well perhaps we could tchat in french ?? ;)
j.coudrais
Donator VIP
Donator VIP
 
Posts: 35
Joined: Sat Aug 06, 2011 10:39 am
Location: LYON

Re: Kernel Version

Postby Jocko » Mon Aug 08, 2011 8:25 pm

For all members, post in English is better. 8-)

For issue with the kernel, fvdw will bring you a better help because it is him who built the current version of the kernel...
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Kernel Version

Postby j.coudrais » Mon Aug 08, 2011 8:34 pm

Ok, thank you Jocko.

To fvdw :
I want to use usb serial adaptor and get data from.

I have one module with Prolific which is good with the original 6.1 drivers (enabled at boot). Then I got a special file /dev/ttyUSB0 .
It is used to monitor X10 protocole.

I have another one to monitor electricity consumtion (teleinfo EDF). Thi one is FTDI.

With FTDI, I can't find any driver for our 2.6.33.1 / gcc 4.2.0 kernel ...

lsusb lists my device, but no /dev/ttyUSBxx ...

I saw that it has to be in kernel BUT... you can see that i'm not alone... http://forum.qnap.com/viewtopic.php?p=167472

Hope you can help me

PS: thank you for your great work modding this poor original firmware !!
j.coudrais
Donator VIP
Donator VIP
 
Posts: 35
Joined: Sat Aug 06, 2011 10:39 am
Location: LYON

Re: Kernel Version

Postby Jocko » Mon Aug 08, 2011 8:54 pm

Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Kernel Version

Postby j.coudrais » Tue Aug 09, 2011 6:53 am

Hi,

I'll try this tonight...

Is there any modprobe in 6.1 firmware ?
j.coudrais
Donator VIP
Donator VIP
 
Posts: 35
Joined: Sat Aug 06, 2011 10:39 am
Location: LYON

Re: Kernel Version

Postby j.coudrais » Tue Aug 09, 2011 5:16 pm

hmm...

dmesg gives that:
usb 1-1.1: new full speed USB device using orion-ehci and address 11

I don't know why lsusb gives that :
Bus 001 Device 011: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC


I don't know what to do now...
j.coudrais
Donator VIP
Donator VIP
 
Posts: 35
Joined: Sat Aug 06, 2011 10:39 am
Location: LYON

Re: Kernel Version

Postby fvdw » Tue Aug 09, 2011 9:25 pm

Hi just returned from holiday, therefor a little delay in answering your question
Your serial usb devices are not working because there are no drivers in the firmware for them, so the kernel can not load them.
They are recognized by the usb port driver but then a specific driver must be loaded to make them work.
Not all features/drivers of the linux kernel are included in the compiled kernel in the firmware, this to keep the kernel smaller and save some memory as this device has limited RAM. the drivers for USB har disk are included but not the ones you need as they are not used by many.
However many features/drivers are compiled as module and can be loaded manually :mrgreen:
So to solve your problem you need some kernel modules such as usbserial.ko and pl2303.ko which contain the drivers.

In the download section of the forum you can found a post with all kernel modules, usbserial.ko is included and also pl2303.ko thats specific for the prolific serial adapter.
Unfortunate the FTDI module is not compiled by me, when I have some more time I could try to check if it is in the standard linux kernel and compile it for you. But you will need to be a little patient as there are many things on my to do list. If it is not in the standard Linux kernel then it is a pity but I can not compile it for you unless source code and a how to is available from the supplier

How to load them ?
connect to your NAS via ssh using Putty and use the linux command line

Put the kernel modules you want to load in a directory of your choice, for example in the the system directory /boot (there are also the standard modules present.

You could first put them in the share "public" and copy them (Putty command line)
Code: Select all
cp /share/1000/public/name-module.ko /boot/


Now insert them into the kernel using the insmod command
[code
use the insmod command to load it.
Code: Select all
insmod /boot/name-module.ko


be aware that every kernel module will consume some of your system ram and some might require to much ram to run properly. You will need to try



ps modprob command is currently not supported in the firmware. But insmod should be suffcient in this case
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Kernel Version

Postby j.coudrais » Wed Aug 10, 2011 10:00 am

Hi, Thank you for your answer, fvdw.

I made that for another usb product I own, I change rcS and uncommented your lines with insmod for usbserial and pl2303.
It was ok for that usb prolific.

now i understand why ftdi is not in your kernel, and it was a good reason , memory is so little on these nas...

I'll wait until you can do that for me, it is great news for me...
Do you need the sources of your original kernel or ftdi's sources can do the job ?

Thank you in advance ;-)
j.coudrais
Donator VIP
Donator VIP
 
Posts: 35
Joined: Sat Aug 06, 2011 10:39 am
Location: LYON

Next

Return to Lacie Network Space vs1

Who is online

Users browsing this forum: No registered users and 5 guests

cron