Re: [SHR] getting an USB dongle to work

Previous thread: [QTMoko] What is the best way of moving my home directory to the SD Card? by Roland Whitehead on Monday, October 12, 2009 - 7:16 am. (2 messages)

Next thread: #1024-Fix in switzerland by DRSp. on Monday, October 12, 2009 - 1:13 pm. (23 messages)
From: rhn
Date: Monday, October 12, 2009 - 8:39 am

Today, I became an owner of a new shiny USB network device. Due to poor WiFi reception indoors, this is a wired Ethernet adapter.

On to the point - the device uses the dm9601 driver, which happens to be packaged in the SHR feeds. However, the driver is not loaded automatically, and doesn't work after manual modprobe && depmod.
Some research on the desktop showed that dm9601 depends on usb_net and mii. However, these two are not present in SHR feeds.

What else should I do to make it work? I'd prefer to avoid recompiling the kernel, but if nothing else works...

Cheers!
rhn

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community
From: Rask Ingemann Lambertsen
Date: Sunday, October 18, 2009 - 4:04 am

That would be a packaging bug, because drivers/net/usb/Kconfig lists
the correct dependencies:

config USB_USBNET
        tristate "Multi-purpose USB Networking Framework"
        select MII
[...]
config USB_NET_DM9601
        tristate "Davicom DM9601 based USB 1.1 10/100 ethernet devices"
        depends on USB_USBNET
        select CRC32
[...]

   So try bugging the person doing the SHR kernel package.

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community
From: rhn
Date: Sunday, October 18, 2009 - 5:52 am

Thanks for the hint.
I tried to do the necessary changes myself trial-and-error method, but couldn't get the kernel to compile. I'm going to ask more about that in shr-devel list.
Cheers
rhn

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community
From: EdorFaus
Date: Monday, October 19, 2009 - 2:22 pm

I've got one of those too, except that mine uses the pegasus driver, which 
appears to be included by default. For me, it is loaded automatically.

A bit of looking tells me that pegasus too depends on the mii driver, and 
since that doesn't show up in the module list on the FR, yet the device works, 
I assume that the mii driver is compiled into the kernel instead of being a 

Did you remember to switch the FR into USB Host mode? By default it's in USB 
Device mode, at least on mine (SHR-U). This is done under Settings-
Connectivity, and has to be switched when you want to use the FR as the host 
(PC) side of the USB connection, instead of connecting the FR to a PC.

Did you try using lsusb? It should show that a device is connected even if the 
FR doesn't have the driver for it, so if it doesn't show anything new (only 
the line for the FR itself) then the problem is probably not with the driver.

--
Frode

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community
From: rhn
Date: Tuesday, October 20, 2009 - 7:19 am

Sure, I wouldn't forget that.
It shows both the line for USB hub and the device. I'd be in trouble if it didn't.

Cheers
rhn

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community
Previous thread: [QTMoko] What is the best way of moving my home directory to the SD Card? by Roland Whitehead on Monday, October 12, 2009 - 7:16 am. (2 messages)

Next thread: #1024-Fix in switzerland by DRSp. on Monday, October 12, 2009 - 1:13 pm. (23 messages)