[pkg-fso-maint] No USB connection to NEO with Debian

Steffen Moeller steffen_moeller at gmx.de
Tue Feb 3 18:10:33 UTC 2009


Many thanks for your help, It was the right place to look, indeed. This is what happened.

Joachim Breitner wrote:

> Am Dienstag, den 03.02.2009, 01:49 +0100 schrieb Steffen Moeller:
>> having booted to Debian, the call to
>> ifconfig usb0 192.168.0.200 netmask 255.255.255.0
>> gave me that there was no device found.
>> After a reboot (of the neo, not the laptop with the NAMD OpenMoko kernel and Qtopia, it
>> works like a charm. Booting again back to Debian breaks it again. /etc/network/interfaces
>> are identical. Where should I look?
> 
> Is it a gta01 or a gta02?
gta02
> What is the contents on /etc/modules?

I used what the install.sh script gave me.

This is in Debian

root at om-gta02:~# cat /mnt/debian/etc/modules
# USB RNDIS/Ethernet Gadget
g_ether

# audio
snd-soc-neo1973-gta02-wm8753

# bluetooth
ohci-hcd
hci_usb

The ifconfig -a looks just fine. The device usb0 is there.

I then added what is in the /etc/modules but not in the Debian one
ipc6   # with the typo, this hence cannot be the culprit
rfcomm
hidp

All three, including ipv6, are used in the running kernel

debian-gta02:/lib# lsmod|egrep 'rfcomm|hidp'
rfcomm                 36436  0
hidp                   14784  0
l2cap                  20900  4 hidp,rfcomm
bluetooth              52096  4 hidp,rfcomm,l2cap,hci_usb

Does this make any sense? Should this then be added to the install script?


Here is an issue that the OpenMoko kernel/binaries had that you might be interested in:
<speachless>
root at om-gta02:/mnt/debian/lib# find .
Segmentation fault
root at om-gta02:~# cd /mnt/
root at om-gta02:/mnt# cd debian/
root at om-gta02:/mnt/debian# ls
bin         dev         home        lost+found  mnt         proc        sbin        srv
      tmp         var
boot        etc         lib         media       opt         root        selinux     sys
      usr
root at om-gta02:/mnt/debian# cd lib
root at om-gta02:/mnt/debian/lib# ls
Segmentation fault
</speachless>

what worked is:

root at om-gta02:/mnt/debian# find . | grep "^./lib/modules" | grep '.ko$'
./lib/modules/2.6.24-20081103.git7172ec57/kernel/arch/arm/oprofile/oprofile.ko
./lib/modules/2.6.24-20081103.git7172ec57/kernel/net/bluetooth/bluetooth.ko
...


Is this some filesystem issue? I don't know if the ext3 was mounted as such or as ext2 at
the moment. I'll investigate if someone is interested in investigating this further.

Many thanks and greetings ... and if there is an FAQ for the rewakening from suspend (the
state the phone enters after the early black screen, say after 5-10 minutes) not to be
working (showing only a white screen) then I'd be happily following advice in this matter,
too :)

Many greetings

Steffen





More information about the pkg-fso-maint mailing list