Re: [ubuntu-uk] wifi dongle driver .....

2011-05-13 Thread Alan Bell

On 13/05/11 21:27, Barry Drake wrote:

On Fri, 2011-05-13 at 20:58 +0100, Matthew Daubney wrote:

Lots of suggestions on the net seem to suggest replacing all instances
of init_MUTEX with sema_init (use a semaphore lock instead of a mutex
lock). Might be worth a try :)

Thanks Matt.  It worked like a charm!  I hadn't a clue what a 'mutex'
was.  There was only one instance, and sema_init worked just fine.

Regards,Barry.

mutex is short for mutually exclusive, it means that if the lock is set 
then no other parallel process is allowed to mess with the thing that is 
being locked. Semaphores are like mutexes but are slightly more 
sophisticated.


http://geekswithblogs.net/shahed/archive/2006/06/09/81268.aspx

--
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] wifi dongle driver .....

2011-05-13 Thread Barry Drake
On Fri, 2011-05-13 at 20:58 +0100, Matthew Daubney wrote:
> 
> Lots of suggestions on the net seem to suggest replacing all instances
> of init_MUTEX with sema_init (use a semaphore lock instead of a mutex
> lock). Might be worth a try :)

Thanks Matt.  It worked like a charm!  I hadn't a clue what a 'mutex'
was.  There was only one instance, and sema_init worked just fine.

Regards,Barry.

-- 
Barry Drake is a member of the the Ubuntu Advertising team.
http://ubuntuadverts.org/



-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] wifi dongle driver .....

2011-05-13 Thread Matthew Daubney
On 13 May 2011 19:46, Barry Drake  wrote:

> Hi there ...  I got a wifi dongle from e-bay today.  Very cheap.  It
> turns out to be a Realtek RTL8188cu.  There was a disk with it which
> includes a Linux driver that need building.  It builds and runs just
> fine on 10.04 and 10.10, but under Natty, I get the error: implicit
> declaration of function 'init_MUTEX'.  I haven't a clue where this used
> to be defined, and why it's disappeared.  Anyone know if there is a
> workaround?  Yes - before someone tells me - I have got it running with
> the Windows driver under ndiswrapper, but I'd rather have the native
> Linux driver.
>
> Suggestions anyone?
>
> Regards,Barry.
> --
> Barry Drake is a member of the the Ubuntu Advertising team.
> http://ubuntuadverts.org/
>
> Mutex's are locks, sounds like that driver may have depended on a locking
function that may no longer exist or is being deprecated. There's lots of
work going on to remove some locking stuff, and that may have been one of
them.

Lots of suggestions on the net seem to suggest replacing all instances of
init_MUTEX with sema_init (use a semaphore lock instead of a mutex lock).
Might be worth a try :)

-Matt Daubney
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


[ubuntu-uk] wifi dongle driver .....

2011-05-13 Thread Barry Drake
Hi there ...  I got a wifi dongle from e-bay today.  Very cheap.  It
turns out to be a Realtek RTL8188cu.  There was a disk with it which
includes a Linux driver that need building.  It builds and runs just
fine on 10.04 and 10.10, but under Natty, I get the error: implicit
declaration of function 'init_MUTEX'.  I haven't a clue where this used
to be defined, and why it's disappeared.  Anyone know if there is a
workaround?  Yes - before someone tells me - I have got it running with
the Windows driver under ndiswrapper, but I'd rather have the native
Linux driver.

Suggestions anyone?

Regards,Barry.
-- 
Barry Drake is a member of the the Ubuntu Advertising team.
http://ubuntuadverts.org/



-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] new laptop

2011-05-13 Thread doug livesey
Nice.
Just played "what if?" with the specs on that -- got it to a cool £1,600
easy! :)

On 13 May 2011 12:16, Trevor Hyde  wrote:

> On 13/05/11 10:57, Richard Smith wrote:
>
>> I am thinking of buying a xenon 14" laptop from pcspecialist, can anyone
>> see any major problems with ubuntu on it.
>> http://www.pcspecialist.co.uk/notebooks/xenon/
>>
>>
>>
>>  Doesn't appear to be be over exotic as far as ubuntu's concerned.
>
> Nice to see how the price falls away when you dispense with the Windows
> options!
>
>
> --
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] new laptop

2011-05-13 Thread Trevor Hyde

On 13/05/11 10:57, Richard Smith wrote:

I am thinking of buying a xenon 14" laptop from pcspecialist, can anyone
see any major problems with ubuntu on it.
http://www.pcspecialist.co.uk/notebooks/xenon/




Doesn't appear to be be over exotic as far as ubuntu's concerned.

Nice to see how the price falls away when you dispense with the Windows 
options!


--
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] new laptop

2011-05-13 Thread Tony Pursell
On Fri, 2011-05-13 at 10:57 +0100, Richard Smith wrote:
> I am thinking of buying a xenon 14" laptop from pcspecialist, can anyone
> see any major problems with ubuntu on it.
> http://www.pcspecialist.co.uk/notebooks/xenon/
> 
> 
> 

A google search for 'pcspecialist laptop linux' pulled up a number of
relevant hits. Most interesting is from their own tech forum:

http://www.pcspecialist.co.uk/forums/showthread.php?3748-Ubuntu-compatible-laptop

If you are going to buy it would seem best to get a list of the major
components they use and see if any of them have difficulties.  Wifi
always seems to cause great heartache if it doesn't work OOTB (out of
the box).  You would also want to know if the video supports 3D Unity.

Tony




-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


[ubuntu-uk] new laptop

2011-05-13 Thread Richard Smith
I am thinking of buying a xenon 14" laptop from pcspecialist, can anyone
see any major problems with ubuntu on it.
http://www.pcspecialist.co.uk/notebooks/xenon/



-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/